Application Development 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: 

significances of open_form & Start_form (urgent)

Former Member
0 Kudos
125

hi all

1. what is difference btw OPEN_FORM & START_FORM? what r there significances?

2. What is the diff btw CLOSE_FORM & END_FORM?what r there significances?

3. out of these functional modules which r mandatory and which r optional & why?

plz give it answer.

i am hoping to get some good replies from u all genius there.

thanks & regards

sanjeev

Message was edited by: sanjeev singh

5 REPLIES 5

Former Member
0 Kudos
71

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.

Former Member
0 Kudos
71

1. open form means to open the sapscript..and start form is to execute the particular Form.. write form is for thewindow ...u can have as many as the pages in the sapscript.

2. CLOSE_FORM is to close the particular page and END_FORM is to close the sapscript

3. Mandatory is open form,.start form, write form and close form

Former Member
0 Kudos
71

i am still looking for all the answers of all the questions i have put to u.

plz solve my query

Former Member
0 Kudos
71

Hi sanjeev,

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.

anversha_s
Active Contributor
0 Kudos
71

hi sanjeev,

chk thsi.

OPEN_FORM: This form opens the script. The module OPEN_FORM opens layout set printing.

WRITE_FORM: This form is used to write the content mentioned in the windows of the SAP Script.

START_FORM: This form is dynamically call a page in the script. The layout set can be changed in the current print procedure with START_FORM. This may also be used to trigger a new-spool id.

END_FORM: This form is used to close the current layout set.

CLOSE_FORM: This form close the current SAP script form.

You can have any number for WRITE_FORM, START_FORM and END_FORM, but for a script you can have only one OPEN_FORM and CLOSE_FORM.

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.

rgds

anver

pls mark points if helped