SAP DIVEDA Service Contract Table data and field list

DIVEDA is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Service Contract" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_DIVEDA TYPE DIVEDA.

The DIVEDA table consists of various fields, each holding specific information or linking keys about Service Contract data available in SAP. These include POSNR (Sales Document Item), MATNRX (Material Number), MATWA (Material entered), CHARG (Batch Number)... See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

DIVEDA structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP DIVEDA structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the DIVEDA table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
VBELNSales Document VBELN_VACHAR10Assigned to domainALPHAVBELNAUN
POSNRSales Document Item POSNR_VANUMC6Assigned to domainPOSNRAPO
MATNRXMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MATWAMaterial entered MATWACHAR18Assigned to domainMATN1MATNRMAT
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
ARKTXShort text for sales order item ARKTXCHAR40TEXT40
PSTYVSales document item category PSTYVCHAR4Assigned to domainPSTYV
UEPOSHigher-level item in bill of material structures UEPOSNUMC6Assigned to domainPOSNR
ABGRUReason for rejection of quotations and sales orders ABGRU_VACHAR2Assigned to domainABGRU_VA
PRODHProduct hierarchy PRODH_DCHAR18Assigned to domainPRODHVPR
ZMENGTarget quantity in sales units DZMENGQUAN13(3) MENG13
ZIEMETarget quantity UoM DZIEMEUNIT3Assigned to domainCUNITMEINS
UMZIZFactor for converting sales units to base units (target qty) UMZIZDEC5UMBSZ
UMZINFactor for converting sales units to base units (target qty) UMZINDEC5UMBSN
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
POSEXItem Number of the Underlying Purchase Order POSEXCHAR6ALPHAPOSEX
KDMATMaterial Number Used by Customer MATNR_KUCHAR35IDNEX
FAKSPBilling block for item FAKSP_APCHAR2Assigned to domainFAKSP
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
NETWRXNet value of the order item in document currency NETWR_APCURR15(2) WERTV8
WAERKXSD Document Currency WAERKCUKY5Assigned to domainWAERSFWS
VGBELDocument number of the reference document VGBELCHAR10Assigned to domainALPHAVBELN
VGPOSItem number of the reference item VGPOSNUMC6Assigned to domainPOSNR
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
EAN11International Article Number (EAN/UPC) EAN11CHAR18EAN11EAN11EAN
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
MVGR1Material group 1 MVGR1CHAR3Assigned to domainMVGR1
MVGR2Material group 2 MVGR2CHAR3Assigned to domainMVGR2
MVGR3Material group 3 MVGR3CHAR3Assigned to domainMVGR3
MVGR4Material group 4 MVGR4CHAR3Assigned to domainMVGR4
MVGR5Material group 5 MVGR5CHAR3Assigned to domainMVGR5
CUOBJConfiguration CUOBJ_VANUMC18CUOBJ
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
VBTYPSD document category VBTYPCHAR1VBTYP
AUARTSales Document Type AUARTCHAR4Assigned to domainAUARTAUARTAAT
AUGRUOrder reason (reason for the business transaction) AUGRUCHAR3Assigned to domainAUGRU
SUBMICollective number (SD) SUBMI_SDCHAR10CHAR10
FAKSKBilling block in SD document FAKSKCHAR2Assigned to domainFAKSP
NETWRNet Value of the Sales Order in Document Currency NETWR_AKCURR15(2) WERTV8
WAERKSD Document Currency WAERKCUKY5Assigned to domainWAERSFWS
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
VKGRPSales Group VKGRPCHAR3Assigned to domainVKGRPVKG
VKBURSales Office VKBURCHAR4Assigned to domainVKBURVKB
KTEXTSearch term for product proposal KTEXT_VCHAR40TEXT40
BSTZDPurchase order number supplement BSTZDCHAR4BSTZD
BNAMEName of orderer BNAME_VCHAR35NAME
TELF1Telephone Number TELF1_VPCHAR16TELF1
KUNNRSold-to party KUNAGCHAR10Assigned to domainALPHAKUNNRVAG
KVGR1Customer group 1 KVGR1CHAR3Assigned to domainKVGR1
KVGR2Customer group 2 KVGR2CHAR3Assigned to domainKVGR2
KVGR3Customer group 3 KVGR3CHAR3Assigned to domainKVGR3
KVGR4Customer group 4 KVGR4CHAR3Assigned to domainKVGR4
KVGR5Customer group 5 KVGR5CHAR3Assigned to domainKVGR5
VLAUFZValidity period of contract VLAUF_VEDANUMC3NUM3
VLAUEZUnit of validity period of contract VLAUE_VEDACHAR1KDZEH
VLAUFKValidity period category of contract VLAUK_VEDACHAR2Assigned to domainVLAUK_VEDA
VINSDATInstallation date VIDAT_VEDADATS8DATUM
VABNDATAgreement acceptance date VADAT_VEDADATS8DATUM
VBEGDATContract start date VBDAT_VEDADATS8DATUM
VUNTDATDate on which contract is signed VUDAT_VEDADATS8DATUM
VKUESCHAssignment cancellation procedure/cancellation rule VKUES_VEDACHAR4Assigned to domainVKUES_VEDA
VAKTSCHAction at end of contract VASCH_VEDACHAR4Assigned to domainAKTVT
VEINDATDate on which cancellation request was received VEDAT_VEDADATS8DATUM
VWUNDATRequested cancellation date VWDAT_VEDADATS8DATUM
VKUEPARCancellation party VKPAR_VEDACHAR1VKPAR_VEDA
VKUEGRUReason for Cancellation of Contract VKGRU_VEDACHAR2Assigned to domainKUEGRU
VENDDATContract end date VNDAT_VEDADATS8DATUM
VBELKUECancellation document number of contract partner VBELK_VEDACHAR20CHAR20
VBEDKUEDate of cancellation document from contract partner VBEDK_VEDADATS8DATUM
VBEGREGRule for calculating contract start date VBREG_VEDACHAR2Assigned to domainVDREG_VEDA
VVORZEITLead time for cancellation prevention activities VZEIT_VEDANUMC3NUM3
VVOREINTime unit of lead time VZEIE_VEDACHAR1KDZEH
VDEMDATDismantling date VDDAT_VEDADATS8DATUM
VASDADate for action VASDADATS8DATUM
VASDRDate rule for action VASDRCHAR2Assigned to domainVDREG_VEDA
VENDREGRule for contract end date RGVTECHAR2Assigned to domainVDREG_VEDA

Key field Non-key field



How do I retrieve data from SAP structure DIVEDA using ABAP code?

As DIVEDA is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on DIVEDA as there is no data to select.

How to access SAP table DIVEDA

Within an ECC or HANA version of SAP you can also view further information about DIVEDA and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).