‎2010 Feb 02 7:38 AM
Hello Experts,
How am i going to track the containts of memory ID during runtime...?
Thanks in advance...!
‎2010 Feb 02 9:07 AM
Hi
If you want to track the contents of memory id during runtime, you can use debugging.
But in the debugger also, you have to do some changes in the settings then only you will be able
to see the memory id contents in th debugger.
This is the link which provides information as to how to do these settings:
‎2010 Feb 02 8:13 AM
‎2010 Feb 02 8:45 AM
‎2010 Feb 02 8:59 AM
Whatever you are importing.
check whether the variable or internal tables holds any value.
example:
Import lv_field from memory id 'MAT'.
if lv_field is not initial.
endif.
import itab from memory id 'MAT.
if itab[] is not initial.
endif.
‎2010 Feb 02 9:03 AM
hello Kashav...
Actually SAP strandard program is exporting some values into a memory ID i.e. Whil Creation of a PR the header text are exported to certain memory ID i just want to see the containts of the ID during teh runtime
‎2010 Feb 02 8:38 AM
sampel code:
TYPES:
BEGIN OF tab_type,
para TYPE string,
dobj TYPE string,
END OF tab_type.
DATA:
id(10) TYPE c VALUE 'TEXTS',
text1 TYPE string VALUE `IKE`,
text2 TYPE string VALUE `TINA`,
line TYPE tab_type,
itab TYPE STANDARD TABLE OF tab_type.
line-para = 'P1'.
line-dobj = 'TEXT1'.
APPEND line TO itab.
line-para = 'P2'.
line-dobj = 'TEXT2'.
APPEND line TO itab.
EXPORT (itab) TO MEMORY ID id.
IMPORT p1 = text2
p2 = text1 FROM MEMORY ID id.
‎2010 Feb 02 8:59 AM
Hi,
you can put a breakpoint on EXPORT statement. I do not know about any other way how to trace it. For tracing DB accesses, enqueues, buffer accesses and RFC calls I use ST05, but there is no possibility to trace memory content.
Regards,
Adrian
‎2010 Feb 02 9:07 AM
Hi
If you want to track the contents of memory id during runtime, you can use debugging.
But in the debugger also, you have to do some changes in the settings then only you will be able
to see the memory id contents in th debugger.
This is the link which provides information as to how to do these settings:
‎2010 Feb 02 10:28 AM
‎2015 Jul 15 9:26 AM
Hi Anup,
I know this is quite a while ago but can you tell me what the answer to this is as I have a similar issue?
thanks,
Malcolm.