BAPICSHEAD SAP (Communication Structure: Expenses Settlement Header Data) Structure details

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




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




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

BAPICSHEAD 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: Expenses 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_BAPICSHEAD TYPE BAPICSHEAD.

The BAPICSHEAD table consists of various fields, each holding specific information or linking keys about Communication Structure: Expenses Settlement Header Data data available in SAP. These include BILL_TYPE (Agency business: Billing document type), BILL_DATE (Agency business: Posting date), BILL_TO (Bill-to party), PAYER (Payer).. 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 BAPICSHEAD 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
REF_DOCDocument number of the reference document OLDNR_LFCHAR10CHAR10
BILL_TYPEAgency business: Billing document type WFARTCHAR4TMFKWFARTWFA
BILL_DATEAgency business: Posting date WFDATDATS8DATUM
BILL_TOBill-to party KUNRECHAR10KNA1ALPHAKUNNRKUN
PAYERPayer KUNRGCHAR10KNA1ALPHAKUNNR
SALESORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
DISTR_CHANDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
DIVISIONDivision SPARTCHAR2TSPASPARTSPAC_SPART
SALES_OFFSales Office VKBURCHAR4TVBURVKBURVKB
SALES_GRPSales Group VKGRPCHAR3TVKGRVKGRPVKG
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
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
PMNT_METH_DEBCustomer payment method SCHZW_BSEGDCHAR1Assigned to domainZLSCH
INV_LIST_DATEAgency Business: Posting Date for the Remuneration List WFDAT_RLDATS8DATUM
SOURCE_TYPECategory of document preceding vendor billing document WFTYP_VONCHAR1WFTYP_VON
DOCIDSAP ArchiveLink: Document ID SAEARDOIDCHAR40SADC40
TESTRUNSwitch to Simulation Session for Write BAPIs TESTRUNCHAR1BAPIFLAG
LOGSYSTEMLogical System LOGSYSTEMCHAR10Assigned to domainALPHALOGSYS
REF_DOC_NO_LONGReference Document Number (for Dependencies see Long Text) XBLNR_LONGCHAR35XBLNR_LONG
BILL_REASONAgency business: Reason for activity WFGRUCHAR3Assigned to domainWFGRU
IDO_TYPE_CUSTAB: Identification Object Type Customer WLF_IDOBJ_TYPE_CUSTOMERCHAR4TMIDTCWLF_IDOBJ_TYPE_CUSTOMER
ID_OBJECT_CUSTAB: Identification Object Customer WLF_IDOBJ_CUSTOMERCHAR30WLF_IDOBJ
VAT_REG_NOCustomer VAT registration number KUNDEUINRCHAR20STCEG
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 BAPICSHEAD using ABAP code?

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

How to access SAP table BAPICSHEAD

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