12-15-2006 3:39 PM
hello everyone,
i am a novice in ABAP. while making scripts i have an address window, a main window and a footer window. do i have to write a seperate write_form for each and every window seperately or would a single write_form do ?
thanks and regards,
seenu
12-15-2006 4:51 PM
Hi,
There is no neccessity of calling WRITE_FORM three times. You will have to call the write_form function module to send informattion for an ELEMENT (represented as /E: in the scrip).
So, you will have to call the function module as many times as the ELEMENTS in the script.
Check the below link for details on Text Elements
http://help.sap.com/saphelp_47x200/helpdata/en/d1/802e91454211d189710000e8322d00/content.htm
Regards,
Vara
12-15-2006 3:42 PM
as u have 3 windows..it means u have 3 texts...For prinitng in address u need 1 write_form & in footer 1 write_form & in main window u can use 1 or more write_form...So basically, u need minimum 3 write_form & may be u can have more than 3 also.
12-15-2006 3:58 PM
Based on the number of elements you use in your form (ELE), you have to write that number of write_form.
12-15-2006 4:51 PM
Hi,
There is no neccessity of calling WRITE_FORM three times. You will have to call the write_form function module to send informattion for an ELEMENT (represented as /E: in the scrip).
So, you will have to call the function module as many times as the ELEMENTS in the script.
Check the below link for details on Text Elements
http://help.sap.com/saphelp_47x200/helpdata/en/d1/802e91454211d189710000e8322d00/content.htm
Regards,
Vara
12-18-2006 10:57 AM
Yes, U need to write three write_forms for three windows. Even though there are some other ways to send the arguments with less or more write_forms, It is good programming practice.
Cheers.