<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: smart forms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628649#M604184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dear,&lt;/P&gt;&lt;P&gt;Open Form : Open's the Form&lt;/P&gt;&lt;P&gt;Write Form: Prints the data in output with the help of element.&lt;/P&gt;&lt;P&gt;Close Form: Used for closing the Form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points.&lt;/P&gt;&lt;P&gt;Bohra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2007 07:03:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-30T07:03:13Z</dc:date>
    <item>
      <title>smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628643#M604178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I need Small answers as m writing a test its only for one mark or 2 marks question&lt;/P&gt;&lt;P&gt; What are the differences between the function modules "OPEN_FORM" "CLOSE_FORM" and "START_FORM, End_Form in sap scripts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 06:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628643#M604178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T06:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628644#M604179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;OPEN_FORM&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Open a form &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CLOSE_FORM&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Close a form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All printings should happen between these two events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;START_FORM&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Start a form&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;END_FORM&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Terminate a form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start_form changes the layout, end_form must happen before setting a new layout. used to use several layout in one print. must be enclosed in Open_form, Close_form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 06:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628644#M604179</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-07-30T06:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628645#M604180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Form functions	 &lt;/P&gt;&lt;P&gt;OPEN_FORM &lt;/P&gt;&lt;P&gt;Opens the form output.&lt;/P&gt;&lt;P&gt;CLOSE_FORM &lt;/P&gt;&lt;P&gt;Ends the form output.&lt;/P&gt;&lt;P&gt;START_FORM &lt;/P&gt;&lt;P&gt;Starts a new form.&lt;/P&gt;&lt;P&gt;WRITE_FORM &lt;/P&gt;&lt;P&gt;Calls a form element.&lt;/P&gt;&lt;P&gt;WRITE_FORM_LINES &lt;/P&gt;&lt;P&gt;Writes text lines into a form.&lt;/P&gt;&lt;P&gt;END_FORM &lt;/P&gt;&lt;P&gt;Ends the current form.&lt;/P&gt;&lt;P&gt;CONTROL_FORM &lt;/P&gt;&lt;P&gt;Sends a control statement to the form.&lt;/P&gt;&lt;P&gt;READ_FORM_ELEMENTS &lt;/P&gt;&lt;P&gt;Finds the elements of a form.&lt;/P&gt;&lt;P&gt;READ_FORM_LINES &lt;/P&gt;&lt;P&gt;Passes the lines of a form elements into an internal lines table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Rewards point for helpful answer.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 06:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628645#M604180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T06:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628646#M604181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open_form =&amp;gt; It assign the form and printer, It should be first. &lt;/P&gt;&lt;P&gt;Start_form =&amp;gt;  It start Writing mode. You can use write_form  in loop to write more than one lines befor End_form.  &lt;/P&gt;&lt;P&gt;End_form =&amp;gt; It end writing mode of current page and will require to start again through Start_form. &lt;/P&gt;&lt;P&gt;Close_form=&amp;gt; it end the Form. After this you can not start again for created file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Divya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 06:58:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628646#M604181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T06:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628647#M604182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="info"&gt;&lt;/SPAN&gt; Open_form is mandatory while start_form is optional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(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.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 06:58:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628647#M604182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T06:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628648#M604183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Open_Form (Mandatory)&lt;/P&gt;&lt;P&gt;Start_Form (Optional)&lt;/P&gt;&lt;P&gt;Write_Form (Mandatory)&lt;/P&gt;&lt;P&gt;End_Form (Optional)&lt;/P&gt;&lt;P&gt;Close_Form (Mandatory)&lt;/P&gt;&lt;P&gt;If Start_Form is present then End_Form also should be there.&lt;/P&gt;&lt;P&gt;One more function module which is useful is Control_Form. This is also optional.&lt;/P&gt;&lt;P&gt;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&amp;#146;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of the important export parameters we have to pass to Open_Form function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form:  Enter the Layout set name here, which then controls the output formatting. If nothing is specified then we must use Start_Form for opening layout set.&lt;/P&gt;&lt;P&gt;Language: Layout sets are Language dependent. Enter the desired language here. If the entered layout set is not in that language, then the function tries to open the Form entered in its original language. The default value is SY-LANGU.&lt;/P&gt;&lt;P&gt;Device: SAP Script can format a text on different device types. The device can be &amp;#145;PRINTER&amp;#146; or &amp;#145;TELEX&amp;#146;, &amp;#145;TELEFAX&amp;#146;, &amp;#146;ABAP&amp;#146; and &amp;#145;SCREEN&amp;#146;.&lt;/P&gt;&lt;P&gt;Dialog: Use parameter DIALOG to determine whether to display a dialog box before printing, in which the user can set several spool parameters for print formatting. Possible values: SPACE	displays no print parameter screen. 'X' display print parameter screen. Default value: 	'X'&lt;/P&gt;&lt;P&gt;Options: Use parameter OPTIONS to set several options for print formatting. The parameter has the structure ITCPO. The user can change some of the defined settings on the print control screen. The default value for Options is &amp;#145; &amp;#145;. We will discuss about ITCPO structure in detail later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other Export, Import and Exceptions are self-explanatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Close_Form: The function module closes the layout set opened using OPEN_FORM. The system executes any terminating processing steps for the last opened layout set. No Export parameters for this Function Module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. Some of the important export parameters for this function module are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Form: The parameter contains the name of the layout set you want to use for printing. If you specify no layout set here, the system restarts the last active layout set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Language: Layout sets are language-dependent. Enter the desired language here. If the layout set does not exist in this language, the system tries to call the layout set in its original language. If the parameter LANGUAGE is empty, the system uses the language of the last active layout set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Startpage:  Usually, SAP script starts with the page specified as start page in the layout set definition. If we want to start output with another layout set page, enter the name of the desired layout set page here. If the desired page is not defined, the system uses the start page defined in the layout set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Program: To replace program symbols, SAP script must know which active program contains the work areas for the values to be passed. If we omit the parameter, the system searches for the field values in the program that was specified in the parameter OPTIONS (field TDPROGRAM) of OPEN_FORM. If we enter a program name, the system replaces the program symbols with the values from this program up to the next END_FORM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions and other Export, Import parameters are self-explanatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END_FORM: END_FORM ends the currently open layout set and executes the required termination processing. After calling this function module, no more layout set is active. For further output, we must start a new layout set using START_FORM. No Export parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 07:02:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628648#M604183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T07:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628649#M604184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dear,&lt;/P&gt;&lt;P&gt;Open Form : Open's the Form&lt;/P&gt;&lt;P&gt;Write Form: Prints the data in output with the help of element.&lt;/P&gt;&lt;P&gt;Close Form: Used for closing the Form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points.&lt;/P&gt;&lt;P&gt;Bohra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 07:03:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628649#M604184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T07:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628650#M604185</link>
      <description>&lt;P&gt;SAP SCRIPT FIELDS&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;scripts easy material&lt;/P&gt;&lt;P&gt;[Removed by the moderator.]&lt;/P&gt;&lt;P&gt;Check these step-by-step links&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e" target="test_blank"&gt;https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2007 07:04:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628650#M604185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T07:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628651#M604186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open_form - - - &amp;gt; Techically it is used to open a spool request, spool request is a print request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLose_form - - - &amp;gt; Used to Close the Spool request or end a request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start_form - - - &amp;gt; is to call form layot to ur current script layout.&lt;/P&gt;&lt;P&gt;End_form - - - &amp;gt; is to terminate or close tat called form layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open_form &amp;amp; Close_form is mandatory &amp;amp; its not required tat this open &amp;amp; close will contain a start &amp;amp; end form .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when ever u use a start &amp;amp; end form, its mandatory tat it shud be called only between an open form &amp;amp; a close Form...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple explanation...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward Points if USEFUL*&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 07:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628651#M604186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T07:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: smart forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628652#M604187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in print program, we declare TABLES which are used for extracting data in declaration part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you write the SELECT statement for extracting data before calling the script function modules....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these are the function modules which are freequently used in print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPEN_FORM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must end form printing by using the function module CLOSE_FORM. Otherwise, the system does not print or display anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'OPEN_FORM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;FORM = ' ' " specifies the form name&lt;/P&gt;&lt;P&gt;LANGUAGE = SY-LANGU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEVICE = 'PRINTER'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOSE_FORM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module closes the form opened using OPEN_FORM. The system executes any terminating processing steps for the last opened form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must use this function module to close form printing. Otherwise, no output appears on printer or screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CLOSE_FORM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is no mandatory parameters to this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START_FORM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To switch forms, use the function module START_FORM. If another form is still open, you must close it first using END_FORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'START_FORM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;FORM = &amp;lt; &amp;gt; "specifies the form name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LANGUAGE = &amp;lt; &amp;gt; "specifies the language&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STARTPAGE = ' ' "specifies the page name which you &lt;/P&gt;&lt;P&gt;" want print&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END_FORM&lt;/P&gt;&lt;P&gt;END_FORM ends the currently open form and executes the required termination processing. After calling this function module, no more form is active. For further output, you must start a new form using START_FORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'END_FORM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE_FORM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system outputs the form element specified in parameter ELEMENT into the currently opened form.&lt;/P&gt;&lt;P&gt;In the parameter WINDOW you can specify the name of a window for the output. Remember that the form element must be defined in this window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;ELEMENT = &amp;lt; &amp;gt; "specifies the element name&lt;/P&gt;&lt;P&gt;WINDOW = &amp;lt; &amp;gt; " name of the window &lt;/P&gt;&lt;P&gt;TYPE = 'BODY' "specifies the output location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTROL_FORM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use CONTROL_FORM to pass SAPscript control statements to the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FORM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;COMMAND = &amp;lt; &amp;gt; "specifies the name of the control command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;follow this sequence.&lt;/P&gt;&lt;P&gt;OPEN_FORM.&lt;/P&gt;&lt;P&gt;START_FORM.&lt;/P&gt;&lt;P&gt;WRITE_FORM.&lt;/P&gt;&lt;P&gt;END_FORM.&lt;/P&gt;&lt;P&gt;CLOSE_FORM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpfull answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 07:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smart-forms/m-p/2628652#M604187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-30T07:09:44Z</dc:date>
    </item>
  </channel>
</rss>

