SAP Reports / Programs

RSVIEWMA SAP ABAP Report - Mass generation of maintenance modules for views/tables







RSVIEWMA 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 RSVIEWMA 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 RSVIEWMA. "Basic submit
SUBMIT RSVIEWMA AND RETURN. "Return to original report after report execution complete
SUBMIT RSVIEWMA 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: TEST = Test session (no DB change)
Selection Text: SEL_VIEW = Views/tables
Selection Text: SEL_AREA = only from the function groups
Selection Text: REG_ONLY = only already generated
Selection Text: NORMAL = normal
Selection Text: NEW_ONLY = only not yet generated
Selection Text: GENERATE = Generate
Selection Text: DELETE = Delete
Selection Text: ALL_SLTD = no further limitations
Title: Mass generation of maintenance modules for views/tables
Text Symbol: 041 = Start of generation for:
Text Symbol: 042 = Function group:
Text Symbol: 043 = Maintenance
Text Symbol: 044 = Overview screen no.
Text Symbol: 045 = with detail screen
Text Symbol: 046 = only overview screen no
Text Symbol: 047 = Last generation of the view:
Text Symbol: 050 = Cancel: first Include:
Text Symbol: 051 = Rename
Text Symbol: 052 = The program Include
Text Symbol: 053 = already exists.
Text Symbol: 054 = Can this Include be overwritten?
Text Symbol: 055 = (otherwise rename first)
Text Symbol: 056 = Overwrite Include
Text Symbol: 059 = Object description error ****
Text Symbol: 060 = Object description updated
Text Symbol: 061 = Message:
Text Symbol: P01 = Generation... $ % $ ;;
Text Symbol: P02 = Test generation... $ % $ ;;
Text Symbol: S01 = Program selections
Text Symbol: S02 = further restrictions
Text Symbol: S03 = Program functions
Text Symbol: S04 = Processing mode
Text Symbol: 001 = Function group
Text Symbol: 002 = User interface (GUI)
Text Symbol: 003 = Text Element
Text Symbol: 004 = Main program
Text Symbol: 005 = Global data declaration





Text Symbol: 006 = View-specific PAI modules
Text Symbol: 007 = View-specific data declarations
Text Symbol: 008 = View-specific FORM routines
Text Symbol: 009 = Main function module
Text Symbol: 010 = Editor function module
Text Symbol: 011 = Program for main FM
Text Symbol: 012 = Program for editor FM
Text Symbol: 013 = Overview screen no
Text Symbol: 014 = Detail screen
Text Symbol: 015 = TVDIR entry
Text Symbol: 018 = was created.
Text Symbol: 019 = was deleted.
Text Symbol: 020 = was deleted and
Text Symbol: 021 = Created
Text Symbol: 022 = already exists and
Text Symbol: 023 = has not been changed
Text Symbol: 024 = was modified
Text Symbol: 025 = could not be
Text Symbol: 026 = genrtd
Text Symbol: 027 = must not be
Text Symbol: 028 = genrtd
Text Symbol: 032 = Table control function module
Text Symbol: 033 = Table editor function module
Text Symbol: 034 = Table Control FM Program
Text Symbol: 035 = Program for table editor FM
Text Symbol: 037 = ***** T E S T M O D E *****
Text Symbol: 038 = No data satisfies selection condition
Text Symbol: 039 = Generation errors


INCLUDES used within this REPORT RSVIEWMA

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:

OBJ_GENERATE CALL FUNCTION 'OBJ_GENERATE' EXPORTING IV_OBJECTNAME = TVDIR-TABNAME IV_OBJECTTYPE = PC_MAINT_MODE IV_MAINT_MODE = 'U' IV_NO_CORRECTION = 'X' EXCEPTIONS OTHERS = 5.

MDIALOG_MOD_CHECK_DIALOG CALL FUNCTION 'MDIALOG_MOD_CHECK_DIALOG' EXPORTING I_TABNAME = TVDIR-TABNAME IMPORTING MOD_DIALOG = MOD_DIALOG EXCEPTIONS OTHERS = 3.

OBJ_SET_IMPORTABLE CALL FUNCTION 'OBJ_SET_IMPORTABLE' EXPORTING IV_OBJECTNAME = TVDIR-TABNAME IV_OBJECTTYPE = PC_MAINT_MODE IV_IMPORTABLE = OBJ_AUTOMATIC_IMP IV_NO_CORRECTION = 'X' EXCEPTIONS OTHERS = 5.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = 'N' DIAGNOSETEXT1 = 'Das Programminclude'(052) DIAGNOSETEXT2 = MEMBNAME DIAGNOSETEXT3 = 'ist schon vorhanden.'(053)






RS_PROGNAME_SPLIT CALL FUNCTION 'RS_PROGNAME_SPLIT' EXPORTING PROGNAME_WITH_NAMESPACE = NAME IMPORTING NAMESPACE = NAMESPACE PROGNAME_WITHOUT_NAMESPACE = NO_NAMESPACE * etc.



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