<?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 Loop in sapscript in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-sapscript/m-p/3833048#M921735</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;Can we use loop in sapscript editor,if yes then plz tell me how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2008 06:57:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-20T06:57:24Z</dc:date>
    <item>
      <title>Loop in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-sapscript/m-p/3833048#M921735</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;Can we use loop in sapscript editor,if yes then plz tell me how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 06:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-sapscript/m-p/3833048#M921735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T06:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-sapscript/m-p/3833049#M921736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The LOOP logic of a SAPscript is held in the print program, not the form. Your ABAP print program will typically extract the data, open the form, loop through the data, call elements in the main window then close the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no LOOP statement in SAPscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shiva Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 07:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-sapscript/m-p/3833049#M921736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T07:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Loop in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-sapscript/m-p/3833050#M921737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheelesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See below it..&lt;/P&gt;&lt;P&gt;You find loop statement in sapscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZSUR9.&lt;/P&gt;&lt;P&gt;TABLES:ZST2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: LANG LIKE SY-LANGU.&lt;/P&gt;&lt;P&gt;  Data: itab LIKE zst2 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  select * from zst2 into TABLE itab.&lt;/P&gt;&lt;P&gt;call function 'OPEN_FORM'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   DEVICE                            = 'PRINTER'&lt;/P&gt;&lt;P&gt;   DIALOG                            = 'X'&lt;/P&gt;&lt;P&gt;   FORM                              = 'ZFORM4'&lt;/P&gt;&lt;P&gt;   LANGUAGE                          = LANG&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   CANCELED                          = 1&lt;/P&gt;&lt;P&gt;   DEVICE                            = 2&lt;/P&gt;&lt;P&gt;   FORM                              = 3&lt;/P&gt;&lt;P&gt;   OPTIONS                           = 4&lt;/P&gt;&lt;P&gt;   UNCLOSED                          = 5&lt;/P&gt;&lt;P&gt;   MAIL_OPTIONS                      = 6&lt;/P&gt;&lt;P&gt;   ARCHIVE_ERROR                     = 7&lt;/P&gt;&lt;P&gt;   INVALID_FAX_NUMBER                = 8&lt;/P&gt;&lt;P&gt;   MORE_PARAMS_NEEDED_IN_BATCH       = 9&lt;/P&gt;&lt;P&gt;   SPOOL_ERROR                       = 10&lt;/P&gt;&lt;P&gt;   CODEPAGE                          = 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'WRITE_FORM'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   ELEMENT                        = 'ZS1'&lt;/P&gt;&lt;P&gt;   TYPE                           = 'BODY'&lt;/P&gt;&lt;P&gt;   WINDOW                         = 'MAIN'&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   ELEMENT                        = 1&lt;/P&gt;&lt;P&gt;   FUNCTION                       = 2&lt;/P&gt;&lt;P&gt;   TYPE                           = 3&lt;/P&gt;&lt;P&gt;   UNOPENED                       = 4&lt;/P&gt;&lt;P&gt;   UNSTARTED                      = 5&lt;/P&gt;&lt;P&gt;   WINDOW                         = 6&lt;/P&gt;&lt;P&gt;   BAD_PAGEFORMAT_FOR_PRINT       = 7&lt;/P&gt;&lt;P&gt;   SPOOL_ERROR                    = 8&lt;/P&gt;&lt;P&gt;   CODEPAGE                       = 9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOOP at itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  call function 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     ELEMENT                        = 'ZS2'&lt;/P&gt;&lt;P&gt;     TYPE                           = 'BODY'&lt;/P&gt;&lt;P&gt;     WINDOW                         = 'MAIN'&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     ELEMENT                        = 1&lt;/P&gt;&lt;P&gt;     FUNCTION                       = 2&lt;/P&gt;&lt;P&gt;     TYPE                           = 3&lt;/P&gt;&lt;P&gt;     UNOPENED                       = 4&lt;/P&gt;&lt;P&gt;     UNSTARTED                      = 5&lt;/P&gt;&lt;P&gt;     WINDOW                         = 6&lt;/P&gt;&lt;P&gt;     BAD_PAGEFORMAT_FOR_PRINT       = 7&lt;/P&gt;&lt;P&gt;     SPOOL_ERROR                    = 8&lt;/P&gt;&lt;P&gt;     CODEPAGE                       = 9 .&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDLOOP.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CLOSE_FORM'&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   UNOPENED                       = 1&lt;/P&gt;&lt;P&gt;   BAD_PAGEFORMAT_FOR_PRINT       = 2&lt;/P&gt;&lt;P&gt;   SEND_ERROR                     = 3&lt;/P&gt;&lt;P&gt;   SPOOL_ERROR                    = 4&lt;/P&gt;&lt;P&gt;   CODEPAGE                       = 5 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;S.Suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 07:15:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/loop-in-sapscript/m-p/3833050#M921737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T07:15:32Z</dc:date>
    </item>
  </channel>
</rss>

