Quantcast
Channel: SCN : All Content - SAP ERP - Logistics Materials Management (SAP MM)
Viewing all articles
Browse latest Browse all 6446

How to calculate the next incoming PO for a given material/plant in an elegant way

$
0
0

Hi experts,

Given a material and a plant i want to find out when the next PO is arriving. Is there a function module to calculate it?

 

This is the values i want to retrieve, but this method is not very optimized and can have performance issues:

 

"Entry un EKPO with material (MATNR), plant (WERKS), and Delivery Completed Indicator (ELIKZ) = blank, select the PO
numbers.

For all the POs, sort in EKET for the field ‘Delivery Date’ (EINDT) to get the next delivery date being

  • EINDT ≥ Todays day

Take the next PO to be received. Do the calculation (MENGE – WEMNG) for the item

The result of the calculation is the amount still open and that is supposed to be received. "


Viewing all articles
Browse latest Browse all 6446

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>