BAPIACGL01 SAP (Posting in Accounting: Billing Document (Item)) Structure details

Dictionary Type: Structure
Description: Posting in Accounting: Billing Document (Item)




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




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_ACCAccounting Document Line Item Number POSNR_ACCNUMC10POSNR_ACC
GL_ACCOUNTGeneral Ledger Account HKONTCHAR10SKA1ALPHASAKNR
STAT_CONIndicator for Statistical Line Items KSTAZCHAR1KSTAZ
REF_KEY_1Business partner reference key XREF1CHAR12CHAR12
REF_KEY_2Business partner reference key XREF2CHAR12CHAR12
REF_KEY_3Reference key for line item XREF3CHAR20CHAR20
TAX_CODETax on sales/purchases code MWSKZCHAR2T007AMWSKZ
ACCT_KEYTransaction Key KTOSLCHAR3CHAR3
TAXJURCODETax Jurisdiction TXJCDCHAR15TTXJTXJCDTXJ
CSHDIS_INDIndicator: Line item not liable to cash discount? XSKRLCHAR1XFELD
ALLOC_NMBRAssignment Number DZUONRCHAR18ZUONR
ITEM_TEXTItem Text SGTXTCHAR50TEXT50
BUS_AREABusiness Area GSBERCHAR4TGSBGSBERGSB
COSTCENTERCost Center KOSTLCHAR10CSKSALPHAKOSTLKOS
ORDERIDOrder Number AUFNRCHAR12AUFKALPHAAUFNRANR
MATERIALMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
QUANTITYQuantity MENGE_DQUAN13(3) MENG13
BASE_UOMBase Unit of Measure MEINSUNIT3T006CUNITMEINS
BASE_UOM_ISOBase unit of measure in ISO code MEINS_ISOCHAR3T006IISOCD_UNIT
PLANTPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
PROFIT_CTRProfit Center PRCTRCHAR10CEPCALPHAPRCTRPRCPRCTR_EMPTY
PART_PRCTRPartner Profit Center PPRCTRCHAR10CEPCALPHAPRCTRPPC
WBS_ELEMENTWork Breakdown Structure Element (WBS Element) PS_POSIDCHAR24PROJNPS_POSIDPRO
NETWORKNetwork Number for Account Assignment NPLNRCHAR12AUFKALPHAAUFNRNET
CMMT_ITEMCommitment Item FIPOSCHAR14FMFPOFIPOSFIP
FUNDS_CTRFunds Center FISTLCHAR16FMFCTRFISTLFIS
FUNDFund BP_GEBERCHAR10FMFINCODEBP_GEBERFIC
SALES_ORDSales Order Number KDAUFCHAR10VBUKALPHAVBELNAUN
S_ORD_ITEMItem Number in Sales Order KDPOSNUMC6NUM06KPO
P_EL_PRCTRPartner profit center for elimination of internal business EPRCTRCHAR10CEPCALPHAPRCTR
BILL_TYPEBilling Type FKARTCHAR4TVFKFKART
DISTR_CHANDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
SOLD_TOSold-to party KUNAGCHAR10KNA1ALPHAKUNNRVAG
DIVISIONDivision SPARTCHAR2TSPASPARTSPAC_SPART
SALESORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
SALES_OFFSales Office VKBURCHAR4TVBURVKBURVKB
SALES_GRPSales Group VKGRPCHAR3TVKGRVKGRPVKG
INV_QTYActual Invoiced Quantity FKIMGQUAN13(3) MENG13
SALES_UNITSales unit VRKMEUNIT3T006CUNITMEINS
SALES_UNIT_ISOSales unit in ISO code VRKME_ISOCHAR3T006IISOCD_UNIT
INV_QTY_SUBilling quantity in stockkeeping unit FKLMGQUAN13(3) MENG13
NET_WEIGHTNet weight NTGEW_15QUAN15(3) MENG15
GROSS_WTGross weight BRGEW_15QUAN15(3) MENG15
UNIT_OF_WTWeight Unit GEWEIUNIT3T006CUNITMEINS
UNIT_OF_WT_ISOUnit of weight in ISO code GEWEI_ISOCHAR3T006IISOCD_UNIT
VOLUMEVolume VOLUM_15QUAN15(3) MENG15
VOLUMEUNITVolume unit VOLEHUNIT3T006CUNITMEINS
VOLUMEUNIT_ISOVolume unit in ISO code VOLEH_ISOCHAR3T006IISOCD_UNIT
ACTIVITYOperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
MATERIAL_EXTERNALLong Material Number for MATERIAL Field MGV_MATERIAL_EXTERNALCHAR40MATNR_EXT
MATERIAL_GUIDExternal GUID for MATERIAL Field MGV_MATERIAL_GUIDCHAR32MATNR_EGUID
MATERIAL_VERSIONVersion Number for MATERIAL Field MGV_MATERIAL_VERSIONCHAR10MATNWMATNR_VERS
CMMT_ITEM_LONGCommitment Item FM_FIPEXCHAR24Assigned to domainFM_FIPEXFPS
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
FUNC_AREA_LONGFunctional Area FKBERCHAR16Assigned to domainFKBERFBE
SEGMENTSegment for Segmental Reporting FB_SEGMENTCHAR10Assigned to domainALPHAFB_SEGMENT
PARTNER_SEGMENTPartner Segment for Segmental Reporting FB_PSEGMENTCHAR10Assigned to domainALPHAFB_SEGMENT
FUND_LONGObsolete FM_GEBER_LONGCHAR20CHAR20
PERFORMANCE_START_DATEPeriod of Performance Start Date FM_PEROP_ABA_LOWDATS8DATUM
PERFORMANCE_END_DATEPeriod of Performance End Date FM_PEROP_ABA_HIGHDATS8DATUM
BUDGET_PERIODFM: Budget Period FM_BUDGET_PERIODCHAR10Assigned to domainFM_BUDGET_PERIODBUDPER
.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 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!