SAP Reports / Programs | Production Planning and Control | Repetitive Manufacturing(PP-REM) SAP PP

RMSERI20 SAP ABAP Report - Update Planned Figures Statistics







RMSERI20 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RMSERI20 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

MF27 - Update Stats for Planned Quantities


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RMSERI20. "Basic submit
SUBMIT RMSERI20 AND RETURN. "Return to original report after report execution complete
SUBMIT RMSERI20 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Update Planned Figures in Run Schedule Header Statistics
Selection Text: PA_WERKS = Plant
Selection Text: SO_M01_F = D Production line
Selection Text: SO_M01_P = D Production line
Selection Text: SO_M02_P = D Planning ID 2
Title: Update Planned Figures Statistics
Text Symbol: 010 = Statistic update carried out for
Text Symbol: 020 = Plnt:
Text Symbol: 030 = PLine/PlanningID:
Text Symbol: 040 = Update interval
Text Symbol: 050 = from
Text Symbol: 060 = to
Text Symbol: 100 = Statistics records changed
Text Symbol: 101 = Statistic records newly created
Text Symbol: 102 = Stat. records: Plnd qties deleted


INCLUDES used within this REPORT RMSERI20

INCLUDE LBARMD05.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

DATE_GET_WEEK CALL FUNCTION 'DATE_GET_WEEK' EXPORTING DATE = PLAF_ERW-PEDTR IMPORTING WEEK = L_WOCHE.

RM_COMPANYCODE_FIND CALL FUNCTION 'RM_COMPANYCODE_FIND' EXPORTING WERKS = PLAF_ERW-PLWRK IMPORTING COMPCODE = L_BUKRS.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING I_BUDAT = PLAF_ERW-PEDTR I_PERIV = L_PERIV X_XMO16 = L_TRUE IMPORTING E_GJAHR = L_JAHR E_MONAT = L_MONAT EXCEPTIONS OTHERS = 01.

DATE_GET_WEEK CALL FUNCTION 'DATE_GET_WEEK' EXPORTING DATE = PA_ADATU IMPORTING WEEK = L_WOCHE.

DATE_GET_WEEK CALL FUNCTION 'DATE_GET_WEEK' EXPORTING DATE = PA_BDATU IMPORTING WEEK = L_WOCHE.

RM_COMPANYCODE_FIND CALL FUNCTION 'RM_COMPANYCODE_FIND' EXPORTING WERKS = PLAF-PLWRK IMPORTING COMPCODE = L_BUKRS.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING I_BUDAT = PA_ADATU I_PERIV = L_PERIV X_XMO16 = L_TRUE IMPORTING E_GJAHR = L_JAHR E_MONAT = L_MONAT EXCEPTIONS OTHERS = 01.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING I_BUDAT = PA_BDATU I_PERIV = L_PERIV X_XMO16 = L_TRUE IMPORTING E_GJAHR = L_JAHR E_MONAT = L_MONAT EXCEPTIONS OTHERS = 01.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = SY-REPID I_STRUCTURE_NAME = 'MDLI' CHANGING CT_FIELDCAT = LT_FIELDCAT.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID IT_FIELDCAT = LT_FIELDCAT it_excluding = lt_excluding IT_EVENTS = LT_EVENTTAB TABLES T_OUTTAB = GT_ITAB EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTTAB EXCEPTIONS LIST_TYPE_WRONG = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING * i_logo = 'HTMLCNTL_TESTHTM2_SAPLOGO' * I_LOGO = 'ENJOYSAP_LOGO' IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RMSERI20 or its description.