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

parameters in BAPI_TRANSACTION_COMMIT

Former Member
0 Likes
790

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
Read only

Former Member
0 Likes
610

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
Read only

Former Member
0 Likes
611

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'.

Read only

Former Member
0 Likes
610

Hi,

U have to Expoet 'wait'.

<b>call function 'BAPI_TRANSACTION_COMMIT'

exporting

wait = 'X'.</b>

Regards,

Padmam.