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

wat is the diff. between open and start form

aarif_baig
Active Participant
0 Likes
1,280

pls let me know

pls let me know

9 REPLIES 9
Read only

Former Member
0 Likes
1,183

Hi,

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

check this. it should help.

http://help.sap.com/saphelp_46c/helpdata/en/d6/0dc169494511d182b70000e829fbfe/frameset.htm

<b>Reward points</b>

Regards

Read only

Former Member
0 Likes
1,183

Open_Form : To OPEN A FORM FOR PRINTING THE FORM SHOULD BE

OPEN USING OPEN_FORM.

START_FORM : To Begin form several identical form with

different data in single spool request,it should bestart

with START_FORM & CLOSE with END_FORM.

Best Regards,

Shazia Khan

Read only

Former Member
0 Likes
1,183

Hi,

OPEN_FORM: This function module opens layout set 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., You need specify a layout set name in the export parameters of this function module. If nothing is passed to Open_Form then one should use Start_Form function module to open layout set before starting the output. The layout set opened by Open_Form should be closed by Close_Form function module, other wise output doesn’t appear. We can use any number of Open_Form, Close_Form functions in one single program. But Close_Form must be there for every Open_Form in the program.

Start_Form: In-between the function modules OPEN_FORM and CLOSE_FORM, we can use different layout sets. This allows us to combine several different layout sets into one print output. However, we can combine only those layout sets that have the same page format. To switch layout sets, use the function module START_FORM. If another layout set is still open, we must close it first using END_FORM. If we specify no layout set name when calling START_FORM, the system restarts the last open layout set. If after OPEN_FORM no layout set was activated yet, the system leaves the function module with the exception UNUSED.

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.

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

Regards,

Priyanka.

Read only

Former Member
0 Likes
1,183

hi

go to the following thread

<b>plz reward if helpful</b>

Swati

Read only

Former Member
0 Likes
1,183

Hi,

Normally a print program can use more than One form for printing. so for that you have to start a form using

START_FORM and close it using END_FORM and you can use another form by using another START_FORM and close it using END_FORM .

the OPEN_FORM is used for opening a SAP SAcript form for processing i.e printing by mentioning the form name and printing it using WRITE_FORM. and close it using CLOSE_FORM.

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

<b>Check this forum</b>

https://forums.sdn.sap.com/click.jspa?searchID=4025387&messageID=2079280

<b>Regards,

Jackie.</b>

Read only

former_member198270
Active Contributor
0 Likes
1,183

Hi Aarif,

If you are calling only one Script in the program then we follow:-

Open Form

Write Form

Close Form.

If you are calling multiple Scripts in the Program then we follow:-

Start Form

Open Form

Write Form

Close Form

End Form

Reward Points if helpful .

Regards,

Amber S

Read only

Former Member
0 Likes
1,183

Hi aarif,

<b>

1. Normally, START_FORM

is not required.</b>

<b>(OPEN_FORM Is compulary in all cases)</b>

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.

Read only

Former Member
0 Likes
1,183

Hi,

<u><b>OPEN_FORM</b></u>

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.

<u><b>START_FORM</b></u>

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,

Bhaskar

Read only

Former Member
0 Likes
1,183

Hello,

I use open and start form to store 2 documents (forms are identical apart from some text) in one spool.

Unfortunately two separate archive information are created.

But I want to have a one to one relationship between archive and spool.

How can I solve the problem?

Best regards

Michael Rangs