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: 

the usage of openform and startfrom in sap-script

Former Member
0 Kudos

the difference between the openform and startfom in the print/driver program, of the script.

1 ACCEPTED SOLUTION

former_member223446
Active Participant
0 Kudos

hi man

open form and close form are both together will crate a spool request.

start from and end form are both will create any a spool request.

usage of start form is when we have requirement like the 1st page display the data in portriat format,2nd page should display data in landscape format.

we give the page number in the exporting parameter START PAGE in the function modulle start_form.

like

call function open_form

form = -


-


-


call function start_form

start page = -


-


-


call function start_form

start page = -


-


-


call function end_form.

call function end_form.

call function close-from.

pass all the mandatory parameters above in all function modules.

if help ful reward points

kiran

4 REPLIES 4

Former Member
0 Kudos

Open form and start form both are same,only thing thing is some print parameter will vary.

look at any example code

Former Member
0 Kudos

HI

GOOD

these two things are completely different things.

OPEN_FORM - this is a function module use in the sap script to call a form.

SMARTFORM- this is a kind of concept that related to sap script where you can designed the screen.

thanks

mrutyun^

Former Member
0 Kudos

Re: difference between open-form & start-form.

Posted: May 9, 2007 10:30 AM in response to: subhasis sahoo Reply E-mail this post

Hi,

Differences between open_form & start_form:

Open_form is mandatory while start_form is optional.

(ii) Open_form is used to open the layout set output. It should have a close_form, else we will face an error while running the script.Close_form ends the layout set output.

Start_form is used to start a new layout set.In case if we have more than one form then we have to use the start_form. It has to be followed by an end_form.

Reward if you find the reply useful.

Regards

Sayee

former_member223446
Active Participant
0 Kudos

hi man

open form and close form are both together will crate a spool request.

start from and end form are both will create any a spool request.

usage of start form is when we have requirement like the 1st page display the data in portriat format,2nd page should display data in landscape format.

we give the page number in the exporting parameter START PAGE in the function modulle start_form.

like

call function open_form

form = -


-


-


call function start_form

start page = -


-


-


call function start_form

start page = -


-


-


call function end_form.

call function end_form.

call function close-from.

pass all the mandatory parameters above in all function modules.

if help ful reward points

kiran