Using in-app extensibility to print the freight order number on a pick list
This post accompanies the corresponding Youtube recording that can be viewed below.
The intent of this post is simply to make the custom logic code available, if it helps.
* Custom Logic to bring the Freight Order number associated with a delivery * Absolutely necessary move-corresponding delivery_document_in to delivery_document_out. * Since the delivery is created from the freight order, it is assumed that all items in a * delivery will be associated to the same order, hence we just read a single record for a * delivery to find the associated Freight Order. if this was not correct, the logic could * could be changed to also include the item, but the custom field would also need to exist * at the item level in that case. IF delivery_document_in-deliverydocumenttype = 'LF'. SELECT SINGLE TransportationOrder FROM YY1_PREFreightAnalysis INTO @delivery_document_out-yy1_freightorder_dlh WHERE Short_dlv = @delivery_document_in-deliverydocument. SHIFT delivery_document_out-yy1_freightorder_dlh LEFT DELETING LEADING '0'. endif.
Transportation Management in SAP S/4HANA Cloud - from Soup to Nuts
Perform end to end Supply Chain processes in SAP S/4HANA Cloud
With the 2108 release of SAP S/4HANA Cloud, SAP introduced manual transportation management planning capabilities. Whilst not covering the full gamut of features provided by its big brother Advanced TM, it provides for basic planning capabilities that no longer require you to resort to an external, third party planing system nor the need to setup an integration scenario (interface). So if you do not require advanced capabilities, and your transportation volumes are not excessive, then this might just fit your requirements. To give further insights into the capabilities offered by Transportation Management in SAP S/4HANA Cloud (essentials), then please check out the video series below.