Some of the ABAP programs that I have to debug use system memory to pass data to other programs using the following syntax:
EXPORT: VARIABLE_NAME TO MEMORY ID 'NAME_OF_MEMORY_OBJECT'.
How do I check the value of these memory IDs in the debugger?
Relatedly, how can I view the value of parameter set with:
SET PARAMETER 'ZPR' FIELD lv_project.
These memory IDs can be accessed in the debugger, but the option isn't accessible by default in the "new" Debugger. To display them you have two options:
MEMORIES
("EXPORT/IMPORT memories") area or manually enter it in the Area input field to open the list of active memory IDs. Click through on any one to see its hexadecimal value.MEMORIES
area selected by default.If you want to view the PARAMETERs that were set instead of memory IDs, the procedure is almost exactly the same. However, instead of opening the MEMORIES
system area, open the SMEM
("SAP memory (SPA-GPA)") area.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With