<?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: open_form in SAP script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-form-in-sap-script/m-p/986373#M73068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you closing the form?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basis program code should look like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  call function 'OPEN_FORM'
       exporting
            device   = 'PRINTER'
            dialog   = ' '
            form     = print_co-forml
            language = print_co-spras
            options  = itcpo
       exceptions
            canceled = 01
            device   = 02
            form     = 03
            options  = 04
            unclosed = 05.

  call function 'START_FORM'
       exporting
            startpage = 'PAGE1'
       exceptions
            others    = 7.

  call function 'WRITE_FORM'
       exporting
            window = 'MAIN'
       exceptions
            others = 9.

  call function 'END_FORM'
       exceptions
            others = 4.

  call function 'CLOSE_FORM'
       exceptions
            others = 01.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jul 2005 14:48:42 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-07-13T14:48:42Z</dc:date>
    <item>
      <title>open_form in SAP script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-form-in-sap-script/m-p/986372#M73067</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;I was trying script program for single page. so when I was calling the function 'open_form' ...i mean when i double clicked on it....i was taken to the module page....after executing it i am not getting the module code into my source program......what cud be the possible error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get something like this in the module result screen &lt;/P&gt;&lt;P&gt;"close_form is missing for the layout".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2005 14:39:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-form-in-sap-script/m-p/986372#M73067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-13T14:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: open_form in SAP script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-form-in-sap-script/m-p/986373#M73068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you closing the form?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basis program code should look like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

  call function 'OPEN_FORM'
       exporting
            device   = 'PRINTER'
            dialog   = ' '
            form     = print_co-forml
            language = print_co-spras
            options  = itcpo
       exceptions
            canceled = 01
            device   = 02
            form     = 03
            options  = 04
            unclosed = 05.

  call function 'START_FORM'
       exporting
            startpage = 'PAGE1'
       exceptions
            others    = 7.

  call function 'WRITE_FORM'
       exporting
            window = 'MAIN'
       exceptions
            others = 9.

  call function 'END_FORM'
       exceptions
            others = 4.

  call function 'CLOSE_FORM'
       exceptions
            others = 01.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2005 14:48:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-form-in-sap-script/m-p/986373#M73068</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-13T14:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: open_form in SAP script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-form-in-sap-script/m-p/986374#M73069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you.....working on it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2005 15:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-form-in-sap-script/m-p/986374#M73069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-13T15:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: open_form in SAP script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-form-in-sap-script/m-p/986375#M73070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therez something like element in the WRITE_FORM.&lt;/P&gt;&lt;P&gt;I know that i am supposed to define the element in the layout set.....but i donno where to and how to define....&lt;/P&gt;&lt;P&gt;can u plz guide me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;scien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2005 16:13:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-form-in-sap-script/m-p/986375#M73070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-13T16:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: open_form in SAP script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-form-in-sap-script/m-p/986376#M73071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the main window, define your elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in sapscript......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;/E  ELEMENT_NAME&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  call function 'WRITE_FORM'
       exporting 
            window = 'MAIN'
            elment = 'ELEMENT_NAME'
       exceptions
            others = 9.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2005 16:19:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-form-in-sap-script/m-p/986376#M73071</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-13T16:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: open_form in SAP script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/open-form-in-sap-script/m-p/986377#M73072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your problem is solved and these answers have been helpful, please award points and close post.  Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2005 18:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/open-form-in-sap-script/m-p/986377#M73072</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-07-13T18:09:17Z</dc:date>
    </item>
  </channel>
</rss>

