2024 Apr 24 3:22 PM - edited 2024 May 14 9:29 AM
Hi all,
we would like to use the stock calculation of the MD04 in a separate application (side-by-side). We try to find some CDS views which are actually released and cover the functionality. We can find the actual stock variants (i_materialstock..., I_EWM_AVAILABLESTOCK etc) but we also need to take reservations into account.
Any option or combination available (released!) which we can use to cover the md04 functionality in a CDS view (API would be ok as well).
Kind regards
Laurens
Addition: Well, we had a look and see we still have issues. It looks like the API (supply/demand) is walking through the MD04 functionality (takes all receipts and issues into account), but we only want to have the CO09 functionality (receipts and issues which much be taken into account regarding the availability check).
Well, we checked with SAP directly and they came up with note: https://me.sap.com/notes/3333633
We discovered that this API does the trick: https://api.sap.com/api/API_PRODUCT_AVAILY_INFO_BASIC/overview
Specifically:
sap/opu/odata/SAP/API_PRODUCT_AVAILY_INFO_BASIC/DetermineAvailabilityAt?SupplyingPlant='1010'&Material='00000000000000001'&ATPCheckingRule='A'&RequestedUTCDateTime=datetimeoffset'2024-05-17T17:00:00Z'
Hope this helps other people 🙂
So, next stop is to find the CDS view behind it #dontthinkso
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
115 | |
9 | |
8 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.