Skip to Content
1
Aug 22 at 03:33 PM

Calculate Pallets for Inbound Deliveries from Quantity Ordered

175 Views

Hi,

I have a list of inbound deliveries.

Within the inbound delivery I have Quantity at Item level.

sap-qty.jpg

I am required to calculate the number of pallets if the Quantity is "EA".

For this I need the quantity of Items per Pallet (TIHI).

Because this is a Fiori App I am composing a CDS View.

Is anyone aware of a CDS View that can get me the TIHI for an inbound shipment by Item?

sap-qtytihi.jpg

In EWM one can use the FM /SCWM/API_PACKSPEC_READ to get the TIHI.

Obviously the FM is not accessible from within CDS Views.

Attachments

sap-qty.jpg (96.9 kB)
sap-qtytihi.jpg (101.7 kB)