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

submit statement help - URGENT!!

Former Member
0 Likes
712

Hi..

pls help me with this..

requirement is like this..

I am calling a report from another one. Say the calling report is first and the called is second. I am calling using submit statement.

populated data in an internal table in second report.

Returned to the first report and called third report and filled an internal table and came back to first report.

Is there anyway that I can get those two ITABS at a time in the first report. Because i got to compare them.

Pls suggest .. Thanks a lot!@!

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
686

If you have control of the programs(meaning that they are custom and you can add code to them), then you can pass the ITABs using EXPORT/IMPORT statements.

Regards,

Rich Heilman

Read only

0 Likes
686

Thanks a lot Rich.. let me know... will get back to you once resolved. Thanks!

Read only

0 Likes
686

Rich

I was not able to get thru,.

can you please provide me the brief steps to do that.

What should be the memory ID??

Thanks

Read only

Former Member
0 Likes
686

Hi,

Check this example..

*Send the internal table memory from the second report.

EXPORT ITAB2 TO MEMORY ID 'REPORT2'.

*Get the values from the second report.

IMPORT ITAB2 FROM MEMORY ID 'REPORT2'.

*Send the internal table memory from the third report.

EXPORT ITAB3 TO MEMORY ID 'REPORT3'.

*Get the values from the third report.

IMPORT ITAB3 FROM MEMORY ID 'REPORT3'.

  • Compare the internal table.

IF ITAB2[] = ITAB3[].

...

ENDIF.

Thanks,

Naren

Message was edited by: Narendran Muthukumaran

Read only

0 Likes
686

Thanks a lot Narendran and Rich. It solved my issue. You both owe some points .. Thanks a lot.