‎2006 Dec 06 12:35 PM
hi,
In the below statement what for we have used memory id keyword.
SELECT-OPTIONS s_x FOR ekko-ebeln MEMORY ID fko.
Thanks & Regards,
Ratna
‎2006 Dec 06 12:38 PM
hi,
pls chk this thread.
https://forums.sdn.sap.com/click.jspa?searchID=309020&messageID=2474686
rgds
Anver
‎2006 Dec 06 12:37 PM
Hi ratna,
This is what sap documentation says:
"... MEMORY ID pid
Effect
This addition links the first input field to a SET/GET parameter in the SAP Memory. You must specify the name of the SET/GET parameter directly and it can only contain a maximum of 20 characters.
"
Regards,
Ravi
‎2006 Dec 06 12:38 PM
hi,
pls chk this thread.
https://forums.sdn.sap.com/click.jspa?searchID=309020&messageID=2474686
rgds
Anver
‎2006 Dec 06 12:38 PM
Hi Ratna, the memory id option will hold the recent purchase order executed. For example if u had created a purchase order the same purchse order come by default on the selection screen. As the memory iD gets updated with recent PO no accessed.
Regards,
Swaroop
‎2006 Dec 06 12:39 PM
The memory-id enable to load from the memory the last doc N° treated.
If you display your purchase order ME23n, then you go on your programm, the select-option will be fill automatically (from the memory).
For purchase order the memory id is "BES" not "FKO"
Hope this helps,
Erwan
‎2006 Dec 06 1:09 PM
Ratna
Memory ID is only for enabling the screen field in your pgm to have some default values as per the code in intialization part of ur pgm.
Kindly close the threads as soon as you get the desired solution.
regds
Priya
‎2006 Dec 06 3:23 PM
sap creates a memoru for the variable s_x with the name fko in the SAP (global) memory.
you can get the value of the same variable into any program using...
get parameter id fko for var1.
write: var1.
Here var1 is the variable declared in the calling program.
Thanx.