‎2008 Jul 07 1:39 PM
Hi to all,
parameters: GP_GJAHR like LFC1-GJAHR memory id GJR,
GP_ITUSR type C no-display.
Here what is meant by memory id GJR.. can anyone tell me
‎2008 Jul 07 1:42 PM
Hi Geetha,
GJR is a Memory ID, which means a Variable which is stored in SAP Memory,
(in this case it will store the Current value of GJR Memory ID in SELECTION-SCREEN)
for more info refer below links:
For Memory Id Info refer below Links:
http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bde358411d1829f0000e829fbfe/content.htm
http://membres.lycos.fr/jolyeric/SAP/Note_de_Cours_Ben/Reporting/Working_with_Selection_Screens.txt
Best Regards,
Sunil
‎2008 Jul 07 1:42 PM
Its the parameter ID.
It is defined in the data element GJAHR. Parameter ID can be used to fetch the screen values to ABAP program and vice versa.
GET PARAMETER ID 'GJR' TO gv_gjahr.
Regards
Kannaiah
‎2008 Jul 07 1:42 PM
Yes, that is a parameter id. This is used to initialize the parameter value across transaction codes. For example if you type year into another screen, and that program sets the parameter id, and then you go to another transaction where a year field uses the parameter id in the screen, then it will be defaulted to this same value. You see alot of this is standard selection screens.
Basically, it is simple a memory area to pass these values across transactions.
Regards,
Rich Heilman
‎2008 Jul 07 1:43 PM
Hi,
GJR is the memry id which holds the last value.
for example if you goto MM01 and create a material, the material number is stored in memory id.
and then when you goto MM02/MM03 you can see the same material number.
‎2008 Jul 07 1:43 PM
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.
Example
The parameter p_prog is linked with the SPA/GPA parameter RID, which, in turn, is linked with the input field for the program name in the screens of the ABAP Workbench. Accordingly, the input field of the parameter is filled with the name of the program last processed.
PARAMETERS p_prog TYPE sy-repid MEMORY ID rid.
‎2008 Jul 07 1:44 PM
Hi Geetha,
MEMORY ID id for storage under the name id in the ABAP Memory.
GP_GJAHR like LFC1-GJAHR memory id GJR
Here we are storing the value of gP_GJAHR in the memory id GJR. It means that we are assigning a name to the memory location, where the field is being stored.
Hope this helps you.
Regards,
Chandra Sekhar
‎2008 Jul 07 1:44 PM
HI geetha,
Memory id is a 3 -character id which gives us the address of the place where data is stored in the abap memory through our program.
Check this out;-
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bde358411d1829f0000e829fbfe/content.htm
Regards,
Bhumika
‎2008 Jul 07 1:45 PM
Hi
Here the term MEMORY ID refers to ABAP or SAP memory location to create a buffer but i don't think that we cannot use MEMORY ID with parameters statement i hope it will be MODIF ID
Regards
Pavan
‎2008 Jul 07 1:49 PM
Hi,
Your parameter is refering to memory id... If a value is set to memory id then it is reflected in your parameter.
(The last value set to memory id is shown in your parameter)
regards
padma