SAP Reports / Programs

RSVIEWMOD SAP ABAP Report - Comparability for (modified) maintenance dialogs







RSVIEWMOD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Comparability of generated maintenance dialogs The program RSVIEWMOD determines the comparability of generated maintenance dialogs (view and view cluster dialogs) and allows you to change the comparability flag...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 RSVIEWMOD 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 RSVIEWMOD. "Basic submit
SUBMIT RSVIEWMOD AND RETURN. "Return to original report after report execution complete
SUBMIT RSVIEWMOD 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: AUTCHNGS = automatic changes
Selection Text: CHANGES = Changes
Selection Text: COMFILE = Request
Selection Text: DEVCLSS = Package
Selection Text: DISPONLY = Display only
Selection Text: INITONLY = only not processed
Selection Text: MANCHNGS = manual changes
Selection Text: OBJECTS = Object
Selection Text: ORIGONLY = Only originals in this system
Title: Comparability for (modified) maintenance dialogs
Text Symbol: 017 = Request (obj. list)
Text Symbol: 016 = automatic changes
Text Symbol: 015 = manual changes
Text Symbol: 014 = Actions
Text Symbol: 013 = Selections
Text Symbol: 012 = Cannot run in background without specification of change request.
Text Symbol: 011 = Module:
Text Symbol: 010 = Events:
Text Symbol: 018 = Request used for recording (object list):
Text Symbol: 001 = No Suitable Objects in Transportable Packages
Text Symbol: 002 = available
Text Symbol: 003 = Exit program
Text Symbol: 004 = Save changes?
Text Symbol: 005 = No. of transportable objects:
Text Symbol: 006 = changed:
Text Symbol: 007 = Import
Text Symbol: 008 = Object
Text Symbol: 009 = Last changed by:
Text Symbol: 019 = Display only
Text Symbol: 020 = Changes
Text Symbol: 021 = Objects automatically set to importable
Text Symbol: 022 = Workbench Organizer error:
Text Symbol: 023 = Objct lists
Text Symbol: 024 = Object types S and V (tables/views)
Text Symbol: 025 = Obj. type C (viewcluster)
Text Symbol: 026 = only transportable changes in request
Text Symbol: 027 = Execution in dialog is not possible without specification of selections.


INCLUDES used within this REPORT RSVIEWMOD

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:

CTO_OBJECT_GET_TADIR_KEY CALL FUNCTION 'CTO_OBJECT_GET_TADIR_KEY' EXPORTING IV_OBJECTNAME = IOBJH-NAME IV_OBJECTTYPE = IOBJH-TYPE IMPORTING * EV_PGMID = * EV_OBJECT = EV_OBJ_NAME = IOBJH-TADIRNAME.

TRINT_DEVCLASS_GET CALL FUNCTION 'TRINT_DEVCLASS_GET' EXPORTING IV_DEVCLASS = TADIR-DEVCLASS * IV_LANGU = SY-LANGU IV_WITH_LAYER = ' ' * IV_WITH_TEXT = ' ' * IV_USE_MEMORY = ' ' IMPORTING ES_TDEVC = TDEVC EXCEPTIONS DEVCLASS_NOT_FOUND = 1 OTHERS = 2.

TR_GET_TRANSPORT_TARGET CALL FUNCTION 'TR_GET_TRANSPORT_TARGET' EXPORTING * IV_USE_DEFAULT = * IV_GET_LAYER_ONLY = ' ' IV_DEVELOPMENT_CLASS = TADIR-DEVCLASS * IV_TRANSPORT_LAYER = * IV_SOURCE_SYSTEM = IMPORTING EV_TARGET = TRSP_TARGET * EV_LAYER = EXCEPTIONS OTHERS = 1.

CTO_OBJECT_GET_TADIR_KEY CALL FUNCTION 'CTO_OBJECT_GET_TADIR_KEY' EXPORTING IV_OBJECTNAME = ICOBJH-NAME IV_OBJECTTYPE = ICOBJH-TYPE IMPORTING EV_OBJ_NAME = ICOBJH-TADIRNAME.

TRINT_APPEND_TO_COMM_ARRAYS CALL FUNCTION 'TRINT_APPEND_TO_COMM_ARRAYS' EXPORTING WI_TRKORR = ICOMFILE IV_APPEND_AT_ORDER = 'X' TABLES WT_E071 = IE071 EXCEPTIONS OTHERS = 1.

