Layouts in a real-time environment
In a real-time environment do we create our own layouts or modify the existing layout? If we modify the existing layout, would you please send details about how to modify, and assign the layout and print program, and please send code of how we would modify the existing layout. Thanks & regards, Malli

    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

By 'existing layouts,' I am not sure if you mean (a) SAP-delivered forms or (b) custom forms already in Production. In any case, I will attempt to answer your question either way.

(a) I strongly recommend that you treat layouts/forms provided by SAP just as you would treat standard SAP-delivered ABAP. In other words, please leave them alone! If you need to make any changes, copy the original into your namespace (e.g. 'Z_Invoice') and go from there. The same principle applies for both SAPscript and Smart Forms. Various copy options are built into both tools. In SAPscript, for instance, type in the name of your new form and click on 'Create.' On the next screen, choose 'Form->Copy from…' and specify the original form. In Smart Forms, type in your new form's name, then click on the 'Copy from' icon and plug in the name of the 'Source form.'

(b) You are welcome to change custom forms as needed. However, version management for forms is not nearly as robust as for ABAP; in fact, it is almost non-existent. Thus, it may be prudent for you to create a backup copy of the existing form under a different name in your development system until the new version is working reliably in Production; if you do so, remember to give the backup a meaningful name and to remove it later so as to avoid potential confusion down the road.

As for the assignment steps, the answer varies by application area. For an SD-specific example, my other SearchSAP 'Ask The Expert' answer Printing an order confirmation through a Smart Form may help you. Otherwise, I suggest you consult the SAP help portal on your specific application area; it also will provide general guidance on how to modify forms.

This was first published in June 2004