Application Development and Automation 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: 
Read only

scripts

Former Member
0 Likes
516

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
Read only

Former Member
0 Likes
490

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
Read only

Former Member
0 Likes
490

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.

Read only

Former Member
0 Likes
490

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

Read only

Former Member
0 Likes
491

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

Read only

Former Member
0 Likes
490

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.