Application Development 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: 

Using BDC relase

Former Member
0 Kudos

Hi masters,

i have a requirment where i need to relase all 10 orders at time.

so i have the data in internal table.

i loop the internal table

i use the bdc recording in the loop.

then call the TCODE to release all the orders.

endloop.

but it releases only one ORDER. then does not look at the next one and do the BDC.

NOW my wory is where should i use this statement?

CALL TRANSACTION 'REBDBU' USING bdcdata

MODE 'A'

MESSAGES INTO messtab.

in loop or

outside the loop?

thank you,

pasala.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Use the call transaction in the loop . And after the call transaction just refresh the BDCDATA internal table .

Hope ur problem will be solved now .

Regards,

Madhukar Shetty

4 REPLIES 4

andreas_mann3
Active Contributor
0 Kudos

in the loop

A.

Former Member
0 Kudos

Hi,

you use the call transaction statement within the loop at the internal table because in your recording it processes only one order at a time .

regards,

Sakshi

Former Member
0 Kudos

Hi,

Use the call transaction in the loop . And after the call transaction just refresh the BDCDATA internal table .

Hope ur problem will be solved now .

Regards,

Madhukar Shetty

Former Member
0 Kudos

thank you all for your precious time to look at my query.

its sorted.

it should be in the loop and i should issue the clear bdcdata[].

then it works fine.

thank you once again.