<?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 PARAMETER in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480812#M558929</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 use parameter IDs, you need to &amp;#147;set&amp;#148; (store) values in the global memory area and then &amp;#147;get&amp;#148; (retrieve) values from this parameter ID memory area. In the case of an online program, you will &amp;#147;set&amp;#148; values from screen fields and you will &amp;#147;get&amp;#148; these values for screen fields. You can perform this &amp;#147;set/get&amp;#148; function two ways: Use the ABAP statements &amp;#147;SET PARAMETER ID&amp;#148; and &amp;#147;GET PARAMETER ID&amp;#148;. Use the field attributes &amp;#147;SPA&amp;#148; and &amp;#147;GPA&amp;#148; . Remember that parameter IDs can only be used with ABAP Dictionary fields because parameter IDs are linked to data elements. The appropriate data elements must have a parameter IDs for this &amp;#147;set/get&amp;#148; function to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ameet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2007 09:16:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-06T09:16:34Z</dc:date>
    <item>
      <title>SET PARAMETER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480803#M558920</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 we use SET PARAMETER and GET PARAMETER&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 08:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480803#M558920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T08:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480804#M558921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;see this&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;SAP global memory retains field value through out session. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set parameter id 'MAT' field v_matnr.&lt;/P&gt;&lt;P&gt;get parameter id 'MAT' field v_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are stored in table TPARA.&lt;/P&gt;&lt;P&gt;ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data &lt;/P&gt;&lt;P&gt;to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP memory is temporary and values are retained in same LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export itab to memory id 'TEST'.&lt;/P&gt;&lt;P&gt;import itab from memory Id 'TEST'.&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;ABAP Memmory &amp;amp; SAP Memmory&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;&lt;A href="http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm" target="test_blank"&gt;http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 08:44:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480804#M558921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T08:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480805#M558922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we call some transaction using &lt;/P&gt;&lt;P&gt;CALL TRANSACTION then we may require to pass some values for the selection screen of that transaction ..at that time we pass values using SET..GET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 08:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480805#M558922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T08:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480806#M558923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;using the get parameter and set parameter, one can get the value of one field and save it into temporary memory..... and that memory can be used to get that value back on any other screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;shadul shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 08:51:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480806#M558923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T08:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480807#M558924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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;Example: &lt;/P&gt;&lt;P&gt;Using Set parameter you can give value of variable (dobj) to parameter ID 'pid'. This will store value in SAP memory 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 you can use GET parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER ID pid FIELD dobj. &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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for helpful answers..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Moqeeth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:01:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480807#M558924</guid>
      <dc:creator>mohammed_moqeeth</dc:creator>
      <dc:date>2007-07-06T09:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480808#M558925</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;    We can use the SET PARAMETER statement to pass the data to the Screen fields and GET PARAMETER statement to read the data of Screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;In a report when u select the Customer ID (KNA1-KUNNR) in Basic list,&lt;/P&gt;&lt;P&gt;You want to call the transaction XD02 to change the Customer details.&lt;/P&gt;&lt;P&gt;Here we can Use SET PARAMETER to pass the data to XD01.&lt;/P&gt;&lt;P&gt;**********************************************************************&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    LOOT AT T_KNA1 INTO WA_KNA1.&lt;/P&gt;&lt;P&gt;       WRITE:/ WA_KNA1-KUNNR,&lt;/P&gt;&lt;P&gt;                     WA_KNA1-Name1.&lt;/P&gt;&lt;P&gt;        hide WA_KNA1-KUNNR.&lt;/P&gt;&lt;P&gt;   ENDLOOP.&lt;/P&gt;&lt;P&gt;Clear wa_kna1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SY-LSIND.&lt;/P&gt;&lt;P&gt;WHEN 1.&lt;/P&gt;&lt;P&gt;    IF WA_KNA1-KUNNR IS NOT INITIAL .&lt;/P&gt;&lt;P&gt;            SET PARAMETER ID 'KUN' FIELD WA_KNA1-KUNNR.&lt;/P&gt;&lt;P&gt;           CALL TRANSACTION 'XD01' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;***********************************************************************&lt;/P&gt;&lt;P&gt;here the parameter ID 'KUN' can be found when you press F1(Technical info) on Customer no field in XD02 transaction.&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:03:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480808#M558925</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-07-06T09:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480809#M558926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;SAP Memory&amp;lt;/b&amp;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 &amp;lt;b&amp;gt;SET/GET&amp;lt;/b&amp;gt; parameters). These parameters can be set either for a particular user or for a particular program using the &amp;lt;b&amp;gt;SET PARAMETER&amp;lt;/b&amp;gt; statement. Other ABAP programs can then retrieve the set parameters using the&amp;lt;b&amp;gt; GET PARAMETER&amp;lt;/b&amp;gt; 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;reward  points  if it is usefulll.....&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480809#M558926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480810#M558927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;SET PARAMETER &lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;SET PARAMETER ID pid FIELD dobj.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Example

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 'DEMO_TRANSACTION'. 

