cancel
Showing results for 
Search instead for 
Did you mean: 

Standard BAPI to bring GRN value breakup as per condition types

Former Member
0 Kudos

Dear All,

We are using the BAPI  "BAPI_PO_GETDETAIL" and "BAPI_PO_GETDETAIL1" for fetching the PO details  but while fetching the details of the PO using these bapis the GRN’s for delivery costs are not fetched (only material GRN’s are fetched).We want to see GRN’s for Delivery Costs/ Indirect Expenses (freight,) as well as Material GRN’s separetley.

Kindly suggest any bapi wherein we can meet the above requirement.

Thanks & Regards,

Ganesh

Accepted Solutions (1)

Accepted Solutions (1)

Prasoon
Active Contributor
0 Kudos

Hi,

   If you want to fetch the delivery costs, it has to be fetched from EKBZ table with condition type. You may use the FM: MMPUR_EKBZ_READ_EBELN.

   Also refer the wiki: Purchase Order History - ERP SCM - SCN Wiki for all info related to PO history.

Regards,

AKPT

Former Member
0 Kudos

Hi Prasoon,

Thanks for your suggestion I was able to meet my requirement with the above BAPI.

Sorry for the delay in response as there was some connectivity issues due to bad weather conditions.

Regards,

Ganesh

Answers (1)

Answers (1)

JL23
Active Contributor
0 Kudos

why do you need to use the old (and out of support) "BAPI_PO_GETDETAIL" and the new "BAPI_PO_GETDETAIL1"?

Is all what you expect to get visible in ME23N PO history tab?

Former Member
0 Kudos

I am currently using BAPI_PO_GETDETAIL1 only. Our requirement is that we need to call the bapi to see GRN’s for Delivery Costs/ Indirect Expenses (freight,) as well as Material GRN’s separately along with the other PO details to pass the values to an interface system.