BAPISDHEAD1 SAP (Communication Fields: Sales and Distribution Document Header) Structure details

Dictionary Type: Structure
Description: Communication Fields: Sales and Distribution Document Header




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




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

BAPISDHEAD1 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 "Communication Fields: Sales and Distribution Document Header" 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_BAPISDHEAD1 TYPE BAPISDHEAD1.

The BAPISDHEAD1 table consists of various fields, each holding specific information or linking keys about Communication Fields: Sales and Distribution Document Header data available in SAP. These include REFOBJECTKEY (Object key), REFDOCTYPE (Document type of reference object), DOC_TYPE (Sales Document Type), COLLECT_NO (Collective 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. .

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


SAP BAPISDHEAD1 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
REFOBJECTTYPEObject Type SWO_OBJTYPCHAR10TOJTBOJ_NAMEOBJ
REFOBJECTKEYObject key SWO_TYPEIDCHAR70SWO_TYPEID
REFDOCTYPEDocument type of reference object REFDOCTYPECHAR10CHAR10
DOC_TYPESales Document Type AUARTCHAR4TVAKAUARTAUARTAAT
COLLECT_NOCollective Number SUBMICHAR10CHAR10
SALES_ORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
DISTR_CHANDistribution Channel VTWEGCHAR2TVKOVVTWEGVTWC_VTWEG
DIVISIONDivision SPARTCHAR2TVTASPARTSPAC_SPART
SALES_GRPSales Group VKGRPCHAR3TVBVKVKGRPVKG
SALES_OFFSales Office VKBURCHAR4TVKBZVKBURVKB
REQ_DATE_HRequested delivery date EDATU_VBAKDATS8DATUM
DATE_TYPEProposed date type PRGRS_VBAKCHAR1PRGRS
PURCH_DATECustomer purchase order date BSTDKDATS8DATUM
PO_METHODCustomer purchase order type BSARKCHAR4T176BSARK
PO_SUPPLEMPurchase order number supplement BSTZDCHAR4BSTZD
REF_1Your Reference IHREZCHAR12TEXT12
NAMEName of orderer BNAME_VCHAR35NAME
TELEPHONETelephone Number TELF1_VPCHAR16TELF1
PRICE_GRPPrice group (customer) KONDACHAR2T188KONDAVKA
CUST_GROUPCustomer group KDGRPCHAR2T151KDGRPVKD
SALES_DISTSales district BZIRKCHAR6T171BZIRKBZI
PRICE_LISTPrice list type PLTYPCHAR2T189PLTYPVPL
INCOTERMS1Incoterms (Part 1) INCO1CHAR3TINCINCO1
INCOTERMS2Incoterms (Part 2) INCO2CHAR28INCO2
PMNTTRMSTerms of Payment Key DZTERMCHAR4ZTERM
DLV_BLOCKDelivery block (document header) LIFSKCHAR2TVLSLIFSP
BILL_BLOCKBilling block in SD document FAKSKCHAR2TVFSFAKSP
ORD_REASONOrder reason (reason for the business transaction) AUGRUCHAR3TVAUAUGRU
COMPL_DLVComplete delivery defined for each sales order? AUTLFCHAR1XFELD
PRICE_DATEDate for pricing and exchange rate PRSDTDATS8DATUM
QT_VALID_FQuotation/Inquiry is valid from ANGDT_VDATS8DATUM
QT_VALID_TDate until which bid/quotation is binding (valid-to date) BNDDTDATS8DATUM
CT_VALID_FValid-from date (outline agreements, product proposals) GUEBGDATS8DATUM
CT_VALID_TValid-to date (outline agreements, product proposals) GUEENDATS8DATUM
CUST_GRP1Customer group 1 KVGR1CHAR3TVV1KVGR1
CUST_GRP2Customer group 2 KVGR2CHAR3TVV2KVGR2
CUST_GRP3Customer group 3 KVGR3CHAR3TVV3KVGR3
CUST_GRP4Customer group 4 KVGR4CHAR3TVV4KVGR4
CUST_GRP5Customer group 5 KVGR5CHAR3TVV5KVGR5
PURCH_NO_CCustomer purchase order number BSTKDCHAR35BSTKD
PURCH_NO_SShip-to Party's Purchase Order Number BSTKD_ECHAR35BSTKD
PO_DAT_SShip-to party's PO date BSTDK_EDATS8DATUM
PO_METH_SShip-to party purchase order type BSARK_ECHAR4T176BSARK
REF_1_SShip-to party character IHREZ_ECHAR12TEXT12
SD_DOC_CATSD document category VBTYPCHAR1VBTYP
DOC_DATEDocument Date (Date Received/Sent) AUDATDATS8DATUM
WAR_DATEWarranty Date GWLDTDATS8DATUM
SHIP_CONDShipping Conditions VSBEDCHAR2TVSBVSBED
PP_SEARCHSearch term for product proposal KTEXT_VCHAR40TEXT40
DUN_COUNTNumber of contacts from the customer MAHZADEC3PACK2
DUN_DATELast customer contact date MAHDTDATS8DATUM
DLVSCHEDUSEUsage Indicator ABRVWCHAR3TVLVABRVW
PLAN_DLV_SCHTYPEMRP for delivery schedule types ABDISCHAR1ABRAB
REF_DOCDocument number of the reference document VGBELCHAR10VBUKALPHAVBELN
COMP_CODE_BCompany code to be billed BUKRS_VFCHAR4T001BUKRSBUK
ALT_TAX_CLASSAlternative tax classification TAXK1_AKCHAR1TSKDTAXKD
TAX_CLASS2Tax classification 2 for customer TAXK2CHAR1TSKDTAXKD
TAX_CLASS3Tax classification 3 for customer TAXK3CHAR1TSKDTAXKD
TAX_CLASS4Tax Classification 4 Customer TAXK4CHAR1TSKDTAXKD
TAX_CLASS5Tax classification 5 for customer TAXK5CHAR1TSKDTAXKD
TAX_CLASS6Tax classification 6 for customer TAXK6CHAR1TSKDTAXKD
TAX_CLASS7Tax classification 7 for customer TAXK7CHAR1TSKDTAXKD
TAX_CLASS8Tax classification 8 for customer TAXK8CHAR1TSKDTAXKD
TAX_CLASS9Tax classification 9 for customer TAXK9CHAR1TSKDTAXKD
REF_DOC_LReference Document Number XBLNR_VCHAR16XBLNR
ASS_NUMBERAssignment number ORDNR_VCHAR18ZUONR
REF_DOC_CATDocument category of preceding SD document VBTYP_VCHAR1VBTYP
ORD_COMB_INOrder Combination Indicator KZAZU_DCHAR1XFELD
BILL_SCHEDInvoice dates (calendar identification) PERFKCHAR2TFACDWFCID
INVO_SCHEDInvoice list schedule (calendar identification) PERRLCHAR2TFACDWFCID
MN_INVOICEManual invoice maintenance MRNKZCHAR1XFELD
EXCH_RATE_FIExchange rate for FI postings KURRFDEC9(5) KURRF
ADD_VAL_DYAdditional value days VALTGNUMC2TAGE2
FIX_VAL_DYFixed value date VALDTDATS8DATUM
PYMT_METHPayment Method DZLSCHCHAR1T042ZZLSCH
ACCNT_ASGNAccount assignment group for this customer KTGRDCHAR2TVKTKTGRD
EXCHG_RATEExchange Rate for Price Determination KURSKDEC9(5) EXCRTKURRF
BILL_DATEBilling date for billing index and printout FKDATDATS8DATUM
SERV_DATEDate on which services rendered FBUDADATS8DATUM
DUNN_KEYDunning key MSCHLCHAR1T040MSCHL
DUNN_BLOCKDunning block MANSPCHAR1T040SMANSP
PYMT_GAR_PROCPayment guarantee procedure ABSSCHE_CMCHAR6ABSSCHE_CM
DEPARTMENT_NODepartment number ABTNRCHAR4TSABABTNR
REC_POINTReceiving point EMPSTCHAR25TEXT25
DOC_NUM_FIFinancial doc. processing: Internal financial doc. number LCNUMCHAR10Assigned to domainALPHALCNUMAKN
CUST_COND_GRP1Customer condition group 1 KDKG1CHAR2TVKGGKDKGR
CUST_COND_GRP2Customer condition group 2 KDKG2CHAR2TVKGGKDKGR
CUST_COND_GRP3Customer condition group 3 KDKG3CHAR2TVKGGKDKGR
CUST_COND_GRP4Customer condition group 4 KDKG4CHAR2TVKGGKDKGR
CUST_COND_GRP5Customer condition group 5 KDKG5CHAR2TVKGGKDKGR
DLV_TIMEAgreed delivery time DELCOCHAR3TVDCDELCO
CURRENCYSD Document Currency WAERKCUKY5TCURCWAERSFWS
CURRENCY_ISOISO code currency WAERS_ISOCHAR3ISOCD
CREATED_BYName of Person who Created the Object ERNAMCHAR12USNAM
TAX_DEPART_CTYTax departure country LANDTXCHAR3T005LAND1LND
TAX_DEST_CTYTax Destination Country LAND1TXCHAR3T005LAND1LND
EU_TRIANG_DEALIndicator: Triangular deal within the EU ? XEGDRCHAR1XFELD
MASTER_CONTRMster contract number VBELN_GRPCHAR10VBUKALPHAVBELN
REF_PROCReferencing requirement: Procedure SCHEME_GRPCHAR4TVGRPSSCHEME_GRP
CHECK_PARTN_AUTHCheck partner authorizations ABRUF_PARTCHAR1ABRUF_PART
CML_QTY_DATECml delivery order qty date DAT_FZAUDATS8DATUM
VERSIONSales document version number VSNMR_VCHAR12VSNMR
NOTIF_NONotification No QMNUMCHAR12Assigned to domainALPHAQMNUMIQM
REF_DOC_L_LONGReference Document Number (See long text for dependencies) XBLNR_V_LONGCHAR35XBLNR_LONG
FKK_CONACCTContract Account Number CORR_VKONT_KKCHAR12ALPHACORR_VKONT_KK
SEPA_MANDATE_IDUnique Referene to Mandate per Payment Recipient SEPA_MNDIDCHAR35ID035

Key field Non-key field



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

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

How to access SAP table BAPISDHEAD1

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