19.09.2016 Views

Transportation Management with SAP LES

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5<br />

Delivery Documents<br />

User Exit<br />

The include module MV50AFZ1 provides a user exit in which you can, at certain times,<br />

copy or determine your own and standard <strong>SAP</strong> fields in the delivery document via your<br />

own solutions. Header fields are filled in form routine USEREXIT_MOVE_FIELD_TO_<br />

LIKP, and fields in the delivery item in form routine USEREXIT_MOVE_FIELD_TO_LIPS.<br />

However, you must take special care <strong>with</strong> standard <strong>SAP</strong> fields. If these fields depend on<br />

other processes in the delivery document (on the storage location determination, for<br />

example), then you must ensure that the change or field determination executed is run<br />

through the program process, which would also be run if you entered this field manually<br />

in the delivery document.<br />

The last method to manipulate fields is provided by the two form routines, USEREXIT_<br />

SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT. These are user exits<br />

that have already survived many release changes. You will find the newest user exits in<br />

the business add-on, LE_SHP_DELIVERY_PROC.<br />

5.5 Shipping Point<br />

As you have already learned in Section 2.1.5, the shipping point is an organizational<br />

unit via which the entire shipping transaction takes place. This shipping<br />

transaction includes the creation of delivery documents, the monitoring, planning,<br />

and grouping of different deliveries into shipments and, finally, the proper execution<br />

of goods issue posting.<br />

A complete delivery document belongs to only one shipping point. This shipping<br />

point is determined automatically <strong>with</strong> the order entry for each item. This creates the<br />

basis for selecting all of the orders awaiting delivery for a particular shipping point.<br />

To explain the shipping point determination step by step, I will again use the example<br />

from the beverages industry (see Figure 5.52). In company code OG01 (Weizen brewery<br />

in Munich), two plants are specified: OGB1 (the Weizen brewery in Munich) and OGBA<br />

(accessories: souvenirs, clothing, etc.). The Weizen brewery has a total of two storage<br />

locations: OGRW (the raw materials warehouse for production) and OGVW (the shipping<br />

warehouse for the brewed beer). The accessories are located in shipping storage<br />

location OGVA.<br />

In total, there are three shipping points in this example: the beverage trucks are loaded<br />

by forklifts at the OGM1 shipping point. For larger festivals (e.g., the Oktoberfest) the<br />

beer is filled in a tank (approx. 120,000 liters), which is firmly secured to the truck. This<br />

is a filling facility (also called a beer drive), defined as shipping point OGM2. All accessories<br />

are delivered from the OGMA shipping point.<br />

142<br />

© 2014 by Galileo Press Inc., Boston (MA)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!