<?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: Regarding SAP Script multiple page display in diffrent order in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139471#M114115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm not sure..&lt;/P&gt;&lt;P&gt;i think in this case also &lt;/P&gt;&lt;P&gt;you can try with start form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first open_from,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'START_FORM'
 EXPORTING
*   ARCHIVE_INDEX          =
   FORM                   = 'ZTESTFORM'
*   LANGUAGE               = ' '
   STARTPAGE              = 'THIRD'
   PROGRAM                = 'ZTEST'
*   MAIL_APPL_OBJECT       =
* IMPORTING
*   LANGUAGE               =
* EXCEPTIONS
*   FORM                   = 1
*   FORMAT                 = 2
*   UNENDED                = 3
*   UNOPENED               = 4
*   UNUSED                 = 5
*   SPOOL_ERROR            = 6
*   CODEPAGE               = 7
*   OTHERS                 = 8
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and then use end_form.&lt;/P&gt;&lt;P&gt;then second page with start form,end_form, similarly first page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try ..&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Dec 2005 08:29:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-30T08:29:25Z</dc:date>
    <item>
      <title>Regarding SAP Script multiple page display in diffrent order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139467#M114111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have a issue regarding SAP Script multiple page display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The actual issue is i have 3 pages in my Layout set.&lt;/P&gt;&lt;P&gt; They are &amp;lt;b&amp;gt;FIRST, SECOND, THIRD&amp;lt;/b&amp;gt;, In their  attributes for FIRST page NEXTPAGE attribute given as SECOND, For SECOND page NEXTPAGE attribute given as THIRD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Now what i want is 3rd Page[THIRD] should be displayed as first page in the output. 1st Page[FIRST] should be displayed as second page in the output. 2nd Page[SECOND] should be displayed as third page in the output display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; This scenario i need to control from &amp;lt;b&amp;gt;Print program.&amp;lt;/b&amp;gt; not from &amp;lt;b&amp;gt;Layout set&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can any body tell me how can we solve this issue from &amp;lt;b&amp;gt;Print Program&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt; Rayeez.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 07:53:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139467#M114111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-30T07:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Script multiple page display in diffrent order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139468#M114112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;check these&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm" target="test_blank"&gt;http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/sapscript/sapscripthome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/sapscript/sapscripthome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sappoint.com/abap/ssintro.pdf" target="test_blank"&gt;http://www.sappoint.com/abap/ssintro.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regs&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 08:01:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139468#M114112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-30T08:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Script multiple page display in diffrent order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139469#M114113</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;instead create different layouts, and call them using start_form in which ever order you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 08:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139469#M114113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-30T08:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Script multiple page display in diffrent order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139470#M114114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Case is diffrent i already have 3 page in single layout set. i should not change anything in layout set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without going for multiple layout set's can't i control printing pages from print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you got my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rayeez.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 08:16:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139470#M114114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-30T08:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Script multiple page display in diffrent order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139471#M114115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm not sure..&lt;/P&gt;&lt;P&gt;i think in this case also &lt;/P&gt;&lt;P&gt;you can try with start form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first open_from,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'START_FORM'
 EXPORTING
*   ARCHIVE_INDEX          =
   FORM                   = 'ZTESTFORM'
*   LANGUAGE               = ' '
   STARTPAGE              = 'THIRD'
   PROGRAM                = 'ZTEST'
*   MAIL_APPL_OBJECT       =
* IMPORTING
*   LANGUAGE               =
* EXCEPTIONS
*   FORM                   = 1
*   FORMAT                 = 2
*   UNENDED                = 3
*   UNOPENED               = 4
*   UNUSED                 = 5
*   SPOOL_ERROR            = 6
*   CODEPAGE               = 7
*   OTHERS                 = 8
          .
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and then use end_form.&lt;/P&gt;&lt;P&gt;then second page with start form,end_form, similarly first page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try ..&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 08:29:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139471#M114115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-30T08:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Script multiple page display in diffrent order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139472#M114116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that will work for you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first pass third page ,first page, second page.&lt;/P&gt;&lt;P&gt;using start_form, end_form in side open and close form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that will do..&lt;/P&gt;&lt;P&gt;Try ...&lt;/P&gt;&lt;P&gt;Start_form has option to specify the startpage,&lt;/P&gt;&lt;P&gt;check that..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;Wish you happy new year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 08:31:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139472#M114116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-30T08:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Script multiple page display in diffrent order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139473#M114117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi shaik,&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; use 3 start_forms. &lt;/P&gt;&lt;P&gt; in the first start_form give&lt;/P&gt;&lt;P&gt; startpage              = 'THIRD'&lt;/P&gt;&lt;P&gt;  then use all ur WRITE_FORM within this.&lt;/P&gt;&lt;P&gt; and then END_FORM.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt; do the same for ur first and second page...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 09:04:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139473#M114117</guid>
      <dc:creator>madan_ullasa</dc:creator>
      <dc:date>2005-12-30T09:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding SAP Script multiple page display in diffrent order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139474#M114118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rayeez,&lt;/P&gt;&lt;P&gt;I am not fully sure but I suggest some tips,may be this will work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the 'start_form' function module ,there is a parameter to specify from which page the contents has to be printed or try in control_form function module in which u can specify the page break.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kranthi namala,&lt;/P&gt;&lt;P&gt;Bristlecone India Ltd.&lt;/P&gt;&lt;P&gt;91+98803.62839.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2005 09:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script-multiple-page-display-in-diffrent-order/m-p/1139474#M114118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-30T09:18:31Z</dc:date>
    </item>
  </channel>
</rss>