&amp;lt;b&amp;gt;
GET PARAMETER 

Syntax 
GET PARAMETER ID pid FIELD dobj.&amp;lt;/b&amp;gt; 


[code]
Example 
DATA: para TYPE tpara-paramid VALUE 'RID', 
      prog TYPE sy-repid. 

GET PARAMETER ID para FIELD prog. 

IF sy-subrc &amp;lt;&amp;gt; 0. 
  MESSAGE 'Parameter not found' TYPE 'I'. 
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[/code] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward  points if it is usefull ...&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:09:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480810#M558927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480811#M558928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechies.com/what-are-the-set-parameter-and-get-parameter/" target="test_blank"&gt;http://www.saptechies.com/what-are-the-set-parameter-and-get-parameter/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480811#M558928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480812#M558929</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 use parameter IDs, you need to &amp;#147;set&amp;#148; (store) values in the global memory area and then &amp;#147;get&amp;#148; (retrieve) values from this parameter ID memory area. In the case of an online program, you will &amp;#147;set&amp;#148; values from screen fields and you will &amp;#147;get&amp;#148; these values for screen fields. You can perform this &amp;#147;set/get&amp;#148; function two ways: Use the ABAP statements &amp;#147;SET PARAMETER ID&amp;#148; and &amp;#147;GET PARAMETER ID&amp;#148;. Use the field attributes &amp;#147;SPA&amp;#148; and &amp;#147;GPA&amp;#148; . Remember that parameter IDs can only be used with ABAP Dictionary fields because parameter IDs are linked to data elements. The appropriate data elements must have a parameter IDs for this &amp;#147;set/get&amp;#148; function to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ameet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:16:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480812#M558929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: SET PARAMETER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480813#M558930</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;ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To fill one, use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SET PARAMETER ID &amp;lt;pid&amp;gt; FIELD &amp;lt;f&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement saves the contents of field &amp;lt;f&amp;gt; under the ID &amp;lt;pid&amp;gt; in the SAP memory. The code &amp;lt;pid&amp;gt; can be up to 20 characters long. If there was already a value stored under &amp;lt;pid&amp;gt;, this statement overwrites it. If the ID &amp;lt;pid&amp;gt; does not exist, double-click &amp;lt;pid&amp;gt; in the ABAP Editor to create a new parameter object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To read an SPA/GPA parameter, use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;GET PARAMETER ID &amp;lt;pid&amp;gt; FIELD &amp;lt;f&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement fills the value stored under the ID &amp;lt;pid&amp;gt; into the variable &amp;lt;f&amp;gt;. If the system does not find a value for &amp;lt;pid&amp;gt; in the SAP memory, it sets SY-SUBRC to 4, otherwise to 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To fill the initial screen of a program using SPA/GPA parameters, you normally only need the SET PARAMETER statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The relevant fields must each be linked to an SPA/GPA parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a selection screen, you link fields to parameters using the MEMORY ID addition in the PARAMETERS or SELECT-OPTIONS statement. If you specify an SPA/GPA parameter ID when you declare a parameter or selection option, the corresponding input field is linked to that input field.&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;Ashok Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:22:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-parameter/m-p/2480813#M558930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T09:22:48Z</dc:date>
    </item>
  </channel>
</rss>

