Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Link between MDPS & MDEZ structure entries

$
0
0

Hi,

 

Gave below logic to fulfill a requirement which is breifed in my earlier post Receipt element to be displayed in COOIS-component list

 

1. Pass the component to MD_STOCK_REQUIREMENTS_LIST_API and get availability situation after the respective header production order requirements is met from MDEZ structure.

2. If the available qty < 0 then pull all the receipt elements present after the header order requirement date.

3. Else (i.e  available qty =0 or > 0), then pull all the receipt elements present before the header order requirement date.

4. Pass each receipt element to FM: MD_PEGGING_NODIALOG and check if the header order exists in the output structures. If yes, then consider this as the receipt element. Keep checking all receipt elements.

 

Things not working fine when we have mutiple production orders for the same header material on the same day.

Reason, when we try to fetch the entry from MDEZ structure we are looking for an entry with requirement date & header material, where in above scenario we are going to have multiple entries.

But we have header production order number in MDPS.

Now want your help to see how we can co-relate MDPS line entry with MDEZ entry.

 

 

Thanks in advance.

 

Ragahva


Viewing all articles
Browse latest Browse all 9052

Trending Articles



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