cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for EKPO - MATNR & WERKS as Input

Former Member
0 Kudos

Hi,

Requirement is to fetch data from EKPO for material and plant as input,

I found following BAPIs which doesn't suit to my requirement since both do not include MATNR and WERKS as import parameter

1. BAPI_PO_GETDETAIL

2. BAPI_PO_GETDETAIL1

Though BAPI_PO_GETITEMS will fetch data but in case of Scheduling agreement it wont work.

I also checked BAPI_SAG_GETDETAIL, but no import parameter as per my requirement.

Please tell me, Is there any generic function module available in standard from where I can fetch data for EKPO (For SA/PO etc)?

Thanks

KJ



Accepted Solutions (0)

Answers (1)

Answers (1)

JL23
Active Contributor
0 Kudos

You do your select right before you call the BAPI and submit the PO number to the BAPI in a Loop.

Former Member
0 Kudos

Thanks Jurgen for reply,

I want PO No as output,

we have PLM system, PLM people have their process of release of Material No for Plant, Before releasing/changing material, they want to be sure about existing ECC data whether the PO/SA were there for the Material-plant combination, on the releasing screen they display the ECC data if it exists.

we able to fetch data from BAPI_PO_GETITEMS,but for SA it wont fetch details.