SAPBR Technologies home

SAP in Brazil, explained

LE-TRA – Shipment & Shipment Cost Document Configuration

I first posted this guide on SCN and decided to share it here too. It sits a little outside this blog’s main focus (SAP Brazil localization, S/4HANA and HANA), but it’s still SAP and I hope it helps.

If you like it, please rate the original posts on SCN:

I wrote this guide to Logistics Execution Transportation (LE-TRA) for my own reference and kept updating it as my company changed processes and went through projects, mergers and acquisitions. It focuses on freight payment and the Shipment Cost Document, but it also gives a good overview of everything you need to configure before a Shipment Cost Document can be created, including the shipment itself at a high level.

SAP terms

These are the terms you’ll see most when working with LE-TRA:

  • Forwarding agent / service agent: the party that provides the transport, also called carrier or logistics service provider. It’s usually, but not always, the vendor paid for the freight.
  • Route: a component of LE-SHP that drives shipment creation and planning. It sets the itinerary (the legs or stages of the shipment) and the means of transport (truck, train, plane or ship). A route usually holds a departure point (for example, a shipping point) and a destination (a port, a customer and so on).
  • Handling unit: the packaging that holds the materials being transported. If your products are packed in a container, the container is the handling unit. On a larger shipment, several containers may be loaded onto a vessel, so the vessel is also a handling unit. Handling units are also called equipment. They matter for shipment cost calculation and appear as sub-items in the Shipment Cost Document items.
  • Shipment: the document built from its preceding deliveries. It holds the service agents, routes, stages and the planning and execution deadlines. It’s the prerequisite for the Shipment Cost Document.
  • Shipment type: holds the main settings for the shipment document, such as direction (inbound or outbound), number range, partners and stage determination procedure.
  • Shipment Cost Document (SCD): created with reference to the shipment. It holds what you need to pay the service agent (agreed rates, prices, invoicing party) plus accounting data (G/L account, cost center). When it’s created correctly, it usually triggers an accrual.
  • Shipment cost type and item category: settings that control the Shipment Cost Document, such as number range, required shipment status, costing settings and transfer/settlement settings.
  • Rates: loaded with the condition technique (predefined condition types) and copied into the SCD when it’s created. You can use several conditions in the same document, for example to split the agreed freight into freight service, toll and fuel surcharge.
  • Transportation planning point (TPP): the organizational unit in Logistics that plans and processes shipments. A TPP can also represent a group of people, for example a TPP for ocean and one for truck, which separates the logistics planners and supports security segregation. Every shipment is assigned to one TPP.

Transportation: shipment

Master data

  • Business partners: service agents (freight forwarders), ship-to, sold-to, bill-to, brokers, customs agents, carriers, customers and vendors.
  • Material master: there’s no shipment without products. The material master defines the products transported and the packaging materials (handling units). Every product moved through shipments needs a material master.
  • Organizational data: for the full flow from sales order to delivery, shipment, Shipment Cost Document and invoice payment, these organizational levels must exist and be assigned correctly: business areas, sales organizations, sales areas, distribution channels, transportation planning points, plants, routes, shipping points, purchasing organizations, purchasing groups and controlling area.

Maintain transportation planning point

TransactionPathTable/view
SPRO or SM30SPRO > Enterprise Structure > Definition > Logistics Execution > Maintain transportation planning pointV_TTDS

The TPP is the organizational unit that plans and processes shipments (see SAP terms above).

One TPP can cover several shipping points. Each shipment belongs to one TPP only, but it can contain several deliveries from different shipping points, as long as those shipping points belong to that TPP:

SAP screen: Maintain transportation planning point

In the same SPRO path you assign the TPP to a company code, as shown above. This assignment is needed so that freight costs calculated in the Shipment Cost Document post to the right company code (more on this in the Shipment Cost Document and settlement sections).

Define routes

The route drives shipment creation and planning (see SAP terms above).

TransactionPathTable/view
0VTCSAP Easy Access > Logistics > Logistics Execution > Master Data > Transportation > Routes > Define Routes > Define Routes and StagesTVRO

