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
Below is a list of transaction codes which are relevant to this SAP report
STCUP - Table control variants upgrade
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.
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
INCLUDE RSTCX_UPGRTOP.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSTCX_UPG - Check table control variants after upgrade RSTCX_UPG - Check table control variants after upgrade RSTCX_COPY_TCVARIANT - Copy user variants for table controls RSTCX_COPY_TCVARIANT - Copy user variants for table controls RSTCXADJ - Modify Table Control Settings RSTCXADJ - Modify Table Control Settings