BAPIACHEADO SAP (Communication structure: Payment document header data) Structure details

Dictionary Type: Structure
Description: Communication structure: Payment document header data




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




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

BAPIACHEADO 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: Payment document 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_BAPIACHEADO TYPE BAPIACHEADO.

The BAPIACHEADO table consists of various fields, each holding specific information or linking keys about Communication structure: Payment document header data data available in SAP. These include PAYTYPE (Agency business: Payment type), BILL_DATE (Agency business: Posting date), DIFF_INV (Different Invoicing Party), PURCH_ORG (Purchasing Organization).. 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 BAPIACHEADO 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
PAYM_DOCAgency Business: Payment Number WBELN_ZRCHAR10WBRKALPHAWBELNWLZ
PAYTYPEAgency business: Payment type WRARTCHAR4TMZRWRARTWRA
BILL_DATEAgency business: Posting date WFDATDATS8DATUM
DIFF_INVDifferent Invoicing Party LIFRECHAR10LFA1ALPHALIFNRLRE
PURCH_ORGPurchasing Organization EKORGCHAR4T024EEKORGEKO
PUR_GROUPPurchasing Group EKGRPCHAR3T024EKGRPEKG
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
GROSS_AMNTAgency business: Total invoice amount WBRTWBDEC23(4) BAPICURR
EXCH_RATEDirect Quoted Exchange Rate UKURSPDEC9(5) PKURS
EX_RATE_FXIndicator: Fixing of exchange rate WKUFIXCHAR1XFELD
TRANS_DATETranslation Date WWERT_DDATS8DATUM
PMNTTRMSTerms of Payment Key DZTERMCHAR4ZTERM
DSCNT1_TOCash (Prompt Payment) Discount Days DZBDETDEC3ZBDXT
DSCT_PCT1Cash Discount Percentage 1 DZBD1PDEC5(3) PRZ23
DSCNT2_TOCash discount days 2 DZBD2TDEC3ZBDXT
DSCT_PCT2Cash Discount Percentage 2 DZBD2PDEC5(3) PRZ23
DSCNT3_TONet Payment Terms Period DZBD3TDEC3ZBDXT
ADD_VAL_DYAdditional value days VALTGNUMC2TAGE2
FIX_VAL_DYFixed value date VALDTDATS8DATUM
BILL_TOBill-to party KUNRECHAR10KNA1ALPHAKUNNRKUN
SALESORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
DISTR_CHANDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
DIVISIONDivision SPARTCHAR2TSPASPARTSPAC_SPART
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
PMNT_METH_DEBCustomer payment method SCHZW_BSEGDCHAR1T042ZZLSCH
ADD_VAL_DY_DEBAdditional Value Days (Customer) WVALTDNUMC2TAGE2
FIX_VAL_DY_DEBFixed Value Date (Customer) WVALDDDATS8DATUM
EXCH_RATE_VIndirect Quoted Exchange Rate UKURSMDEC9(5) PKURS
ALLOC_NMBRAssignment Number DZUONRCHAR18ZUONR
SALES_OFFSales Office VKBURCHAR4Assigned to domainVKBURVKB
SALES_GRPSales Group VKGRPCHAR3Assigned to domainVKGRPVKG
LOGSYSTEMLogical System LOGSYSTEMCHAR10Assigned to domainALPHALOGSYS
REF_DOC_NO_LONGReference Document Number (for Dependencies see Long Text) XBLNR_LONGCHAR35XBLNR_LONG
BILL_TYPEAgency business: Billing document type WFARTCHAR4TMFKWFARTWFA
PAYERPayer KUNRGCHAR10Assigned to domainALPHAKUNNR
BILL_REASONAgency business: Reason for activity WFGRUCHAR3Assigned to domainWFGRU
ALT_PAYEEAgency business: Payee W_LIFZECHAR10LFA1ALPHALIFNR
CANCELLED_DOCAgency business: cancelled (reversed) document LFAKSCHAR10Assigned to domainALPHAWBELN
SETTLEMENT_TYPESettlement Type NAFKTCHAR1NAFKT
POSTING_PARTYPosting Partner WLF_POST_PARTYCHAR1WLF_POST_PARTY
BILL_CATEGORYAgency business: Billing category WFTYPCHAR2WFTYP
IDO_TYPE_VENDORAB: Identification Object Type Vendor WLF_IDOBJ_TYPE_VENDORCHAR4TMIDTVWLF_IDOBJ_TYPE_VENDOR
ID_OBJECT_VENDORAB: Identification Object Vendor WLF_IDOBJ_VENDORCHAR30WLF_IDOBJ
IDO_TYPE_CUSTAB: Identification Object Type Customer WLF_IDOBJ_TYPE_CUSTOMERCHAR4TMIDTCWLF_IDOBJ_TYPE_CUSTOMER
ID_OBJECT_CUSTAB: Identification Object Customer WLF_IDOBJ_CUSTOMERCHAR30WLF_IDOBJ
APPL_STATUSAgency business: Application status WSTATECHAR4TMPA2WSTATE
VAT_REG_NO_VVendor VAT registration number LIEFRUINRCHAR20STCEG
VAT_REG_NO_CCustomer VAT registration number KUNDEUINRCHAR20STCEG
TAX_DEPART_CTYTax departure country LANDTXCHAR3T005LAND1LND
TAX_DEST_CTYTax Destination Country LAND1TXCHAR3T005LAND1LND
EU_TRIANG_DEALIndicator: Triangular deal within the EU ? XEGDRCHAR1XFELD
INCOTERMS1Incoterms (Part 1) INCO1CHAR3Assigned to domainINCO1
INCOTERMS2Incoterms (Part 2) INCO2CHAR28INCO2

Key field Non-key field



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

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

How to access SAP table BAPIACHEADO

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