BAPIACAP09 SAP (Vendor Item) Structure details

Dictionary Type: Structure
Description: Vendor Item




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




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

BAPIACAP09 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 "Vendor Item" 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_BAPIACAP09 TYPE BAPIACAP09.

The BAPIACAP09 table consists of various fields, each holding specific information or linking keys about Vendor Item data available in SAP. These include VENDOR_NO (Account Number of Vendor or Creditor), GL_ACCOUNT (General Ledger Account), REF_KEY_1 (Business partner reference key), REF_KEY_2 (Business partner reference key).. 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 BAPIACAP09 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
ITEMNO_ACCAccounting Document Line Item Number POSNR_ACCNUMC10POSNR_ACC
VENDOR_NOAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
GL_ACCOUNTGeneral Ledger Account HKONTCHAR10Assigned to domainALPHASAKNR
REF_KEY_1Business partner reference key XREF1CHAR12CHAR12
REF_KEY_2Business partner reference key XREF2CHAR12CHAR12
REF_KEY_3Reference key for line item XREF3CHAR20CHAR20
COMP_CODECompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
BUS_AREABusiness Area GSBERCHAR4Assigned to domainGSBERGSB
PMNTTRMSTerms of Payment Key ACPI_ZTERMCHAR4CHAR4
BLINE_DATEBaseline Date For Due Date Calculation ACPI_ZFBDTDATS8DATUM
DSCT_DAYS1Days for first cash discount ACPI_ZBD1TDEC3ZBDXT
DSCT_DAYS2Days for second cash discount ACPI_ZBD2TDEC3ZBDXT
NETTERMSDeadline for net conditions ACPI_ZBD3TDEC3ZBDXT
DSCT_PCT1Percentage for First Cash Discount ACPI_ZBD1PDEC5(3) PRZ23
DSCT_PCT2Percentage for Second Cash Discount ACPI_ZBD2PDEC5(3) PRZ23
PYMT_METHPayment method ACPI_ZLSCHCHAR1Assigned to domainZLSCH
PMTMTHSUPLPayment Method Supplement UZAWECHAR2Assigned to domainUZAWE
PMNT_BLOCKPayment block key ACPI_ZLSPRCHAR1CHAR1SPE
SCBANK_INDState Central Bank Indicator LZBKZCHAR3Assigned to domainLZBKZ
SUPCOUNTRYSupplying Country LANDLCHAR3Assigned to domainLAND1
SUPCOUNTRY_ISOSupplier country ISO code LANDL_ISOCHAR2INTCA
BLLSRV_INDService Indicator (Foreign Payment) DIEKZCHAR1DIEKZ
ALLOC_NMBRAssignment Number ACPI_ZUONRCHAR18ZUONR
ITEM_TEXTItem Text SGTXTCHAR50TEXT50
PO_SUB_NOISR Subscriber Number ESRNRCHAR11ESRNR
PO_CHECKDGISR Check Digit ESRPZCHAR2CHAR2
PO_REF_NOISR Reference Number ESRRECHAR27ALPHAESRRE
W_TAX_CODEWithholding tax code ACPI_QSSKZCHAR2CHAR02
BUSINESSPLACEStores ACPI_BRANCHCHAR4CHAR4
SECTIONCODESection Code ACPI_SECCO1CHAR4CHAR4
INSTR1Instruction key 1 DTAT16NUMC2Assigned to domainDTWSX
INSTR2Instruction key 2 DTAT17NUMC2Assigned to domainDTWSX
INSTR3Instruction key 3 DTAT18NUMC2Assigned to domainDTWSX
INSTR4Instruction key 4 DTAT19NUMC2Assigned to domainDTWSX
BRANCHAccount number of the branch ACPI_FILKDCHAR10Assigned to domainALPHALIFNR
PYMT_CURCurrency for automatic payment ACPI_PYCURCUKY5Assigned to domainWAERS
PYMT_AMTAmount in Payment Currency ACPI_PYAMTDEC23(4) BAPICURR
PYMT_CUR_ISOISO code currency WAERS_ISOCHAR3ISOCD
SP_GL_INDSpecial G/L Indicator ACPI_UMSKZCHAR1CHAR1
TAX_CODETax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
TAX_DATEDate Relevant for Determining the Tax Rate ACPI_TXDATDATS8DATUM
TAXJURCODETax Jurisdiction TXJCDCHAR15Assigned to domainTXJCDTXJ
ALT_PAYEEAlternative payee VVABWZECHAR10Assigned to domainALPHAKUNNR
ALT_PAYEE_BANKBank type of alternative payer VVBVTYPABWCHAR4BVTYP
PARTNER_BKPartner Bank Type BVTYPCHAR4BVTYP
BANK_IDShort Key for a House Bank HBKIDCHAR5Assigned to domainHBKID
PARTNER_GUIDCom. Interface: Business Partner GUID ACPI_GC_PARTNEGCHAR32CHAR32
PROFIT_CTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
FUNDFund BP_GEBERCHAR10Assigned to domainBP_GEBERFIC
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
MEASUREFunded Program FM_MEASURECHAR24Assigned to domainFM_MEASUREFM_MEASURE
HOUSEBANKACCTIDID for account details HKTIDCHAR5Assigned to domainHKTID
BUDGET_PERIODFM: Budget Period FM_BUDGET_PERIODCHAR10Assigned to domainFM_BUDGET_PERIODBUDPER
PPA_EX_INDPPA Exclude Indicator EXCLUDE_FLGCHAR1XFELD

Key field Non-key field



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

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

How to access SAP table BAPIACAP09

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