Beyond ABAPdesigned by@Tejoram97
Beyond ABAP / SD ABAP / SD T-Codes & Tables Reference

SD T-Codes & Tables Reference

SD ABAP · Logistics ·

Open the interactive lesson →
  1. Area menus and master data
  2. Inquiry, quotation, contract and sales order
  3. Delivery, the VL06 monitors and shipment
  4. Billing
  5. Pricing and account determination
  6. Credit, output, rebates and availability
  7. Vendor and other non-SD t-codes
  8. Tables: customer and material master
  9. Tables: sales, delivery, shipment and billing documents
  10. Tables: pricing, credit, rebate, handling unit, output and customizing
  11. Interview questions

Quick reference of SD transaction codes and tables, grouped by process step. One line per entry; the explanations are on pages 01–04. Legacy = still works in ECC (often also in S/4HANA) but has a successor; S/4 = S/4HANA-specific. The general developer t-codes are in ABAP Points › T-Codes, the cross-module tables in ABAP Points › Tables (Part 3 SD).

Part 1 – Area menus and master data

1.1 Area menus

T-code

What it does

Notes

SPRO

Customizing – SAP Reference IMG (Sales and Distribution, Logistics Execution)

Functional consultants maintain SD settings here

VS00

SD master data menu

VC00

Sales support menu (sales activities, promotions) – ECC; Sales Support (SD-CAS) is not available in S/4HANA

VA00

Sales menu (inquiry, quotation, order, contract)

VL00

Shipping menu (deliveries, picking, goods issue)

VT00

Transportation menu (shipments)

VF00

Billing menu

  • In S/4HANA the business users work mostly with Fiori apps; the SAP GUI t-codes still exist on-premise and are what you use to test your code.

1.2 Customer, material and CMIR

T-code

What it does

Notes

BP

Business partner – create, change, display customers (and suppliers)

S/4: the only maintenance t-code; roles FLCU00 (FI) and FLCU01 (sales)

XD01 / XD02 / XD03

Customer create / change / display centrally (general, company code, sales area)

Legacy → BP (redirects in S/4HANA)

XD04 / XD05 / XD06 / XD07

Customer change documents / block / deletion flag / change account group

Legacy → BP

VD01 / VD02 / VD03

Customer create / change / display – sales view (general + sales area data)

Legacy → BP

FD01 / FD02 / FD03

Customer create / change / display – accounting view (general + company code data)

Legacy → BP (redirects in S/4HANA); FD03 is the FI display in ECC

MM01 / MM02 / MM03

Material create / change / display (sales views: Sales Org 1/2, Sales General/Plant)

Material is called product in S/4HANA

VD51 / VD52 / VD53

Customer-material info record (CMIR) create / change / display

Table KNMT

  • Concepts (business partner, CVI, sales area data, CMIR): see page 01.

Part 2 – Inquiry, quotation, contract and sales order

2.1 Inquiry and quotation

T-code

What it does

Notes

VA11 / VA12 / VA13

Inquiry create / change / display

Document type IN

VA15

List of inquiries

VA21 / VA22 / VA23

Quotation create / change / display

Document type QT

VA25

List of quotations

VA26

Collective processing of quotations (follow-up actions on many at once)

2.2 Contract and scheduling agreement

T-code

What it does

Notes

VA41 / VA42 / VA43

Contract create / change / display (quantity, value, service, master contract)

Contract data in table VEDA

VA42W

Workflow for master contracts – passes master contract changes to its lower-level contracts

VA45

List of contracts

VA46

Collective subsequent processing of contracts

VA31 / VA32 / VA33

Scheduling agreement create / change / display

Delivery schedule in the schedule lines

2.3 Sales order

T-code

What it does

Notes

VA01 / VA02 / VA03

Sales order create / change / display (also returns RE, credit / debit memo requests CR / DR)

User exits in MV45AFZZ – see page 04

VA05

List of sales orders

VA05N = newer selection screen

VA07

Compare sales – purchasing, selection by order (sales order items vs their purchase requisitions)

Third-party and individual purchase order items

