08-01-2007 9:21 AM
hi
i want to use memory id in parameters and select-options.
parameters: abc like ssss-mmm memory id xyz.
first and import where and how will i create memory id i.e. in this case where and how memory id xyz will be created.
thanx
rocky
08-01-2007 10:56 AM
hi Rocky,
MEMORY ID id for storage under the name id in the ABAP Memory
sample report
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
Check this link
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba6eb35c111d1829f0000e829fbfe/frameset.htm
Plz Reward points if helpful....
Regards,
Mandeep.