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

no update

Former Member
0 Likes
379

Hello experts,

Iam using bapi BAPI_PO_CREATE1. No POs are created.

Please help me.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
361

Hai,

Use the below code after calling your BAPI:

data ls_return like BAPIRET2.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

Exporting

WAIT = 'X'

Importing

RETURN = ls_return.

if ls_return-type 'E'.

" success

else.

" failed

endif.

Hello experts,

Iam using bapi BAPI_PO_CREATE1. No POs are created.

Please help me.

2 REPLIES 2
Read only

Former Member
0 Likes
362

Hai,

Use the below code after calling your BAPI:

data ls_return like BAPIRET2.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

Exporting

WAIT = 'X'

Importing

RETURN = ls_return.

if ls_return-type 'E'.

" success

else.

" failed

endif.

Read only

Former Member
0 Likes
361

Hi,

Try this BAPI BAPI_PO_CREATE

Regards,

Satish