To create routes:

  • Enter the modes of transport for the route.
  • Enter the shipping types allowed on the route. For example, ocean makes no sense on a route from Fifth Avenue to Broadway in New York.
  • Enter the transportation connection points and maintain their details.
  • Enter the routes and route stages.

You can also maintain stages for several routes at once.

Define modes of transport

TransactionPathTable/view
0VTBSPRO > Logistics Execution > Transportation > Basic Transportation Functions > Routes > Define Routes > Define Modes of TransportV_TVTR_COM
  • Define the modes of transport your process uses.
  • Assign each mode of transport to a mode-of-transport type. That type classifies modes of transport for dangerous goods management.
SAP screen: Define modes of transport

Define shipping types

Here you define the shipping types and their mode of transport. The screenshot shows some examples, but they’re only suggestions. Create them to match your business.

TransactionPathTable/view
0VTASPRO > Logistics Execution > Transportation > Basic Transportation Functions > Routes > Define Routes > Define Shipping TypesV_T173_COM

To create shipping types:

  • Define the shipping types.
  • Assign one or more modes of transport to each.
  • Assign each shipping type to a shipping type group. This is what lets the system determine the freight pricing procedure automatically (see the Shipment Cost Document section).
SAP screen: Define shipping types

Define transportation connection points

A transportation connection point (TCP) is a place where goods are received, issued, reshipped or processed, for example for customs clearance or railcar cleaning. A railway station is one example. For each TCP you can set the type (load transfer point, airport, border), the responsible customs office, the calendar and the stopover time. You can also link it to a plant, shipping point, customer, vendor or address.

TransactionPathTable/view
0VTDSPRO > Logistics Execution > Transportation > Basic Transportation Functions > Routes > Define Routes > Define Transportation Connection PointV_TVKN_COM
SAP screen: Define transportation connection points

Define transportation zones

Transportation zones are the regions your routes cover. A route runs from a departure zone to a destination zone.

There are three kinds:

  • Direct zone: assigned to specific locations.
  • Postal code zone: all locations within valid postal code ranges of a country.
  • Region zone: a country plus region, covering every location in that region.

You can also mix these types in one zone.

TransactionPathTable/view
OVR1SPRO > Logistics Execution > Shipping > Basic Shipping Functions > Routes > Route Determination > Define Transportation ZonesV_TZONE

These zones are used in master data. Each customer’s and vendor’s location is identified by the Transportation Zone field on the Address tab of its master record.

SAP screen: Define transportation zones

You can also set the zone for each shipping point:

TransactionPathTable/view
OVL7SPRO > Logistics Execution > Shipping > Basic Shipping Functions > Routes > Route Determination > Maintain Country and Transportation Zone for Shipping PointV_TVST_RF

Select the shipping point and enter its country and transportation zone.

SAP screen: Define transportation zones

Define transportation groups

A transportation group collects materials with similar transport requirements, for example bulk or non-bulk, pallet or box. You assign the group in the material master.

TransactionPathTable/view
OVSYSPRO > Logistics Execution > Shipping > Basic Shipping Functions > Routes > Route Determination > Define Transportation GroupsV_TTGR
SAP screen: Define transportation groups

Set up weight groups

If delivery weight matters for route determination, set up the weight strategy here.

TransactionPathTable/view
OVS8SPRO > Logistics Execution > Shipping > Basic Shipping Functions > Routes > Route Determination > Define Weight GroupsVC_TVLG
  • First, create the weight group with its description.
  • Then maintain its details, including the maximum weight allowed in each group. When the delivery is created, SAP uses its weight to determine the right route according to your rules. If you don’t use this feature, the route is determined in the sales order and copied to the delivery.
SAP screen: Set up weight groups

Define and assign routes

This is where you define routes and route stages and maintain transportation connection points, all of which drive the shipment stage strategy.

Define routes. First define the routes:

  • List the routes your company needs.
  • Create them.
  • Where needed, add more data to each route:
  • Shipping type, for the route itself, the preliminary leg and the subsequent leg
  • Transportation service agent
  • Transit time
  • Transportation planning lead time
  • Factory calendar and working times
  • Travel duration (transit time minus breaks) and distance
  • Mode of transport, for export processing
