BAPISDH1 SAP (Communication Fields: SD Order Header) Structure details
Description: Communication Fields: SD Order Header
Structure field list including key, data, relationships and ABAP select examples
BAPISDH1 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: SD Order 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_BAPISDH1 TYPE BAPISDH1.
The BAPISDH1 table consists of various fields, each holding specific information or linking keys about Communication Fields: SD Order Header data available in SAP. These include SALES_ORG (Sales Organization), DISTR_CHAN (Distribution Channel), DIVISION (Division), SALES_GRP (Sales Group).. 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 BAPISDH1 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 |
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 | TVTW | VTWEG | VTW | C_VTWEG | |
DIVISION | Division | SPART | CHAR | 2 | TSPA | SPART | SPA | C_SPART | |
SALES_GRP | Sales Group | VKGRP | CHAR | 3 | TVKGR | VKGRP | VKG | ||
SALES_OFF | Sales Office | VKBUR | CHAR | 4 | TVBUR | VKBUR | VKB | ||
REQ_DATE_H | Requested delivery date | EDATU_VBAK | DATS | 8 | DATUM | ||||
DATE_TYPE | Proposed date type | PRGRS_VBAK | CHAR | 1 | PRGRS | ||||
PURCH_NO_C | Customer purchase order number | BSTKD | CHAR | 35 | BSTKD | ||||
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_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 | ||||
COSTCENTER | Cost Center | KOSTL | CHAR | 10 | CSKS | ALPHA | KOSTL | KOS | |
WBS_ELEM | Work Breakdown Structure Element (WBS Element) | PS_POSID | CHAR | 24 | PROJN | PS_POSID | PRO | ||
DLVSCHDUSE | Usage Indicator | ABRVW | CHAR | 3 | TVLV | ABRVW | |||
PLDLVSTYP | MRP for delivery schedule types | ABDIS | CHAR | 1 | ABRAB | ||||
REF_DOC | Document number of the reference document | VGBEL | CHAR | 10 | VBUK | ALPHA | VBELN | ||
COMP_CDE_B | Company code to be billed | BUKRS_VF | CHAR | 4 | T001 | BUKRS | BUK | ||
ALTTAX_CLS | 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 | ||||
REFDOC_CAT | Document category of preceding SD document | VBTYP_V | CHAR | 1 | VBTYP | ||||
ORDCOMB_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 | ||||
EXRATE_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 | |||
PROMOTION | COUPON | WAKTION | CHAR | 10 | WAKH | ALPHA | WAKTION | WAK | |
PMTGAR_PRO | Payment guarantee procedure | ABSSCHE_CM | CHAR | 6 | ABSSCHE_CM | ||||
DEPARTM_NO | Department number | ABTNR | CHAR | 4 | TSAB | ABTNR | |||
REC_POINT | Receiving point | EMPST | CHAR | 25 | TEXT25 | ||||
POITM_NO_S | Item Number of the Underlying Purchase Order | POSEX_E | CHAR | 6 | ALPHA | POSEX | |||
DOC_NUM_FI | Financial doc. processing: Internal financial doc. number | LCNUM | CHAR | 10 | Assigned to domain | ALPHA | LCNUM | AKN | |
CSTCNDGRP1 | Customer condition group 1 | KDKG1 | CHAR | 2 | TVKGG | KDKGR | |||
CSTCNDGRP2 | Customer condition group 2 | KDKG2 | CHAR | 2 | TVKGG | KDKGR | |||
CSTCNDGRP3 | Customer condition group 3 | KDKG3 | CHAR | 2 | TVKGG | KDKGR | |||
CSTCNDGRP4 | Customer condition group 4 | KDKG4 | CHAR | 2 | TVKGG | KDKGR | |||
CSTCNDGRP5 | Customer condition group 5 | KDKG5 | CHAR | 2 | TVKGG | KDKGR | |||
DLV_TIME | Agreed delivery time | DELCO | CHAR | 3 | DELCO | ||||
CURRENCY | SD Document Currency | WAERK | CUKY | 5 | TCURC | WAERS | FWS | ||
CURR_ISO | ISO code currency | WAERS_ISO | CHAR | 3 | ISOCD | ||||
FKK_CONACCT | Character field of length 12 | CHAR012 | CHAR | 12 | CHAR12 | ||||
CAMPAIGN | Generic project planning: GUID from external R/3 system | CGPL_GUID16_R3 | RAW | 16 | SYSUUID | ||||
DOC_CLASS | Original system with release and transaction control | VBKLA | CHAR | 9 | CHAR9 | ||||
H_CURR | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
H_CURR_ISO | ISO currency code | ISOCD | CHAR | 3 | ISOCD | ||||
SHIP_TYPE | Shipping type | VSARTTR | CHAR | 2 | T173 | VERSART | |||
S_PROC_IND | Special processing indicator | SDABW | CHAR | 4 | TVSAK | SDABW | |||
REF_DOC_L_LONG | Reference Document Number (See long text for dependencies) | XBLNR_V_LONG | CHAR | 35 | XBLNR_LONG | ||||
VERSION | Sales document version number | VSNMR_V | CHAR | 12 | VSNMR | ||||
PSM_PSTNG_DATE | Posting Date in the Document | PSM_BUDAT | DATS | 8 | DATUM | ||||
TREASURY_ACC_SYMBOL | Treasury Account Symbol | PSM_TAS | CHAR | 30 | CHAR30 | ||||
BUSINESS_EVENT_TCODE | Business Event Transaction Code | PSM_BETC | CHAR | 10 | CHAR10 | ||||
MODIFICATION_ALLOWED | Modification Allowed | PSM_MOD_ALLOW | CHAR | 1 | CHAR1 | ||||
CANCELLATION_ALLOWED | Cancellation Allowed | PSM_CANC_ALLOW | CHAR | 1 | CHAR1 | ||||
PAYMENT_METHODS | List of the Payment Methods to be Considered | DZWELS | CHAR | 10 | ZWELS | ||||
BUSINESS_PARTNER_NO | Business Partner Number | PSM_BPN | CHAR | 6 | Assigned to domain | ALPHA | RCOMP | ||
REPORTING_FREQ | Reporting Frequency | PSM_REP_FREQ | CHAR | 3 | CHAR3 | ||||
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 BAPISDH1 using ABAP code?
As BAPISDH1 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 BAPISDH1 as there is no data to select.How to access SAP table BAPISDH1
Within an ECC or HANA version of SAP you can also view further information about BAPISDH1 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