Hi All,
My client wants to build a query to show the open quantity and value for all GR and IR based POs. They do not want to use the standard report ME2L, ME2N, ME2M etc..Pls let me know if anyone has built the similar query. I have joint EKPO, EKET which gives me the scheduled and recvd qty and its value. To show the difference of these two quantities as open qty, I have added an additional column and put a formula to calculate the difference (i.e EKET-MENGE - EKET-WEMNG). This is working fine for GR based PO. But the problem im facing with is IR based PO. Since the query pulls the qty from EKET and EKET will have 0 qty for IR based PO, in this case the query is showing all schedu;ed qty as open qty which is wrong.
I would really appreciate if someone can advise me the best way to work on this issue. Also pls let me know if there is any table that shows PO status whether its open/closed so i can join that table as well.
Thanks,
Maya