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
475

Hello, i need to call vl10a transaction inside a program for all entries of an internal table.

Is batch input the only way to do it?

How can i do it?

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
410

Hi

You can populate the necessary <b>BDCTAB</b> (with BDC data) and use <b>call Transaction</b> for each record of the internal table.

Regards

Raj

Hello, i need to call vl10a transaction inside a program for all entries of an internal table.

Is batch input the only way to do it?

How can i do it?

Thanks

2 REPLIES 2
Read only

Former Member
0 Likes
411

Hi

You can populate the necessary <b>BDCTAB</b> (with BDC data) and use <b>call Transaction</b> for each record of the internal table.

Regards

Raj

Read only

Former Member
0 Likes
410

Hi Javier,

You can record the transaction VL10A using the transaction SHDB.

Using the code generated in the recording, we can proceed in two ways

1) Use Batch Input method

2) Call transaction method.

If data that shall be uploaded is more then go for the first choice otherwise second choice would be perfect.

You pass the internal table values in a loop for the fields in the recording and the upload would work.

If you want any sample code Plz let me know.

<b>Saying thanks is by awarding points in SDN</b>

Regards,

Kiran