DMATDOCITEMDRAFT
Draft table for entity R_MATERIALDOCUMENTITEMTP
DMATDOCITEMDRAFT is an SAP database table in S/4HANA. Draft table for entity R_MATERIALDOCUMENTITEMTP. It contains 91 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| E_MaterialDocumentItemDraft | view_entity | from | EXTENSION | MATDOC items dft - Extension |
| R_MaterialDocumentItemDraft | view_entity | from | BASIC | View for Matdoc Item table-draft |
Fields (91)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | MANDT | Client | |||
| KEY | materialdocumentyear | NSDM_MJAHR | Material Document Year | |||
| KEY | materialdocument | MBLNR | Material Doc. | |||
| KEY | materialdocumentitem | NSDM_MBLPO | Material Document Item | |||
| KEY | draftuuid | SDRAFT_UUID | Draft Document ID | |||
| parentdraftuuid | SDRAFT_UUID | Draft Document ID | ||||
| materialdocumentline | NSDM_MB_LINE_ID | Line ID | ||||
| materialdocumentparentline | MB_PARENT_ID | Parent ID | ||||
| goodsmovementtype | BWART | Movement Type | ||||
| material | MATNR | Material | ||||
| plant | WERKS_D | Plant | ||||
| storagelocation | LGORT_D | Location | ||||
| storagetype | LGTYP | Storage Type | ||||
| storagebin | LGPLA | Storage Bin | ||||
| inventoryusabilitycode | NSDM_INSMK | Posting Control Stock Type | ||||
| quantityinentryunit | ERFMG | Quantity in UnE | ||||
| entryunit | ERFME | Unit of Entry | ||||
| quantityinbaseunit | MENGE_D | Quantity | ||||
| materialbaseunit | MEINS | Base Unit | ||||
| batch | CHARG_D | Batch | ||||
| shelflifeexpirationdate | VFDAT | SLED/BBD | ||||
| manufacturedate | HSDAT | Date of Manuf. | ||||
| inventoryspecialstocktype | NSDM_SPCL_STOCK_TYPE | Special Stock Type | ||||
| inventorystocktype | NSDM_LBBSA | Stock Type | ||||
| customer | EKUNN | Customer | ||||
| supplier | ELIFN | Supplier | ||||
| issgorrcvgmaterial | NSDM_UMAT | Transfer Material | ||||
| issuingorreceivingplant | NSDM_PLANT | Transfer Plant | ||||
| issuingorreceivingstorageloc | UMLGO | Receiving SLoc. | ||||
| issgorrcvgbatch | NSDM_UMCHA | Transfer Batch | ||||
| issgorrcvgspclstockind | SOBKZ | Special Stock | ||||
| issuingorreceivingvaltype | UMBAR | Val. Type Tfr. | ||||
| wbselementinternalid | PS_S4_PSPNR | WBS Internal ID | ||||
| reservation | RSNUM | Reservation | ||||
| reservationitem | NSDM_RSPOS | Reservation Item | ||||
| originalmaterialdocumentitem | URZEI | Orig. line itm | ||||
| goodsmovementrefdoctype | NSDM_KZBEW | Reference Doc. Type | ||||
| goodsmovementreasoncode | MB_GRBEW | Reason for Mvmt | ||||
| materialdocumentpostingtype | KZSTO | Type of posting | ||||
| purchaseorder | BSTNR | Purchase order | ||||
| purchaseorderitem | EBELP | Item | ||||
| costcenter | KOSTL | Cost Center | ||||
| glaccount | SAKNR | G/L Account | ||||
| companycode | BUKRS | Company Code | ||||
| postingdate | BUDAT | Posting Date | ||||
| documentdate | BLDAT | Document Date | ||||
| controllingarea | KOKRS | CO Area | ||||
| costobject | KSTRG | Cost Object | ||||
| profitcenter | PRCTR | Profit Center | ||||
| functionalarea | FKBER | Functional Area | ||||
| accountassignmentcategory | NSDM_KNTTP | Account Assignment Category | ||||
| businessarea | GSBER | Business Area | ||||
| salesorder | KDAUF | Sales Order | ||||
| salesorderitem | NSDM_SALES_ORDER_ITEM | Sales Order Item | ||||
| salesorderscheduleline | NSDM_KDEIN | Sales Order Schedule | ||||
| referencedocumentfiscalyear | LFBJA | Fisc.yr.ref.doc | ||||
| invtrymgmtrefdocumentitem | LFPOS | Ref. Doc. Item | ||||
| invtrymgmtreferencedocument | LFBNR | Reference Doc. | ||||
| deliverydocument | VBELN_VL | Delivery | ||||
| deliverydocumentitem | NSDM_DELIVERY_DOCUMENT_ITEM | Delivery Item | ||||
| reversedmaterialdocumentyear | NSDM_SJAHR | Reversed Doc Year | ||||
| reversedmaterialdocument | NSDM_SMBLN | Reversed Mat Doc | ||||
| reversedmaterialdocumentitem | NSDM_SMBLP | Reversed Doc Item | ||||
| inventoryvaluationtype | BWTAR_D | Valuation Type | ||||
| goodsmovementiscancelled | NSDM_CANCELLED_IND | Is Item Cancelled | ||||
| goodsrecipientname | WEMPF | Recipient | ||||
| unloadingpointname | ABLAD | Unloading Point | ||||
| reservationisfinallyissued | NSDM_KZEAR | Res Final Issue | ||||
| projectnetwork | NPLNR | Network | ||||
| manufacturingorder | NSDM_MANUFACTURING_ORDER | Manufacturing Order | ||||
| manufacturingorderitem | NSDM_MANUFACTURING_ORDER_ITEM | Manufacturing Order Item | ||||
| specialstockidfgsalesorder | MAT_KDAUF | Sales order | ||||
| specialstockidfgsalesorderitem | MAT_KDPOS | Sales ord. item | ||||
| fiscalyear | GJAHR | Fiscal Year | ||||
| fiscalyearperiod | NSDM_JAHRPER | Fiscal Year & Period from Posting date | ||||
| fiscalyearvariant | PERIV | FY Variant | ||||
| iscompletelydelivered | ELIKZ | Deliv. Compl. | ||||
| materialdocumentitemtext | SGTXT | Text | ||||
| ewmwarehouse | /SCWM/LGNUM | Warehouse No. | ||||
| ewmstoragebin | /SCWM/LGPLA | Storage Bin | ||||
| companycodecurrency | NSDM_COMP_CODE_CURRENCY | Company Code Currency | ||||
| gdsmvtextamtincocodecrcy | EXBWR | Ext. Amount LC | ||||
| productstandardid | GLOBALTRADEITEMNUMBER | GTIN | ||||
| isautomaticallycreated | NSDM_XAUTO | Automat. Created | ||||
| serialnumbersarecreatedautomly | XSAUT | SerialNo. auto. | ||||
| draftentitycreationdatetime | SYCH_BDL_DRAFT_CREATED_AT | Created | ||||
| draftentitylastchangedatetime | SYCH_BDL_DRAFT_LAST_CHANGED_AT | Changed | ||||
| draftadministrativedatauuid | SYCH_BDL_DRAFT_ADMIN_UUID | UUID | ||||
| draftentityoperationcode | SYCH_BDL_DRAFT_OPERATION_CODE | Draft - Operation Code | ||||
| hasactiveentity | SYCH_BDL_DRAFT_HASACTIVE | Has active | ||||
| draftfieldchanges | SYCH_BDL_DRAFT_FIELD_CHANGES | Field Changes |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Draft table for entity R_MATERIALDOCUMENTITEMTP
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE DMATDOCITEMDRAFT (
MANDT, -- Client [MANDT]
MATERIALDOCUMENTYEAR, -- Material Document Year [NSDM_MJAHR]
MATERIALDOCUMENT, -- Material Doc. [MBLNR]
MATERIALDOCUMENTITEM, -- Material Document Item [NSDM_MBLPO]
DRAFTUUID, -- Draft Document ID [SDRAFT_UUID]
PARENTDRAFTUUID, -- Draft Document ID [SDRAFT_UUID]
MATERIALDOCUMENTLINE, -- Line ID [NSDM_MB_LINE_ID]
MATERIALDOCUMENTPARENTLINE, -- Parent ID [MB_PARENT_ID]
GOODSMOVEMENTTYPE, -- Movement Type [BWART]
MATERIAL, -- Material [MATNR]
PLANT, -- Plant [WERKS_D]
STORAGELOCATION, -- Location [LGORT_D]
STORAGETYPE, -- Storage Type [LGTYP]
STORAGEBIN, -- Storage Bin [LGPLA]
INVENTORYUSABILITYCODE, -- Posting Control Stock Type [NSDM_INSMK]
QUANTITYINENTRYUNIT, -- Quantity in UnE [ERFMG]
ENTRYUNIT, -- Unit of Entry [ERFME]
QUANTITYINBASEUNIT, -- Quantity [MENGE_D]
MATERIALBASEUNIT, -- Base Unit [MEINS]
BATCH, -- Batch [CHARG_D]
SHELFLIFEEXPIRATIONDATE, -- SLED/BBD [VFDAT]
MANUFACTUREDATE, -- Date of Manuf. [HSDAT]
INVENTORYSPECIALSTOCKTYPE, -- Special Stock Type [NSDM_SPCL_STOCK_TYPE]
INVENTORYSTOCKTYPE, -- Stock Type [NSDM_LBBSA]
CUSTOMER, -- Customer [EKUNN]
SUPPLIER, -- Supplier [ELIFN]
ISSGORRCVGMATERIAL, -- Transfer Material [NSDM_UMAT]
ISSUINGORRECEIVINGPLANT, -- Transfer Plant [NSDM_PLANT]
ISSUINGORRECEIVINGSTORAGELOC, -- Receiving SLoc. [UMLGO]
ISSGORRCVGBATCH, -- Transfer Batch [NSDM_UMCHA]
ISSGORRCVGSPCLSTOCKIND, -- Special Stock [SOBKZ]
ISSUINGORRECEIVINGVALTYPE, -- Val. Type Tfr. [UMBAR]
WBSELEMENTINTERNALID, -- WBS Internal ID [PS_S4_PSPNR]
RESERVATION, -- Reservation [RSNUM]
RESERVATIONITEM, -- Reservation Item [NSDM_RSPOS]
ORIGINALMATERIALDOCUMENTITEM, -- Orig. line itm [URZEI]
GOODSMOVEMENTREFDOCTYPE, -- Reference Doc. Type [NSDM_KZBEW]
GOODSMOVEMENTREASONCODE, -- Reason for Mvmt [MB_GRBEW]
MATERIALDOCUMENTPOSTINGTYPE, -- Type of posting [KZSTO]
PURCHASEORDER, -- Purchase order [BSTNR]
PURCHASEORDERITEM, -- Item [EBELP]
COSTCENTER, -- Cost Center [KOSTL]
GLACCOUNT, -- G/L Account [SAKNR]
COMPANYCODE, -- Company Code [BUKRS]
POSTINGDATE, -- Posting Date [BUDAT]
DOCUMENTDATE, -- Document Date [BLDAT]
CONTROLLINGAREA, -- CO Area [KOKRS]
COSTOBJECT, -- Cost Object [KSTRG]
PROFITCENTER, -- Profit Center [PRCTR]
FUNCTIONALAREA, -- Functional Area [FKBER]
ACCOUNTASSIGNMENTCATEGORY, -- Account Assignment Category [NSDM_KNTTP]
BUSINESSAREA, -- Business Area [GSBER]
SALESORDER, -- Sales Order [KDAUF]
SALESORDERITEM, -- Sales Order Item [NSDM_SALES_ORDER_ITEM]
SALESORDERSCHEDULELINE, -- Sales Order Schedule [NSDM_KDEIN]
REFERENCEDOCUMENTFISCALYEAR, -- Fisc.yr.ref.doc [LFBJA]
INVTRYMGMTREFDOCUMENTITEM, -- Ref. Doc. Item [LFPOS]
INVTRYMGMTREFERENCEDOCUMENT, -- Reference Doc. [LFBNR]
DELIVERYDOCUMENT, -- Delivery [VBELN_VL]
DELIVERYDOCUMENTITEM, -- Delivery Item [NSDM_DELIVERY_DOCUMENT_ITEM]
REVERSEDMATERIALDOCUMENTYEAR, -- Reversed Doc Year [NSDM_SJAHR]
REVERSEDMATERIALDOCUMENT, -- Reversed Mat Doc [NSDM_SMBLN]
REVERSEDMATERIALDOCUMENTITEM, -- Reversed Doc Item [NSDM_SMBLP]
INVENTORYVALUATIONTYPE, -- Valuation Type [BWTAR_D]
GOODSMOVEMENTISCANCELLED, -- Is Item Cancelled [NSDM_CANCELLED_IND]
GOODSRECIPIENTNAME, -- Recipient [WEMPF]
UNLOADINGPOINTNAME, -- Unloading Point [ABLAD]
RESERVATIONISFINALLYISSUED, -- Res Final Issue [NSDM_KZEAR]
PROJECTNETWORK, -- Network [NPLNR]
MANUFACTURINGORDER, -- Manufacturing Order [NSDM_MANUFACTURING_ORDER]
MANUFACTURINGORDERITEM, -- Manufacturing Order Item [NSDM_MANUFACTURING_ORDER_ITEM]
SPECIALSTOCKIDFGSALESORDER, -- Sales order [MAT_KDAUF]
SPECIALSTOCKIDFGSALESORDERITEM, -- Sales ord. item [MAT_KDPOS]
FISCALYEAR, -- Fiscal Year [GJAHR]
FISCALYEARPERIOD, -- Fiscal Year & Period from Posting date [NSDM_JAHRPER]
FISCALYEARVARIANT, -- FY Variant [PERIV]
ISCOMPLETELYDELIVERED, -- Deliv. Compl. [ELIKZ]
MATERIALDOCUMENTITEMTEXT, -- Text [SGTXT]
EWMWAREHOUSE, -- Warehouse No. [/SCWM/LGNUM]
EWMSTORAGEBIN, -- Storage Bin [/SCWM/LGPLA]
COMPANYCODECURRENCY, -- Company Code Currency [NSDM_COMP_CODE_CURRENCY]
GDSMVTEXTAMTINCOCODECRCY, -- Ext. Amount LC [EXBWR]
PRODUCTSTANDARDID, -- GTIN [GLOBALTRADEITEMNUMBER]
ISAUTOMATICALLYCREATED, -- Automat. Created [NSDM_XAUTO]
SERIALNUMBERSARECREATEDAUTOMLY, -- SerialNo. auto. [XSAUT]
DRAFTENTITYCREATIONDATETIME, -- Created [SYCH_BDL_DRAFT_CREATED_AT]
DRAFTENTITYLASTCHANGEDATETIME, -- Changed [SYCH_BDL_DRAFT_LAST_CHANGED_AT]
DRAFTADMINISTRATIVEDATAUUID, -- UUID [SYCH_BDL_DRAFT_ADMIN_UUID]
DRAFTENTITYOPERATIONCODE, -- Draft - Operation Code [SYCH_BDL_DRAFT_OPERATION_CODE]
HASACTIVEENTITY, -- Has active [SYCH_BDL_DRAFT_HASACTIVE]
DRAFTFIELDCHANGES, -- Field Changes [SYCH_BDL_DRAFT_FIELD_CHANGES]
PRIMARY KEY (MANDT, MATERIALDOCUMENTYEAR, MATERIALDOCUMENT, MATERIALDOCUMENTITEM, DRAFTUUID)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA