SAP Table SAPI_MD_HEADER_CTRL

Step API: Header Control For Material Document

SAPI_MD_HEADER_CTRL (Step API: Header Control For Material Document) is a standard table in SAP R\3 ERP systems. Below you can find the technical details of the fields that make up this table. Key fields are marked in blue.

Additionally we provide an overview of foreign key relationships, if any, that link SAPI_MD_HEADER_CTRL to other SAP tables.

SAPI_MD_HEADER_CTRL table fields

Field Data element Checktable Datatype Length Decimals
DOC_KEY Document Key WB2_DOC_KEY CHAR 42 0
MBLNR Number of Material Document MBLNR CHAR 10 0
MJAHR Material Document Year MJAHR NUMC 4 0
MKPF WB2_MKPF STRU 0 0
MANDT Client MANDT CLNT 3 0
MBLNR Number of Material Document MBLNR CHAR 10 0
MJAHR Material Document Year MJAHR NUMC 4 0
VGART Transaction/Event Type VGART CHAR 2 0
BLART Document Type BLART CHAR 2 0
BLAUM Document type of revaluation document BLAUM CHAR 2 0
BLDAT Document Date in Document BLDAT DATS 8 0
BUDAT Posting Date in the Document BUDAT DATS 8 0
CPUDT Day On Which Accounting Document Was Entered CPUDT DATS 8 0
CPUTM Time of Entry CPUTM TIMS 6 0
AEDAT Changed On AEDAT DATS 8 0
USNAM User name USNAM CHAR 12 0
TCODE Not More Closely Defined Area, Possibly Used for Patchlevels CHAR4 CHAR 4 0
XBLNR Reference Document Number XBLNR1 CHAR 16 0
BKTXT Document Header Text BKTXT CHAR 25 0
FRATH Unplanned delivery costs FRATH CURR 13 2
FRBNR Number of Bill of Lading at Time of Goods Receipt FRBNR1 CHAR 16 0
WEVER Version for Printing GR/GI Slip WEVER CHAR 1 0
1 Individual Slip
2 Individual Slip with Inspection Text
3 Collective Slip
XABLN Goods Receipt/Issue Slip Number XABLN CHAR 10 0
AWSYS Logical System LOGSYSTEM CHAR 10 0
BLA2D Doc. type for additional doc. in purchase account management BLA2D CHAR 2 0
TCODE2 Transaction Code TCODE CHAR 20 0
BFWMS Control posting for external WMS BFWMS CHAR 1 0
2 Execute stock change in ERP
1 Create delivery and transmit to WM
EXNUM Number of foreign trade data in MM and SD documents EXNUM CHAR 10 0
SPE_BUDAT_UHR Time of Goods Issue (Local, Relating to a Plant) WAUHR TIMS 6 0
SPE_BUDAT_ZONE Time Zone TZNZONE CHAR 6 0
LE_VBELN Delivery VBELN_VL CHAR 10 0
SPE_LOGSYS Logical System of EWM Material Document /SPE/_LOGSYS_MD CHAR 10 0
SPE_MDNUM_EWM Number of Material Document in EWM /SPE/MDNUM_EWM CHAR 16 0
GTS_CUSREF_NO Customs Reference Number for Scrapping /SAPSLL/SCREF_SPI CHAR 35 0
FLS_RSTO Store Return with Inbound and Outbound Delivery FLS_RSTO CHAR 1 0
X Yes
NULL No
MSR_ACTIVE Advanced Returns Management Active MSR_ACTIVE CHAR 1 0
X Adv. Returns Is Active
NULL Adv. Returns Is Not Active
KNUMV Number of the document condition KNUMV CHAR 10 0
LFSNR Number of External Delivery Note LFSNR1 CHAR 16 0
OIB_BLTIME Posting time in the document OIB_BLTIME TIMS 6 0
SCENARIO_GT Business Scenario WB2_BUSINESS_SCENARIO CHAR 2 0
FILTERED_OUT_GT Filtered Out WB2_FILTERED_OUT CHAR 1 0
EXTERNAL_NO_GT Trading Contract: External Document Number TKONN_EX CHAR 30 0
GUID_GT GUID in 'CHAR' format with upper-/lowercase (!) GUID_22 CHAR 22 0
T001_WAERS_GT Currency Key WAERS CUKY 5 0
ASSOC_QUAN_B Checkbox XFELD CHAR 1 0
X Yes
NULL No
UNIT_OF_QUAN_B Checkbox XFELD CHAR 1 0
X Yes
NULL No
ASSOC_QUAN_S Checkbox XFELD CHAR 1 0
X Yes
NULL No
UNIT_OF_QUAN_S Checkbox XFELD CHAR 1 0
X Yes
NULL No
ASSOC_QUAN_P Checkbox XFELD CHAR 1 0
X Yes
NULL No
UNIT_OF_QUAN_P Checkbox XFELD CHAR 1 0
X Yes
NULL No
PSTNG_DATE Checkbox XFELD CHAR 1 0
X Yes
NULL No
DOC_DATE Checkbox XFELD CHAR 1 0
X Yes
NULL No
REF_DOC_NO Checkbox XFELD CHAR 1 0
X Yes
NULL No
BILL_OF_LADING Checkbox XFELD CHAR 1 0
X Yes
NULL No
GR_GI_SLIP_NO Checkbox XFELD CHAR 1 0
X Yes
NULL No
PR_UNAME Checkbox XFELD CHAR 1 0
X Yes
NULL No
HEADER_TXT Checkbox XFELD CHAR 1 0
X Yes
NULL No