BAPISDHEAD 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 BAPISDHEAD
Related tables to BAPISDHEAD
Access table BAPISDHEAD




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

BAPISDHEAD 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_BAPISDHEAD TYPE BAPISDHEAD.

The BAPISDHEAD 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 DOC_TYPE (Sales Document Type), COLLECT_NO (Collective Number), SALES_ORG (Sales Organization), DISTR_CHAN (Distribution Channel).. 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 BAPISDHEAD 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
DOC_NUMBERSales Document VBELN_VACHAR10VBUKALPHAVBELNAUN
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_NOCustomer purchase order number BSTNKCHAR20BSTNK
PURCH_DATECustomer purchase order date BSTDKDATS8DATUM
PO_METHODCustomer purchase order type BSARKCHAR4T176BSARK
PO_SUPPLEMPurchase order number supplement BSTZDCHAR4BSTZD
REF_1Your Reference IHREZCHAR12TEXT12
NAMEBranching Name BNAMECHAR30CHAR30
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
SHIP_CONDShipping Conditions VSBEDCHAR2TVSBVSBED
CURRENCYSD Document Currency WAERKCUKY5TCURCWAERSFWS
CURRENCY_ISOISO code currency WAERS_ISOCHAR3ISOCD
DLV_TIMEAgreed delivery time DELCOCHAR3DELCO
CD_TYPE1Condition type KSCHACHAR4T685KSCHLVKS
CD_VALUE1Condition rate BAPIKBETRDEC23(4) BAPICURR
CD_P_UNT1Condition pricing unit KPEINCNUMC5NUMC5
CD_D_UNT1Condition unit in the document KVMEIUNIT3Assigned to domainCUNITMEINS
CD_D_UISO1Condition unit of measure in UoM KVMEI_ISOCHAR3T006IISOCD_UNIT
CD_CURR1Currency Key WAERSCUKY5TCURCWAERSFWS
CD_CU_ISO1ISO code currency WAERS_ISOCHAR3ISOCD
CD_TYPE2Condition type KSCHACHAR4T685KSCHLVKS
CD_VALUE2Condition rate BAPIKBETRDEC23(4) BAPICURR
CD_P_UNT2Condition pricing unit KPEINCNUMC5NUMC5
CD_D_UNT2Condition unit in the document KVMEIUNIT3Assigned to domainCUNITMEINS
CD_D_UISO2Condition unit of measure in UoM KVMEI_ISOCHAR3T006IISOCD_UNIT
CD_CURR2Currency Key WAERSCUKY5TCURCWAERSFWS
CD_CU_ISO2ISO code currency WAERS_ISOCHAR3ISOCD
CD_TYPE3Condition type KSCHACHAR4T685KSCHLVKS
CD_VALUE3Condition rate BAPIKBETRDEC23(4) BAPICURR
CD_P_UNT3Condition pricing unit KPEINCNUMC5NUMC5
CD_D_UNT3Condition unit in the document KVMEIUNIT3Assigned to domainCUNITMEINS
CD_D_UISO3Condition unit of measure in UoM KVMEI_ISOCHAR3T006IISOCD_UNIT
CD_CURR3Currency Key WAERSCUKY5TCURCWAERSFWS
CD_CU_ISO3ISO code currency WAERS_ISOCHAR3ISOCD
CD_TYPE4Condition type KSCHACHAR4T685KSCHLVKS
CD_VALUE4Condition rate BAPIKBETRDEC23(4) BAPICURR
CD_P_UNT4Condition pricing unit KPEINCNUMC5NUMC5
CD_D_UNT4Condition unit in the document KVMEIUNIT3Assigned to domainCUNITMEINS
CD_D_UISO4Condition unit of measure in UoM KVMEI_ISOCHAR3T006IISOCD_UNIT
CD_CURR4Currency Key WAERSCUKY5TCURCWAERSFWS
CD_CU_ISO4ISO code currency WAERS_ISOCHAR3ISOCD
FKK_CONACCTCharacter Field of Length 12 CHAR12CHAR12CHAR12
REF_DOCDocument number of the reference document VGBELCHAR10Assigned to domainALPHAVBELN
REF_DOC_CADocument category of preceding SD document VBTYP_VCHAR1VBTYP
SEPA_MANDATE_IDUnique Referene to Mandate per Payment Recipient SEPA_MNDIDCHAR35ID035

Key field Non-key field



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

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

How to access SAP table BAPISDHEAD

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