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

difference between open_form and start_form

Former Member
0 Likes
1,180

difference between open_form and start_form?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,143

hi,

refer the below links, it gived clear details abt the each function module, n the purpose of them.

[http://help.sap.com/saphelp_40b/helpdata/en/d6/0dba1a494511d182b70000e829fbfe/content.htm]

[http://help.sap.com/saphelp_nw70/helpdata/en/d6/0dba34494511d182b70000e829fbfe/content.htm]

for the difference b/w them.

[http://www.saptechies.com/what-is-difference-bw-start_form-and-open_form-in-scripts/]

hope this helps u, n make u clear.

reward if helpful.

10 REPLIES 10
Read only

Former Member
0 Likes
1,143

Hi,

I searched the Form Printing forum with "difference between open_form and start_form" and found loads of answers to this question.

You may want to do the same.

Regards,

Nick

Read only

Former Member
0 Likes
1,143

Hi

Open_form => It assign the form and printer, It should be first.

Start_form => It start Writing mode. You can use write_form in loop to write more than one lines befor End_form.

Read only

Former Member
0 Likes
1,143

hai

sreedhar,

OPEN FORM: This function module opens layout set for printing. One must call this function module before he uses any of other layout set function modules like Write_Form, Start_Form, Control_Form etc.,The layout set opened by Open Form should be closed by Close Form.

START FORM: it is used In between OPEN_FORM and CLOSE_FORM. we can use different layout sets in a single script program.Start form is used to switch between different layout sets into one print output.It must be closed with End form.

if useful, reward points.

Thank you

G.V.K.Prasad

Read only

Former Member
0 Likes
1,144

hi,

refer the below links, it gived clear details abt the each function module, n the purpose of them.

[http://help.sap.com/saphelp_40b/helpdata/en/d6/0dba1a494511d182b70000e829fbfe/content.htm]

[http://help.sap.com/saphelp_nw70/helpdata/en/d6/0dba34494511d182b70000e829fbfe/content.htm]

for the difference b/w them.

[http://www.saptechies.com/what-is-difference-bw-start_form-and-open_form-in-scripts/]

hope this helps u, n make u clear.

reward if helpful.

Read only

Former Member
0 Likes
1,143

Hi,

OPEN_FORM->

To initialize the printing of forms via the Raw Data Interface, use function modules (OPEN_FORM und CLOSE_FORM) and a flag in the form (administration data). For this purpose, the function modules include the additional optional import parameter RAW_DATA_INTERFACE.

http://help.sap.com/saphelp_nw04s/helpdata/en/d2/cb3d8e455611d189710000e8322d00/content.htm

START_FORM->

In-between the function modules OPEN_FORM and CLOSE_FORM, you can use different forms. This allows you to combine several different forms into one print output. However, you can combine only those forms that have the same page format.

To switch forms, use the function module START_FORM. If another form is still open, you must close it first using END_FORM.

If you specify no form name when calling START_FORM, the system restarts the last open form. If after OPEN_FORM no form was activated yet, the system leaves the function module with the exception UNUSED.

http://help.sap.com/saphelp_nw04s/helpdata/en/d6/0dba34494511d182b70000e829fbfe/frameset.htm

Regards

Kiran Sure

Read only

Former Member
0 Likes
1,143

Hi,

OPEN_FORM

The function module OPEN_FORM opens form printing. You must call this function module before you can use any other form function (WRITE_FORM, START_FORM, CONTROL_FORM...).

You need not specify a form name. If you omit the name, you must use the function module START_FORM to open a form before starting the output.

You must end form printing by using the function module CLOSE_FORM. Otherwise, the system does not print or display anything.

Within a program, you can use several OPEN_FORM.. CLOSE_FORM pairs. This allows you to write output to several different spool requests from within one program.

START_FORM

In-between the function modules OPEN_FORM and CLOSE_FORM, you can use different forms. This allows you to combine several different forms into one print output. However, you can combine only those forms that have the same page format.

To switch forms, use the function module START_FORM. If another form is still open, you must close it first using END_FORM.

If you specify no form name when calling START_FORM, the system restarts the last open form. If after OPEN_FORM no form was activated yet, the system leaves the function module with the exception UNUSED.

from: http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/0dba1a494511d182b70000e829fbfe/frameset.htm

Read only

Former Member
0 Likes
1,143

answeed

Read only

Former Member
0 Likes
1,143

Open_form vs Start_form

1. Open form initiates the form printing process while Start_form specifies which form is to be processed. So Open form is must rather than start_form.

2. Its not necessary to pass the form name as a parameter in the Open_form.... Instead we can specify it in the Start_form itself.

If you are working on a single form... then Start_form is not necessary. Instead we can specify the form name in the open_form itself and can process it in the write_form. So whenever we are working on multiple forms, there we need start_form.

Read only

Former Member
0 Likes
1,143

open_form-- is used to initialize the spool request.

Start_form-- is used to initialize the layout.

Read only

Former Member
0 Likes
1,143

OPEN_FORM is a function module which is called first before printing take place,this can include the name and the printing language

START_FORM is a function module which is called if we want to use different forms with similar characterstics in a single spool request,it must be closed by END_FORM function module.