VA08

Compare sales – purchasing, selection by organizational data

VA14L

Sales documents blocked for delivery

V.02

Incomplete sales orders (incompletion log)

Log in table VBUV

  • Document flow has no own t-code: in VA03 (or VL03N, VF03) use Environment › Display document flow. Processes and document types: see page 02.

Part 3 – Delivery, the VL06 monitors and shipment

3.1 Outbound and inbound delivery

T-code

What it does

Notes

VL01N

Create outbound delivery with order reference

VL01NO

Create outbound delivery without order reference

VL02N

Change outbound delivery – picking quantities, packing, post goods issue

User exits in MV50AFZ1 – see page 04

VL03N

Display outbound delivery

VL01 / VL02 / VL03

Create / change / display delivery (old screens)

Legacy → VL01N / VL02N / VL03N

VL04

Process delivery due list (old)

Legacy → VL10 family

VL10

Delivery due list – user-specific list of documents due for delivery

Creates deliveries collectively

VL10A

Sales orders due for delivery

VL10B

Purchase orders (stock transport orders) due for delivery

VL10G

All documents due for delivery (sales orders and stock transport orders)

VL08

Confirm a picking request (picked quantities)

VL09

Cancel (reverse) goods issue for a delivery

VL71

Output from outbound deliveries (print, re-send)

VL31N / VL32N / VL33N

Inbound delivery create / change / display

MM / LE side, for goods receipts

HUMO

Handling unit monitor

Tables VEKP / VEPO

3.2 Delivery monitors (VL06 family)

T-code

Lists

Notes

VL06

Delivery monitor – entry screen for all lists below

VL06O

Outbound delivery monitor

Start here for outbound

VL06F

General list of outbound deliveries

VL06P

Outbound deliveries for picking

VL06C

Outbound deliveries for confirmation (picking / transfer order confirmation)

VL06L

Outbound deliveries to be loaded

VL06T

Outbound deliveries for transportation planning

Input for shipments

VL06G

Outbound deliveries for goods issue

Collective PGI

VL06D

Outbound deliveries for distribution (to a decentralized warehouse system)

VL06U

Unchecked outbound deliveries (saved without full checks)

Check them before processing

VL06I

Inbound delivery monitor

Start here for inbound

VL06IF

General list (selection) of inbound deliveries

VL06IG

Inbound deliveries for goods receipt

VL06IP

Inbound deliveries for putaway

VL06IC

Inbound deliveries for confirmation of putaway

VL06ID

Inbound deliveries for distribution

3.3 Shipment (transportation)

T-code

What it does

Notes

VT01N / VT02N / VT03N

Shipment create / change / display

Tables VTTK / VTTP

VT04

Collective processing – create shipments for many deliveries

VT70

Output for shipments

  • S/4HANA: classic LE transportation still works; SAP TM (embedded) is the strategic successor. Picking, packing and shipping concepts: see pages 02 and 03.

Part 4 – Billing

T-code

What it does

Notes

VF01

Create billing document (from deliveries or orders)

User exits in RV60AFZZ – see page 04

VF02 / VF03

Change / display billing document

VF02 also releases to accounting and re-sends output

VF04

Billing due list – bill many documents collectively

VF05

List of billing documents

VF05N = newer version

VF11

Cancel billing document (creates a cancellation document)

VF31

Output from billing documents

VFX3

Release billing documents blocked for accounting

FBL5N

Customer line items (FI) – open and cleared invoices and payments

S/4: also the Fiori app Manage Customer Line Items

FB03

Display the accounting document created by billing

Universal journal ACDOCA in S/4HANA

Part 5 – Pricing and account determination

5.1 Pricing (condition technique)

T-code

What it does

Notes

V/03 / V/04 / V/05

Condition table (pricing) create / change / display

Generates table Annn

V/07

Access sequences (pricing)

Order in which condition tables are searched

V/06

Condition types (pricing), e.g. PR00 / PPR0 price, K007 discount

PPR0 is the S/4HANA price condition

V/08

Pricing procedures

