MTPER SAP (Periods at Database Level) Structure details

Dictionary Type: Structure
Description: Periods at Database Level




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




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
MBLFMPeriod of MBEW or EBEW or QBEW MBLFMNUMC2MONAT
MBGJAFiscal year of MBEW or EBEW or QBEW MBGJANUMC4GJAHRGJAHR
RMBEWHInd.: MBEWH/EBEWH/QBEWH for prev. period could not be read RMBEWHCHAR1XFELD
MCLFMCurrent period (posting period) LFMONNUMC2MONAT
MCGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RMARCHData content X or blank XWERTCHAR1XFELD
MDLFMPeriod of MARD MDLFMNUMC2MONAT
MDGJAFiscal year of MARD MDGJANUMC4GJAHRGJAHR
RMARDHIndicator: MARDH for previous period could not be read RMARDHCHAR1XFELD
CHLFMPeriod of MCHB CHLFMNUMC2MONAT
CHGJAFiscal year of MCHB CHGJANUMC4GJAHRGJAHR
RMCHBHData content X or blank XWERTCHAR1XFELD
KLLFMPeriod of MKOL KLLFMNUMC2MONAT
KLGJAFiscal year of MKOL KLGJANUMC4GJAHRGJAHR
RMKOLHData content X or blank XWERTCHAR1XFELD
KALFMCurrent period (posting period) LFMONNUMC2MONAT
KAGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RMSKAHData content X or blank XWERTCHAR1XFELD
SALFMCurrent period (posting period) LFMONNUMC2MONAT
SAGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RMSSAHData content X or blank XWERTCHAR1XFELD
KULFMCurrent period (posting period) LFMONNUMC2MONAT
KUGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RMSKUHData content X or blank XWERTCHAR1XFELD
LBLFMCurrent period (posting period) LFMONNUMC2MONAT
LBGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RMSLBHData content X or blank XWERTCHAR1XFELD
PRLFMCurrent period (posting period) LFMONNUMC2MONAT
PRGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RMSPRHData content X or blank XWERTCHAR1XFELD
SQLFMCurrent period (posting period) LFMONNUMC2MONAT
SQGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RMSSQHData content X or blank XWERTCHAR1XFELD
CALFMCurrent period (posting period) LFMONNUMC2MONAT
CAGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RMSCAHData content X or blank XWERTCHAR1XFELD
RMSTBData content X or blank XWERTCHAR1XFELD
RMSTBHData content X or blank XWERTCHAR1XFELD
TBLFMCurrent period (posting period) LFMONNUMC2MONAT
TBGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RMSTEData content X or blank XWERTCHAR1XFELD
RMSTEHData content X or blank XWERTCHAR1XFELD
TELFMCurrent period (posting period) LFMONNUMC2MONAT
TEGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RMSTQData content X or blank XWERTCHAR1XFELD
RMSTQHData content X or blank XWERTCHAR1XFELD
TQLFMCurrent period (posting period) LFMONNUMC2MONAT
TQGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
.INCLU--AP 0
SDLFMONCurrent period (posting period) LFMONNUMC2MONAT
SSFMONCurrent period (posting period) LFMONNUMC2MONAT
SDLFGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
SSFGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RMCSDHData content X or blank XWERTCHAR1XFELD
RMCSSHData content X or blank XWERTCHAR1XFELD
SDLFMCurrent period (posting period) LFMONNUMC2MONAT
SSLFMCurrent period (posting period) LFMONNUMC2MONAT
CDLFMCurrent period (posting period) LFMONNUMC2MONAT
CSLFMCurrent period (posting period) LFMONNUMC2MONAT
FDLFMCurrent period (posting period) LFMONNUMC2MONAT
FSLFMCurrent period (posting period) LFMONNUMC2MONAT
IDLFMCurrent period (posting period) LFMONNUMC2MONAT
ISLFMCurrent period (posting period) LFMONNUMC2MONAT
RDLFMCurrent period (posting period) LFMONNUMC2MONAT
RSLFMCurrent period (posting period) LFMONNUMC2MONAT
SDGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
SSGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
CDGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
CSGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
FDGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
FSGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
IDGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
ISGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RDGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RSGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
RMSCDHData content X or blank XWERTCHAR1XFELD
RMSCSHData content X or blank XWERTCHAR1XFELD
RMSFDHData content X or blank XWERTCHAR1XFELD
RMSFSHData content X or blank XWERTCHAR1XFELD
RMSIDHData content X or blank XWERTCHAR1XFELD
RMSISHData content X or blank XWERTCHAR1XFELD
RMSRDHData content X or blank XWERTCHAR1XFELD
RMSRSHData content X or blank XWERTCHAR1XFELD

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 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!