<?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: Selection parameter Memory id in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083726#M98651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You dont need to create it anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just declare it freely in you parameter declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:  gname like bapico_group-groupname obligatory memory id cde .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(you can use your name instead of cde - max length 20 chars)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will enable the parameter to remember previously entered value in the same session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the ABAP key word docu&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;This addition links the input field of the parameter with a SPA/GPA parameter in the SAP Memory. The name of the SPA/GPA parameter must be specified directly and with a maximum of 20 characters 

The input.field is filled - when the selection screen is called - with the current value of the SAP/GPA parameter in the SAP memory, provided the data object para is initial after processing of the event AT SELECTION-SCREEN OUTPUT. Otherwise, the value of para is displayed. If there is a user action on the selection screen, the content of the input field is assigned to the SPA/GPA parameter in the SAP memory. If no SPA/GPA parameter exists for the specified name, it will be created. 



Note 
The addition DEFAULT overrides the addition MEMORY ID. 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Dec 2005 08:51:53 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2005-12-26T08:51:53Z</dc:date>
    <item>
      <title>Selection parameter Memory id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083718#M98643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the selection parmeter: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK fm1 WITH FRAME TITLE text-fm1.&lt;/P&gt;&lt;P&gt;PARAMETERS p_dxappl TYPE rpm_tv_dx_application_text&lt;/P&gt;&lt;P&gt;           OBLIGATORY MEMORY ID dxprogname&lt;/P&gt;&lt;P&gt;           AS LISTBOX VISIBLE LENGTH 60.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK fm1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is the memory id "dxprogname" defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly advice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2005 04:53:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083718#M98643</guid>
      <dc:creator>RavishShettyR</dc:creator>
      <dc:date>2005-12-26T04:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Selection parameter Memory id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083719#M98644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. It is actually already defined&lt;/P&gt;&lt;P&gt;   when data elements are created in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The purpose of MEMORY ID is&lt;/P&gt;&lt;P&gt;   shared memory&lt;/P&gt;&lt;P&gt;   (a variable in global memory)&lt;/P&gt;&lt;P&gt;   so that if such ID (variable)&lt;/P&gt;&lt;P&gt;   contains any value which is &lt;/P&gt;&lt;P&gt;  set by othe program / same program / system etc,&lt;/P&gt;&lt;P&gt;  then our parameter in the selection - screen&lt;/P&gt;&lt;P&gt;  will automatically get this value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Eg BUKRS&lt;/P&gt;&lt;P&gt;   it has got memory id of BUK   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. So  in our selection-screen, we can &lt;/P&gt;&lt;P&gt;   ATTACH a memory id (which has already been defined&lt;/P&gt;&lt;P&gt;   in the data dictionary)&lt;/P&gt;&lt;P&gt;  so that it gets pre-defined values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Goto SE11&lt;/P&gt;&lt;P&gt;   In data type type BUKRS&lt;/P&gt;&lt;P&gt;   Display&lt;/P&gt;&lt;P&gt;   click tab Further Characteristics&lt;/P&gt;&lt;P&gt;   Place cursor on Parameter id (showing BUK)&lt;/P&gt;&lt;P&gt;   Press F1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Amit Mittal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Amit Mittal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2005 04:56:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083719#M98644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-26T04:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Selection parameter Memory id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083720#M98645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;memory id "dxprogname" is defined using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'dxprogname' FIELD p_dxappl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click 'dxprogname' it will creatre spa/gpa parameter in sap memmory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to acces use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER ID 'dxprogname' FIELD p_dxappl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2005 05:10:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083720#M98645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-26T05:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selection parameter Memory id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083721#M98646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Ravish,&lt;/P&gt;&lt;P&gt;    You just write the name of Memory ID directly without any inverted commas. Double click it and voila you can create it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2005 05:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083721#M98646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-26T05:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selection parameter Memory id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083722#M98647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit, &lt;/P&gt;&lt;P&gt; But for the memory id dxprogname, if i check this out in se11, its not defined.&lt;/P&gt;&lt;P&gt; And the piece of code that i mentioned is a working code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2005 05:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083722#M98647</guid>
      <dc:creator>RavishShettyR</dc:creator>
      <dc:date>2005-12-26T05:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Selection parameter Memory id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083723#M98648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It need not be created in Se11, and you can create memory ID of your own in the program it self.&lt;/P&gt;&lt;P&gt;just click on the memory id, it will be created.&lt;/P&gt;&lt;P&gt;the previous value will be stored when ever you trying to access the parameter via memory ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2005 05:21:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083723#M98648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-26T05:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selection parameter Memory id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083724#M98649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Search for dxprogname in the same program.&lt;/P&gt;&lt;P&gt;   It may have been defined there.&lt;/P&gt;&lt;P&gt;  (Bcos dxprogname does not seem to be a standard&lt;/P&gt;&lt;P&gt;   memory id in r/3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. What is the purpose of that parameter ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2005 05:34:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083724#M98649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-26T05:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Selection parameter Memory id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083725#M98650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. it is also quite possible that&lt;/P&gt;&lt;P&gt;   this program may be called via another&lt;/P&gt;&lt;P&gt;   program (thru submit statement for eg)&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;  and this calling program may have SET&lt;/P&gt;&lt;P&gt;  the parameter id so that it appears&lt;/P&gt;&lt;P&gt;  in this program in the selection screen.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2005 05:37:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083725#M98650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-26T05:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Selection parameter Memory id</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083726#M98651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You dont need to create it anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just declare it freely in you parameter declaration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:  gname like bapico_group-groupname obligatory memory id cde .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(you can use your name instead of cde - max length 20 chars)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will enable the parameter to remember previously entered value in the same session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the ABAP key word docu&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;This addition links the input field of the parameter with a SPA/GPA parameter in the SAP Memory. The name of the SPA/GPA parameter must be specified directly and with a maximum of 20 characters 

The input.field is filled - when the selection screen is called - with the current value of the SAP/GPA parameter in the SAP memory, provided the data object para is initial after processing of the event AT SELECTION-SCREEN OUTPUT. Otherwise, the value of para is displayed. If there is a user action on the selection screen, the content of the input field is assigned to the SPA/GPA parameter in the SAP memory. If no SPA/GPA parameter exists for the specified name, it will be created. 



Note 
The addition DEFAULT overrides the addition MEMORY ID. 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2005 08:51:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-parameter-memory-id/m-p/1083726#M98651</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-12-26T08:51:53Z</dc:date>
    </item>
  </channel>
</rss>

