on 04-15-2007 4:12 PM
Hi ALL,
pls let me know the <b>important differences between open_form and start_form</b>
its really very urgent.
Thanx in Advance,
Bye
OPEN_FORM is always required, but START_FORM is not. START_FORM can be used to explicitly start a different page within the sapscript. So for example, you have a cover page and then subsequent pages, and a last page. You can use the START_FORM to explicity write the cover page, the subsequent pages, and then explicity fire the last page based on some conditions. If you one have one page in your sapscript, the START_FORM and END_FORM are not require, but the OPEN_FORM and CLOSE_FORM as always required.
Regards,
RIch Heilman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<b>OPEN_FORM</b>
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.
<b>START_FORM</b>
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
Thx n regards,
Naveenan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Let me share my simple explanation:
Open_form is mainly for initiate the layout set. It is manditory. With out this we con't open the layout set.
start_form is for initiate the perticulare form. Suppose u developed one prtrait and one land scape forms with defferent names then u can pass both form at a time in single driver program by using 2 start_forms.
Hope this helps you, reply for queries, Shall post you the updates.
Regards.
Kumar. .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 doesnt 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.
~~Guduri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.