GMIW SAP (Generated Extract Structure for Table GMIA) Structure details
Description: Generated Extract Structure for Table GMIA
Structure field list including key, data, relationships and ABAP select examples
GMIW 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 "Generated Extract Structure for Table GMIA" 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_GMIW TYPE GMIW.
The GMIW table consists of various fields, each holding specific information or linking keys about Generated Extract Structure for Table GMIA data available in SAP. These include RYEAR (Fiscal Year), RTCUR (Currency Key), POPER (Posting period), DOCCT (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 GMIW 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 |
RVERS | Version | RVERS | CHAR | 3 | Assigned to domain | ALPHA | RVERS | GVS | |
RYEAR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
RTCUR | Currency Key | RTCUR | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
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 | Assigned to domain | 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 | Assigned to domain | ALPHA | LOGSYS | ||
BDGT_STATE | Workflow State of a Record in the Budget Totals Table | GM_BDGT_STATE | CHAR | 1 | GM_BDGT_STATE | ||||
SGTXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
DOCTY | FI-SL Document Type | DOCTY | CHAR | 2 | Assigned to domain | 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 | Assigned to domain | 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 | ||||
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 | ||
TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | TIMESTAMP | DEC | 15 | TZNTSTMPS | ||||
QUANUNIT | Unit of Measure | ROUNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
VALUETYPE | Value type for Reporting | RSVTYPE | NUMC | 3 | Assigned to domain | RSVTYPE | |||
CURTYPE | Currency type | RSCURTYPE | CHAR | 2 | RSCURTYPE | ||||
FISCPER | Fiscal year / period | RSFISCPER | NUMC | 7 | PERI7 | RSFISCPER | |||
FISCVAR | Fiscal year variant | RSFISCVAR | CHAR | 2 | RSFISCVAR | ||||
CHARTACCTS | Chart of Accounts | KTOPL | CHAR | 4 | Assigned to domain | KTOPL | KPL | C_KTOPL | |
UPMOD | BW Delta Process: Record Mode | RODMUPDMOD | CHAR | 1 | RODMUPDMOD | ||||
VALUTYP | Valuation View | VALUTYP | NUMC | 1 | VALUTYP | VTP | |||
CURRUNIT | Currency Key | RSCURRENCY | CUKY | 5 | Assigned to domain | WAERS | |||
TURNOVER | Sales of the period | RR_SALES | CURR | 17(2) | WERTV9 | ||||
QUANTITY | Consumption quantity | SMEGR | QUAN | 15(3) | MENGV8 | ||||
.INCLU--AP | 0 | ||||||||
BDGT_PHASE | Budget Phase | GM_BDGT_PHASE | CHAR | 1 | GM_BDGT_PHASE | ||||
BDGT_STATUS | Budget Status: Unreleased/Released | GM_BDGT_STATUS | CHAR | 1 | GM_BDGT_STATUS |
Key field | Non-key field |
How do I retrieve data from SAP structure GMIW using ABAP code?
As GMIW 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 GMIW as there is no data to select.How to access SAP table GMIW
Within an ECC or HANA version of SAP you can also view further information about GMIW 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