MTPER SAP (Periods at Database Level) Structure details
Description: Periods at Database Level
Structure field list including key, data, relationships and ABAP select examples
MTPER 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 "Periods at Database Level" 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_MTPER TYPE MTPER.
The MTPER table consists of various fields, each holding specific information or linking keys about Periods at Database Level data available in SAP. These include MBGJA (Fiscal year of MBEW or EBEW or QBEW), RMBEWH (Ind.: MBEWH/EBEWH/QBEWH for prev. period could not be read), MCLFM (Current period (posting period)), MCGJA (Fiscal Year of Current Period).. 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)
SAP MTPER 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 |
MBLFM | Period of MBEW or EBEW or QBEW | MBLFM | NUMC | 2 | MONAT | ||||
MBGJA | Fiscal year of MBEW or EBEW or QBEW | MBGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMBEWH | Ind.: MBEWH/EBEWH/QBEWH for prev. period could not be read | RMBEWH | CHAR | 1 | XFELD | ||||
MCLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
MCGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMARCH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
MDLFM | Period of MARD | MDLFM | NUMC | 2 | MONAT | ||||
MDGJA | Fiscal year of MARD | MDGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMARDH | Indicator: MARDH for previous period could not be read | RMARDH | CHAR | 1 | XFELD | ||||
CHLFM | Period of MCHB | CHLFM | NUMC | 2 | MONAT | ||||
CHGJA | Fiscal year of MCHB | CHGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMCHBH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
KLLFM | Period of MKOL | KLLFM | NUMC | 2 | MONAT | ||||
KLGJA | Fiscal year of MKOL | KLGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMKOLH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
KALFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
KAGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMSKAH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
SALFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
SAGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMSSAH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
KULFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
KUGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMSKUH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
LBLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
LBGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMSLBH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
PRLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
PRGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMSPRH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
SQLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
SQGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMSSQH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
CALFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
CAGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMSCAH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
RMSTB | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
RMSTBH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
TBLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
TBGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMSTE | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
RMSTEH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
TELFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
TEGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMSTQ | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
RMSTQH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
TQLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
TQGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
.INCLU--AP | 0 | ||||||||
SDLFMON | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
SSFMON | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
SDLFGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
SSFGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMCSDH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
RMCSSH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
SDLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
SSLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
CDLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
CSLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
FDLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
FSLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
IDLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
ISLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
RDLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
RSLFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
SDGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
SSGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
CDGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
CSGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
FDGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
FSGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
IDGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
ISGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RDGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RSGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
RMSCDH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
RMSCSH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
RMSFDH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
RMSFSH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
RMSIDH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
RMSISH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
RMSRDH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
RMSRSH | Data content X or blank | XWERT | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure MTPER using ABAP code?
As MTPER 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 MTPER as there is no data to select.How to access SAP table MTPER
Within an ECC or HANA version of SAP you can also view further information about MTPER 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