TransactionPathTable/view
0VTCSPRO > Logistics Execution > Shipping > Basic Shipping Functions > Routes > Define Routes > Define Routes And StagesV_TVRO_COM

Identification: the route description plus the route ID, which complements it. If you don’t need a separate ID, I suggest repeating the description.

Processing: if one vendor manages the route, enter it as the service agent. The system then proposes that vendor on every shipment for this route, so the planner doesn’t have to enter it. You can also enter the shipping type here. Another key field is Rel.transport, which decides whether a delivery with this route can go into a shipment.

Scheduling: the most important fields are:

  • Transit time: the total time the products take to reach the customer on this route. It’s used to plan and calculate the date the goods reach the customer, and when they must leave the plant to meet the requested delivery date. Entered in calendar days with 2 decimals.
  • Trav.dur (travel duration): in hours and minutes, a subset of the transit time. It’s the time spent actually travelling the route. It isn’t used for delivery scheduling.
  • TransLdTm (transportation lead time): the time needed to plan and arrange transportation.
SAP screen: Define and assign routes
SAP screen: Define and assign routes

Maintain stages for all routes. You can maintain stages for many routes at once instead of one by one.

TransactionPath
0VTESPRO > Logistics Execution > Shipping > Basic Shipping Functions > Routes > Define Routes > Maintain Stages for all Routes

In the example below I selected 3 route stages with the checkbox and clicked Change (the pencil). SAP opens the “attribute proposal for selected route stages” popup, and whatever you enter there applies to every selected stage. The lights turn from red to yellow. Save, and they turn green to confirm the change.

SAP screen: Define and assign routes
SAP screen: Define and assign routes

Route determination

For automatic route determination, the system looks at:

  • Country and departure zone (shipping point address)
  • Country and destination zone (ship-to address)
  • Shipping condition (entered in the sales order and copied to subsequent documents)
  • Transportation group (from the material master)

In the delivery you can add weight group to these criteria if you determine routes by weight, which is optional (see above).

TransactionPathTable/view
0VRFSPRO > Logistics Execution > Shipping > Basic Shipping Functions > Routes > Route Determination > Maintain Route DeterminationVC_TROLZ
SAP screen: Route determination
SAP screen: Route determination

If you use weight for route determination, enter the weight group you created here. The route is then determined from the four elements above plus the delivery weight.

Route determination in the sales order. The route is copied into the sales document based on:

  1. Departure zone or country of the shipping plant
  2. Destination zone or country of the ship-to party
  3. Shipping condition from the customer master
  4. Transportation group from the material master
  5. Weight group (if used)

You can also enter or overwrite the route manually when you create or change the sales order. If you use weight groups, the route can be redetermined in the delivery.

Scheduling and delivery dates take into account transit time, loading time, pick/pack time and transportation lead/planning time.

Configure shipments

These are the settings needed for the shipment.

Maintain transportation relevance. Before configuring shipment documents, set what is relevant for transportation.

TransactionPathTable/view
0VTRSPRO > Logistics Execution > Transportation > Shipments > Maintain Transportation RelevanceV_TVLK_TR / V_TVLP_TL / V_TVRO
  • Delivery type (V_TVLK_TR)
SAP screen: Configure shipments
  • Delivery item category (V_TVLP_TL)
SAP screen: Configure shipments
  • Route (V_TVRO)
SAP screen: Configure shipments

Set up transportation planning points. Once transportation relevance is set, configure the organizational structure for transportation. Shipments are created per transportation planning point, which is linked to other organizational units such as shipping points and plants.

Define shipment types. Shipment types reflect the different ways products are transported and processed, whether from sales orders, stock transport orders or others. Some cases even need an inbound shipment type for incoming goods.

There are three transportation categories:

  • Individual shipment: one or more deliveries moved by a single mode of transport from one departure point to one destination.
  • Collective shipment: one or more deliveries moved by a single mode of transport from one or more departure points to one or more destinations.
  • Multimodal shipment: deliveries moved by several modes of transport between one or more departure points and one or more destinations.
