BAPICDHEADO SAP (Communication Structure: Customer Settlement Header Data) Structure details

Dictionary Type: Structure
Description: Communication Structure: Customer Settlement Header Data




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




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

BAPICDHEADO 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 Structure: Customer Settlement 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_BAPICDHEADO TYPE BAPICDHEADO.

The BAPICDHEADO table consists of various fields, each holding specific information or linking keys about Communication Structure: Customer Settlement Header Data data available in SAP. These include PAYTYPE (Agency business: Payment type), BILL_TYPE (Agency business: Billing document type), BILL_DATE (Agency business: Posting date), BILL_TO (Bill-to party).. 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 BAPICDHEADO 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
DOCUMENT_NUMBERAgency Business: Customer Settlement WBELN_CUCHAR10WBRKALPHAWBELNWLF
PAYTYPEAgency business: Payment type WRARTCHAR4TMZRWRARTWRA
BILL_TYPEAgency business: Billing document type WFARTCHAR4TMFKWFARTWFA
BILL_DATEAgency business: Posting date WFDATDATS8DATUM
BILL_TOBill-to party KUNRECHAR10KNA1ALPHAKUNNRKUN
PAYERPayer KUNRGCHAR10KNA1ALPHAKUNNR
SALESORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
DISTR_CHANDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
DIVISIONDivision SPARTCHAR2TSPASPARTSPAC_SPART
SALES_OFFSales Office VKBURCHAR4TVBURVKBURVKB
SALES_GRPSales Group VKGRPCHAR3TVKGRVKGRPVKG
COMP_CODECompany Code BUKRSCHAR4T001BUKRSBUKC_T001
ACCTSTATUSStatus for transfer to accounting WFBSKCHAR1WFBSK
CURRENCYCurrency of Agency Document WAERLCUKY5TCURCWAERSFWS
CURRENCY_ISOISO code currency WAERS_ISOCHAR3ISOCD
DOC_DATEDocument Date in Document BLDATDATS8DATUM
REF_DOC_NOReference Document Number XBLNRCHAR16XBLNR
PAYMT_REFPayment Reference KIDNOCHAR30CHAR30
ALLOC_NMBRAssignment Number DZUONRCHAR18ZUONR
GROSS_AMNTAgency business: Total invoice amount WBRTWBDEC23(4) BAPICURR
EXCH_RATEDirect Quoted Exchange Rate UKURSPDEC9(5) PKURS
EXCH_RATE_VIndirect Quoted Exchange Rate UKURSMDEC9(5) PKURS
EX_RATE_FXIndicator: Fixing of exchange rate WKUFIXCHAR1XFELD
TRANS_DATETranslation Date WWERT_DDATS8DATUM
PMNTTRMS_DEBTerms of Payment Key for Customer WZTERMDCHAR4ZTERM
DSCNT1_TO_DEBCash Discount Period for Customer WZBD1TDDEC3ZBDXT
DSCT_PCT1_DEBCash discount percentage 1 customer WZBD1PDDEC5(3) PRZ23
DSCNT2_TO_DEBCash discount period 2 customer WZBD2TDDEC3ZBDXT
DSCT_PCT2_DEBCash Discount Percentage 2 Customer WZBD2PDDEC5(3) PRZ23
DSCNT3_TO_DEBDeadline for Customer Net Condition WZBD3TDDEC3ZBDXT
ADD_VAL_DY_DEBAdditional Value Days (Customer) WVALTDNUMC2TAGE2
FIX_VAL_DY_DEBFixed Value Date (Customer) WVALDDDATS8DATUM
LOGSYSTEMLogical System LOGSYSTEMCHAR10Assigned to domainALPHALOGSYS
REF_DOC_NO_LONGReference Document Number (for Dependencies see Long Text) XBLNR_LONGCHAR35XBLNR_LONG
PMNT_METH_DEBCustomer payment method SCHZW_BSEGDCHAR1Assigned to domainZLSCH
INV_LIST_DATEAgency Business: Posting Date for the Remuneration List WFDAT_RLDATS8DATUM
BILL_REASONAgency business: Reason for activity WFGRUCHAR3Assigned to domainWFGRU
SETTLEMENT_TYPESettlement Type NAFKTCHAR1NAFKT
CANCELLED_DOCAgency business: cancelled (reversed) document LFAKSCHAR10Assigned to domainALPHAWBELN
BILL_CATEGORYAgency business: Billing category WFTYPCHAR2WFTYP
IDO_TYPE_CUSTAB: Identification Object Type Customer WLF_IDOBJ_TYPE_CUSTOMERCHAR4Assigned to domainWLF_IDOBJ_TYPE_CUSTOMER
ID_OBJECT_CUSTAB: Identification Object Customer WLF_IDOBJ_CUSTOMERCHAR30WLF_IDOBJ
VAT_REG_NO_VVendor VAT registration number LIEFRUINRCHAR20STCEG
VAT_REG_NO_CCustomer VAT registration number KUNDEUINRCHAR20STCEG
TAX_DEPART_CTYTax departure country LANDTXCHAR3Assigned to domainLAND1LND
TAX_DEST_CTYTax Destination Country LAND1TXCHAR3Assigned to domainLAND1LND
INCOTERMS1Incoterms (Part 1) INCO1CHAR3Assigned to domainINCO1
INCOTERMS2Incoterms (Part 2) INCO2CHAR28INCO2

Key field Non-key field



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

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

How to access SAP table BAPICDHEADO

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