SAP Reports / Programs

RM60RPER SAP ABAP Report - Test Program for Reorganization of Incorrect PERXX Entries by Month







RM60RPER 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 RM60RPER into the relevant SAP transactions such as SE38 or SE80


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 RM60RPER. "Basic submit
SUBMIT RM60RPER AND RETURN. "Return to original report after report execution complete
SUBMIT RM60RPER VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: BEDAE = D .
Selection Text: MATNR = D .
Selection Text: VERSB = D .
Selection Text: WERKS = D .
Title: Test Program for Reorganization of Incorrect PERXX Entries by Month
Text Symbol: 001 = Simulation (w/o Database Change)
Text Symbol: 002 = Number of Items
Text Symbol: 003 = Number of Schedule Lines
Text Symbol: 111 = Plant
Text Symbol: 112 = Material
Text Symbol: 113 = Reqmt
Text Symbol: 114 = Version
Text Symbol: 115 = PBDNR
Text Symbol: 116 = Date
Text Symbol: 117 = Period
Text Symbol: 118 = Old PERXX


INCLUDES used within this REPORT RM60RPER

No INCLUDES are used within this REPORT code!


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 = I_DATUM IMPORTING WEEK = WEEK EXCEPTIONS DATE_INVALID = 1 OTHERS = 2.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = I_DATUM * I_MONMIT = 00 I_PERIV = I_PERIV IMPORTING E_BUPER = B_PERIODE E_GJAHR = B_JAHR EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING ** I_INTERFACE_CHECK = ' ' I_CALLBACK_PROGRAM = G_REPID ** I_CALLBACK_PF_STATUS_SET = ' ' ** I_CALLBACK_USER_COMMAND = ' ' IS_LAYOUT = LS_LAYOUT IT_FIELDCAT = GT_FIELDCAT[] ** IT_EXCLUDING = ** IT_SPECIAL_GROUPS = ** IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_DEFAULT = 'X' * I_SAVE = * IS_VARIANT = IT_EVENTS = GT_EVENTS[] * IT_EVENT_EXIT = I_TABNAME_HEADER = G_TABNAME_HEADER I_TABNAME_ITEM = G_TABNAME_ITEM * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = IS_KEYINFO = GS_KEYINFO * IS_PRINT = * IS_REPREP_ID = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB_HEADER = GT_OUTPUT_HEADER_PBIM T_OUTTAB_ITEM = GT_OUTPUT_ITEM_PBED EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_INTERNAL_TABNAME = G_TABNAME_HEADER I_STRUCTURE_NAME = GC_STR1 CHANGING CT_FIELDCAT = XT_FCAT[] EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_INTERNAL_TABNAME = G_TABNAME_ITEM I_STRUCTURE_NAME = GC_STR2 * I_INCLNAME = CHANGING CT_FIELDCAT = XT_FCAT[] EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTS.

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING FORMATWIDTH = 60 LINEWIDTH = 132 STARTLINE = 1 LANGUAGE = SY-LANGU TABLES LINES = LT_TLINE EXCEPTIONS OTHERS = 0.

/SAPDMC/DATAELEMENT_GET_TEXTS CALL FUNCTION '/SAPDMC/DATAELEMENT_GET_TEXTS' EXPORTING NAME = GC_SIMUL IMPORTING TEXT_LONG = LV_TEXT_SIMUL EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING 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 RM60RPER or its description.