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 CONFIRMATION TAB

Former Member
0 Likes
936

Hi all,

I am using BAPI_PO_CREATE for to create PO. How to Fill the PO confirmation tab.

IN that BAPI , there is no such option to fill the vendor confirmation details.

Thanks

Jana.G

1 REPLY 1
Read only

Former Member
0 Likes
591

Hi,

In the FM, BAPI_PO_CREATE, go to export parameters tab, here you will find a parameter name:

PURCHASEORDER Like BAPIEKKOC-PO_NUMBER (purchase order number).

Here you will find the PO confirmation details, as soon as your PO is created , a PO number will be generated.

In your program,

IF purchaseorder IS INITIAL.

CALL FUNCTION 'ME_STATISTICS_TABLES_REFRESH'

EXPORTING

i_ebeln = purchaseorder. (Confirm PO Generation).

EXCEPTIONS

OTHERS = 1.

If your purchase order is initial , then PO number will not be generated.

Table: EKKO (Purchasing Document Header).