TransactionPathTable/view
OVTKSPRO > Logistics Execution > Transportation > Shipments > Define Shipment TypesV_TVTK
SAP screen: Configure shipments

The main fields:

Number systems: the internal or external number range for new documents.

Document content: the core of the shipment type, its identity. Key fields:

  • Shipment completion type: whether the shipment is inbound or outbound, loaded or empty.
  • Shipping type: road, air, ocean, rail or any other means of transport defined in your system.
  • Processing control: how the shipment runs, individual or collective, single or multiple modes of transport.
  • Leg indicator: a leg (or stage) connects two transportation connection points, or is a single point where something happens (a customs border, a load transfer point). Each leg in a route has a section type: transportation, load transfer point or customs border. A leg can also be a preliminary, main, subsequent, direct or return leg. With a direct leg, the whole process runs in one shipment. With preliminary, main or subsequent legs, the delivery has several shipments linked to each other. That’s where ShTypePrelimLeg and SubseqLegShType set the shipment type for the preliminary and subsequent legs.
  • Determine legs: the rule for assigning legs to a shipment. For example, if you choose 1 (Legs determined according to departure point & itinerary) on a collective shipment, legs are built from the sequence of departures and destinations.
SAP screen: Configure shipments

Transportation: Shipment Cost Document

Before configuring the Shipment Cost Document (SCD, or shipment costs), here’s the role it plays in transportation.

The SCD is created with reference to a shipment that has one or more stages relevant for shipment costs.

When an SCD item uses an item category relevant for settlement, you get freight cost calculation, accruals and invoice payment.

You usually agree freight rates with your service agents up front. Maintain them in the system and the pricing and condition functions calculate them. Rates are calculated whether or not the item category is relevant for settlement. When it is relevant, the costs also flow to FI/CO: GR/IR accrual, cost element assignment, purchase order and service entry sheet posting, invoice verification and so on.

The shipment is the reference for the calculation, but the rates calculated from conditions and the pricing procedure are stored in the SCD.

Shipment Cost Document structure

The SCD has a header, items and sub-items.

  • Header: data valid for the whole document, such as processing status, who created or changed it, and the reference (the shipment number). It also holds the shipment cost type, which lets you define different processing rules and settlement procedures per type (see Define shipment cost types below).
  • Items: the data needed for freight calculation, such as service agent, invoicing party, pricing date, settlement date and item status (see Define item categories below). Items belong to the header but are also assigned to a specific shipment stage. That lets you charge some costs to the whole shipment and others to a single leg (see Assign shipment cost types and item categories).
  • Sub-items: where the price sits. The sum of all sub-items is the total shipment cost. Costs are calculated from condition records using condition types. You can set condition types to fit your business, for example calculating on the weight of the whole leg or per handling unit (pallet, truck, container). You can also use scales to match the prices agreed with your service agent.

Define date rules

Date rules decide which dates the system uses as pricing date and settlement date. Different item categories can need different rules, so create as many as you need and assign them to the item categories. The dates come from the shipment deadlines, actual or planned.

TransactionPathTable/view
T_60SPRO > Logistics Execution > Transportation > Shipment Costs > Basic Functions > Define Date RulesV_TVFTR

This slideshow requires JavaScript.

Define and assign tariff zones

Enter the tariff zones and assign postal code ranges to them for each transportation planning point. Tariff zones let you calculate shipment costs by region (a set of postal codes) for a given freight agent.

TransactionPathTable/view
T_76SPRO > Logistics Execution > Transportation > Shipment Costs > Basic Functions > Define and Assign Tariff ZonesTVFPTZ

Define and assign activity profiles

Activity profiles are useful for calculating shipment costs at sales order creation, so you get an estimated freight amount.

TransactionPathTable/view
T_80SPRO > Logistics Execution > Transportation > Shipment Costs > Define And Assign Activity ProfilesV_TVTK_PROF

Profiles are assigned per shipment type, and you can use different profiles depending on shipment status.

SAP screen: Define and assign activity profiles

