BAPI_PO_GETDETAIL
This SAP ECC function retrieves details for a given purchase order number.
This is invoked
-
during PO number validation to verify the existence of the PO and to determine the PO type.
-
for PO data retrieval for line pairing
As a result of the above, the following structures and tables are available for use by AP Agility:
-
PO_HEADER for basic information
-
PO_ITEMS for reading PO lines
-
PO_ITEM_HISTORY for reading GR lines
-
PO_ITEM_HISTORY_TOTALS for resolving invoiced and delivered quantities and totals
-
PO_ITEM_ACCOUNT_ASSIGNMENT for reading account assignments
The following additional BAPI functions may be called when loading PO details:
-
BAPI_ENTRYSHEET_GETDETAIL for reading an entry sheet of a service PO
-
-
for reading conditions from the KONV table
-
for resolving invoice amounts already in the EKBZ table
-