<?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 &amp; Get in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-get/m-p/3342700#M801397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set Parameter ID is used to set values to the fields of the screens through the program.&lt;/P&gt;&lt;P&gt;Get Parameter ID is used to get the values into the program that are entered in the fields of the screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.&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;SET PARAMETER ID &amp;lt;pid&amp;gt; FIELD &amp;lt;f&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;GET PARAMETER ID &amp;lt;pid&amp;gt; FIELD &amp;lt;f&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;On a screen, you link fields to parameters in the Screen Painter. When you define the field attributes of an input field, you can enter the name of an SPA/GPA parameter in the Parameter ID field in the screen attributes. The SET parameter and GET parameter checkboxes allow you to specify whether the field should be filled from the corresponding SPA/GPA parameter in the PBO event, and whether the SPA/GPA parameter should be filled with the value from the screen in the PAI event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When an input field is linked to an SPA/GPA parameter, it is initialized with the current value of the parameter each time the screen is displayed. This is the reason why fields on screens in the R/3 System often already contain values when you call them more than once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you call programs, you can use SPA/GPA parameters with no additional programming overhead if, for example, you need to fill obligatory fields on the initial screen of the called program. The system simply transfers the values from the parameters into the input fields of the called program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you can control the contents of the parameters from your program by using the SET PARAMETER statement before the actual program call. This technique is particularly useful if you want to skip the initial screen of the called program and that screen contains obligatory fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to set SPA/GPA parameters before a program call, you need to know which parameters are linked to which fields on the initial screen. A simple way of doing this is to start the program that you want to call, place the cursor on the input fields, and choose F1 followed by Technical info. The Parameter ID field contains the name of the corresponding SPA/GPA parameter. Alternatively, you can look at the screen definition in the Screen Painter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A parameter id allows you to store and retrieve values for a specific user, see below for syntax on how to perform these operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program displays a report containing what the value of the parameter id is before you run the SAP program and what it is after wards. Before will contain blank or what ever you entered last time the program was executed, and the after value will be the value you entered onto the ABAP selection screen this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example program,:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT PARAMID .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gd_valuein(10) type c,&lt;/P&gt;&lt;P&gt;gd_valueout(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_value(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********************&lt;/P&gt;&lt;P&gt;*start-of-selection.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;get parameter ID 'ZMESS' field gd_valuein.&lt;/P&gt;&lt;P&gt;set parameter ID 'ZMESS' field p_value.&lt;/P&gt;&lt;P&gt;get parameter ID 'ZMESS' field gd_valueout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******************&lt;/P&gt;&lt;P&gt;*end-of-selection.&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;write:/ 'value at start of program:', gd_valuein,&lt;/P&gt;&lt;P&gt;/ 'value at end of program:', gd_valueout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward if useful&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2008 11:48:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-04T11:48:51Z</dc:date>
    <item>
      <title>Set &amp; Get</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-get/m-p/3342697#M801394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i'm new to this ABAP&lt;/P&gt;&lt;P&gt;could u plz tell me about&lt;/P&gt;&lt;P&gt;set &amp;amp; get parameters&lt;/P&gt;&lt;P&gt;set &amp;amp; get cursor&lt;/P&gt;&lt;P&gt;and the difference between these two??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Sateesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 11:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-get/m-p/3342697#M801394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T11:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set &amp; Get</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-get/m-p/3342698#M801395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sateesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz go through this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u want to pass values from 1 screen to othet screen we use memory id to&lt;/P&gt;&lt;P&gt;pass values from one screen to another screen using set &amp;amp; get parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER command's function is to create a storage location in memory &amp;amp;&lt;/P&gt;&lt;P&gt;retrieve its contents.The set parameter statement is issued in PAI ,the&lt;/P&gt;&lt;P&gt;value must be input into the fields first before it can be placed in the&lt;/P&gt;&lt;P&gt;buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax : SET PARAMETER ID &amp;lt;pid&amp;gt; FIELD &amp;lt;f&amp;gt;.&lt;/P&gt;&lt;P&gt;This statement saves the content of field &amp;lt;f&amp;gt; under the ID &amp;lt;pid&amp;gt; in tha sap memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER command's function is to pass data from the screen fields to&lt;/P&gt;&lt;P&gt;the abap program.&lt;/P&gt;&lt;P&gt;Syntax : GET PARAMETER ID &amp;lt;pid&amp;gt; FIELD &amp;lt;f&amp;gt;.&lt;/P&gt;&lt;P&gt;This statement fills the value stored under the ID &amp;lt;pid&amp;gt; into the variable&lt;/P&gt;&lt;P&gt;&amp;lt;f&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET CURSOR : -&lt;/P&gt;&lt;P&gt;SET CURSOR FIELD &amp;lt;f&amp;gt; .&lt;/P&gt;&lt;P&gt;This statement keeps the name of the screen element on which the cursor is&lt;/P&gt;&lt;P&gt;positioned .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET CURSOR : -&lt;/P&gt;&lt;P&gt;GET CURSOR FIELD &amp;lt;f&amp;gt; .&lt;/P&gt;&lt;P&gt;This statement transfers the name of the screen element on which the cursor&lt;/P&gt;&lt;P&gt;is positioned during a user action into the variable &amp;lt;f&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 11:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-get/m-p/3342698#M801395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T11:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set &amp; Get</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-get/m-p/3342699#M801396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 11:47:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-get/m-p/3342699#M801396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T11:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set &amp; Get</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-get/m-p/3342700#M801397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set Parameter ID is used to set values to the fields of the screens through the program.&lt;/P&gt;&lt;P&gt;Get Parameter ID is used to get the values into the program that are entered in the fields of the screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.&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;SET PARAMETER ID &amp;lt;pid&amp;gt; FIELD &amp;lt;f&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;GET PARAMETER ID &amp;lt;pid&amp;gt; FIELD &amp;lt;f&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;On a screen, you link fields to parameters in the Screen Painter. When you define the field attributes of an input field, you can enter the name of an SPA/GPA parameter in the Parameter ID field in the screen attributes. The SET parameter and GET parameter checkboxes allow you to specify whether the field should be filled from the corresponding SPA/GPA parameter in the PBO event, and whether the SPA/GPA parameter should be filled with the value from the screen in the PAI event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When an input field is linked to an SPA/GPA parameter, it is initialized with the current value of the parameter each time the screen is displayed. This is the reason why fields on screens in the R/3 System often already contain values when you call them more than once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you call programs, you can use SPA/GPA parameters with no additional programming overhead if, for example, you need to fill obligatory fields on the initial screen of the called program. The system simply transfers the values from the parameters into the input fields of the called program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you can control the contents of the parameters from your program by using the SET PARAMETER statement before the actual program call. This technique is particularly useful if you want to skip the initial screen of the called program and that screen contains obligatory fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to set SPA/GPA parameters before a program call, you need to know which parameters are linked to which fields on the initial screen. A simple way of doing this is to start the program that you want to call, place the cursor on the input fields, and choose F1 followed by Technical info. The Parameter ID field contains the name of the corresponding SPA/GPA parameter. Alternatively, you can look at the screen definition in the Screen Painter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A parameter id allows you to store and retrieve values for a specific user, see below for syntax on how to perform these operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program displays a report containing what the value of the parameter id is before you run the SAP program and what it is after wards. Before will contain blank or what ever you entered last time the program was executed, and the after value will be the value you entered onto the ABAP selection screen this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example program,:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT PARAMID .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gd_valuein(10) type c,&lt;/P&gt;&lt;P&gt;gd_valueout(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_value(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********************&lt;/P&gt;&lt;P&gt;*start-of-selection.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;get parameter ID 'ZMESS' field gd_valuein.&lt;/P&gt;&lt;P&gt;set parameter ID 'ZMESS' field p_value.&lt;/P&gt;&lt;P&gt;get parameter ID 'ZMESS' field gd_valueout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******************&lt;/P&gt;&lt;P&gt;*end-of-selection.&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;write:/ 'value at start of program:', gd_valuein,&lt;/P&gt;&lt;P&gt;/ 'value at end of program:', gd_valueout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward if useful&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 11:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-get/m-p/3342700#M801397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T11:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set &amp; Get</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-get/m-p/3342701#M801398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;go through this link which ll give you detail idea about the set cursor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/set_curs.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/set_curs.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward if helpful&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 11:50:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-get/m-p/3342701#M801398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T11:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set &amp; Get</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-get/m-p/3342702#M801399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sateesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;set cursor:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SET CURSOR FIELD f. &lt;/P&gt;&lt;P&gt;Places the cursor dynamically at the start of the field g which is specified in the field f. You must specify the name of the field in uppercase letters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. SET CURSOR LINE line&lt;/P&gt;&lt;P&gt;Places the cursor dynamically in the loop line line with step loops or in the absolute list line line (SY-LILLI) in list processing. This variant is only possible with step loops and in list processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. SET CURSOR col line&lt;/P&gt;&lt;P&gt;This variant of the statement SET CURSOR does not operate on the cells of a table control or the fields of a tabstrip control, since different elements may exist at the absolute position col line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;get cursor&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. GET CURSOR FIELD f.&lt;/P&gt;&lt;P&gt;Transfers the name of the field at the cursor position to the field f. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Return Code is set as follows: &lt;/P&gt;&lt;P&gt;SY-SUBRC = 0: &lt;/P&gt;&lt;P&gt;Cursor was positioned on a field. &lt;/P&gt;&lt;P&gt;SY-SUBRC = 4: &lt;/P&gt;&lt;P&gt;Cursor was not positioned on a field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. GET CURSOR LINE line&lt;/P&gt;&lt;P&gt;As for variant 1 with addition LINE, except that there are differences with the return code and the effect of the additions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Return Code is set as follows: &lt;/P&gt;&lt;P&gt;SY-SUBRC = 0: &lt;/P&gt;&lt;P&gt;The cursor is on one of the list lines (list processing) or on a loop line (step loop). &lt;/P&gt;&lt;P&gt;SY-SUBRC = 4: &lt;/P&gt;&lt;P&gt;The cursor is not on one of the list or loop lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;set parameter&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID pid FIELD f.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Writes the contents of the field f to the global user-specific SAP memory and the local transaction-specific SAP memory under the ID pid. Any existing values under the same ID are overwritten. &lt;/P&gt;&lt;P&gt;Parameter IDs can be up to 20 characters long. They cannot consist entirely of spaces. The SAP system description contains an overview of parameter IDs. You can also produce a list using the ABAP Workbench.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;get parameter&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER ID pid FIELD f&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, the value stored under the key pid is transferred from the local SAP memory into the field f. If this key is not available in the local SAP memory, the value stored under the same key pid is transferred from the global user-related SAP memory to the field f. &lt;/P&gt;&lt;P&gt;A parameter ID can have up to 20 characters. You can find an overview of the keys (parameters) used in the SAP system description or the appropriate function in the ABAP Workbench. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Return Code is set as follows: &lt;/P&gt;&lt;P&gt;SY-SUBRC = 0: A value was read from SAP memory. SY-SUBRC = 4: No value was found in SAP memory under the specified key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this can help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 11:56:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-get/m-p/3342702#M801399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T11:56:37Z</dc:date>
    </item>
  </channel>
</rss>

