MASSSDHEAD_S SAP (Sales order header data) Structure details

Dictionary Type: Structure
Description: Sales order header data




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




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

MASSSDHEAD_S 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 "Sales order 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_MASSSDHEAD_S TYPE MASSSDHEAD_S.

The MASSSDHEAD_S table consists of various fields, each holding specific information or linking keys about Sales order header data data available in SAP. These include VBELN (Sales Document), ERDAT (Date on Which Record Was Created), ERZET (Entry time), ERNAM (Name of Person who Created the Object).. 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 MASSSDHEAD_S 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
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
BSTZDPurchase order number supplement BSTZDCHAR4BSTZD
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
KONDAPrice group (customer) KONDACHAR2T188KONDAVKA
KDGRPCustomer group KDGRPCHAR2T151KDGRPVKD
BZIRKSales district BZIRKCHAR6T171BZIRKBZI
PLTYPPrice list type PLTYPCHAR2T189PLTYPVPL
INCO1Incoterms (Part 1) INCO1CHAR3TINCINCO1
INCO2Incoterms (Part 2) INCO2CHAR28INCO2
KZAZUOrder Combination Indicator KZAZU_DCHAR1XFELD
PERFKInvoice dates (calendar identification) PERFKCHAR2TFACDWFCID
PERRLInvoice list schedule (calendar identification) PERRLCHAR2TFACDWFCID
MRNKZManual invoice maintenance MRNKZCHAR1XFELD
KURRFExchange rate for FI postings KURRFDEC9(5) KURRF
VALTGAdditional value days VALTGNUMC2TAGE2
VALDTFixed value date VALDTDATS8DATUM
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
ZLSCHPayment Method SCHZW_BSEGCHAR1T042ZZLSCH
KTGRDAccount assignment group for this customer KTGRDCHAR2TVKTKTGRD
KURSKExchange Rate for Price Determination KURSKDEC9(5) EXCRTKURRF
PRSDTDate for pricing and exchange rate PRSDTDATS8DATUM
FKDATBilling date for billing index and printout FKDATDATS8DATUM
FBUDADate on which services rendered FBUDADATS8DATUM
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
POPERPosting period POPERNUMC3POPERPOPR
STCURExchange rate for statistics STCURDEC9(5) EXCRTKURRF
MSCHLDunning key MSCHLCHAR1T040MSCHL
MANSPDunning block MANSPCHAR1T040SMANSP
FPLNRBilling plan number / invoicing plan number FPLNRCHAR10FPLAFPLNR
WAKTIONCOUPON WAKTIONCHAR10WAKHALPHAWAKTIONWAK
ABSSCPayment guarantee procedure ABSSCHE_CMCHAR6T691MABSSCHE_CM
LCNUMFinancial doc. processing: Internal financial doc. number LCNUMCHAR10AKKPALPHALCNUMAKN
J_1AFITPTax type J_1AFITP_DCHAR2J_1AFITPJ_1AFITP
J_1ARFZReason for zero VAT J_1ARFZVATCHAR1J_1ARFZJ_1ARFZVAT
J_1AREGIOSTATE (State, Province, County) REGIOCHAR3T005SREGIO
J_1AGICDActivity Code for Gross Income Tax J_1AGICD_DCHAR2J_1AGICDJ_1AGICD2
J_1ADTYPDistribution Type for Employment Tax J_1ADTYP_DCHAR2J_1ADTYPJ_1ADTYP
J_1ATXRELTax relevant classification J_1ATXREL_CHAR10J_1ATXRELJ_1ATXREL
ABTNRDepartment number ABTNRCHAR4TSABABTNR
EMPSTReceiving point EMPSTCHAR25TEXT25
BSTKDCustomer purchase order number BSTKDCHAR35BSTKD
BSTDKCustomer purchase order date BSTDKDATS8DATUM
BSARKCustomer purchase order type BSARKCHAR4T176BSARK
IHREZYour Reference IHREZCHAR12TEXT12
BSTKD_EShip-to Party's Purchase Order Number BSTKD_ECHAR35BSTKD
BSTDK_EShip-to party's PO date BSTDK_EDATS8DATUM
BSARK_EShip-to party purchase order type BSARK_ECHAR4T176BSARK
IHREZ_EShip-to party character IHREZ_ECHAR12TEXT12
POSEX_EItem Number of the Underlying Purchase Order POSEX_ECHAR6ALPHAPOSEX
KURSK_DATTranslation Date WWERT_DDATS8DATUM
KURRF_DATTranslation Date WWERT_DDATS8DATUM
KDKG1Customer condition group 1 KDKG1CHAR2TVKGGKDKGR
KDKG2Customer condition group 2 KDKG2CHAR2TVKGGKDKGR
KDKG3Customer condition group 3 KDKG3CHAR2TVKGGKDKGR
KDKG4Customer condition group 4 KDKG4CHAR2TVKGGKDKGR
KDKG5Customer condition group 5 KDKG5CHAR2TVKGGKDKGR
WKWAEValue contract currency WKWAECUKY5TCURCWAERS
WKKURExchange rate in value contract currency WKKURDEC9(5) KURRF
AKWAECurrency key for letter-of-credit procg in foreign trade AKWAECUKY5TCURCWAERSFWS
AKKURExchange rate for letter-of-credit procg in foreign trade AKKURDEC9(5) KURRF
AKPRZDepreciation percentage for financial document processing AKPRZDEC5(2) PRZ32
J_1AINDXPInflation Index J_1AINDXPCHAR5J_1AINFT20J_1AINDXP
J_1AIDATEPIndexing base date J_1AIDATESDATS8J_1AUDATEP
BSTKD_MCustomer PO number as matchcode field BSTKD_MCHAR35CHAR35
DELCOAgreed delivery time DELCOCHAR3TVDCDELCO
FFPRFDynamic Item Processor Profile AD01PROFNRCHAR8AD01C_PROFAD01PROFNRAD0DIP_PROFILE
BEMOTAccounting Indicator BEMOTCHAR2TBMOTBEMOT
FAKTFBilling form FAKTFCHAR2FAKTF
RRRELRevenue recognition category RR_RELTYPCHAR1RR_RELTYP
ACDATVProposed start date for accrual period RR_ACDATVCHAR1RR_ACDATV
VSARTShipping type VSARTTRCHAR2T173VERSART
TRATYMeans-of-Transport Type TRATYCHAR4TVTYTRATY
TRMTYPMeans of Transport TRMTYPCHAR18MARAMATN1MATNR
SDABWSpecial processing indicator SDABWCHAR4TVSAKSDABW
WMINRProduct catalog number WMINRCHAR10WWMIWMINRWMIWPC1

Key field Non-key field



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

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

How to access SAP table MASSSDHEAD_S

Within an ECC or HANA version of SAP you can also view further information about MASSSDHEAD_S 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!