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

two dependent transactions in BDC

Former Member
0 Likes
1,059

Hi experts,

how to process dependent transactions in BDC such as creating a request for quotation & based on the request for quotation document processing ME21

plz send me some idea & same code..

Thank you.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,001

Hi,

Sample codes for Me21(BDC).

[BDC ME21|https://wiki.sdn.sap.com/wiki/display/ABAP/BDCcodeforcreatingPurchaseorderandPurchaserequest]

Regards,

Gurpreet

5 REPLIES 5
Read only

Former Member
0 Likes
1,001

Hi,

Please refer to the following threads. These have the example code to add multiple transactions in one sesion.

Read only

Former Member
0 Likes
1,002

Hi,

Sample codes for Me21(BDC).

[BDC ME21|https://wiki.sdn.sap.com/wiki/display/ABAP/BDCcodeforcreatingPurchaseorderandPurchaserequest]

Regards,

Gurpreet

Read only

former_member632729
Contributor
0 Likes
1,001

Hi Dude,

Call the Insert function module to times :

BDC_OPEN_GROUP.

BDC_INSERT (first Tcode)

BDC_INSERT (second Tcode)

BDC_CLOSE_GROUP.

Read only

Former Member
0 Likes
1,001

Hi,

First record bdc for one transaction.

If u r using call transaction

Call transaction 'ME21' using bdcsteps mode 'N' messages into t_messages update 'S'.

( If u want any number from above transaction,follow below code,u can get from sy-msgv1 to sy-msgv4 )

loop at t_messages.

call function format_messages.

endloop. )

clear internal table of bdcdata.

Call transaction 'TCODE' using bdcsteps mode 'N' .

This gives an idea.

Read only

Former Member
0 Likes
1,001

Answered