BAPIACGL03 SAP (Posting in FI/CO: Invoice Receipt (Item)) Structure details

Dictionary Type: Structure
Description: Posting in FI/CO: Invoice Receipt (Item)




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




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

BAPIACGL03 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 FI/CO: Invoice Receipt (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_BAPIACGL03 TYPE BAPIACGL03.

The BAPIACGL03 table consists of various fields, each holding specific information or linking keys about Posting in FI/CO: Invoice Receipt (Item) data available in SAP. These include GL_ACCOUNT (General Ledger Account), COMP_CODE (Company Code), PSTNG_DATE (Posting Date in the Document), DOC_TYPE (Document Type).. 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 BAPIACGL03 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
COMP_CODECompany Code BUKRSCHAR4T001BUKRSBUKC_T001
PSTNG_DATEPosting Date in the Document BUDATDATS8DATUM
DOC_TYPEDocument Type BLARTCHAR2T003BLARTBAR
AC_DOC_NOAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
FISC_YEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
FIS_PERIODFiscal Period MONATNUMC2MONAT
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
ACCT_TYPEAccount Type KOARTCHAR1KOART
ALLOC_NMBRAssignment Number DZUONRCHAR18ZUONR
ITEM_TEXTItem Text SGTXTCHAR50TEXT50
BUS_AREABusiness Area GSBERCHAR4TGSBGSBERGSB
COSTCENTERCost Center KOSTLCHAR10CSKSALPHAKOSTLKOS
PO_PR_QNTQuantity in Purchase Order Price Unit BPMNGQUAN13(3) MENG13
PO_PR_UOMOrder Price Unit (Purchasing) BPRMEUNIT3T006CUNITMEINS
PO_PR_UOM_ISOPurchase order price unit in ISO code BPRME_ISOCHAR3T006IISOCD_UNIT
ORDERIDOrder Number AUFNRCHAR12AUFKALPHAAUFNRANR
ASSET_NOMain Asset Number ANLN1CHAR12ANLHALPHAANLN1AN1
SUB_NUMBERAsset Subnumber ANLN2CHAR4ANLAALPHAANLN2AN2
ASVAL_DATEAsset value date BZDATDATS8DATUM
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
ORIG_GROUPOrigin Group as Subdivision of Cost Element HRKFTCHAR4TKKH1HRKFT
ORIG_MATMaterial-related origin HKMATCHAR1HKMAT
COST_OBJCost Object KSTRGCHAR12CKPHKSTRGKTR
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
ROUTING_NORouting number of operations in the order CO_AUFPLNUMC10AUFPL
ORDER_ITNOOrder Item Number CO_POSNRNUMC4CO_POSNR
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
TRADE_IDCompany ID of trading partner RASSCCHAR6T880ALPHARCOMPPGS
VAL_AREAValuation Area BWKEYCHAR4T001KBWKEYBWK
VAL_TYPEValuation Type BWTAR_DCHAR10T149DBWTARBWT
OBJ_TYP_PPrevious document: Reference procedure AWTYP_PRECHAR5Assigned to domainAWTYP
OBJ_KEY_PPrevious document: Object key (AWREF_REV and AWORG_REV) AWKEY_PRECHAR20AWKEY
OBJ_POS_PPrevious document: Reference line item AWPOS_PRECHAR10AWPOS
ITEM_CATItem Category in Purchasing Document PSTYPCHAR1T163PSTYP
DE_CRE_INDIndicator: subsequent debit/credit TBTKZCHAR1TBTKZ
MATL_TYPEMaterial Type MTARTCHAR4T134MTARTMTA
P_EL_PRCTRPartner profit center for elimination of internal business EPRCTRCHAR10CEPCALPHAPRCTR
COND_TYPECondition type KSCHACHAR4T685KSCHLVKS
COND_ST_NOStep number STUNRNUMC3T683SSTUNR
COND_COUNTCondition counter DZAEHKNUMC2ZAEHK
FUNC_AREAFunctional Area FKBER_SHORTCHAR4FKBER_SHORTFBE
ENTRY_QNTQuantity in Unit of Entry ERFMGQUAN13(3) MENG13
ENTRY_UOMUnit of Entry ERFMEUNIT3T006CUNITMEINS
ENTRY_UOM_ISOUnit of entry in ISO code ERFME_ISOCHAR3T006IISOCD_UNIT
ACTTYPEActivity Type LSTARCHAR6CSLALSTARLARLART_EMPTY
CO_BUSPROCBusiness Process CO_PRZNRCHAR12CBPRALPHACO_PRZNRKWP
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
FUNC_AREA_LONGFunctional Area FKBERCHAR16Assigned to domainFKBERFBE
CMMT_ITEM_LONGCommitment Item FM_FIPEXCHAR24Assigned to domainFM_FIPEXFPS
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
SEGMENTSegment for Segmental Reporting FB_SEGMENTCHAR10Assigned to domainALPHAFB_SEGMENT
PARTNER_SEGMENTPartner Segment for Segmental Reporting FB_PSEGMENTCHAR10Assigned to domainALPHAFB_SEGMENT
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 BAPIACGL03 using ABAP code?

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

How to access SAP table BAPIACGL03

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