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.

Video: In-app extensibility to add the freight order number on a pick list


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.

Transportation Management is here - Announcement video

Video: Transportation Management is here - Announcement video

TM from Soup to Nuts - Part 1 - The Basics

Video: TM from Soup to Nuts - Part 1 - The Basics

TM from Soup to Nuts - Part 2 - Essential Configuration

Video: TM from Soup to Nuts - Part 2 - Essential Configuration

TM from Soup to Nuts - Part 3 - From Sales to Transportation

Video: TM from Soup to Nuts - Part 3 - From Sales to Transportation

TM from Soup to Nuts - Part 4 - Transportation Planning in the Cockpit

Video: TM from Soup to Nuts - Part 4 - Transportation Planning in the Cockpit

TM from Soup to Nuts - Part 5 - Execution Tracking & Logistics Integration

Video: TM from Soup to Nuts - Part 5 - Execution Tracking & Logistics Integration

TM from Soup to Nuts - Part 6 - Cost Distribution, Customer & Carrier Settlements

Video: TM from Soup to Nuts - Part 6 - Cost Distribution, Customer & Carrier Settlements