<?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: Set and Get parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-and-get-parameters/m-p/7414708#M1548533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try to replace 'CALL TRANSACTION' with 'SUBMIT'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Nov 2010 10:19:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-02T10:19:06Z</dc:date>
    <item>
      <title>Set and Get parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-and-get-parameters/m-p/7414707#M1548532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAPers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created 2 abap programs, ZTEST_TEMP and ZTEST_TEMP2. ZTEST_TEMP2 will gather data and set parameter, and ZTEST_TEMP will be called to get the parameter for other processing.&lt;/P&gt;&lt;P&gt;When I am in ZTEST_TEMP2 and executed, ZTEST_TEMP screen 0100 was called, but the line GET PARAMETER was not triggered.&lt;/P&gt;&lt;P&gt;Does anyone know why? Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  ZTEST_TEMP.
DATA: carrier TYPE sy-repid,
      connection TYPE sy-repid.

start-of-selection.
*GET PARAMETER ID para FIELD prog.
  GET PARAMETER ID: 'CAR' FIELD carrier,  "breakpoint at here, but it is not called.
                    'CON' FIELD connection.

IF sy-subrc &amp;lt;&amp;gt; 0.
  MESSAGE 'Parameter not found' TYPE 'I'.
ELSE.
  write: / carrier, connection.
ENDIF.
end-of-selection.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  ZTEST_TEMP2.

DATA: carrier     TYPE spfli-carrid,
      connection  TYPE spfli-connid.

START-OF-SELECTION.
  SELECT carrid connid
         FROM spfli
         INTO (carrier, connection).
*    WRITE: / carrier HOTSPOT, connection HOTSPOT.
    HIDE:  carrier, connection.
  ENDSELECT.

*AT LINE-SELECTION.
  SET PARAMETER ID: 'CAR' FIELD carrier,
                    'CON' FIELD connection.
  CALL TRANSACTION 'ZTEST_TEMP'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 09:49:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-and-get-parameters/m-p/7414707#M1548532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T09:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set and Get parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-and-get-parameters/m-p/7414708#M1548533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try to replace 'CALL TRANSACTION' with 'SUBMIT'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 10:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-and-get-parameters/m-p/7414708#M1548533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T10:19:06Z</dc:date>
    </item>
  </channel>
</rss>

