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 open_form and start_form

Former Member
0 Likes
991

hi ,

can anyone explain me diff between open_form and start_form.

THANKS IN ADVANCE

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
941

I will give simple scenario...assume that you have 10 pages of form.Now you have to display the output..so we have first open that form using OPEN FORM from the first page...whenever you have opened after reading all 10 pages you must close that form using CLOSEFORM.

But if you want to open a form from other than first page means from 2nd or 3rd....10th directly in the output first display then we will use START_FORM from this page ..at this time we use END_FORM to end.But OPEN_FORM CLOSE_FORM is mandatory to open.

Reward if it helpful.

Dara

7 REPLIES 7
Read only

Former Member
0 Likes
941

Hi,

strat_form: is used to initialize the layout. using this we can open many layoutses

open_form : is used to initialize the spool request.

using this we can open the layout

Regards,

Ramya

Read only

Former Member
0 Likes
942

I will give simple scenario...assume that you have 10 pages of form.Now you have to display the output..so we have first open that form using OPEN FORM from the first page...whenever you have opened after reading all 10 pages you must close that form using CLOSEFORM.

But if you want to open a form from other than first page means from 2nd or 3rd....10th directly in the output first display then we will use START_FORM from this page ..at this time we use END_FORM to end.But OPEN_FORM CLOSE_FORM is mandatory to open.

Reward if it helpful.

Dara

Read only

Former Member
0 Likes
941

Hi

The module OPEN_FORM opens layout set printing. This function must be called up before you can work with other layout set functions (WRITE_FORM, ...).

It is not obligatory to enter a layout set name to open it. If a layout set is not specified, one must be opened with START_FORM.

The layout set can be changed in the current print procedure with START_FORM. It is therefore possible to combine several different layout sets in one printer output. Before a new layout set is opened with START_FORM, an open layout set must be closed with END_FORM.

Edited by: gangireddy satti on Apr 22, 2008 10:51 AM

Read only

Former Member
0 Likes
941

hi check this..

regards,

venkat.

Read only

Former Member
0 Likes
941

Hi,

OPEN_FORM:

1.The function module OPEN_FORM opens form printing.

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

3.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.

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

5.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:

1.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.

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

3.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.

Reward if it useful..

Thanks,

Lakshmi Matti

Read only

prasanth_kasturi
Active Contributor
0 Likes
941

hi

open_form : using it printing will be started

without open_form printing will not be commenced

start_form : using it we can open differnt forms and also from a particular page between open_form and close_form. if an forn is opened before using start_form must close it using close_form

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.

regards

prasanth

Read only

Former Member
0 Likes
941

Hi rasmi,

1. Normally, START_FORM

is not required.

(OPEN_FORM Is compulary in all cases)

2. Its only required,

when we want to different sapscript layouts,

to get merged,

and come in one output.

3. For this purpose,

we use START_FORM,

to START layout 1,

then START Layout 2.

(if we use start_form, then

we can use END_FORM for stopping this start)

regards,

amit m.