Define shipment cost types

Many businesses need different settlement procedures for different shipments. To cover that, create several shipment cost types and assign them to the relevant shipment types.

TransactionPathTable/view
T_56SPRO > Logistics Execution > Transportation > Shipment Costs > Shipment Cost Document > Shipment Cost Types and Item CategoriesV_TVTF

The shipment cost type sets the number range and the shipment status required before an SCD can be created. My suggestion is to require status 6 (shipment start). That way the freight document is only created once the goods have actually left the plant. This is controlled by the Ov.stat.Shipmt indicator.

SAP screen: Define shipment cost types
SAP screen: Define shipment cost types

Define item categories

Item categories (shipment cost item types) hold the calculation and settlement settings for a shipment stage or leg.

TransactionPathTable/view
T_56SPRO > Logistics Execution > Transportation > Shipment Costs > Shipment Cost Document > Shipment Cost Types and Item CategoriesVC_TVFTK / V_TVTF / V_TVFT / V_TVFTK

In the Calculation box you set the date rule for the pricing date (see Define date rules), the partner function the item category can use, and the item determination group, which drives automatic pricing determination.

SAP screen: Define item categories

The Settlement box has these fields:

Cost distribution

SAP screen: Define item categories

Sets the level at which shipment costs are distributed for account assignment and posting:

  • Shipment cost item
  • Delivery
  • Delivery item

You can restrict the level further with the Origin of CO field on the same screen.

If you use CO-PA (profitability analysis), choose B (delivery) or C (delivery item). The profitability segment then takes its data from the delivery or delivery item. The shipment cost item (A) doesn’t hold the data CO-PA characteristics need.

Account assignment category

SAP screen: Define item categories

The cost collector to use, such as cost center, profitability segment or G/L account. Even with a profitability segment, costs still post statistically to the cost center, so you can see them in cost center report S_ALR_87013611. The options are:

CodeAccount assignment category
9Unknown
AAsset
BMTS prod./sales ord.
CSales order
DIndiv.cust./project
EInd. cust. w. KD-CO
FOrder
GMTS prod./project
KCost center
MInd. cust. w/o KD-CO
NNetwork
PProject
QProj. make-to-order
TAll new aux.acc.
UUnknown
XAll aux.acct.assgts.
ZProfitability Segment

Settlement date

SAP screen: Define item categories

Assign one of your date rules (see above). This date is used for settlement, which is the posting date of the GR/IR accrual document.

Origin of CO assignments

SAP screen: Define item categories

The options are A (general ledger account), B (sequence: delivery, sales order) and C (sequence: delivery, order, G/L account). If you use a profitability segment, choose C so sales order and delivery data flow to the CO-PA characteristics.

Relevant for settlement

SAP screen: Define item categories

Whether the item is relevant for settlement (posting the GR/IR accrual). Set X if you want the system to create purchase orders, GR/IR accruals and service entry sheets automatically in the background.

Purchase order generation

SAP screen: Define item categories

When shipment costs are transferred, SAP can create a PO or assign an existing one, depending on configuration. The options:

  • Blank: no purchase order
  • A: PO valid for 1 day
  • B: PO valid for 1 week
  • C: PO valid for 1 month

Item category examples. Create as many as you need or use the standard ones. This is what I set up in one project:

Item categoryDescription
YE01Add cost Outbnd
YO01Out Frt Truck
YO02Out Frt Rail
YO03Out Frt InlndWter
YO04Out Frt Ocean
YO05Out Frt Air Cargo
YO06Out Frt Air Pssng
YO07Out Frt Others
Y002General costs
Y003Insurance
Y004Cleaning
Y005Load transfer
Y006Customs
YFORForwarder Cost
YIADInbound Add Csts
YINBInbound Frt Csts
YINTInterco. Freight

Assign shipment cost types and item categories

TransactionPathTable/view
T_56SPRO > Logistics Execution > Transportation > Shipment Costs > Shipment Cost Document > Shipment Cost Types and Item CategoriesV_TVFTK
SAP screen: Assign shipment cost types and item categories

