04-16-2013 11:22 AM
Crrently SAP query having 3 tables PBID PBIM MARC to get PIR data. I want MRP information(MRP AREA) for corresponding material and plant. PBID is another table that i want to add which contains MRP information. but on exeuting the query the data is coming inconsistent. Could you help me please ?
04-16-2013 12:59 PM
Hi,
i think that if you want read MRP data you can use this Function Module:
MD_STOCK_REQUIREMENTS_LIST_API
Best Regards
Ivan
04-16-2013 2:14 PM
HI,
Original Query was created using SQ01 transaction and I have to update the same .
Best Regards,
Mayank Khandelwal
04-16-2013 1:27 PM
Hi ,
In PBID - you can see the fields MATNR(Material Number), WERKS(Plant) and BERID(MRP Area) and whereas MATNR,WERKS is also having in that PBIM table .
so write a query like ...
Select BERID MATNR WERKS FROM PBID for all entries in PBIM WHERE MATNR = PBIM-MATNR AND WERKS = PBIM-WERKS.
04-16-2013 2:11 PM