Steps, counters, subtotals, requirements

OVKK

Pricing procedure determination (sales area + document + customer pricing procedure)

VK11 / VK12 / VK13

Condition records create / change / display

Tables Annn → KONH / KONP

5.2 Revenue account determination

T-code

What it does

Notes

V/12 / V/13 / V/14

Condition table (account determination) create / change / display

V/10

Access sequences (account determination)

V/09

Condition types (account determination), e.g. KOFI

V/11

Account determination procedures

VKOA

Assign G/L (revenue) accounts to the account determination keys

Billing → FI posting

  • How the condition technique and account determination work: see page 03.

Part 6 – Credit, output, rebates and availability

6.1 Credit management

T-code

What it does

Notes

FD32

Customer credit limit per credit control area (classic credit management)

Legacy → UKM_BP

UKM_BP

S/4: credit master data of the business partner (credit profile, credit segments, limits)

SAP Credit Management (FIN-FSCM-CR)

UKM_CASE

S/4: documented credit decisions (blocked documents as cases)

List of own decisions: UKM_MY_DCDS

VKM1

Credit-blocked SD documents – check and release

ECC only – not available in S/4HANA (use UKM_MY_DCDS / UKM_CASE)

VKM2

Released SD documents

Classic credit management only

VKM3

Sales documents (blocked and released)

Classic credit management only

VKM4

SD documents – orders and deliveries

ECC only – not available in S/4HANA (use UKM_MY_DCDS / UKM_CASE)

VKM5

Credit-blocked deliveries – check and release

ECC only – not available in S/4HANA (use UKM_MY_DCDS / UKM_CASE)

6.2 Output

T-code

What it does

Notes

NACE

Output types, procedures, processing programs and forms per application (V1 sales, V2 shipping, V3 billing)

Classic NAST output; still possible in S/4HANA

VV11 / VV12 / VV13

Output condition records – sales documents

VV21 / VV22 / VV23

Output condition records – deliveries

VV31 / VV32 / VV33

Output condition records – billing documents

OPD

S/4: output parameter determination (BRF+ rules for form, channel, recipient)

S/4HANA output management

  • Output from documents: VL71 deliveries, VT70 shipments, VF31 billing. Forms: see CORE ABAP › 11 Forms.

6.3 Rebates and availability

T-code

What it does

Notes

VBO1 / VBO2 / VBO3

Rebate agreement create / change / display

Legacy (ECC) → condition contracts

WCOCO

S/4: maintain condition contracts (settlement management)

Replaces SD rebates

CO09

Availability overview (ATP) of a material

S/4: advanced ATP (aATP) Fiori apps

Part 7 – Vendor and other non-SD t-codes

Vendors (suppliers) belong to MM (purchasing) and FI (accounts payable), not SD. In S/4HANA they are business partners too (BP, roles FLVN00 FI and FLVN01 purchasing).

T-code

What it does

Notes

XK01 / XK02 / XK03

Vendor create / change / display centrally

Legacy → BP

XK04

Vendor change documents (centrally)

Legacy → BP

XK05

Block / unblock vendor (centrally)

Legacy → BP

XK06

Mark vendor for deletion (centrally)

Legacy → BP

XK07

Change vendor account group

Legacy → BP

FBL1N

Vendor line items (FI)

S/4: also the Fiori app Manage Supplier Line Items

XEIP

Number range maintenance for object EXPIMP (foreign trade export / import data)

Parameter transaction of SNUM / SNRO

VA44

Actual overhead calculation for sales orders

CO (product cost by sales order), not a contract t-code

Part 8 – Tables: customer and material master

8.1 Customer master

Table

One row holds

ECC → S/4HANA

KNA1

Customer general data (name, address number, country)

Kept; filled from BP via CVI

KNB1

Customer company code data (reconciliation account, payment terms, payment methods)

Kept via CVI

KNB4

Customer payment history (payment behaviour)

KNB5

Customer dunning data (procedure, level, last dunning)

KNBK

Customer bank details

Synced with BP bank data (BUT0BK)

KNVV