For each shipment cost type, assign the item categories to control when and how they’re pulled into the SCD. You also assign the valuation class here, which drives G/L account determination.

Rec.indic. is tied to the shipment stage type. Depending on whether the stage is the shipment header, a leg, a load transfer point and so on, you assign the right item category for the SCD.

You can also set, per shipment cost type, whether an item category is assigned automatically, can be assigned manually, or can appear twice in the same document.

Maintain shipment cost relevance and default shipment cost type

TransactionPathTable/view
SPROSPRO > Logistics Execution > Transportation > Shipment Costs > Shipment Cost Document > Shipment Cost Relevance and Default for Shipment CostVC_TVTK_VF

Here you assign shipment cost types to shipment types:

SAP screen: Maintain shipment cost relevance and default shipment cost type
SAP screen: Maintain shipment cost relevance and default shipment cost type

Define shipment cost relevance for shipment types

TransactionPathTable/view
T_57SPRO > Logistics Execution > Transportation > Shipment Costs > Shipment Cost Document > Shipment Cost Relevance and Default for Shipment CostVC_TVTK_VF

Set the level at which shipment costs are calculated. For example, choosing “leg” for a shipment type means the stages are relevant for shipment costs but the header isn’t. If the shipment type isn’t relevant for shipment costs, you can’t post the SCD to finance.

SAP screen: Define shipment cost relevance for shipment types

Pricing

Before you create an SCD, the pricing procedures must be assigned with their conditions, and rates must exist for those conditions. Without rates the document is still created (with 0.00) but not transferred. Shipment cost calculation is entirely based on the SAP condition technique, shown below.

SAP screen: Pricing

Condition types, scales and pricing procedures work the same way as in other SAP documents. There’s plenty of material on that elsewhere, so I won’t go deep here. I’ll add examples later.

Define and assign shipping type procedure groups. The shipping type procedure group is linked to the shipping type (mostly the mode of transport). It’s used to determine the pricing procedure automatically when the SCD is created.

TransactionPathTable/view
T_72 / T_08SPRO > Logistics Execution > Transportation > Shipment Costs > Pricing > Pricing Control > Define and Assign Pricing ProceduresVC_TVFCV

Relevant setting: VC_TVFCV, define and assign shipping type procedure group (T_72).

SAP screen: Pricing
SAP screen: Pricing

Define and assign item procedure groups. Each item category needs an item procedure group. You create them here, and they’re also used in automatic pricing procedure determination.

TransactionPathTable/view
T_71SPRO > Logistics Execution > Transportation > Shipment Costs > Pricing > Pricing Control > Define and Assign Pricing ProceduresVC_TVFT_Z
  • VC_TVFT_Z: Define and assign item procedure groups (T_71)
  • The group comes from the item category.
SAP screen: Pricing
SAP screen: Pricing

Define service agent procedure groups for shipment costs. Another element available for automatic pricing determination. The service agent procedure group is entered on the Control tab of the freight agent’s vendor master (XK01).

TransactionPathTable/view
SPROSPRO > Logistics Execution > Transportation > Shipment Costs > Pricing > Pricing Control > Define and Assign Pricing ProceduresV_TVFCD

V_TVFCD: service agent procedure group for shipment costs.

SAP screen: Pricing

Maintain pricing procedures. If you know pricing procedures from sales or purchase orders, the shipment pricing procedure is the same. It uses condition types and access sequences to read condition records (entered, for example, in TK11).

TransactionPathTable/view
SPROSPRO > Logistics Execution > Transportation > Shipment Costs > Pricing > Pricing Control > Define and Assign Pricing ProceduresVVC_T683_FA

VVC_T683_FA: procedures.

SAP screen: Pricing

Define pricing procedure determination for shipment costs. The pricing procedure is determined automatically in the SCD from the combination of item procedure group, service agent procedure group and shipping type procedure group. You can’t enter a procedure manually in the SCD.

TransactionPathTable/view
T_73SPRO > Logistics Execution > Transportation > Shipment Costs > Pricing > Pricing Control > Define and Assign Pricing ProceduresVC_TVFCSF

