2007 Jan 08 4:38 AM
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
2007 Jan 08 4:48 AM
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...
2007 Jan 08 5:08 AM
Hi Venkata,
Search for EXPORT in the whole program by selecting the option main program
Regards
Arun
2007 Jan 08 5:24 AM
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
2007 Jan 08 5:24 AM
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