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

diff between start_form and open_form in sap scripts

Former Member
0 Likes
686

hi,

Can anyone tell me the difference between start_form and open_form used in sap scripts.

When i should each use of these,i mean under what circumstances.

Thanks in advance

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
594

OPEN_FORM is the beginning of the spool, everything that happens between the OPEN and CLOSE is one spool file in SP01. You can jump to certain pages using the START_FORM function module and specifying the page.

You don't have to use START_FORM, but you do have to use OPEN_FORM.

Regards,

Rich Heilman

4 REPLIES 4
Read only

Former Member
0 Likes
594

hi swathi,

open_form : it opens the form for printing ( called only once)

and should be closed with end_form.

start_form : is used when u have multiple scripts(forms) to be printed in one output.( can be called many times)

and closed by close_form

http://help.sap.com/saphelp_nw04/helpdata/en/d6/0db8bb494511d182b70000e829fbfe/frameset.htm

hope this helps,

do reward if it helps,

priya.

Read only

Former Member
0 Likes
594
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
595

OPEN_FORM is the beginning of the spool, everything that happens between the OPEN and CLOSE is one spool file in SP01. You can jump to certain pages using the START_FORM function module and specifying the page.

You don't have to use START_FORM, but you do have to use OPEN_FORM.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
594

To print several identical forms containing different data in one spool request, begin

each form using START_FORM and end the form using END_FORM.

Before using START_FORM for the first time, you must call OPEN_FORM.

The function modules for each form are called between START_FORM and

END_FORM.

END_FORM does not end the printing process. Use either START_FORM or

CLOSE_FORM after END_FORM.

simply... in open form u can open different forms with the same driver program and in start form is for the particular form.

award if it helps to u