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

Problem Regarding memory ID

anup_deshmukh4
Active Contributor
0 Likes
1,196

Hello Experts,

How am i going to track the containts of memory ID during runtime...?

Thanks in advance...!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,093

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:

http://www.sappro.com/downloads/Settings&SystemAreas.pdf

9 REPLIES 9
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,093

using export SAP memory or ABAP memory ?

Read only

0 Likes
1,093

ABAP Memory ..!

Read only

0 Likes
1,093

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.

Read only

0 Likes
1,093

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

Read only

Former Member
0 Likes
1,093

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.

Read only

Former Member
0 Likes
1,093

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

Read only

Former Member
0 Likes
1,094

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:

http://www.sappro.com/downloads/Settings&SystemAreas.pdf

Read only

anup_deshmukh4
Active Contributor
0 Likes
1,093

Self answered...!

Read only

0 Likes
1,093

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.