BAPIACGL01 SAP (Posting in Accounting: Billing Document (Item)) Structure details
Description: Posting in Accounting: Billing Document (Item)
Structure field list including key, data, relationships and ABAP select examples
BAPIACGL01 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 "Posting in Accounting: Billing Document (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_BAPIACGL01 TYPE BAPIACGL01.
The BAPIACGL01 table consists of various fields, each holding specific information or linking keys about Posting in Accounting: Billing Document (Item) data available in SAP. These include GL_ACCOUNT (General Ledger Account), STAT_CON (Indicator for Statistical Line Items), 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 BAPIACGL01 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 | ||||
GL_ACCOUNT | General Ledger Account | HKONT | CHAR | 10 | SKA1 | ALPHA | SAKNR | ||
STAT_CON | Indicator for Statistical Line Items | KSTAZ | CHAR | 1 | KSTAZ | ||||
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 | ||||
TAX_CODE | Tax on sales/purchases code | MWSKZ | CHAR | 2 | T007A | MWSKZ | |||
ACCT_KEY | Transaction Key | KTOSL | CHAR | 3 | CHAR3 | ||||
TAXJURCODE | Tax Jurisdiction | TXJCD | CHAR | 15 | TTXJ | TXJCD | TXJ | ||
CSHDIS_IND | Indicator: Line item not liable to cash discount? | XSKRL | CHAR | 1 | XFELD | ||||
ALLOC_NMBR | Assignment Number | DZUONR | CHAR | 18 | ZUONR | ||||
ITEM_TEXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
BUS_AREA | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
COSTCENTER | Cost Center | KOSTL | CHAR | 10 | CSKS | ALPHA | KOSTL | KOS | |
ORDERID | Order Number | AUFNR | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
MATERIAL | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
QUANTITY | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
BASE_UOM | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
BASE_UOM_ISO | Base unit of measure in ISO code | MEINS_ISO | CHAR | 3 | T006I | ISOCD_UNIT | |||
PLANT | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
PROFIT_CTR | Profit Center | PRCTR | CHAR | 10 | CEPC | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
PART_PRCTR | Partner Profit Center | PPRCTR | CHAR | 10 | CEPC | ALPHA | PRCTR | PPC | |
WBS_ELEMENT | Work Breakdown Structure Element (WBS Element) | PS_POSID | CHAR | 24 | PROJN | PS_POSID | PRO | ||
NETWORK | Network Number for Account Assignment | NPLNR | CHAR | 12 | AUFK | ALPHA | AUFNR | NET | |
CMMT_ITEM | Commitment Item | FIPOS | CHAR | 14 | FMFPO | FIPOS | FIP | ||
FUNDS_CTR | Funds Center | FISTL | CHAR | 16 | FMFCTR | FISTL | FIS | ||
FUND | Fund | BP_GEBER | CHAR | 10 | FMFINCODE | BP_GEBER | FIC | ||
SALES_ORD | Sales Order Number | KDAUF | CHAR | 10 | VBUK | ALPHA | VBELN | AUN | |
S_ORD_ITEM | Item Number in Sales Order | KDPOS | NUMC | 6 | NUM06 | KPO | |||
P_EL_PRCTR | Partner profit center for elimination of internal business | EPRCTR | CHAR | 10 | CEPC | ALPHA | PRCTR | ||
BILL_TYPE | Billing Type | FKART | CHAR | 4 | TVFK | FKART | |||
DISTR_CHAN | Distribution Channel | VTWEG | CHAR | 2 | TVTW | VTWEG | VTW | C_VTWEG | |
SOLD_TO | Sold-to party | KUNAG | CHAR | 10 | KNA1 | ALPHA | KUNNR | VAG | |
DIVISION | Division | SPART | CHAR | 2 | TSPA | SPART | SPA | C_SPART | |
SALESORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
SALES_OFF | Sales Office | VKBUR | CHAR | 4 | TVBUR | VKBUR | VKB | ||
SALES_GRP | Sales Group | VKGRP | CHAR | 3 | TVKGR | VKGRP | VKG | ||
INV_QTY | Actual Invoiced Quantity | FKIMG | QUAN | 13(3) | MENG13 | ||||
SALES_UNIT | Sales unit | VRKME | UNIT | 3 | T006 | CUNIT | MEINS | ||
SALES_UNIT_ISO | Sales unit in ISO code | VRKME_ISO | CHAR | 3 | T006I | ISOCD_UNIT | |||
INV_QTY_SU | Billing quantity in stockkeeping unit | FKLMG | QUAN | 13(3) | MENG13 | ||||
NET_WEIGHT | Net weight | NTGEW_15 | QUAN | 15(3) | MENG15 | ||||
GROSS_WT | Gross weight | BRGEW_15 | QUAN | 15(3) | MENG15 | ||||
UNIT_OF_WT | Weight Unit | GEWEI | UNIT | 3 | T006 | CUNIT | MEINS | ||
UNIT_OF_WT_ISO | Unit of weight in ISO code | GEWEI_ISO | CHAR | 3 | T006I | ISOCD_UNIT | |||
VOLUME | Volume | VOLUM_15 | QUAN | 15(3) | MENG15 | ||||
VOLUMEUNIT | Volume unit | VOLEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
VOLUMEUNIT_ISO | Volume unit in ISO code | VOLEH_ISO | CHAR | 3 | T006I | ISOCD_UNIT | |||
ACTIVITY | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
MATERIAL_EXTERNAL | Long Material Number for MATERIAL Field | MGV_MATERIAL_EXTERNAL | CHAR | 40 | MATNR_EXT | ||||
MATERIAL_GUID | External GUID for MATERIAL Field | MGV_MATERIAL_GUID | CHAR | 32 | MATNR_EGUID | ||||
MATERIAL_VERSION | Version Number for MATERIAL Field | MGV_MATERIAL_VERSION | CHAR | 10 | MATNW | MATNR_VERS | |||
CMMT_ITEM_LONG | Commitment Item | FM_FIPEX | CHAR | 24 | Assigned to domain | FM_FIPEX | FPS | ||
GRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
FUNC_AREA_LONG | Functional Area | FKBER | CHAR | 16 | Assigned to domain | FKBER | FBE | ||
SEGMENT | Segment for Segmental Reporting | FB_SEGMENT | CHAR | 10 | Assigned to domain | ALPHA | FB_SEGMENT | ||
PARTNER_SEGMENT | Partner Segment for Segmental Reporting | FB_PSEGMENT | CHAR | 10 | Assigned to domain | ALPHA | FB_SEGMENT | ||
FUND_LONG | Obsolete | FM_GEBER_LONG | CHAR | 20 | CHAR20 | ||||
PERFORMANCE_START_DATE | Period of Performance Start Date | FM_PEROP_ABA_LOW | DATS | 8 | DATUM | ||||
PERFORMANCE_END_DATE | Period of Performance End Date | FM_PEROP_ABA_HIGH | DATS | 8 | DATUM | ||||
BUDGET_PERIOD | FM: Budget Period | FM_BUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER | ||
.INCLU--AP | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPIACGL01 using ABAP code?
As BAPIACGL01 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 BAPIACGL01 as there is no data to select.How to access SAP table BAPIACGL01
Within an ECC or HANA version of SAP you can also view further information about BAPIACGL01 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