<?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: parameteres in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798764#M653457</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;&amp;lt;b&amp;gt;SET PARAMETER &amp;lt;/b&amp;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;Syntax &lt;/P&gt;&lt;P&gt;SET PARAMETER ID pid FIELD dobj. &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;This statement sets the content of the SPA/GPA parameter specified in pid to the content of the data object dobj. For pid, a flat character-type field is expected that can contain a maximum of 20 characters, which cannot be exclusively blank characters. pid is case-sensitive. For dobj, a flat, (as of release 6.10 character-type) field is expected, whose binary content is transferred in an unconverted format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the SPA/GPA parameter specified for the current user in pid does not yet exist in the SAP memory, it is created. If the SPA/GPA parameter has already been created for the current user, its value is overwritten. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a program, SPA/GPA parameters can only be created or assigned values if a name exists for them in the table TPARA. The extended program check reports an error if it can statically determine that a name specified in pid is not contained in the database table TPARA. ist. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: &lt;/P&gt;&lt;P&gt;For a SPA/GPA parameter specified in pid to match a name in the database table TPARA, it must be entered in upper case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;If the user selects a flight displayed in the basic list, when the event ATLINE-SELECTION takes place, the SPA/GPA parameters CAR and CON are set to the ID of the airline and the connection number. The names of both parameters are defined in the table TPARA for this purpose. In the initial screen of the transaction DEMO_TRANSACTION, two input fields are linked with SPA/GPA these parameters and are displayed with the selected values as start values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: carrier     TYPE spfli-carrid, &lt;/P&gt;&lt;P&gt;      connection  TYPE spfli-connid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  SELECT carrid connid &lt;/P&gt;&lt;P&gt;         FROM spfli &lt;/P&gt;&lt;P&gt;         INTO (carrier, connection). &lt;/P&gt;&lt;P&gt;    WRITE: / carrier HOTSPOT, connection HOTSPOT. &lt;/P&gt;&lt;P&gt;    HIDE:  carrier, connection. &lt;/P&gt;&lt;P&gt;  ENDSELECT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION. &lt;/P&gt;&lt;P&gt;  SET PARAMETER ID: 'CAR' FIELD carrier, &lt;/P&gt;&lt;P&gt;                    'CON' FIELD connection. &lt;/P&gt;&lt;P&gt;  CALL TRANSACTION 'DEMO_TRANSACTION'. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER &lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;GET PARAMETER ID pid FIELD dobj. &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;This statement sets the content of the data object dobj to the content of the SPA/GPA parameter specified in pid. pid must be a flat character-type field that contains no more than 20 characters and does not consist solely of blanks; it is also case-sensitive. dobj must be a flat and (as of Release 6.10) character-type field into which the binary content of the SPA/GPA parameter is transferred unconverted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the SPA/GPA parameter specified in pid was not yet created in the SAP Memory for the current user, the data object dobj is initialized and sy-subrc is set to 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a program, only those SPA/GPA parameters can be read for which there is a name in the table TPARA. The extended program check reports an error, if it can be statically determined that an ID specified in pid is not in the table TPARA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-subrc Meaning &lt;/P&gt;&lt;P&gt;0 The SPA/GPA parameter specified in pid exists for the current user in the SAP Memory and its value was transferred to the target field. &lt;/P&gt;&lt;P&gt;4 The SPA/GPA parameter specified in pid does not exist for the current user in the SAP Memory. &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;An SPA/GPA parameter that is readable with GET PARAMETER can previously have been created in the SAP Memory using the SET PARAMETER statement or automatically during the event PAI of a screen or selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an SPA/GPA parameter specified in pid to match a name in the database table TPARA, it must be specified in uppercase. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;In this example, the current value of the SPA/GPA parameter RID is read from the SAP Memory to the data object prog. In the screens of the ABAP Workbench, this parameter is linked with the input fields for a program name. When an ABAP Workbench tool, in which an ABAP program is processed, is first called, the parameter is created at the event PAI and assigned the name of the program specified there. If in the same user session, no screen is processed that set the parameter RID and no corresponding SET PARAMETER statement was executed beforehand, RID is not found in the SAP Memory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: para TYPE tpara-paramid VALUE 'RID', &lt;/P&gt;&lt;P&gt;      prog TYPE sy-repid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER ID para FIELD prog. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0. &lt;/P&gt;&lt;P&gt;  MESSAGE 'Parameter not found' TYPE 'I'. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Reward if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2007 05:31:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-17T05:31:00Z</dc:date>
    <item>
      <title>parameteres</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798759#M653452</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;what is Getparameter ID &amp;amp; setparameter ID, where these will be useful for us.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 05:26:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798759#M653452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T05:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: parameteres</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798760#M653453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These are usefull when u want to transfer data across sessions. These set values in SAP memory area and the values are set using SET Parameter ID. The values are read using GET Parameter ID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 05:29:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798760#M653453</guid>
      <dc:creator>former_member283648</dc:creator>
      <dc:date>2007-09-17T05:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: parameteres</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798761#M653454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;    CALL TRANSACTION 'ZFI001D'.&lt;/P&gt;&lt;P&gt;    ELSEIF WA_SELFIELD-FIELDNAME = 'BELNR'.&lt;/P&gt;&lt;P&gt;        READ TABLE IT_FINAL INDEX WA_SELFIELD-TABINDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF SY-SUBRC = 0 .&lt;/P&gt;&lt;P&gt;          SET PARAMETER ID 'BLN' FIELD IT_FINAL-BELNR.&lt;/P&gt;&lt;P&gt;          SET PARAMETER ID 'BUK' FIELD IT_FINAL-BUKRS.&lt;/P&gt;&lt;P&gt;          SET PARAMETER ID 'GJR' FIELD IT_FINAL-GJAHR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have alook  at this.&lt;/P&gt;&lt;P&gt;to capture the the value , we have to to find the parameter id , and it to subsequent screen. i e to secondatry list&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 05:29:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798761#M653454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T05:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: parameteres</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798762#M653455</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;this is for using sap memory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;calling program&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;PARAMETER:INPUT(30).&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'EXAMPLE' FIELD input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit ZEXAMPLE1 VIA SELECTION-SCREEN AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;zexample1&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;DATA:VAR TYPE SY-UCOMM.&lt;/P&gt;&lt;P&gt;PARAMETERS:EXAMPLE1(30).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  GET PARAMETER ID 'EXAMPLE' FIELD VAR.&lt;/P&gt;&lt;P&gt;example1 = var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 05:30:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798762#M653455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T05:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: parameteres</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798763#M653456</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;The SAP Memory is a user-specific memory area of the application server, which is accessed by all main sessions of a user session at once. ABAP programs have access to SPA/GPA parameters stored in the SAP Memory (also called SET/GET parameters). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;Using Set parameter&lt;/P&gt;&lt;P&gt;you can give value of variable (dobj) to parameter ID 'pid'. This will store value in SAP memory&lt;/P&gt;&lt;P&gt;SET PARAMETER ID pid FIELD dobj. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you want to use that value stored in SAP memory&lt;/P&gt;&lt;P&gt;you can use GET parameter.&lt;/P&gt;&lt;P&gt;GET PARAMETER ID pid FIELD dobj. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above cannot be used for internal table. Supported data types are (data type C, N, D or T). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Memory-ID is used to save and retrieve the last entered data in the field.&lt;/P&gt;&lt;P&gt;Eg: PARAMETERS p_vbeln for vbak-vbeln memory-id pid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shared memory is the area that can be used to share data between different processes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here itab should be declared of same type and length. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm" target="test_blank"&gt;http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 05:30:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798763#M653456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T05:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: parameteres</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798764#M653457</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;&amp;lt;b&amp;gt;SET PARAMETER &amp;lt;/b&amp;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;Syntax &lt;/P&gt;&lt;P&gt;SET PARAMETER ID pid FIELD dobj. &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;This statement sets the content of the SPA/GPA parameter specified in pid to the content of the data object dobj. For pid, a flat character-type field is expected that can contain a maximum of 20 characters, which cannot be exclusively blank characters. pid is case-sensitive. For dobj, a flat, (as of release 6.10 character-type) field is expected, whose binary content is transferred in an unconverted format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the SPA/GPA parameter specified for the current user in pid does not yet exist in the SAP memory, it is created. If the SPA/GPA parameter has already been created for the current user, its value is overwritten. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a program, SPA/GPA parameters can only be created or assigned values if a name exists for them in the table TPARA. The extended program check reports an error if it can statically determine that a name specified in pid is not contained in the database table TPARA. ist. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: &lt;/P&gt;&lt;P&gt;For a SPA/GPA parameter specified in pid to match a name in the database table TPARA, it must be entered in upper case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;If the user selects a flight displayed in the basic list, when the event ATLINE-SELECTION takes place, the SPA/GPA parameters CAR and CON are set to the ID of the airline and the connection number. The names of both parameters are defined in the table TPARA for this purpose. In the initial screen of the transaction DEMO_TRANSACTION, two input fields are linked with SPA/GPA these parameters and are displayed with the selected values as start values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: carrier     TYPE spfli-carrid, &lt;/P&gt;&lt;P&gt;      connection  TYPE spfli-connid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  SELECT carrid connid &lt;/P&gt;&lt;P&gt;         FROM spfli &lt;/P&gt;&lt;P&gt;         INTO (carrier, connection). &lt;/P&gt;&lt;P&gt;    WRITE: / carrier HOTSPOT, connection HOTSPOT. &lt;/P&gt;&lt;P&gt;    HIDE:  carrier, connection. &lt;/P&gt;&lt;P&gt;  ENDSELECT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION. &lt;/P&gt;&lt;P&gt;  SET PARAMETER ID: 'CAR' FIELD carrier, &lt;/P&gt;&lt;P&gt;                    'CON' FIELD connection. &lt;/P&gt;&lt;P&gt;  CALL TRANSACTION 'DEMO_TRANSACTION'. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER &lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;GET PARAMETER ID pid FIELD dobj. &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;This statement sets the content of the data object dobj to the content of the SPA/GPA parameter specified in pid. pid must be a flat character-type field that contains no more than 20 characters and does not consist solely of blanks; it is also case-sensitive. dobj must be a flat and (as of Release 6.10) character-type field into which the binary content of the SPA/GPA parameter is transferred unconverted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the SPA/GPA parameter specified in pid was not yet created in the SAP Memory for the current user, the data object dobj is initialized and sy-subrc is set to 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a program, only those SPA/GPA parameters can be read for which there is a name in the table TPARA. The extended program check reports an error, if it can be statically determined that an ID specified in pid is not in the table TPARA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-subrc Meaning &lt;/P&gt;&lt;P&gt;0 The SPA/GPA parameter specified in pid exists for the current user in the SAP Memory and its value was transferred to the target field. &lt;/P&gt;&lt;P&gt;4 The SPA/GPA parameter specified in pid does not exist for the current user in the SAP Memory. &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;An SPA/GPA parameter that is readable with GET PARAMETER can previously have been created in the SAP Memory using the SET PARAMETER statement or automatically during the event PAI of a screen or selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an SPA/GPA parameter specified in pid to match a name in the database table TPARA, it must be specified in uppercase. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;In this example, the current value of the SPA/GPA parameter RID is read from the SAP Memory to the data object prog. In the screens of the ABAP Workbench, this parameter is linked with the input fields for a program name. When an ABAP Workbench tool, in which an ABAP program is processed, is first called, the parameter is created at the event PAI and assigned the name of the program specified there. If in the same user session, no screen is processed that set the parameter RID and no corresponding SET PARAMETER statement was executed beforehand, RID is not found in the SAP Memory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: para TYPE tpara-paramid VALUE 'RID', &lt;/P&gt;&lt;P&gt;      prog TYPE sy-repid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER ID para FIELD prog. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0. &lt;/P&gt;&lt;P&gt;  MESSAGE 'Parameter not found' TYPE 'I'. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Reward if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 05:31:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798764#M653457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T05:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: parameteres</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798765#M653458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;when you want to move to some standard transaction after double clicking a particular field in the list display then set patameter id is used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 05:33:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameteres/m-p/2798765#M653458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T05:33:23Z</dc:date>
    </item>
  </channel>
</rss>

