<?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/1600624#M269653</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;To export the value from your prg use&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;export field to memory id 'MEMO'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To import the exported value &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;import field from memory id 'MEMO'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Sep 2006 09:21:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-22T09:21:23Z</dc:date>
    <item>
      <title>ABAP PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1600621#M269650</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 need to get back some values from a program to use in other program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could anyone give me the guidance to do it.&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>Fri, 22 Sep 2006 09:01:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1600621#M269650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T09:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1600622#M269651</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;You can do it by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Exporting the values to memory and importing the &lt;/P&gt;&lt;P&gt;   values in other program.You can export the values to &lt;/P&gt;&lt;P&gt;   memory if it is with in the ABAP session or else you &lt;/P&gt;&lt;P&gt;   need to use export to database INDX addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Submit the other program and pass the values directly.&lt;/P&gt;&lt;P&gt;   This way you call other report from your program and &lt;/P&gt;&lt;P&gt;   pass values.For more information and additions for &lt;/P&gt;&lt;P&gt;   submit you can check the sap documentation by &lt;/P&gt;&lt;P&gt;   pressing F1 help for Submit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 09:03:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1600622#M269651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T09:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1600623#M269652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want one program variable values to be appear in other programs at runtime,&lt;/P&gt;&lt;P&gt;first you need to do,&lt;/P&gt;&lt;P&gt; export the first program variable values to MEMORY&lt;/P&gt;&lt;P&gt;then in the second program&lt;/P&gt;&lt;P&gt; IMPORT the values from that memory location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 09:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1600623#M269652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T09:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1600624#M269653</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;To export the value from your prg use&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;export field to memory id 'MEMO'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To import the exported value &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;import field from memory id 'MEMO'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 09:21:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1600624#M269653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T09:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1600625#M269654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export field to memory id .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import field from memory id .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 09:22:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1600625#M269654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T09:22: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/1600626#M269655</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;Its simple.&lt;/P&gt;&lt;P&gt;Use submit program and in this case you can pass the values directly.&lt;/P&gt;&lt;P&gt;SUBMIT {rep|(name)} [selscreen_options] &lt;/P&gt;&lt;P&gt;                    [ list_options ] &lt;/P&gt;&lt;P&gt;                    [ job_options] &lt;/P&gt;&lt;P&gt;                    [AND RETURN]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition: &lt;/P&gt;&lt;P&gt;... AND RETURN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The SUBMIT statement accesses an executable program rep. The executable program is executed as described under Calling Executable Reports. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program name rep can either be specified directly or as the content of a character-like data object name. The data object name must contain the name of the program to be accessed in block capitals. If the program specified in name is not found, an irretrievable exception is generated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selscreen_options additions can be used to determine the selection screen for the program accessed and to supply it with values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The list_options additions allow you to influence the output medium and the page size in the basic list for the program accessed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can schedule the program for background processing by specifying job_options. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition &lt;/P&gt;&lt;P&gt;... AND RETURN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The AND RETURN addition determines the object accessed by the runtime environment after program access is completed: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without the AND RETURN addition, the internal session of the program accessed replaces the internal session of the calling program in the same position in the call sequence. Once program access is completed, the system returns to before the position from which the calling program was started. &lt;/P&gt;&lt;P&gt;As of Release 6.10, the content of the system field sy-calld at SUBMIT is copied by the calling program without AND RETURN. Before 6.10, the system entered the value "X", which was incorrect when the program was accessed from the first program in a call sequence. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition AND RETURN starts the executable program in a new internal session. The session for the calling program is retained. Once program access is completed, program execution for the calling program continues after the SUBMIT statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;When the SUBMIT statement is executed, the system runs an authorization check for the authorization group specified in the program attributes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... [USING SELECTION-SCREEN dynnr] &lt;/P&gt;&lt;P&gt;    [VIA SELECTION-SCREEN] &lt;/P&gt;&lt;P&gt;    [selscreen_parameters] ... . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extras: &lt;/P&gt;&lt;P&gt;1. ... USING SELECTION-SCREEN dynnr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... VIA SELECTION-SCREEN &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;Effect &lt;/P&gt;&lt;P&gt;The addition USING SELECTION-SCREEN specifies the selection screen, VIA SELECTION-SCREEN specifies whether it is displayed. The additions selscreen_parameters provide values for the parameters, selection criteria, and the free selection of the called selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values are transferred to the selection screen between the events INITIALIZATION and AT SELECTION-SCREEN OUTPUT The following hierarchy applies for transferring values: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, the variant of the addition USING SELECTION-SET is transferred, which sets all parameters and selection criteria to the values of the variant. The values previously set in the called program are overwritten. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values are then transferred to the table of the addition WITH SELECTION-TABLE. All parameters and selection criteria specified there are overwritten accordingly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, the values of the additions WITH sel value are transferred. All parameters and selection criteria are overwritten accordingly. If the addition WITH sel value is used more than once for the same parameter, this is overwritten with the last specified value. If the addition WITH sel value is used more than once for the same selection criterion, a selection table with the corresponding number of lines is transferred. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Providing values for free selections is independent of this hierarchy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;The options for parameter transfer enable a selection screen to be viewed as a parameter interface of an executable program. This applies particularly for background selection screen processing and for parameters and selection criteria that are defined without screen elements using the addition NO-DISPLAY. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The additions selscreen_parameters only work the first time the called program is executed. If a selection screen is displayed in the called program, the runtime environment calls the program again after it is finished, thereby replacing the values specified in selscreen_parameters with the previous input values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;... USING SELECTION-SCREEN dynnr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;This addition specifies which selection screen is called. dynnr is a data object that must contain the screen number of a selection screen defined in the called program when the SUBMIT statement is called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the addition USING SELECTION-SCREEN is omitted or the screen number 1000 is entered, the standard selection screen is called. If no standard selection screen is defined in the called program, no selection screen is called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a screen number that is not 1000 is entered in the addition USING SELECTION-SCREEN, the corresponding independent selection screen is called. If no selection screen with this screen number is defined in the called program, this leads to an untreatable exception. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2 &lt;/P&gt;&lt;P&gt;... VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;If this addition is specified, the selection screen is displayed on the screen. Otherwise, background selection screen processing takes place. In background selection screen processing, the selection screen events are triggered without the selection screen being displayed. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Or&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;first you need to exporting the values to memory from program 1 and then import the values in program 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 09:26:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1600626#M269655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T09:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1600627#M269656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the export to memory id and import from memory id commands to transfer values between two programs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2006 09:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/1600627#M269656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-22T09:29:27Z</dc:date>
    </item>
  </channel>
</rss>

