2010 Feb 25 8:23 AM
Hi All,
I have a program A . it calls program B by using submit statement . There are mulriple internal table in program B .
I want to pass them to program A . Can I do it . If so please let me know how.
Regards
Rudra
2010 Feb 25 8:25 AM
Hi,
You can export those itab to memory ID in program B.
When it come back to program A, after SUBMIT.
Import those itabs to Program A.
You have to maintain same structures of program B in Program A
use EXPORT, IMPORT statements.
Regards,
Shankar.
2010 Feb 25 8:43 AM
Hi,
EXPORT to memory ID memid and then import in your progam.
Don't gorget to clear memory ID after successful import as seems you may put lot of load on session memory.
Edited by: Anurag_n on Feb 25, 2010 9:43 AM
2010 Feb 25 8:54 AM
It is possible to do it with EXPORT and IMPORT to memory. But if these tables, you are mentioning, are too big - there can be a memory problem.
In that case you have another possibility - make transparent table with delivery class L Table for storing temporary data, delivered empty
and pass these data through this table. It can have problem specific structure or some kind of universal structure
e.g
tablename char30
fieldname char30
fieldvalue char 1000
I hope it will helps
Vlado
2010 Feb 25 9:29 AM
Actually, I am submitting a standard report in a Zprogram and want to access multiple internal tables of that
standard program inside the calling program.So is there any other way ..rather than using export import as it may cause performance issues.
2010 Feb 25 9:39 AM
I`m afraid tha there is no other way how to do it.
Just these two methods.
I will prefer export/import to abap memory if these tables are not really huge.