05-09-2008 6:40 PM
I have one in an SAP Function Module whose storage space needs to be increased.
It imports the parameter 'memory_key' . Its value is
'DEF_OTF_MEMORY_KEY'.
FUNCTION READ_OTF_FROM_MEMORY.
*"----
""Lokale Schnittstelle:
*" IMPORTING
*" MEMORY_KEY DEFAULT 'DEF_OTF_MEMORY_KEY'
*" TABLES
*" OTF STRUCTURE ITCOO
*" EXCEPTIONS
*" MEMORY_EMPTY
*"----
DATA: MEMKEY(32). "max len of memory id is 32
MEMKEY = MEMORY_KEY.
IMPORT OTF FROM MEMORY ID MEMKEY.
IF SY-SUBRC <> 0.
RAISE MEMORY_EMPTY.
ENDIF.
ENDFUNCTION.
05-09-2008 6:42 PM
Hello,
You can define it in the data element (tab Futher Characteristics Parameter ID) or in the screen (screen painter -> layout Param ID or selection screen PARAMETERS... MEMORY ID).
Regards,
05-09-2008 6:42 PM
Hello,
You can define it in the data element (tab Futher Characteristics Parameter ID) or in the screen (screen painter -> layout Param ID or selection screen PARAMETERS... MEMORY ID).
Regards,
05-09-2008 6:47 PM
Tom, this memory ids are not real objects in the system, but simply pointers, so the object 'DEF_OTF_MEMORY_KEY' does not actual exist, therefore there is nothing to change. You can not change the allocation of memory to specifc ids, rather the memory area as a whole, and I believe this is a profile parameter which is set by your basis people.
Regards,
Rich Heilman