SAP Reports / Programs

RSTCX_UPG SAP ABAP Report - Check table control variants after upgrade







RSTCX_UPG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for User Settings for Non-Configurable Table Controls This program looks for table controls for which user settings exist, even though the table control was created as non-configurable in the Screen Painter...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RSTCX_UPG 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

STCUP - Table control variants upgrade


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 RSTCX_UPG. "Basic submit
SUBMIT RSTCX_UPG AND RETURN. "Return to original report after report execution complete
SUBMIT RSTCX_UPG 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: DYNNR = Screen number
Selection Text: PROGR = Program Name
Selection Text: RADI1 = Restrict values:
Selection Text: RADI2 = All user settings
Title: Check table control variants after upgrade
Text Symbol: 001 = Check all user settings
Text Symbol: 002 = Restrict values:
Text Symbol: 003 = Table control user settings check
Text Symbol: 005 = (Background processing recommended!)
Text Symbol: 010 = No discrepancies were found between the TC variants available and the configurability of the table controls that were checked


INCLUDES used within this REPORT RSTCX_UPG

INCLUDE RSTCX_UPGRTOP.


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:

STCT_GET_VARIANTS CALL FUNCTION 'STCT_GET_VARIANTS' EXPORTING WITH_SCREEN = SPACE TABLES PROGLIST = L_PROGLIST S_PROG = L_PROGR S_DYN = L_DYNNR EXCEPTIONS OTHERS = 1.

STCT_IMPORT_DYNPRO_WITH_TCTRL CALL FUNCTION 'STCT_IMPORT_DYNPRO_WITH_TCTRL' EXPORTING DYNPRO = L_PROG_WA IMPORTING DYNPRO_HAS_TCTRL = FLAG_HAS_CTRL CONFIGURABLE = FLAG_CONFIG EXCEPTIONS OTHERS = 1.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_CALLBACK_PROGRAM = ' ' * I_CALLBACK_USER_COMMAND = ' ' I_STRUCTURE_NAME = 'TCVIEW_P' * IS_LAYOUT = L_LAYOUT IT_FIELDCAT = L_FIELDCAT * I_SAVE = ' ' * IT_EVENTS = * IT_EVENT_EXIT = TABLES T_OUTTAB = RED_LIST EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.



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 RSTCX_UPG or its description.