GMIA SAP (Actual Line Item Table) Table details
Dictionary Type: Table
Description: Actual Line Item Table
Description: Actual Line Item Table
Table field list including key, data, relationships and ABAP select examples
GMIA is a standard SAP Table which is used to store Actual Line Item Table data and is available within R/3 SAP systems depending on the version and release level.
The GMIA table consists of various fields, each holding specific information or linking keys about Actual Line Item Table data available in SAP. These include GL_SIRID (Record number of the line item record), RLDNR (Ledger), RRCTY (Record Type), RVERS (Version).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP GMIA table 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 |
RCLNT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
GL_SIRID | Record number of the line item record | GU_RECID | CHAR | 18 | OBJNR | OBN | |||
RLDNR | Ledger | RLDNR | CHAR | 2 | T881 | ALPHA | RLDNR | GLN | H_T881 |
RRCTY | Record Type | RRCTY | CHAR | 1 | RRCTY | ||||
RVERS | Version | RVERS | CHAR | 3 | T894 | ALPHA | RVERS | GVS | |
RYEAR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
RTCUR | Currency Key | RTCUR | CUKY | 5 | TCURC | WAERS | FWS | ||
RUNIT | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
POPER | Posting period | POPER | NUMC | 3 | POPER | POPR | |||
DOCCT | Document Type | DOCCT | CHAR | 1 | DOCCT | GCT | |||
DOCNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
DOCLN | Six-Character Posting Item for Ledger | DOCLN6 | CHAR | 6 | DOCLN6 | ||||
RBUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
RGRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
RSPONSORED_PROG | Sponsored Program | GM_SPONSORED_PROG | CHAR | 20 | Assigned to domain | GM_SPONSORED_PROG | GM_SPONSORED_PROG | ||
RSPONSORED_CLASS | Sponsored Class | GM_SPONSORED_CLASS | CHAR | 20 | Assigned to domain | GM_SPONSORED_CLASS | GM_SPONSORED_CLASS | ||
RBDGT_VLDTY_NBR | Budget Validity Number | GM_BDGT_VLDTY_NBR | CHAR | 3 | GM_BDGT_VLDTY_NBR | ||||
RFUND | Fund | BP_GEBER | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
RVALUETYPE_9 | GM Value Type | GM_VALUETYPE | CHAR | 2 | GM_VALUETYPE | GMVALUETYPE | |||
RTRANS | Business Transaction | J_VORGANG | CHAR | 4 | Assigned to domain | J_VORGANG | |||
RSTATS_IND | Statistical Indicator | GM_STATS | CHAR | 1 | GM_STATS | ||||
RGRANTEE_FY_9 | Fiscal Year of Grantee Organization | GM_GRANTEE_FY | NUMC | 4 | GJAHR | GJAHR | |||
LOGSYS | Logical system | LOGSYS | CHAR | 10 | TBDLS | ALPHA | LOGSYS | ||
BDGT_STATE | Workflow State of a Record in the Budget Totals Table | GM_BDGT_STATE | CHAR | 1 | GM_BDGT_STATE | ||||
TSL | Value in Transaction Currency | VTCUR9 | CURR | 17(2) | WERTV9 | ||||
HSL | Value in local currency | VLCUR9 | CURR | 17(2) | WERTV9 | ||||
MSL | Quantity | QUAN1 | QUAN | 15(3) | MENG8 | ||||
SGTXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
DOCTY | FI-SL Document Type | DOCTY | CHAR | 2 | T889 | DOCTY | BAR | ||
ACTIV | Business Transaction | GLVOR | CHAR | 4 | CHAR4 | ||||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
WSDAT | Value Date for Currency Translation | WSDAT | DATS | 8 | DATUM | WSD | |||
REFDOCNR | Reference document number of an accounting document | REFBELNR | CHAR | 10 | ALPHA | BELNR | BLN | ||
REFRYEAR | Reference fiscal year | REFGJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
REFDOCLN | Six-digit number of the reference posting line | REFBUZEI6 | NUMC | 6 | BUZEI6 | BUZ | |||
REFDOCCT | Reference document category | REFDOCCT | CHAR | 1 | DOCCT | GCT | |||
REFACTIV | FI-SL Business Reference Transaction | REFGLVOR | CHAR | 4 | CHAR4 | ||||
REFDOC_DETAIL | Reference Key | AWKEY | CHAR | 20 | AWKEY | ||||
CPUDT | Day On Which Accounting Document Was Entered | CPUDT | DATS | 8 | DATUM | ||||
CPUTM | Time of Entry | CPUTM | TIMS | 6 | UZEIT | ||||
USNAM | User name | USNAM | CHAR | 12 | Assigned to domain | XUBNAME | USR | ||
AWTYP | Reference Transaction | AWTYP | CHAR | 5 | TTYP | AWTYP | |||
AWORG | Reference Organizational Units | AWORG | CHAR | 10 | AWORG | ||||
GL_ACCOUNT | General Ledger Account | HKONT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
CO_AREA | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
COSTCENTER | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
ORDERID | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
WBS_ELEMENT | Work Breakdown Structure Element (WBS Element) | PS_POSID | CHAR | 24 | PROJN | PS_POSID | PRO | ||
PROFIT_CTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
ASSETMAINO | Main Asset Number | BF_ANLN1 | CHAR | 12 | ALPHA | BF_ANLN1 | AN1 | ||
ASSETSUBNO | Asset Subnumber | BF_ANLN2 | CHAR | 4 | ALPHA | BF_ANLN2 | AN2 | ||
MATERIAL | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
FM_AREA | Financial Management Area | FIKRS | CHAR | 4 | Assigned to domain | FIKRS | FIK | ||
BUS_AREA | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
FUNDS_CTR | Funds Center | FISTL | CHAR | 16 | Assigned to domain | FISTL | FIS | ||
CMMT_ITEM | Commitment Item | FM_FIPEX | CHAR | 24 | Assigned to domain | FM_FIPEX | FPS | ||
FAREA | Functional Area | FM_FAREA | CHAR | 16 | Assigned to domain | FKBER | FBE | ||
MEASURE | Funded Program | FM_MEASURE | CHAR | 24 | Assigned to domain | FM_MEASURE | FM_MEASURE | ||
NETWORK | Network Number for Account Assignment | NPLNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | NET | |
ROUTING_NO | Routing number of operations in the order | CO_AUFPL | NUMC | 10 | AUFPL | ||||
COUNTER_9 | Internal counter | CIM_COUNT | NUMC | 8 | CIM_COUNT | ||||
OBJ_ORG_P | Reference Organizational Units | AWORG | CHAR | 10 | AWORG | ||||
OBJ_TYP_P | Previous document: Reference procedure | AWTYP_PRE | CHAR | 5 | Assigned to domain | AWTYP | |||
OBJ_KEY_P | Previous document: Object key (AWREF_REV and AWORG_REV) | AWKEY_PRE | CHAR | 20 | AWKEY | ||||
OBJ_POS_P | Previous document: Reference line item | AWPOS_PRE | CHAR | 10 | AWPOS | ||||
BELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
BUZEI | Number of Line Item Within Accounting Document | BUZEI | NUMC | 3 | BUZEI | BUZ | |||
LINETYPE | Item category | LINETYPE | CHAR | 5 | Assigned to domain | LINETYPE | |||
XSPLITMOD | Item changed by document splitting | XSPLITMOD | CHAR | 1 | XFELD | ||||
WSL | Value in Original Transaction Currency (Document Currency) | VWCUR12 | CURR | 23(2) | WERTV12 | ||||
RWCUR | Currency key of the original transaction currency | RWCUR | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
BILLING_STATUS | Billing Status for Item | GM_BILLING_STATUS | CHAR | 1 | GM_BILLING_STATUS | ||||
ERLKZ | Completion Indicator for Line Item | GM_ERLKZ | CHAR | 1 | CHAR1_X | ||||
LOEKZ | Deletion Indicator | GM_LOEKZ | CHAR | 1 | CHAR1_X | ||||
BILLING_BLOCK_9 | Billing Block Flag for an Item | GM_BILLING_BLOCK | CHAR | 1 | GM_BILLING_BLOCK | ||||
DOC_ORIGIN_9 | Document's Technical Origin | GM_TECHORG | CHAR | 1 | GM_TECHORG | ||||
WBS_SHORT_9 | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR |
Key field | Non-key field |
How do I retrieve data from SAP table GMIA using ABAP code
The following ABAP code Example will allow you to do a basic selection on GMIA to SELECT all data from the tableDATA: WA_GMIA TYPE GMIA.
SELECT SINGLE *
FROM GMIA
INTO CORRESPONDING FIELDS OF WA_GMIA
WHERE...
How to access SAP table GMIA
Within an ECC or HANA version of SAP you can also view further information about GMIA 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