2010 Sep 02 11:45 AM
Good,
I need to pass the contents of a table to a program name with a SUBMIT VIA JOB , I have tested with "EXPORT" and "IMPORT" I run the program and does not work, any ideas?
Thank you very much, greetings.
Good,
I need to pass the contents of a table to a program name with a SUBMIT VIA JOB , I have tested with "EXPORT" and "IMPORT" I run the program and does not work, any ideas?
Thank you very much, greetings.
2010 Sep 02 12:13 PM
When you SUBMIT a program, the called program shares the same ABAP memory space as the calling program. While debugging the called program check the ABAP memory, the memory id should be available.
Hope you are using the same table structure in the EXPORT / IMPORT statements.
BR,
Suhas
2010 Sep 02 12:14 PM
Hi,
try
DATA: ls_indx TYPE indx.
ls_indx-aedat = sy-datum.
ls_indx-usera = sy-uname.
ls_indx-pgmid = sy-repid.
EXPORT table = tb_zz
TO DATABASE indx(zz) FROM wa_indx
CLIENT sy-mandt ID 'ZZTABLE'.
(...)
IMPORT table = tb_zz
FROM DATABASE indx(zz) TO ls_indx
CLIENT sy-mandt ID 'ZZTABLE'.
Roy
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |