BAPIACAP09 SAP (Vendor Item) Structure details
Description: Vendor Item
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_ACC | Accounting Document Line Item Number | POSNR_ACC | NUMC | 10 | POSNR_ACC | ||||
VENDOR_NO | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
GL_ACCOUNT | General Ledger Account | HKONT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
REF_KEY_1 | Business partner reference key | XREF1 | CHAR | 12 | CHAR12 | ||||
REF_KEY_2 | Business partner reference key | XREF2 | CHAR | 12 | CHAR12 | ||||
REF_KEY_3 | Reference key for line item | XREF3 | CHAR | 20 | CHAR20 | ||||
COMP_CODE | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
BUS_AREA | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
PMNTTRMS | Terms of Payment Key | ACPI_ZTERM | CHAR | 4 | CHAR4 | ||||
BLINE_DATE | Baseline Date For Due Date Calculation | ACPI_ZFBDT | DATS | 8 | DATUM | ||||
DSCT_DAYS1 | Days for first cash discount | ACPI_ZBD1T | DEC | 3 | ZBDXT | ||||
DSCT_DAYS2 | Days for second cash discount | ACPI_ZBD2T | DEC | 3 | ZBDXT | ||||
NETTERMS | Deadline for net conditions | ACPI_ZBD3T | DEC | 3 | ZBDXT | ||||
DSCT_PCT1 | Percentage for First Cash Discount | ACPI_ZBD1P | DEC | 5(3) | PRZ23 | ||||
DSCT_PCT2 | Percentage for Second Cash Discount | ACPI_ZBD2P | DEC | 5(3) | PRZ23 | ||||
PYMT_METH | Payment method | ACPI_ZLSCH | CHAR | 1 | Assigned to domain | ZLSCH | |||
PMTMTHSUPL | Payment Method Supplement | UZAWE | CHAR | 2 | Assigned to domain | UZAWE | |||
PMNT_BLOCK | Payment block key | ACPI_ZLSPR | CHAR | 1 | CHAR1 | SPE | |||
SCBANK_IND | State Central Bank Indicator | LZBKZ | CHAR | 3 | Assigned to domain | LZBKZ | |||
SUPCOUNTRY | Supplying Country | LANDL | CHAR | 3 | Assigned to domain | LAND1 | |||
SUPCOUNTRY_ISO | Supplier country ISO code | LANDL_ISO | CHAR | 2 | INTCA | ||||
BLLSRV_IND | Service Indicator (Foreign Payment) | DIEKZ | CHAR | 1 | DIEKZ | ||||
ALLOC_NMBR | Assignment Number | ACPI_ZUONR | CHAR | 18 | ZUONR | ||||
ITEM_TEXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
PO_SUB_NO | ISR Subscriber Number | ESRNR | CHAR | 11 | ESRNR | ||||
PO_CHECKDG | ISR Check Digit | ESRPZ | CHAR | 2 | CHAR2 | ||||
PO_REF_NO | ISR Reference Number | ESRRE | CHAR | 27 | ALPHA | ESRRE | |||
W_TAX_CODE | Withholding tax code | ACPI_QSSKZ | CHAR | 2 | CHAR02 | ||||
BUSINESSPLACE | Stores | ACPI_BRANCH | CHAR | 4 | CHAR4 | ||||
SECTIONCODE | Section Code | ACPI_SECCO1 | CHAR | 4 | CHAR4 | ||||
INSTR1 | Instruction key 1 | DTAT16 | NUMC | 2 | Assigned to domain | DTWSX | |||
INSTR2 | Instruction key 2 | DTAT17 | NUMC | 2 | Assigned to domain | DTWSX | |||
INSTR3 | Instruction key 3 | DTAT18 | NUMC | 2 | Assigned to domain | DTWSX | |||
INSTR4 | Instruction key 4 | DTAT19 | NUMC | 2 | Assigned to domain | DTWSX | |||
BRANCH | Account number of the branch | ACPI_FILKD | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | ||
PYMT_CUR | Currency for automatic payment | ACPI_PYCUR | CUKY | 5 | Assigned to domain | WAERS | |||
PYMT_AMT | Amount in Payment Currency | ACPI_PYAMT | DEC | 23(4) | BAPICURR | ||||
PYMT_CUR_ISO | ISO code currency | WAERS_ISO | CHAR | 3 | ISOCD | ||||
SP_GL_IND | Special G/L Indicator | ACPI_UMSKZ | CHAR | 1 | CHAR1 | ||||
TAX_CODE | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
TAX_DATE | Date Relevant for Determining the Tax Rate | ACPI_TXDAT | DATS | 8 | DATUM | ||||
TAXJURCODE | Tax Jurisdiction | TXJCD | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
ALT_PAYEE | Alternative payee | VVABWZE | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | ||
ALT_PAYEE_BANK | Bank type of alternative payer | VVBVTYPABW | CHAR | 4 | BVTYP | ||||
PARTNER_BK | Partner Bank Type | BVTYP | CHAR | 4 | BVTYP | ||||
BANK_ID | Short Key for a House Bank | HBKID | CHAR | 5 | Assigned to domain | HBKID | |||
PARTNER_GUID | Com. Interface: Business Partner GUID | ACPI_GC_PARTNEG | CHAR | 32 | CHAR32 | ||||
PROFIT_CTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
FUND | Fund | BP_GEBER | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
GRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
MEASURE | Funded Program | FM_MEASURE | CHAR | 24 | Assigned to domain | FM_MEASURE | FM_MEASURE | ||
HOUSEBANKACCTID | ID for account details | HKTID | CHAR | 5 | Assigned to domain | HKTID | |||
BUDGET_PERIOD | FM: Budget Period | FM_BUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER | ||
PPA_EX_IND | PPA Exclude Indicator | EXCLUDE_FLG | CHAR | 1 | XFELD |
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 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