VC_TVFCSF: determine pricing procedure (T_73).

SAP screen: Pricing

Determination depends on:

  • Transportation planning point (shipment header)
  • Item group (from the SCD item category)
  • Service agent group (service agent master)
  • Shipping type group (from the shipping type)
SAP screen: Pricing

Maintain condition types. Set the calculation type to E to calculate freight on net weight, or D for gross weight, based on the delivery weight.

TransactionPathTable/view
T_06SPRO > Logistics Execution > Transportation > Shipment Costs > Pricing > Pricing Control > Define Condition TypeV_T685A
SAP screen: Pricing
SAP screen: Pricing

Settlement

Settlement usually creates a purchase order and a service entry sheet, so you need to assign a purchasing organization, purchasing group and plant to each transportation planning point and shipment type.

TransactionPathTable/view
T_53SPRO > Logistics Execution > Transportation > Shipment Costs > Settlement > Assign Purchasing DataV_TVFP
SAP screen: Settlement

Account determination

Group together valuation areas. Account determination is based on valuation area and company code. In most companies this is FI’s job, not SD’s, so I only cover it at a high level.

TransactionPathTable/view
OMWDSPRO > Materials Management > Valuation and Account Assignment > Account Determination > Group Together Valuation AreasV_001K_K
SAP screen: Account determination

Define valuation classes. Create and assign valuation classes here. The valuation class is what you assign to the shipment cost type and item category (see above).

TransactionPathTable/view
OMSKSPRO > Materials Management > Valuation and Account Assignment > Account Determination > Define Valuation ClassesV_025K / V025 / V_134_K
  • V_025K, account category reference: create the account category references.
SAP screen: Account determination
  • V025, valuation classes: define the valuation classes for each account category reference.
SAP screen: Account determination
  • V_134_K, account category reference per material type: assign an account category reference to each material type.
SAP screen: Account determination

Automatic G/L account determination. The freight expense account is determined from transaction key GBB with general modification VBR and the valuation class.

TransactionPath
OMWBSPRO > Logistics Execution > Transportation > Shipment Costs > Settlement > Automatic G/L Account Determination
SAP screen: Account determination

The GR/IR account is determined from transaction key WRX and the valuation class.

SAP screen: Account determination

Automatic determination of CO assignments. When the SCD is created, the G/L account comes from the configuration above, including the valuation class. But how does the cost center get there? As mentioned earlier, even when the cost center isn’t the main account assignment, costs still post to it statistically.

This configuration determines the cost center used in the document and in the accrual posting.

TransactionPath
OKB9SPRO > Logistics Execution > Transportation > Shipment Costs > Settlement > Automatic Determination of CO Assignments
SAP screen: Account determination

Business process

Create transportation condition records

Maintain the rates agreed with the freight agent. This is needed for automatic freight calculation when the SCD is created.

TransactionPath
TK11SAP Easy Access > Logistics > Master Data > Transportation > Shipment Cost > Price

Create the delivery

Create the delivery with reference to the sales order and pick the goods. The delivery is the source document for the shipment. Use VL01N, or VL10B to create them collectively.

Create the shipment

Once the delivery’s transportation planning status is open, you can create a shipment to schedule the transport.

Create it in VT01N.

Enter the service agent (in some cases it’s proposed from the route, as explained above).

Before the next step, make sure the delivery is goods-issued and the shipment has reached “shipment start”.

Create the Shipment Cost Document and settle costs

Go to VI01, enter the shipment number and press Enter:

SAP screen: Create the Shipment Cost Document and settle costs

On the next screen, just save.

SAP screen: Create the Shipment Cost Document and settle costs

If everything is in place (a rate was found and the G/L account and other account assignments were determined), the document posts automatically: accrual, GR/IR, ready for finance to pay the invoice.

To display it, use VI03, enter the shipment cost number and press Enter.

SAP screen: Create the Shipment Cost Document and settle costs

The header status is C C C: calculated, account assignment found, and transferred (posted and ready for finance):

SAP screen: Create the Shipment Cost Document and settle costs

What settlement creates

