Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

scripts

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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.

Former Member
0 Kudos

Based on the number of elements you use in your form (ELE), you have to write that number of write_form.

Former Member
0 Kudos

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

Former Member
0 Kudos

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.