Customer sales area data (sales org, channel, division; pricing, shipping, billing)

Kept via CVI

KNVP

Customer partner functions (SP sold-to, SH ship-to, BP bill-to, PY payer)

KNVI

Customer tax classification per country and tax category

KNVK

Contact persons

BP relationship (BUT050)

KNMT

Customer-material info records (CMIR)

ADRC

Addresses (central address management)

ADR6

E-mail addresses

BUT000 / BUT100

S/4: business partner general data / roles

New leading object

CVI_CUST_LINK

S/4: business partner GUID → customer number

8.2 Material master (sales-relevant)

Table

One row holds

ECC → S/4HANA

MARA

Material general data

MATNR 40 characters

MAKT

Material descriptions per language

MARC

Material plant data (MRP, loading group, availability check)

MARD

Material storage location data and stock

Stock calculated from MATDOC

MARM

Units of measure and conversion factors

MVKE

Material sales data per sales org and channel (item category group, delivering plant)

MBEW

Material valuation (price control, price, stock value)

Material ledger mandatory

MLAN

Material tax classification per country

Part 9 – Tables: sales, delivery, shipment and billing documents

9.1 Sales documents

Table

One row holds

ECC → S/4HANA

VBAK

Sales document header (inquiry, quotation, order, contract)

Now also holds the header status fields

VBAP

Sales document item

Now also holds the item status fields

VBEP

Schedule lines (quantities and dates)

VBKD

Business data (pricing date, payment terms, Incoterms, customer PO)

VBPA

Partners of sales, delivery and billing documents

VBFA

Document flow: preceding → subsequent document

Simplified

VBUK

Header status of sales, delivery and billing documents (legacy)

Removed – fields in VBAK, LIKP, VBRK

VBUP

Item status of sales, delivery and billing documents (legacy)

Removed – fields in VBAP, LIPS, VBRP

VEDA

Contract data (validity, cancellation)

VBUV

Incompletion log

VBBE

Sales requirements – individual records (open quantities passed to MRP)

9.2 Delivery and shipment

Table

One row holds

ECC → S/4HANA

LIKP

Delivery header

Now also holds the header status fields

LIPS

Delivery item

Now also holds the item status fields

VBUK / VBUP

Delivery status (legacy)

Removed – fields in LIKP / LIPS

VTTK / VTTP

Shipment header / items (deliveries in the shipment)

9.3 Billing

Table

One row holds

ECC → S/4HANA

VBRK

Billing document header

Now also holds the header status fields

VBRP

Billing document item

ECC: item status in VBUP · S/4HANA: billing status fields moved to the header VBRK, not to VBRP

VBUK / VBUP

Billing status (legacy)

Removed – fields in VBRK

BKPF / BSEG

Accounting document created by billing (AWTYP VBRK, AWKEY = billing number)

Plus ACDOCA (universal journal)

  • Table flow diagram and VBFA fields: ABAP Points › Tables, Part 3.

Part 10 – Tables: pricing, credit, rebate, handling unit, output and customizing

10.1 Pricing

Table

One row holds

ECC → S/4HANA

KONV

Pricing conditions of documents, key KNUMV from VBAK / VBRK (legacy)

Replaced by PRCD_ELEMENTS

KONH

Condition record header

KONP

Condition record item (rate, unit, scale type)

KONM / KONW

Quantity scales / value scales of condition records

Annn

Condition tables: key combination → condition record number (e.g. A004, A305, A352)

Customer tables A501–A999

T685

Condition types

T683S

Pricing procedure steps (T683 = procedures)

T682I

Accesses of an access sequence (T682 = access sequences)

10.2 Credit, rebate, handling unit, output

Table

One row holds

ECC → S/4HANA

KNKK

Customer credit data per credit control area (limit, exposure) (legacy)

→ UKMBP_CMS_SGM (credit segment)

KNKA

Customer central credit data (total limit across areas) (legacy)

→ UKMBP_CMS (BP credit profile)

S066 / S067

Open orders / open deliveries and billing values for the credit check (legacy)

