<?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: ABAP PROGRAM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1835054#M355499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report Zreport.&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      datum type sy-datum,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ranges: r_datum for sy-datum.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;create some data in ITAB&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;itab-datum = sy-datum.&lt;/P&gt;&lt;P&gt;do 10 times.&lt;/P&gt;&lt;P&gt;  itab-datum = itab-datum  + 1.&lt;/P&gt;&lt;P&gt;  append itab.&lt;/P&gt;&lt;P&gt;enddo.&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build the range&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;clear r_datum. refresh r_datum.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;  r_datum-sign = 'I'.&lt;/P&gt;&lt;P&gt;  r_datum-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  r_datum-low = itab-datum.&lt;/P&gt;&lt;P&gt;  append r_datum.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;submit zreport&lt;/P&gt;&lt;P&gt;    with s_datum in  r_datum&lt;/P&gt;&lt;P&gt;          and return.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here Zreport1 is other program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jan 2007 15:39:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-24T15:39:07Z</dc:date>
    <item>
      <title>ABAP PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1835052#M355497</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 want to execute a program in the background to use this data in the other program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 14:57:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1835052#M355497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T14:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1835053#M355498</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; Use &amp;lt;b&amp;gt;Submit Program&amp;lt;/b&amp;gt; statement ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 15:02:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1835053#M355498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T15:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1835054#M355499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following Code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report Zreport.&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      datum type sy-datum,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ranges: r_datum for sy-datum.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;create some data in ITAB&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;itab-datum = sy-datum.&lt;/P&gt;&lt;P&gt;do 10 times.&lt;/P&gt;&lt;P&gt;  itab-datum = itab-datum  + 1.&lt;/P&gt;&lt;P&gt;  append itab.&lt;/P&gt;&lt;P&gt;enddo.&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build the range&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;clear r_datum. refresh r_datum.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;  r_datum-sign = 'I'.&lt;/P&gt;&lt;P&gt;  r_datum-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  r_datum-low = itab-datum.&lt;/P&gt;&lt;P&gt;  append r_datum.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;submit zreport&lt;/P&gt;&lt;P&gt;    with s_datum in  r_datum&lt;/P&gt;&lt;P&gt;          and return.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here Zreport1 is other program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 15:39:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1835054#M355499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T15:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1835055#M355500</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;Yes, you can use the SUBMIT  TO MEMORY ID 'VARIABLE' and the IMPORT variable FROM MEMORY ID 'VARIABLE' statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can write the data into a file on the SAP server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 15:45:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1835055#M355500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T15:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1835056#M355501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; If you need to program an extensive application, one single program will become very complex. To make the program easier to read, it is often reasonable to divide the required functions among several programs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As well as external modularization, in which you store procedures in special non-executable ABAP programs like function groups, you can also call independent programs from within an ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following ABAP statements allow you to start an executable program or transaction. You can either exit the calling program, or have the system return to it when the called program finishes running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Type 1 Program&lt;/P&gt;&lt;P&gt; Transaction&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Call (without returning)&lt;/P&gt;&lt;P&gt; SUBMIT&lt;/P&gt;&lt;P&gt; LEAVE TO TRANSACTION&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Call and return&lt;/P&gt;&lt;P&gt; SUBMIT AND RETURN&lt;/P&gt;&lt;P&gt; CALL TRANSACTION&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use these statements in any ABAP program. For example, while processing a user action in the output list of an executable program, you might call a transaction whose initial screen is filled with data from the selected list line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An interesting remark at this point is that every time you run an executable program, a SUBMIT statement occurs. When you enter the program name in a transaction like SE38 or SA38 and choose Execute, a SUBMIT statement occurs in the transaction. It is therefore a technical attribute of a type 1 program that they are called using SUBMIT, although their principal characteristic from a user&amp;#146;s point of view is that they are started in the foreground. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Filling the Selection Screen of a Called Program&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Affecting Lists in Called Programs&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba50d35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba50d35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Program Statements to Leave a Called Program&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba50035c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/9f/dba50035c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this answers your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2007 16:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1835056#M355501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-24T16:25:04Z</dc:date>
    </item>
  </channel>
</rss>

