B040 SAP table for – Document Type/Document Status

Here we would like to draw your attention to B040 table in SAP. As we know it is being mainly used with the SAP SD-MD (Master Data in SD) component which is coming under SD module (Sales & Distribution). B040 is a SAP standard transparent table used for storing Document Type/Document Status related data in SAP. It comes under the package VKON.

SAP B040 table

Table B040 technical data

TableB040
Data storingDocument Type/Document Status
ModuleSD
ComponentSD-MD
SAP PackageVKON
Delivery ClassA – Application table (master and transaction data)
Table CategoryTRANSPARENT

SAP B040 Table Fields

Here is the details of each fields in this table.You can find the discription, data type and assigned lenth of each of the fields in B040 table.

  • MANDT : Client
    Its a key field. Its data type is C (Character String) with field length 3
  • KAPPL : Application
    Its a key field. Its data type is C (Character String) with field length 2
  • KSCHL : Condition Type
    Its a key field. Its data type is C (Character String) with field length 4
  • DOKAR
    Its a key field. Its data type is C (Character String) with field length 3
  • DOKST
    Its a key field. Its data type is C (Character String) with field length 2
  • KNUMH : Condition record number
    Its data type is C (Character String) with field length 10