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_PO_CREATE1

Former Member
0 Likes
529

Hi guys,

I have implemented this bapi to create a purchase order.

After executing it i can see in the returning table PO2BAPIRET[] that a order with a number has been created, but when i go to TX me23n and i introduce the purchase order number it says me that it does not exists, anybody knows why?

Thanks!!

Jon

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
493

Call the BAPI "BAPI_TRANSACTION_COMMIT" after bapi call "BAPI_PO_CREATE1".

Regards

Vinod

3 REPLIES 3
Read only

Former Member
0 Likes
493

Hello

Use COMMIT after call BAPI:


CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
     EXPORTING WAIT = 'X'.

Read only

Former Member
0 Likes
494

Call the BAPI "BAPI_TRANSACTION_COMMIT" after bapi call "BAPI_PO_CREATE1".

Regards

Vinod

Read only

Former Member
0 Likes
493

I believe, You did not created Committed the BAPI and hence you can see PO created through BAPI but you can't see on BAPI.