CTO_OBJECT_GET_TADIR_KEY CALL FUNCTION 'CTO_OBJECT_GET_TADIR_KEY' EXPORTING IV_OBJECTNAME = UOBJH-NAME IV_OBJECTTYPE = UOBJH-TYPE IMPORTING EV_OBJ_NAME = UOBJH-TADIRNAME.

TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING WI_KO200 = KO200 * IMPORTING * WE_ORDER = * WE_TASK = * WE_KO200 = * WE_OBJECT_APPENDABLE = * ES_TADIR = TABLES WT_E071K = IE071K EXCEPTIONS CANCEL_EDIT_OTHER_ERROR = 35 SHOW_ONLY_OTHER_ERROR = 36 OTHERS = 37.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING * DEFAULTOPTION = 'Y' TEXTLINE1 = 'Sollen die Änderungen gesichert werden?'(004) * TEXTLINE2 = ' ' TITEL = 'Programm beenden'(003) * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING ANSWER = ANSWER.

ENQUEUE_E_OBJH CALL FUNCTION 'ENQUEUE_E_OBJH' EXPORTING OBJECTNAME = ENQLINE-NAME OBJECTTYPE = ENQLINE-TYPE EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

CTO_OBJECT_GET_TADIR_KEY CALL FUNCTION 'CTO_OBJECT_GET_TADIR_KEY' EXPORTING IV_OBJECTNAME = UOBJH-NAME IV_OBJECTTYPE = UOBJH-TYPE IMPORTING EV_OBJ_NAME = UOBJH-TADIRNAME.

TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' EXPORTING WI_ORDER = GL_ORDER WI_KO200 = KO200 IMPORTING WE_ORDER = GL_ORDER TABLES WT_E071K = IE071K EXCEPTIONS CANCEL_EDIT_OTHER_ERROR = 35 SHOW_ONLY_OTHER_ERROR = 36 OTHERS = 37.

DEQUEUE_E_OBJH CALL FUNCTION 'DEQUEUE_E_OBJH' EXPORTING OBJECTNAME = ROBJH-LOW OBJECTTYPE = 'C'.

CTO_OBJECT_GET_TADIR_KEY CALL FUNCTION 'CTO_OBJECT_GET_TADIR_KEY' EXPORTING IV_OBJECTNAME = UOBJH-NAME IV_OBJECTTYPE = UOBJH-TYPE IMPORTING EV_OBJ_NAME = UOBJH-TADIRNAME.

TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' EXPORTING WI_ORDER = GL_ORDER WI_KO200 = KO200 IMPORTING WE_ORDER = GL_ORDER TABLES WT_E071K = IE071K EXCEPTIONS CANCEL_EDIT_OTHER_ERROR = 35 SHOW_ONLY_OTHER_ERROR = 36 OTHERS = 37.

DEQUEUE_E_OBJH CALL FUNCTION 'DEQUEUE_E_OBJH' EXPORTING OBJECTNAME = ROBJH-LOW.

RS_PROGNAME_SPLIT CALL FUNCTION 'RS_PROGNAME_SPLIT' EXPORTING PROGNAME_WITH_NAMESPACE = NAME IMPORTING NAMESPACE = NAMESPACE PROGNAME_WITHOUT_NAMESPACE = NAME EXCEPTIONS DELIMITER_ERROR = 1.

TRINT_SELECT_REQUESTS CALL FUNCTION 'TRINT_SELECT_REQUESTS' EXPORTING * IV_USERNAME_PATTERN = SY-UNAME IS_SELECTION = HSELECTION IV_COMPLETE_PROJECTS = ' ' IV_VIA_SELSCREEN = ' ' IV_TITLE = HTITLE IMPORTING ET_REQUESTS = HREQUESTS * CHANGING * CS_RANGES = EXCEPTIONS ACTION_ABORTED_BY_USER = 1 OTHERS = 2.

TRINT_DISPLAY_REQUESTS CALL FUNCTION 'TRINT_DISPLAY_REQUESTS' EXPORTING IV_TITLE = HTITLE IV_FIRST_NODE_TEXT = HFIRSTNODETEXT IV_CUA_STATUS = 'TDR_SELE' IS_NEW_REQUEST_PROPS = HNEWREQPROPS IS_POPUP = HPOPUP IT_REQUESTS = HREQ2 IMPORTING ES_SELECTED_REQUEST = REQHEADER CHANGING CS_SORT_DESCRIPTION = HSORT.



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