Once shipment costs are settled in the SCD, the system:

  • Creates a service entry sheet for the determined purchase order.
  • Posts acceptance of the services performed.
  • Creates an accounting document for the accrual.
  • Creates further follow-on documents in FI.

User exits

EnhancementDescription
V54B0001Shipment Costing: Configure pricing
V54B0003Shipment Costs Calculation: Determine Rate Type and Currency
V54B0004Shipment Costs Calculation: Determine Status
V54C0001Shipment Costing: Description(s) shipment cost item(s)
V54C0002Shipment Costing: Create shipment cost sub-items
V54C0003Shipment Costs Processing: Determine Invoicing Party
V54C0004Shipment Costs Processing: Determine Loc. for Tax Invoice
V54D0001Shipment Costing: Determining the Tax Countries
V54KSFRCDetermining the factors for apportionment of shipment costs
V54P0001Extended Function Codes for Shipment Cost Information
V54U0001Shipment Cost processing: Check whether changes made
V54U0002Check shipment costs for completion
V54U0003Specification of shipment cost number
V54U0004Formatting for update of new objects (shipment costs)
V54U0005Updating new objects in shipment cost processing
V54U0006Shipment Purchase Order: Header Data Supply
V54U0007Shipment Purchase Order: Item Data Supply

BAdIs

BAdIDescription
BADI_SCD_ACCTGCall During Shipment Cost Account Assignment
BADI_SCD_CREATEWhen Generating a Shipment Costs Document
BADI_SCD_CREATE_CHCKFor Checks When Creating a Shipment Costs Document
BADI_SCD_PO_SELECTCall for the Purchase Order Item Determination
BADI_SCD_PROCESS_CHKFor Checks During Shipment Costs Processing
BADI_SCD_SAVEWhen Saving Shipment Costs Documents
BADI_SCD_TRANSFERFor Transferring Shipment Cost Items

That’s it. I hope it helps.

Logistics illustration

Comments

12 responses to “LE-TRA – Shipment & Shipment Cost Document Configuration”

  1. Raj Avatar
    Raj

    Really detailed and useful information,i appreciate the efforts.
    Kindly let me know how freight is transferred from Shipment Cost document to SD delivery note for billing same freight cost to customer.Rest processes are clear.
    .

    Like

  2. Tushar Ramteke Avatar
    Tushar Ramteke

    Thanks for the Detailed Document.

    Liked by 1 person

    1. leandropia Avatar

      You are very welcome Tushar! Thanks for stopping by and leaving a comment! Good Luck!

      Like

  3. Dhanabal Avatar
    Dhanabal

    Awesome document….very useful….Thanks Leandropia

    Liked by 1 person

  4. Ramya Avatar
    Ramya

    Thank you very much for the document!

    Could you please clarify my query?

    During shipment cost document creation GL account is picked automatically but cost center is not filled during creation.

    I have maintained, OMWB and OKB9 settings but still in Assigned tab is having B (partially completed) instead C.

    Could you please suggest some work around?

    Thanks,
    Ramya

    Like

    1. leandropia Avatar

      How many items do you have in the Shipment Cost Document? If more than 1, it is all of them getting the B status? If one of the items is getting the account assigment as C and the other as B, can you spot what is the difference between them? The account assignment, if you don’t have any change in the SCD_ACCT badi it is straight and forward, I mean, if the GL account is found, it looks on OKB9 and bring the CC from there.

      Like

  5. Amit Avatar
    Amit

    How this will work for PO cycle and inbound delivery. Can you share a document :

    PO (Vendor A)- INBOUND DELIVERY- SHIPMENT DOCUMENT-SHIPMENT COST-AUTOMATIC SERVICE PO-

    Like

  6. Amit Avatar
    Amit

    SERVICE PO WILL BE FOR VENDOR B

    Like

  7. Michel Avatar

    Are all types of material allowed? Even raw or semi-finished?

    Like

    1. leandropia Avatar

      Michael, I didn’t get your point, could you please elaborate?

      Like

  8. Zachary Avatar

    I enjoyed readding this

    Like

Leave a Reply