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

EXPORT corresponding to IMPORT(ABAP MEMORY)

sanjay_deshpande4
Participant
0 Likes
1,894

Dear All,

I am executing VA01 tcode and come across an IMPORT statement.

Can anybody kindly guide how to find its EXPORTing statement?

Regard.

Dear All,

I am executing VA01 tcode and come across an IMPORT statement.

Can anybody kindly guide how to find its EXPORTing statement?

Regard.

7 REPLIES 7
Read only

0 Likes
1,747

Hi S D,

This is not the correct tag to useSAP Revenue Accounting and Reporting, please remove that tag.

Best Regards

Xin

Read only

Ryan-Crosby
Active Contributor
0 Likes
1,747

I would begin with t-code CODE_SCANNER or running report RS_ABAP_SOURCE_SCAN to locate the corresponding EXPORT. Unfortunately, that is the drawback of using IMPORT/EXPORT because you don't know where those statements are executed if you have never seen them before and they are not documented.

Regards,

Ryan Crosby

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,747

You could execute an ABAP trace to find the export statement.

  • Use transaction SAT or ST12 (or old SE30 for old versions) to wrap a call of VA01
Read only

0 Likes
1,747

Forgot about trace, this will probably be quicker because source scans can take some time.

Read only

0 Likes
1,747

I couldn't find the corresponding Export statement, however SAT is the best way I have learned from you for the requirement. Thanks alot Raymond! Does Call C statements also pass the Memory id as well as my requiremnt still not met? Kindly help further.

Read only

0 Likes
1,747

Else go to good old debug (break at statement EXPORT TO MEMORY)

Read only

Sandra_Rossi
Active Contributor
1,747

Another way is to ask the debugger to stop at each EXPORT ... TO MEMORY ...: in the backend debugger press F9 to stop at ABAP keyword and type EXPORT TO MEMORY.

(drawback: there can be many EXPORT ... TO MEMORY ... statements, so combining with a debug script could be useful too)