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

BAPI :--- BAPI_PRODORDCONF_CREATE_TT

Former Member
0 Likes
512

Hi

I am using bapi BAPI_PRODORDCONF_CREATE_TT.

I am getting the message "Confrmation of order 000060000100 saved " in table DETAIL_RETURN .

But this order is not available at transaction and table level.

Is there any thing missing .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
414

Hello,

Are using the COMMIT WORK AND WAIT.

IF it is useful reward the points.

Vasanth

2 REPLIES 2
Read only

Former Member
0 Likes
414

You need to call BAPI_TRANSACTION_COMMIT after the bapi to create orders.

Add the below code after the BAPI_PRODORDCONF_CREATE_TT call

READ TABLE return WITH KEY type = 'E'.

IF sy-subrc NE 0.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

EXPORTING

wait = '2'.

ENDIF.

-Kiran

*Please reward useful answers

Message was edited by: Kiran Raorane

Read only

Former Member
0 Likes
415

Hello,

Are using the COMMIT WORK AND WAIT.

IF it is useful reward the points.

Vasanth