# SAP ECC Shipment and Shipment Cost Tables (VTTK, VTTP, VFKK, VFKP)

> Source: https://netray.co/tools/sap-ecc-shipment-and-shipment-cost-tables-vttk-vfkk-reference
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: Free Tools

## Short answer

Tables and transactions for SAP LE-TRA shipments and shipment costs, with key fields and the join path from delivery to shipment cost document.

## Category

sap

## Erp

SAP ECC 6.0

## Audience

- SAP SD / LE consultant
- ABAP developer
- Logistics analyst
- Freight accountant

## Tool

**Kind:** worksheet

**Mode:** reference

**Columns:**

#### Object

**Key:** obj

**Type:** text

#### Type

**Key:** type

**Type:** select

**Options:**

- Table
- T-code

#### Description

**Key:** desc

**Type:** text

#### Key fields

**Key:** keys

**Type:** text

#### Join path

**Key:** join

**Type:** text

**Rows:**

**Obj:** VTTK

**Type:** Table

**Desc:** Shipment header: shipment type SHTYP, planning point TPLST, overall status STTRG, forwarding agent TDLNR, completion date DTABF

**Keys:** TKNUM

**Join:** VTTP on TKNUM; TVTK on SHTYP

**Obj:** VTTP

**Type:** Table

**Desc:** Shipment items: one row per delivery in the shipment

**Keys:** TKNUM, TPNUM

**Join:** VTTP-VBELN = LIKP-VBELN

**Obj:** VTTS

**Type:** Table

**Desc:** Stages of transport (legs, load and border points)

**Keys:** TKNUM, TSNUM

**Join:** VTSP on TKNUM, TSNUM

**Obj:** VTSP

**Type:** Table

**Desc:** Stage of transport to shipment item allocation

**Keys:** TKNUM, TSNUM, TPNUM

**Join:** VTTS and VTTP

**Obj:** VTFA

**Type:** Table

**Desc:** Shipment document flow: preceding and subsequent documents

**Keys:** TKNUM, VBELV, POSNV, VBTYP_V, VBELN, POSNN, VBTYP_N

**Join:** TKNUM to VTTK

**Obj:** VFKK

**Type:** Table

**Desc:** Shipment cost header

**Keys:** FKNUM

**Join:** VFKP on FKNUM

**Obj:** VFKP

**Type:** Table

**Desc:** Shipment cost items: REBEL is the referenced document (the shipment number for shipment-based cost items), REFTY its document category; KNUMV links to pricing

**Keys:** FKNUM, FKPOS

**Join:** VFKP-REBEL = VTTK-TKNUM; VFKP-KNUMV to VFSI and KONV

**Obj:** VFSI

**Type:** Table

**Desc:** Shipment cost sub-items, for example per delivery item

**Keys:** KNUMV, KPOSN

**Join:** VFSI-KNUMV = VFKP-KNUMV; VBELN, POSNR to LIPS

**Obj:** VFKN

**Type:** Table

**Desc:** Account assignment of shipment cost items (cost center, order, G/L)

**Keys:** FKNUM, FKPOS, LFNKN

**Join:** VFKP on FKNUM, FKPOS

**Obj:** TVTK

**Type:** Table

**Desc:** Shipment types (customizing)

**Keys:** SHTYP

**Join:** VTTK-SHTYP

**Obj:** VEKP / VEPO

**Type:** Table

**Desc:** Handling unit header and items; cross-check packed quantities in a shipment

**Keys:** VENUM / VENUM, VEPOS

**Join:** VEKP-VPOBJKEY to delivery or shipment

**Obj:** LIKP / LIPS

**Type:** Table

**Desc:** Delivery header and items, the start of the join

**Keys:** VBELN / VBELN, POSNR

**Join:** LIKP-VBELN = VTTP-VBELN

**Obj:** VT01N

**Type:** T-code

**Desc:** Create shipment

**Keys:** -

**Join:** Writes VTTK, VTTP

**Obj:** VT02N

**Type:** T-code

**Desc:** Change shipment

**Keys:** -

**Join:** -

**Obj:** VT03N

**Type:** T-code

**Desc:** Display shipment

**Keys:** -

**Join:** -

**Obj:** VT04

**Type:** T-code

**Desc:** Create shipments in collective processing (background capable)

**Keys:** -

**Join:** Uses selection variants and grouping rules

**Obj:** VI01

**Type:** T-code

**Desc:** Create shipment cost document

**Keys:** -

**Join:** Writes VFKK, VFKP

**Obj:** VI02

**Type:** T-code

**Desc:** Change shipment cost document (calculate, set transfer to create the service PO and entry sheet)

**Keys:** -

**Join:** -

**Obj:** VI03

