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: 

parameters in BAPI_TRANSACTION_COMMIT

Former Member
0 Kudos

Hi Gurus,

Iam using the FM: BAPI_INCOMINGINVOICE_CREATE to create a Invoice and after that iam using the FM BAPI_TRANSACTION_COMMIT to update the DB.

What i have to pass the in the FM: BAPI_TRANSACTION_COMMIT for Exporting and Importing parameters.?

Thanks in advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi Krishna,

Use it in this way

Given below is that code:

*For Commit work
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

*For Updation of Sales Order
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = v_salesorder
ORDER_HEADER_INX = i_order_header_inx
TABLES
RETURN = i_return
ORDER_ITEM_IN = i_itemtable
ORDER_ITEM_INX = i_itemtable_x.

*Commit work
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

2 REPLIES 2

Former Member
0 Kudos

hi Krishna,

Use it in this way

Given below is that code:

*For Commit work
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

*For Updation of Sales Order
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = v_salesorder
ORDER_HEADER_INX = i_order_header_inx
TABLES
RETURN = i_return
ORDER_ITEM_IN = i_itemtable
ORDER_ITEM_INX = i_itemtable_x.

*Commit work
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.

Former Member
0 Kudos

Hi,

U have to Expoet 'wait'.

<b>call function 'BAPI_TRANSACTION_COMMIT'

exporting

wait = 'X'.</b>

Regards,

Padmam.