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
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)?