2010 Aug 03 11:17 AM
Hi,
I'm using EXPORT / IMPORT between 2 programs. One is a custom program, and the other is tcode FOIO.
In my custom program, I have the following code:
EXPORT it_recnvzzkopo[] TO MEMORY ID 'TEST'
In transaction code FOIO, i edited it to have the following:
IMPORT GT_RECNVZZKOPO[] FROM MEMORY ID 'TEST
However, it is not working. sy-subrc is 0 for both, but the data is not being passed.
What could be wrong with this code? Or is it NOT possible to pass data in between a custom program and a standard SAP tcode like FOIO?
Hope to hear from you soon.
Thank you.
Hi,
The internal table names for export and import must be excatly same, only then it will work.
2010 Aug 03 11:24 AM
Hi,
The internal table names for export and import must be excatly same, only then it will work.
2010 Aug 03 11:32 AM
Make the variable/internal table exactly same and try again.
Arup.
2010 Aug 03 11:41 AM
Hi Dennis Cheng,
Pls rewrite the EXPORT statement as given below. You can use any one of the following
1) EXPORT (ITAB) to Memory id 'TEST'.
2) EXPORT ITAB from ITAB1[] to memory id 'TEST'.
Regards
Bala
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |