‎2007 Aug 05 4:41 PM
Hi friends,
Interview Q: when we use "start_form".
With regards,
satya
‎2007 Aug 05 5:23 PM
Check the below Link :
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.
http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/0dba1a494511d182b70000e829fbfe/frameset.htm
Thanks
Seshu
‎2007 Aug 05 5:23 PM
Check the below Link :
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.
http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/0dba1a494511d182b70000e829fbfe/frameset.htm
Thanks
Seshu
‎2007 Aug 05 7:19 PM
HI,
If you want to start wrting a form then you need to use the Start_Form function module. ithat iws nothing but to start a new layout set we need to use this function module
Regards
Sudheer
‎2007 Aug 05 7:25 PM
Hi Narayana,
START_FORM is used to switch forms within one print request. This may be necessary if, depending on the recipient, the output language changes or if, depending on the country, a different form layout is required.
You proceed as you would for starting a form again. However, when calling the function module START_FORM, you specify the name of the new form.
When switching forms, make sure that you use only those forms that have the same page format (for example, only DINA4 or only LETTER). However, you can easily mix forms with different page orientations (landscape or portrait format).
If you doesn't specify layout again the in the START_FORM then it will consider the form which you already opened by OPEN_FORM.
Thanks,
Vinay