Application Development 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: 

URGENT ???????

Former Member
0 Kudos
63

Hi Experts,

In a program the data is being imported through memory ID by using the statement IMPORT. How can i find the program in which the data is exported by EXPORT? Please help me....

Thanks in advance,

Ramana

4 REPLIES 4

Former Member
0 Kudos
40

ur using import statement...so u have the field name used within import....place cursor on field and do a where used list so that u can find the export one.....if u can't find this way, there is no other alternative...

Former Member
0 Kudos
40

Hi Venkata,

Search for EXPORT in the whole program by selecting the option main program

Regards

Arun

Former Member
0 Kudos
40

Hi Ramana

There is no direct way to get the list of programs where the variable/internal table is EXPORTED/IMPORTED.

As you were saying, you have the program with IMPORT statement, do as below:

1. Prepare an EXPORT statement with the same internal table and memory id.

2. Use program: RPR_ABAP_SOURCE_SCAN to find the list of program giving "FIND STRING" as the EXPORT command. This will list you the list of programs which has the same declaration.

3. Next we can navigate from the output to the source code of the program.

Note that the list above might be more than what you need, you have to check the declaration of the VARIABLE/INTERNAL TABLE to make sure that both are same.

Hope this helps.

Kind Regards

Eswar

Former Member
0 Kudos
40

Hi Ramana

There is no direct way to get the list of programs where the variable/internal table is EXPORTED/IMPORTED.

As you were saying, you have the program with IMPORT statement, do as below:

1. Prepare an EXPORT statement with the same internal table and memory id.

2. Use program: RPR_ABAP_SOURCE_SCAN to find the list of program giving "FIND STRING" as the EXPORT command. This will list you the list of programs which has the same declaration.

3. Next we can navigate from the output to the source code of the program.

Note that the list above might be more than what you need, you have to check the declaration of the VARIABLE/INTERNAL TABLE to make sure that both are same.

Hope this helps.

Kind Regards

Eswar