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 VIA JOB

Former Member
0 Likes
446

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.

2 REPLIES 2
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
411

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

Read only

Former Member
0 Likes
411

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