Exposure kept in SAP Credit Management

KONA

Rebate agreements (legacy)

→ condition contracts (header WCOCOH)

VBOX

Rebate-relevant billing index (legacy)

Not needed with condition contracts

VEKP

Handling unit header

VEPO

Handling unit item (content)

NAST

Output records: application, object key, output type, status

Still used where NAST output is active

TNAPR

Processing program, form routine and form per output type

APOC_D_OR_ROOT

S/4: output requests of S/4HANA output management

New

10.3 Organization and customizing

Table

One row holds

ECC → S/4HANA

TVKO / TVTW / TSPA

Sales organizations / distribution channels / divisions

TVTA

Sales areas (sales org + channel + division)

TVBUR / TVKGR

Sales offices / sales groups

TVST

Shipping points

TVAK / TVAP / TVEP

Sales document types / item categories / schedule line categories

TVLK / TVFK

Delivery types / billing types

TVCPA / TVCPL / TVCPF

Copy control: to sales / delivery / billing documents

Maintained with VTAA / VTLA / VTFL, VTFA, VTFF

  • Text tables add a T (TVAKT, TVKOT …). Org structure and assignments: see page 01.

Part 11 – Interview questions

Q1. Which tables link a sales order to its delivery and invoice?

VBAK/VBAP → VBFA (document flow) → LIKP/LIPS for the delivery and VBRK/VBRP for the invoice. VBFA holds preceding document VBELV/POSNV and subsequent document VBELN/POSNN.

Q2. Where is the overall status of a sales order in S/4HANA?

In VBAK itself (for example GBSTK overall status). VBUK/VBUP no longer exist; header status moved to VBAK, LIKP and VBRK, item status to VBAP and LIPS.

Q3. Where are the pricing conditions of a sales order or invoice?

Read with the condition number KNUMV from VBAK or VBRK: in ECC table KONV, in S/4HANA PRCD_ELEMENTS. Condition master records are in the Annn tables and KONH/KONP.

Q4. Which tables hold customer sales area data and partner functions?

KNVV for sales area data and KNVP for partner functions on the customer; VBPA for the partners of a document. In S/4HANA they are filled from the business partner through CVI.

Q5. Which t-codes set up pricing?

V/03 condition table, V/07 access sequence, V/06 condition type, V/08 pricing procedure, OVKK procedure determination; VK11 maintains the condition records.

Q6. Which t-codes show deliveries waiting for picking or goods issue?

VL06O (outbound delivery monitor), or directly VL06P for picking and VL06G for goods issue. VL10A lists sales orders that are due for delivery.

Q7. How do you release a credit-blocked order, in ECC and in S/4HANA?

ECC: VKM1 lists credit-blocked documents and releases them; S/4HANA: VKM1 is not available – UKM_MY_DCDS (documented credit decisions). Credit limits: FD32 (KNKK) in ECC, UKM_BP (UKMBP_CMS_SGM) in S/4HANA SAP Credit Management.

Q8. How do you find the output of a billing document?

Classic output: NAST with application V3 and the billing number as object key; re-send with VF31. S/4HANA output management: output requests in APOC_D_OR_ROOT, rules in OPD.

🏠 Start Here · ◀ 04 · SD for Developers · 06 · Interview Questions ▶ · Sections: CORE ABAP | OOPS ABAP | ABAP on HANA | Clean Core | RAP | ABAP Points | SAP Fiori | SAPUI5 | Mobile Development (MDK) | BTP Foundations | BTP Development | CAP | SAP Build | ABAP on BTP | Integration Suite | SAP Business AI | SAP BASIS | Security | SAP SDLC

Functional: FICO ABAP | TRM ABAP | VIM | SAP BIS | SD ABAP | MM ABAP | PP ABAP | QM ABAP | PM ABAP | PS ABAP | EWM | TM ABAP | GTM ABAP | EHS ABAP | HR ABAP | BW | SAP Datasphere | SAP Business Data Cloud | SAP MDG | SAP Analytics Cloud | SAP Ariba | SAP CX | SAP IBP