SAPFree referencePDF, Excel, Word exportSAP ECC 6.0All SAP ECC 6.0 tools

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

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.

Download:
ObjectTypeDescriptionKey fieldsJoin path
VTTK
Table
Shipment header: shipment type SHTYP, planning point TPLST, overall status STTRG, forwarding agent TDLNR, completion date DTABF
TKNUM
VTTP on TKNUM; TVTK on SHTYP
VTTP
Table
Shipment items: one row per delivery in the shipment
TKNUM, TPNUM
VTTP-VBELN = LIKP-VBELN
VTTS
Table
Stages of transport (legs, load and border points)
TKNUM, TSNUM
VTSP on TKNUM, TSNUM
VTSP
Table
Stage of transport to shipment item allocation
TKNUM, TSNUM, TPNUM
VTTS and VTTP
VTFA
Table
Shipment document flow: preceding and subsequent documents
TKNUM, VBELV, POSNV, VBTYP_V, VBELN, POSNN, VBTYP_N
TKNUM to VTTK
VFKK
Table
Shipment cost header
FKNUM
VFKP on FKNUM
VFKP
Table
Shipment cost items: REBEL is the referenced document (the shipment number for shipment-based cost items), REFTY its document category; KNUMV links to pricing
FKNUM, FKPOS
VFKP-REBEL = VTTK-TKNUM; VFKP-KNUMV to VFSI and KONV
VFSI
Table
Shipment cost sub-items, for example per delivery item
KNUMV, KPOSN
VFSI-KNUMV = VFKP-KNUMV; VBELN, POSNR to LIPS
VFKN
Table
Account assignment of shipment cost items (cost center, order, G/L)
FKNUM, FKPOS, LFNKN
VFKP on FKNUM, FKPOS
TVTK
Table
Shipment types (customizing)
SHTYP
VTTK-SHTYP
VEKP / VEPO
Table
Handling unit header and items; cross-check packed quantities in a shipment
VENUM / VENUM, VEPOS
VEKP-VPOBJKEY to delivery or shipment
LIKP / LIPS
Table
Delivery header and items, the start of the join
VBELN / VBELN, POSNR
LIKP-VBELN = VTTP-VBELN
VT01N
T-code
Create shipment
-
Writes VTTK, VTTP
VT02N
T-code
Change shipment
-
-
VT03N
T-code
Display shipment
-
-
VT04
T-code
Create shipments in collective processing (background capable)
-
Uses selection variants and grouping rules
VI01
T-code
Create shipment cost document
-
Writes VFKK, VFKP
VI02
T-code
Change shipment cost document (calculate, set transfer to create the service PO and entry sheet)
-
-
VI03
T-code
Display shipment cost document
-
-
VI04
T-code
Create shipment cost documents in collective processing
-
Selects shipments due for costing

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.

Get a freight cost report outline for your ECC system

Tell us your shipment types and cost types and we will outline a read-only freight cost report from delivery to settlement.

Optional. The tool and every export work without this. No spam.

Was this tool useful?

The join path from delivery to freight cost

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.

  • 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

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

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

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.

Frequently Asked Questions

Which table holds the shipment cost document in SAP SD?

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?

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?

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?

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.

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.

ArchRay builder
Design the on-prem AI stack for SAP ECC 6.0: model, GPUs, RAG pipeline, guardrails
See memory, speed and cost as you swap parts, then export the diagram. Free, in your browser.
Open the builder

Keep exploring

Free tools

ERP fixes and how-tos

Runs with your ERP

AI on your ERP

Integrations