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

Import Export- Memory contents

Former Member
0 Likes
614

Hi,

I am facing a problem wherein one exit Code is importing data from specific memory.However the importing of data is done in some other exit. How can I find out the place where export is done in memory

3 REPLIES 3
Read only

Former Member
0 Likes
530

Here is what I can think of:

1. Easiest way is to debug and find out . Put a breakpoint Breakpoints->breakpoint at->Statement

EXPORT. This should give you the location.

2. If you dont have the data to debug. You can try opening the program in SE80 and find the related programs and do a global search for EXPORT statement.

OR

Get the package of the program and use RPR_ABAP_SOURCE_SCAN to search for the string EXPORT.

Read only

Former Member
0 Likes
530

Execute program RPR_ABAP_SOURCE_SCAN.

This program is to find a string in SAP code.

Give * in program name selection.

Type the name of memory id in string selection.

select checkbox expand includes and ignore comment lines.

select search area as ABAP and Screen.

Now execute the program in background as a job.

This will take some time for execution. Once finished, look at the spool.

You will get the programs where this string is used.

If number of programs is too much try searchin for string 'export to memory id XXX' and then execute.

XXX is the name of your memory id.

Hope this would help.

Read only

Former Member
0 Likes
530

Hi,

As aparna mentioned try putting a breakpoint at the export statement.

OR

Try this..

if you have debugging authorization..

IN the debugging menu..choose..Goto -> system areas -> abap memory..

Then double click on the memory id...for which you wanted to see the program in which it was exported..

it will show the variable name..double click on the variable name..somewhere around the line d: which says ...S.Y.N.C._.S.T.R..double click on that..then you can see the programe name..

the above worked for me..

Hope I am clear and works for you also...

THanks

Naren