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

call transaction

Former Member
0 Likes
649

Hello,

Can anybody tell me how I can pass two internal tables into CALL TRANSACTION?

for example :

CALL TRANSACTION 'ZMY_TRAN' USING IT_TRAN1 IT_TRAN2.

But this doesn't work.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
630

Hi

See the syntax for CALL TRANSACTIOn by pressing F1 on CALL

it is like

CALL TRANSACTION <tcode> USING <BDCDATA or some Itab similar to bdcdata> mode <A,E or N> Update <sync or async>

Regards

Anji

6 REPLIES 6
Read only

Former Member
0 Likes
630

Hi Ana ,

Why do you want to pass two internal tables , what will be the content of the second internal table.

Regards

Arun

Read only

former_member404244
Active Contributor
0 Likes
630

Hi,

merge the two internal tables to final internal table and then use only the final internal table..

Regards,

nagaraj

Read only

0 Likes
630

Hi,

I dont think you can specify your internal tables in the USING clause of CALL TRANSACTION table since it is used to pass a BDC table.

The only way, i think, to pass internal tables to other transaction is through ABAP / SAP memory. i.e use IMPORT/EXPORT or SET/GET statements. In your case, IMPORT/EXPORT would suffice.

regards,

Piyush

Read only

Former Member
0 Likes
631

Hi

See the syntax for CALL TRANSACTIOn by pressing F1 on CALL

it is like

CALL TRANSACTION <tcode> USING <BDCDATA or some Itab similar to bdcdata> mode <A,E or N> Update <sync or async>

Regards

Anji

Read only

Former Member
0 Likes
630

Hi,

This method may be a little work around,

but its worth a try...

instead of calling the Transaction call the program

to which the transaction is linked

i.e. use SUBMIT report statement..

here you can pass tables as selection tables, plus many

more options available.

P.S. - it will work only in background

Regards,

Samson Rodrigues.

Read only

Former Member
0 Likes
630

Hi,

You can not pass 2 internal tables move data to single internal table and use it.

Regards,

Satish