Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

reg. select options

Former Member
0 Likes
747

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

1 ACCEPTED SOLUTION
Read only

anversha_s
Active Contributor
0 Likes
697
6 REPLIES 6
Read only

Former Member
0 Likes
697

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

Read only

anversha_s
Active Contributor
0 Likes
698
Read only

Former Member
0 Likes
697

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

Read only

Former Member
0 Likes
697

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

Read only

Former Member
0 Likes
697

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

Read only

Former Member
0 Likes
697

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.