BAPISDHEAD1 SAP (Communication Fields: Sales and Distribution Document Header) Structure details
Description: Communication Fields: Sales and Distribution Document Header
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 |
REFOBJECTTYPE | Object Type | SWO_OBJTYP | CHAR | 10 | TOJTB | OJ_NAME | OBJ | ||
REFOBJECTKEY | Object key | SWO_TYPEID | CHAR | 70 | SWO_TYPEID | ||||
REFDOCTYPE | Document type of reference object | REFDOCTYPE | CHAR | 10 | CHAR10 | ||||
DOC_TYPE | Sales Document Type | AUART | CHAR | 4 | TVAK | AUART | AUART | AAT | |
COLLECT_NO | Collective Number | SUBMI | CHAR | 10 | CHAR10 | ||||
SALES_ORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
DISTR_CHAN | Distribution Channel | VTWEG | CHAR | 2 | TVKOV | VTWEG | VTW | C_VTWEG | |
DIVISION | Division | SPART | CHAR | 2 | TVTA | SPART | SPA | C_SPART | |
SALES_GRP | Sales Group | VKGRP | CHAR | 3 | TVBVK | VKGRP | VKG | ||
SALES_OFF | Sales Office | VKBUR | CHAR | 4 | TVKBZ | VKBUR | VKB | ||
REQ_DATE_H | Requested delivery date | EDATU_VBAK | DATS | 8 | DATUM | ||||
DATE_TYPE | Proposed date type | PRGRS_VBAK | CHAR | 1 | PRGRS | ||||
PURCH_DATE | Customer purchase order date | BSTDK | DATS | 8 | DATUM | ||||
PO_METHOD | Customer purchase order type | BSARK | CHAR | 4 | T176 | BSARK | |||
PO_SUPPLEM | Purchase order number supplement | BSTZD | CHAR | 4 | BSTZD | ||||
REF_1 | Your Reference | IHREZ | CHAR | 12 | TEXT12 | ||||
NAME | Name of orderer | BNAME_V | CHAR | 35 | NAME | ||||
TELEPHONE | Telephone Number | TELF1_VP | CHAR | 16 | TELF1 | ||||
PRICE_GRP | Price group (customer) | KONDA | CHAR | 2 | T188 | KONDA | VKA | ||
CUST_GROUP | Customer group | KDGRP | CHAR | 2 | T151 | KDGRP | VKD | ||
SALES_DIST | Sales district | BZIRK | CHAR | 6 | T171 | BZIRK | BZI | ||
PRICE_LIST | Price list type | PLTYP | CHAR | 2 | T189 | PLTYP | VPL | ||
INCOTERMS1 | Incoterms (Part 1) | INCO1 | CHAR | 3 | TINC | INCO1 | |||
INCOTERMS2 | Incoterms (Part 2) | INCO2 | CHAR | 28 | INCO2 | ||||
PMNTTRMS | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
DLV_BLOCK | Delivery block (document header) | LIFSK | CHAR | 2 | TVLS | LIFSP | |||
BILL_BLOCK | Billing block in SD document | FAKSK | CHAR | 2 | TVFS | FAKSP | |||
ORD_REASON | Order reason (reason for the business transaction) | AUGRU | CHAR | 3 | TVAU | AUGRU | |||
COMPL_DLV | Complete delivery defined for each sales order? | AUTLF | CHAR | 1 | XFELD | ||||
PRICE_DATE | Date for pricing and exchange rate | PRSDT | DATS | 8 | DATUM | ||||
QT_VALID_F | Quotation/Inquiry is valid from | ANGDT_V | DATS | 8 | DATUM | ||||
QT_VALID_T | Date until which bid/quotation is binding (valid-to date) | BNDDT | DATS | 8 | DATUM | ||||
CT_VALID_F | Valid-from date (outline agreements, product proposals) | GUEBG | DATS | 8 | DATUM | ||||
CT_VALID_T | Valid-to date (outline agreements, product proposals) | GUEEN | DATS | 8 | DATUM | ||||
CUST_GRP1 | Customer group 1 | KVGR1 | CHAR | 3 | TVV1 | KVGR1 | |||
CUST_GRP2 | Customer group 2 | KVGR2 | CHAR | 3 | TVV2 | KVGR2 | |||
CUST_GRP3 | Customer group 3 | KVGR3 | CHAR | 3 | TVV3 | KVGR3 | |||
CUST_GRP4 | Customer group 4 | KVGR4 | CHAR | 3 | TVV4 | KVGR4 | |||
CUST_GRP5 | Customer group 5 | KVGR5 | CHAR | 3 | TVV5 | KVGR5 | |||
PURCH_NO_C | Customer purchase order number | BSTKD | CHAR | 35 | BSTKD | ||||
PURCH_NO_S | Ship-to Party's Purchase Order Number | BSTKD_E | CHAR | 35 | BSTKD | ||||
PO_DAT_S | Ship-to party's PO date | BSTDK_E | DATS | 8 | DATUM | ||||
PO_METH_S | Ship-to party purchase order type | BSARK_E | CHAR | 4 | T176 | BSARK | |||
REF_1_S | Ship-to party character | IHREZ_E | CHAR | 12 | TEXT12 | ||||
SD_DOC_CAT | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
DOC_DATE | Document Date (Date Received/Sent) | AUDAT | DATS | 8 | DATUM | ||||
WAR_DATE | Warranty Date | GWLDT | DATS | 8 | DATUM | ||||
SHIP_COND | Shipping Conditions | VSBED | CHAR | 2 | TVSB | VSBED | |||
PP_SEARCH | Search term for product proposal | KTEXT_V | CHAR | 40 | TEXT40 | ||||
DUN_COUNT | Number of contacts from the customer | MAHZA | DEC | 3 | PACK2 | ||||
DUN_DATE | Last customer contact date | MAHDT | DATS | 8 | DATUM | ||||
DLVSCHEDUSE | Usage Indicator | ABRVW | CHAR | 3 | TVLV | ABRVW | |||
PLAN_DLV_SCHTYPE | MRP for delivery schedule types | ABDIS | CHAR | 1 | ABRAB | ||||
REF_DOC | Document number of the reference document | VGBEL | CHAR | 10 | VBUK | ALPHA | VBELN | ||
COMP_CODE_B | Company code to be billed | BUKRS_VF | CHAR | 4 | T001 | BUKRS | BUK | ||
ALT_TAX_CLASS | Alternative tax classification | TAXK1_AK | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS2 | Tax classification 2 for customer | TAXK2 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS3 | Tax classification 3 for customer | TAXK3 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS4 | Tax Classification 4 Customer | TAXK4 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS5 | Tax classification 5 for customer | TAXK5 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS6 | Tax classification 6 for customer | TAXK6 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS7 | Tax classification 7 for customer | TAXK7 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS8 | Tax classification 8 for customer | TAXK8 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS9 | Tax classification 9 for customer | TAXK9 | CHAR | 1 | TSKD | TAXKD | |||
REF_DOC_L | Reference Document Number | XBLNR_V | CHAR | 16 | XBLNR | ||||
ASS_NUMBER | Assignment number | ORDNR_V | CHAR | 18 | ZUONR | ||||
REF_DOC_CAT | Document category of preceding SD document | VBTYP_V | CHAR | 1 | VBTYP | ||||
ORD_COMB_IN | Order Combination Indicator | KZAZU_D | CHAR | 1 | XFELD | ||||
BILL_SCHED | Invoice dates (calendar identification) | PERFK | CHAR | 2 | TFACD | WFCID | |||
INVO_SCHED | Invoice list schedule (calendar identification) | PERRL | CHAR | 2 | TFACD | WFCID | |||
MN_INVOICE | Manual invoice maintenance | MRNKZ | CHAR | 1 | XFELD | ||||
EXCH_RATE_FI | Exchange rate for FI postings | KURRF | DEC | 9(5) | KURRF | ||||
ADD_VAL_DY | Additional value days | VALTG | NUMC | 2 | TAGE2 | ||||
FIX_VAL_DY | Fixed value date | VALDT | DATS | 8 | DATUM | ||||
PYMT_METH | Payment Method | DZLSCH | CHAR | 1 | T042Z | ZLSCH | |||
ACCNT_ASGN | Account assignment group for this customer | KTGRD | CHAR | 2 | TVKT | KTGRD | |||
EXCHG_RATE | Exchange Rate for Price Determination | KURSK | DEC | 9(5) | EXCRT | KURRF | |||
BILL_DATE | Billing date for billing index and printout | FKDAT | DATS | 8 | DATUM | ||||
SERV_DATE | Date on which services rendered | FBUDA | DATS | 8 | DATUM | ||||
DUNN_KEY | Dunning key | MSCHL | CHAR | 1 | T040 | MSCHL | |||
DUNN_BLOCK | Dunning block | MANSP | CHAR | 1 | T040S | MANSP | |||
PYMT_GAR_PROC | Payment guarantee procedure | ABSSCHE_CM | CHAR | 6 | ABSSCHE_CM | ||||
DEPARTMENT_NO | Department number | ABTNR | CHAR | 4 | TSAB | ABTNR | |||
REC_POINT | Receiving point | EMPST | CHAR | 25 | TEXT25 | ||||
DOC_NUM_FI | Financial doc. processing: Internal financial doc. number | LCNUM | CHAR | 10 | Assigned to domain | ALPHA | LCNUM | AKN | |
CUST_COND_GRP1 | Customer condition group 1 | KDKG1 | CHAR | 2 | TVKGG | KDKGR | |||
CUST_COND_GRP2 | Customer condition group 2 | KDKG2 | CHAR | 2 | TVKGG | KDKGR | |||
CUST_COND_GRP3 | Customer condition group 3 | KDKG3 | CHAR | 2 | TVKGG | KDKGR | |||
CUST_COND_GRP4 | Customer condition group 4 | KDKG4 | CHAR | 2 | TVKGG | KDKGR | |||
CUST_COND_GRP5 | Customer condition group 5 | KDKG5 | CHAR | 2 | TVKGG | KDKGR | |||
DLV_TIME | Agreed delivery time | DELCO | CHAR | 3 | TVDC | DELCO | |||
CURRENCY | SD Document Currency | WAERK | CUKY | 5 | TCURC | WAERS | FWS | ||
CURRENCY_ISO | ISO code currency | WAERS_ISO | CHAR | 3 | ISOCD | ||||
CREATED_BY | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
TAX_DEPART_CTY | Tax departure country | LANDTX | CHAR | 3 | T005 | LAND1 | LND | ||
TAX_DEST_CTY | Tax Destination Country | LAND1TX | CHAR | 3 | T005 | LAND1 | LND | ||
EU_TRIANG_DEAL | Indicator: Triangular deal within the EU ? | XEGDR | CHAR | 1 | XFELD | ||||
MASTER_CONTR | Mster contract number | VBELN_GRP | CHAR | 10 | VBUK | ALPHA | VBELN | ||
REF_PROC | Referencing requirement: Procedure | SCHEME_GRP | CHAR | 4 | TVGRPS | SCHEME_GRP | |||
CHECK_PARTN_AUTH | Check partner authorizations | ABRUF_PART | CHAR | 1 | ABRUF_PART | ||||
CML_QTY_DATE | Cml delivery order qty date | DAT_FZAU | DATS | 8 | DATUM | ||||
VERSION | Sales document version number | VSNMR_V | CHAR | 12 | VSNMR | ||||
NOTIF_NO | Notification No | QMNUM | CHAR | 12 | Assigned to domain | ALPHA | QMNUM | IQM | |
REF_DOC_L_LONG | Reference Document Number (See long text for dependencies) | XBLNR_V_LONG | CHAR | 35 | XBLNR_LONG | ||||
FKK_CONACCT | Contract Account Number | CORR_VKONT_KK | CHAR | 12 | ALPHA | CORR_VKONT_KK | |||
SEPA_MANDATE_ID | Unique Referene to Mandate per Payment Recipient | SEPA_MNDID | CHAR | 35 | ID035 |
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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects