MMVBAK SAP (Purchase Order Item + Sales Document Header Data) Structure details

Dictionary Type: Structure
Description: Purchase Order Item + Sales Document Header Data




ABAP Code to SELECT data from MMVBAK
Related tables to MMVBAK
Access table MMVBAK




Structure field list including key, data, relationships and ABAP select examples

MMVBAK 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 "Purchase Order Item + Sales Document Header Data" 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_MMVBAK TYPE MMVBAK.

The MMVBAK table consists of various fields, each holding specific information or linking keys about Purchase Order Item + Sales Document Header Data data available in SAP. These include MANDT (Client), VBELN (Sales Document), ERDAT (Date on Which Record Was Created), ERZET (Entry time).. 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. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


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

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
MANDTClient MANDTCLNT3T000MANDT
VBELNSales Document VBELN_VACHAR10VBUKALPHAVBELNAUN
ERDATDate on Which Record Was Created ERDATDATS8DATUM
ERZETEntry time ERZETTIMS6UZEIT
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
ANGDTQuotation/Inquiry is valid from ANGDT_VDATS8DATUM
BNDDTDate until which bid/quotation is binding (valid-to date) BNDDTDATS8DATUM
AUDATDocument Date (Date Received/Sent) AUDATDATS8DATUM
VBTYPSD document category VBTYPCHAR1VBTYP
TRVOGTransaction group TRVOGCHAR1TRVOGVTV
AUARTSales Document Type AUARTCHAR4TVAKAUARTAUARTAAT
AUGRUOrder reason (reason for the business transaction) AUGRUCHAR3TVAUAUGRU
GWLDTWarranty Date GWLDTDATS8DATUM
SUBMICollective number (SD) SUBMI_SDCHAR10CHAR10
LIFSKDelivery block (document header) LIFSKCHAR2TVLSLIFSP
FAKSKBilling block in SD document FAKSKCHAR2TVFSFAKSP
NETWRNet Value of the Sales Order in Document Currency NETWR_AKCURR15(2) WERTV8
WAERKSD Document Currency WAERKCUKY5TCURCWAERSFWS
VKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2TVKOVVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2TVTASPARTSPAC_SPART
VKGRPSales Group VKGRPCHAR3TVBVKVKGRPVKG
VKBURSales Office VKBURCHAR4TVKBZVKBURVKB
GSBERBusiness Area GSBERCHAR4TGSBGSBERGSB
GSKSTBusiness area from cost center GSKSTCHAR4TGSBGSBER
GUEBGValid-from date (outline agreements, product proposals) GUEBGDATS8DATUM
GUEENValid-to date (outline agreements, product proposals) GUEENDATS8DATUM
KNUMVNumber of the document condition KNUMVCHAR10KNUMV
VDATURequested delivery date EDATU_VBAKDATS8DATUM
VPRGRProposed date type PRGRS_VBAKCHAR1PRGRS
AUTLFComplete delivery defined for each sales order? AUTLFCHAR1XFELD
VBKLAOriginal system with release and transaction control VBKLACHAR9CHAR9
VBKLTSD document indicator VBKLTCHAR1VBKLT
KALSMSales and Distribution: Pricing Procedure in Pricing KALSMASDCHAR6T683KALSM
VSBEDShipping Conditions VSBEDCHAR2TVSBVSBED
FKARAProposed billing type for an order-related billing document FKARACHAR4TVFKFKART
AWAHRSales probability AWAHR_AKNUMC3AWAHR
KTEXTSearch term for product proposal KTEXT_VCHAR40TEXT40
BSTNKCustomer purchase order number BSTNKCHAR20BSTNK
BSARKCustomer purchase order type BSARKCHAR4T176BSARK
BSTDKCustomer purchase order date BSTDKDATS8DATUM
BSTZDPurchase order number supplement BSTZDCHAR4BSTZD
IHREZYour Reference IHREZCHAR12TEXT12
BNAMEName of orderer BNAME_VCHAR35NAME
TELF1Telephone Number TELF1_VPCHAR16TELF1
MAHZANumber of contacts from the customer MAHZADEC3PACK2
MAHDTLast customer contact date MAHDTDATS8DATUM
KUNNRSold-to party KUNAGCHAR10KNA1ALPHAKUNNRVAG
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
STAFOUpdate group for statistics update STAFOCHAR6Assigned to domainALPHASTAFOMCF
STWAEStatistics currency STWAECUKY5TCURCWAERS
AEDATChanged On AEDATDATS8DATUM
KVGR1Customer group 1 KVGR1CHAR3TVV1KVGR1
KVGR2Customer group 2 KVGR2CHAR3TVV2KVGR2
KVGR3Customer group 3 KVGR3CHAR3TVV3KVGR3
KVGR4Customer group 4 KVGR4CHAR3TVV4KVGR4
KVGR5Customer group 5 KVGR5CHAR3TVV5KVGR5
KNUMAAgreement (various conditions grouped together) KNUMACHAR10KONAALPHAKNUMAVMBO
KOKRSControlling Area KOKRSCHAR4TKA01CACCDCAC
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8PRPSKONPRPS_POSNR
KURSTExchange Rate Type KURSTCHAR4TCURVKURSTKUT
KKBERCredit control area KKBERCHAR4T014KKBERKKB
KNKLICustomer's account number with credit limit reference KNKLICHAR10KNA1ALPHAKUNNR
GRUPPCustomer Credit Group GRUPP_CMCHAR4Assigned to domainGRUPP_CM
SBGRPCredit representative group for credit management SBGRP_CMCHAR3T024BSBGRP_CMKBG
CTLPCCredit management: Risk category CTLPC_CMCHAR3T691ACTLPC_CM
CMWAECurrency key of credit control area WAERS_CMCUKY5TCURCWAERS
CMFRERelease date of the document determined by credit management CMFREDATS8DATUM
CMNUPDate of next credit check of document CMNUPDATS8DATUM
CMNGVNext date CMNGVDATS8DATUM
AMTBLReleased credit value of the document AMTBL_CMCURR15(2) WERTV8
HITYP_PRHierarchy type for pricing HITYP_PRCHAR1THITHITYP
ABRVWUsage Indicator ABRVWCHAR3TVLVABRVW
ABDISMRP for delivery schedule types ABDISCHAR1ABRAB
VGBELDocument number of the reference document VGBELCHAR10VBUKALPHAVBELN
OBJNRObject number at header level OBJKOCHAR22ONR00J_OBJNR
BUKRS_VFCompany code to be billed BUKRS_VFCHAR4T001BUKRSBUK
TAXK1Alternative tax classification TAXK1_AKCHAR1Assigned to domainTAXKD
TAXK2Tax classification 2 for customer TAXK2CHAR1Assigned to domainTAXKD
TAXK3Tax classification 3 for customer TAXK3CHAR1Assigned to domainTAXKD
TAXK4Tax Classification 4 Customer TAXK4CHAR1Assigned to domainTAXKD
TAXK5Tax classification 5 for customer TAXK5CHAR1Assigned to domainTAXKD
TAXK6Tax classification 6 for customer TAXK6CHAR1Assigned to domainTAXKD
TAXK7Tax classification 7 for customer TAXK7CHAR1Assigned to domainTAXKD
TAXK8Tax classification 8 for customer TAXK8CHAR1Assigned to domainTAXKD
TAXK9Tax classification 9 for customer TAXK9CHAR1Assigned to domainTAXKD
XBLNRReference Document Number XBLNR_V1CHAR16XBLNR1
ZUONRAssignment number ORDNR_VCHAR18ZUONR
VGTYPDocument category of preceding SD document VBTYP_VCHAR1VBTYP
KALSM_CHSearch procedure for batch determination KALSMA_CHCHAR6T683KALSM
AGRZRAccrual period for order-related billing docs.to be accrued AGRZRNUMC2NUM2
AUFNROrder Number AUFNRCHAR12AUFKALPHAAUFNRANR
QMNUMNotification No QMNUMCHAR12QMELALPHAQMNUMIQM
VBELN_GRPMster contract number VBELN_GRPCHAR10Assigned to domainALPHAVBELN
SCHEME_GRPReferencing requirement: Procedure SCHEME_GRPCHAR4TVGRPSSCHEME_GRP
ABRUF_PARTCheck partner authorizations ABRUF_PARTCHAR1ABRUF_PART
ABHODPick up date ABHODDATS8DATUM
ABHOVPick up time ABHOZTIMS6UZEIT
ABHOBPick up time ABHOZTIMS6UZEIT
RPLNRNumber of payment card plan type RPLNRCHAR10FPLAFPLNR
VZEITProposed schedule line time (local with ref. to sales org.) EZEIT_VBAKTIMS6TIME_SAORG
STCEG_LTax Destination Country LAND1TXCHAR3T005LAND1LND
LANDTXTax departure country LANDTXCHAR3T005LAND1LND
XEGDRIndicator: Triangular deal within the EU ? XEGDRCHAR1XFELD
ENQUEUE_GRPBlock master contr. until all lower level contracts updated ENQUEUE_GRPCHAR1ENQUEUE_GRP
DAT_FZAUCml delivery order qty date DAT_FZAUDATS8DATUM
FMBDATMaterial Staging/Availability Date MBDATDATS8DATUM
VSNMR_VSales document version number VSNMR_VCHAR12VSNMR
HANDLEInternational unique key for VBAK-VBELN TSEGGUID_VBAKCHAR22SYSUUID_22
PROLIDangerous Goods Management Profile in SD Documents ADGE_PROLICHAR3TDGC5ADGD_PROLITDGC5_PROLI_01
CONT_DGIndicator: Document contains dangerous goods ADGE_NCDGCHAR1X
CRM_GUIDCharacter field, length 70 CHAR70CHAR70CHAR70
UPD_TMSTMPUTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) TIMESTAMPLDEC21(7) TZNTSTMPL
MSR_IDProcess Identification Number MSR_PROCESS_IDCHAR10ALPHAMSR_PROCESS_ID
TM_CTRL_KEYControl Key for Document Transfer to TM TM_CTRL_KEYCHAR4
HANDOVERLOCLocation for a physical handover of goods HANDOVER_LOCCHAR10ALPHAHANDOVER_LOC
.INCLU--AP 0
FPARTBilling/Invoicing Plan Type FPARTCHAR2TFPLAFPART
VCLASSIFICContract classification SD customizing /SAPHT/SW_CONTRCLASSCHAR1/SAPHT/SW_CONTRCLASS
.INCLU--AP 0
/XLSO/SO_VALD_FMField of type DATS DATSDATS8DATS
/XLSO/SO_VALD_TOField of type DATS DATSDATS8DATS
/XLSO/PAYMENT_OPPayment Method /XLSO/E_PAY_METHODCHAR2/XLSO/D_PAY_METHOD
/XLSO/TRANS_CTXTTransaction Context GUID /XLSO/E_TRANS_CTXTNUMC8/XLSO/D_TRANS_CTXT
/XLSO/CATALOG_IDProduct catalog number WMINRCHAR10Assigned to domainWMINRWMIWPC1
/XLSO/VARIANT_IDProduct catalog variant WMVARDCHAR3Assigned to domainWMVAR
.INCLU--AP 0
AD01FAREGRule for billing AD01FAREGCHAR1AD01FAREG
AD01BASDOCInitial document AD01BASDOCCHAR10Assigned to domainALPHAVBELN
.INCLU--AP 0
LASTVCHRLast voucher number AD04LVCHNRNUMC8AD04VCHNR
.INCLU--AP 0
PLCPACKAGING LEVEL CODE ADSPCM_PLCCHAR1CHAR1
SMBSUPPLY MANAG. BRANCH INDICATOR ADSPCM_SMBCHAR6CHAR6
ECCEVIDENCE CONTROL CODE ADSPCM_ECCCHAR7CHAR7
IPPINITIAL PROVISIONING PROJECT NUMBER ADSPCM_IPPCHAR9CHAR9
CURCURRENCY CODE ADSPCM_CURCHAR3CHAR3
ECOEconomic Conditions for Spec2000M ADSPCM_ECOCHAR13CHAR13
PCOPRICE CONDITION ADSPCM_PCOCHAR3CHAR3
DPTDELIVERY POINT ADSPCM_DPTCHAR15CHAR15
TOPTYPE OF PRICE ADSPCM_TOPCHAR2CHAR2
SUSSUPPLIER ADSPCM_SUSCHAR5CHAR5
PCNPrime Contract Number for Spec2000M ADSPCM_PCNCHAR16CHAR16
TRUCUSTOMER TAX REGISTRATION NUMBER ADSPCM_TRUCHAR20CHAR20
PCYProvisioning Category ADSPCM_PCYCHAR3CHAR3
PCDProcurement Code ADSPCM_PCDCHAR2CHAR2
PBNProcurement Budget Number ADSPCM_PBNCHAR14CHAR14
AMNAMENDMENT NUMBER ADSPCM_AMNCHAR3CHAR3
DNODIVERSION NUMBER ADSPCM_DNOCHAR12CHAR12
.INCLU--AP 0
PSM_BUDATPosting Date in the Document PSM_BUDATDATS8DATUM
.INCLU--AP 0
SWENRBusiness Entity Number HB_SWENRCHAR8VIOB01SWENRSWENRWEH
SMENRNumber of Sales Unit HB_SMENRCHAR8VIMI01SMENRSMENRMEH
PHASESales Phase HB_SPHSECHAR11HBSSPHHBS_PHASE
MTLAURMarker for Low Income Housing HB_MTLAURCHAR1CHBSNCMHBS_MTLAUR
STAGEConstruction Stage HB_STAGEINT410INT4
HB_CONT_REASONContingency data HB_CONTCHAR2HBSCREASONCHAR2
HB_EXPDATEExpiration date HB_EXPDATS8DATS
HB_RESDATEResolution date HB_RESDATS8DATS
.INCLU--AP 0
J_3GKBAULETM-Relevant Indicator J_3GKBAULCHAR1J_3GKBAUL
.INCLU--AP 0
MILL_APPL_IDApplication ID Category for Configuration MILL_APPL_IDCHAR2MILL_APPL_ID
.INCLU--AP 0
TASTreasury Account Symbol FMFG_TASCHAR30CHAR30
BETCBusiness Event Type Code FMFG_BETCCHAR10CHAR10
MOD_ALLOWModification Allowed FMFG_MOD_ALLOWCHAR1CHAR1
CANCEL_ALLOWCancellation Allowed FMFG_CANCEL_ALLOWCHAR1CHAR1
PAY_METHODList of the Payment Methods to be Considered DZWELSCHAR10ZWELS
BPNBusiness Partner Number FMFG_BPNCHAR6T880ALPHARCOMP
REP_FREQReporting Frequency FMFG_REP_FREQCHAR3CHAR3
.INCLU--AP 0
LOGSYSBLogical system with which document was created LOGSYSBCHAR10Assigned to domainALPHALOGSYS
.INCLU--AP 0
KALCDProcedure for Campaign Determination KALCDCHAR6Assigned to domainKALSM
MULTIMultiple Campaigns/Trade Promotions Active Indicator CMPC_MULT_CAMPAIGNCHAR1CMPGN_MULT_CAMPAIGN
.INCLU--AP 0
SPPAYMPayment Form for Special Payment Method SPPAYMCHAR2SPPAYM
.INCLU--AP 0
WTYSC_CLM_HDRClaim header WTYSC_CLM_HDRCHAR16WTYSC_CLM_HDR
.INCLU--AP 0

Key field Non-key field



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

As MMVBAK 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 MMVBAK as there is no data to select.

How to access SAP table MMVBAK

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

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


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!