‎2009 May 21 10:36 AM
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
‎2009 May 21 12:25 PM
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).