Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

Exporting RFC Internal Table and Import it to a Report

$
0
0


Hi Experts,

 

Even though Exporting and Importing an Internal table concept looks simple, its not working in my case.

Find the below details.

 

Inside a Report, there is a Perform and inside the Perform I'm calling an RFC Function Module. Which contains an Internal Table.

 

Now I want to Export that RFC Internal table and Import that internal table values right after the Perform.

 

The following are the syntax that I've used.

 

1.   EXPORT lt_tab TO MEMORY ID 'MID1'.

 

       IMPORT lt_tab FROM MEMORY ID 'MID1'.

 

2.    EXPORT lt_tab FROM lt_tab TO MEMORY ID 'MID1'.

 

      IMPORT lt_tab TO lt_tab FROM MEMORY ID 'MID1'.

 

Note: Both the Internal Table Structures are Same.

 

Still my Import Internal Table is Empty, where as Export Internal Table is fiiled.

 

What about memory ID 'MID1'? I have taken a dummuy one as 'MID1.

 

Kindly let me know the solution.

 

With Regards,

Sudhir.


Viewing all articles
Browse latest Browse all 3363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>