GMIW SAP (Generated Extract Structure for Table GMIA) Structure details

Dictionary Type: Structure
Description: Generated Extract Structure for Table GMIA




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




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
RVERSVersion RVERSCHAR3Assigned to domainALPHARVERSGVS
RYEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
RTCURCurrency Key RTCURCUKY5Assigned to domainWAERSFWS
POPERPosting period POPERNUMC3POPERPOPR
DOCCTDocument Type DOCCTCHAR1DOCCTGCT
DOCNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
DOCLNSix-Character Posting Item for Ledger DOCLN6CHAR6DOCLN6
RBUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
RGRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
RSPONSORED_PROGSponsored Program GM_SPONSORED_PROGCHAR20Assigned to domainGM_SPONSORED_PROGGM_SPONSORED_PROG
RSPONSORED_CLASSSponsored Class GM_SPONSORED_CLASSCHAR20Assigned to domainGM_SPONSORED_CLASSGM_SPONSORED_CLASS
RBDGT_VLDTY_NBRBudget Validity Number GM_BDGT_VLDTY_NBRCHAR3GM_BDGT_VLDTY_NBR
RFUNDFund BP_GEBERCHAR10Assigned to domainBP_GEBERFIC
RVALUETYPE_9GM Value Type GM_VALUETYPECHAR2GM_VALUETYPEGMVALUETYPE
RTRANSBusiness Transaction J_VORGANGCHAR4Assigned to domainJ_VORGANG
RSTATS_INDStatistical Indicator GM_STATSCHAR1GM_STATS
RGRANTEE_FY_9Fiscal Year of Grantee Organization GM_GRANTEE_FYNUMC4GJAHRGJAHR
LOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
BDGT_STATEWorkflow State of a Record in the Budget Totals Table GM_BDGT_STATECHAR1GM_BDGT_STATE
SGTXTItem Text SGTXTCHAR50TEXT50
DOCTYFI-SL Document Type DOCTYCHAR2Assigned to domainDOCTYBAR
ACTIVBusiness Transaction GLVORCHAR4CHAR4
BUDATPosting Date in the Document BUDATDATS8DATUM
WSDATValue Date for Currency Translation WSDATDATS8DATUMWSD
REFDOCNRReference document number of an accounting document REFBELNRCHAR10ALPHABELNRBLN
REFRYEARReference fiscal year REFGJAHRNUMC4GJAHRGJAHRGJR
REFDOCLNSix-digit number of the reference posting line REFBUZEI6NUMC6BUZEI6BUZ
REFDOCCTReference document category REFDOCCTCHAR1DOCCTGCT
REFACTIVFI-SL Business Reference Transaction REFGLVORCHAR4CHAR4
REFDOC_DETAILReference Key AWKEYCHAR20AWKEY
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
CPUTMTime of Entry CPUTMTIMS6UZEIT
USNAMUser name USNAMCHAR12Assigned to domainXUBNAMEUSR
AWTYPReference Transaction AWTYPCHAR5Assigned to domainAWTYP
AWORGReference Organizational Units AWORGCHAR10AWORG
GL_ACCOUNTGeneral Ledger Account HKONTCHAR10Assigned to domainALPHASAKNR
CO_AREAControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
COSTCENTERCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
ORDERIDOrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
WBS_ELEMENTWork Breakdown Structure Element (WBS Element) PS_POSIDCHAR24PROJNPS_POSIDPRO
PROFIT_CTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
ASSETMAINOMain Asset Number BF_ANLN1CHAR12ALPHABF_ANLN1AN1
ASSETSUBNOAsset Subnumber BF_ANLN2CHAR4ALPHABF_ANLN2AN2
MATERIALMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
FM_AREAFinancial Management Area FIKRSCHAR4Assigned to domainFIKRSFIK
BUS_AREABusiness Area GSBERCHAR4Assigned to domainGSBERGSB
FUNDS_CTRFunds Center FISTLCHAR16Assigned to domainFISTLFIS
CMMT_ITEMCommitment Item FM_FIPEXCHAR24Assigned to domainFM_FIPEXFPS
FAREAFunctional Area FM_FAREACHAR16Assigned to domainFKBERFBE
MEASUREFunded Program FM_MEASURECHAR24Assigned to domainFM_MEASUREFM_MEASURE
NETWORKNetwork Number for Account Assignment NPLNRCHAR12Assigned to domainALPHAAUFNRNET
ROUTING_NORouting number of operations in the order CO_AUFPLNUMC10AUFPL
COUNTER_9Internal counter CIM_COUNTNUMC8CIM_COUNT
OBJ_ORG_PReference Organizational Units AWORGCHAR10AWORG
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
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
LINETYPEItem category LINETYPECHAR5Assigned to domainLINETYPE
XSPLITMODItem changed by document splitting XSPLITMODCHAR1XFELD
RWCURCurrency key of the original transaction currency RWCURCUKY5Assigned to domainWAERSFWS
BILLING_STATUSBilling Status for Item GM_BILLING_STATUSCHAR1GM_BILLING_STATUS
ERLKZCompletion Indicator for Line Item GM_ERLKZCHAR1CHAR1_X
LOEKZDeletion Indicator GM_LOEKZCHAR1CHAR1_X
BILLING_BLOCK_9Billing Block Flag for an Item GM_BILLING_BLOCKCHAR1GM_BILLING_BLOCK
DOC_ORIGIN_9Document's Technical Origin GM_TECHORGCHAR1GM_TECHORG
WBS_SHORT_9Work Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
TIMESTAMPUTC Time Stamp in Short Form (YYYYMMDDhhmmss) TIMESTAMPDEC15TZNTSTMPS
QUANUNITUnit of Measure ROUNITUNIT3Assigned to domainCUNITMEINS
VALUETYPEValue type for Reporting RSVTYPENUMC3Assigned to domainRSVTYPE
CURTYPECurrency type RSCURTYPECHAR2RSCURTYPE
FISCPERFiscal year / period RSFISCPERNUMC7PERI7RSFISCPER
FISCVARFiscal year variant RSFISCVARCHAR2RSFISCVAR
CHARTACCTSChart of Accounts KTOPLCHAR4Assigned to domainKTOPLKPLC_KTOPL
UPMODBW Delta Process: Record Mode RODMUPDMODCHAR1RODMUPDMOD
VALUTYPValuation View VALUTYPNUMC1VALUTYPVTP
CURRUNITCurrency Key RSCURRENCYCUKY5Assigned to domainWAERS
TURNOVERSales of the period RR_SALESCURR17(2) WERTV9
QUANTITYConsumption quantity SMEGRQUAN15(3) MENGV8
.INCLU--AP 0
BDGT_PHASEBudget Phase GM_BDGT_PHASECHAR1GM_BDGT_PHASE
BDGT_STATUSBudget Status: Unreleased/Released GM_BDGT_STATUSCHAR1GM_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 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!