**Type:** T-code

**Desc:** Display shipment cost document

**Keys:** -

**Join:** -

**Obj:** VI04

**Type:** T-code

**Desc:** Create shipment cost documents in collective processing

**Keys:** -

**Join:** Selects shipments due for costing

**Notes:** Field roles verified against the SAP ECC dictionary. In S/4HANA, LE-TRA shipments and shipment costs remain available, with SAP Transportation Management as the strategic successor; check the Simplification List for your target release before planning changes to VTTK-based reports.

## Content

**Intro:** This reference lists the SAP ECC 6.0 tables and transactions for shipments (LE-TRA) and shipment costs, with key fields and the join path from delivery to shipment cost document. Use it to build freight reports or trace why a shipment has no cost document.

**Sections:**

#### The join path from delivery to freight cost

**Body:** Start at LIKP with the delivery number. VTTP has one row per delivery in a shipment, so VTTP-VBELN = LIKP-VBELN gives the shipment number TKNUM; one delivery can sit in more than one shipment (for example a preliminary leg and a main leg). VTTK holds the shipment header. Shipment cost items in VFKP point back to the shipment through REBEL (referenced document) with REFTY as the document category, so VFKP-REBEL = VTTK-TKNUM finds the cost items, and VFKK is their header through FKNUM. Calculated amounts sit in the pricing conditions (KONV through VFKP-KNUMV) and are split to delivery items in VFSI. Account assignment for settlement is in VFKN.

**Bullets:**

- LIKP-VBELN to VTTP-VBELN
- VTTP-TKNUM to VTTK-TKNUM
- VTTK-TKNUM to VFKP-REBEL
- VFKP-FKNUM to VFKK-FKNUM

#### Worked example: freight cost per delivery

**Body:** A controller wants freight cost for delivery 80001234. VTTP returns shipment 0000004711, item 0001. VFKP with REBEL = 0000004711 returns shipment cost document 0000000123, item 000001, with net value in NETWR and KNUMV 0000876543. VFSI with KNUMV 0000876543 lists sub-items per delivery item, each with its share of the cost in NETWR, so summing VFSI for VBELN 80001234 gives that delivery's freight. VFKN shows the cost center or G/L the cost was assigned to when the document was transferred, which creates a service purchase order and entry sheet for settlement with the carrier.

#### Version differences and gotchas

**Body:** STTRG in VTTK is the overall status: blank planned, 1 planning completed, 2 check-in, 3 loading start, 4 loading end, 5 shipment completion, 6 shipment start, 7 shipment end. Shipment cost relevance comes from the shipment type and the item category of the shipment cost type, so a shipment can exist without any VFKK. Do not assume VTTK disappears in an S/4HANA upgrade: LE-TRA is still delivered, and the decision to move to SAP TM is separate. Check the Simplification List for your target release instead of searching for a replacement table that may not exist.

#### How to check the result in the system

**Body:** Open the shipment in VT03N and use Environment > Document flow to see the delivery and shipment cost documents. In VI03, the cost item's detail shows the reference to the shipment and the settlement data. If your SE16N join and the document flow disagree, check VTFA, which stores the shipment flow.

**Cta:** If your logistics team wants to ask SAP ECC in plain English what freight cost a customer or lane carried last month, we can add a private AI layer over these tables on your own servers.

**Faq:**

#### Which table holds the shipment cost document in SAP SD?

**Answer:** VFKK is the shipment cost header (key FKNUM) and VFKP holds the shipment cost items (FKNUM, FKPOS). Sub-items per delivery item are in VFSI, linked through the condition number KNUMV, and account assignment for settlement is in VFKN.

#### What is the transaction code for shipment cost in SAP?

**Answer:** VI01 creates, VI02 changes and VI03 displays a shipment cost document. VI04 creates shipment cost documents in collective processing, often scheduled as a background job. Shipments themselves are VT01N, VT02N and VT03N, with VT04 for collective creation.

#### How do I link a delivery to its shipment in SAP?

**Answer:** Read VTTP with VBELN equal to the delivery number to get TKNUM, then read VTTK with TKNUM for the header. One delivery can appear in several shipments, so expect more than one row. VTFA also records the shipment document flow.

#### Is VTTK replaced in S/4HANA?

**Answer:** LE-TRA shipments, including VTTK and VFKK, are still part of S/4HANA, with SAP Transportation Management positioned as the strategic successor. Whether you keep LE-TRA is a project decision. Check the Simplification List for your exact target release before rewriting reports.

## Search terms

shipment cost table in sap sd, table for shipment cost document in sap sd, shipment cost tcode in sap, vttk replacement table for 2023 upgrade sap, sap shipment tables, vttk vttp join, vfkk vfkp table

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
