RSVIEWGN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program RSVIEWGN is used to generate maintenance modules for views of type C or H which are entered in table TVDIR...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 RSVIEWGN into the relevant SAP transactions such as SE38 or SE80
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: TEST = Test mode (display only: 'X')
Selection Text: PARVIEW = Name of view/table
Selection Text: FCODE = Function:
Title: Create View Module for View Maintenance (SM30)
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: 036 = *** Error ***: TVDIR entry for
Text Symbol: 037 = ***** T E S T M O D E *****
Text Symbol: 040 = Generation failed.
Text Symbol: 041 = start of generation
Text Symbol: 042 = end of generation
Text Symbol: 043 = Start generation for
Text Symbol: 044 = Function group:
Text Symbol: 045 = Maintenance
Text Symbol: 046 = Overview screen no.
Text Symbol: 047 = with detail screen
Text Symbol: 048 = only overview screen no
Text Symbol: 049 = 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: 031 = *** Function <> generate cannot be performed: No function mod
Text Symbol: 001 = Function group
Text Symbol: 002 = CUA interface
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
FORM CHECK_INCLUDES USING VALUE(MEMBNAME) VALUE(STRING) RC.
No SAP DATABASE tables are accessed within this REPORT code!
OBJ_GENERATE CALL FUNCTION 'OBJ_GENERATE' EXPORTING IV_OBJECTNAME = XTVDIR-TABNAME IV_OBJECTTYPE = PC_MAINT_MODE IV_MAINT_MODE = 'U' IV_NO_CORRECTION = 'X' EXCEPTIONS OTHERS = 5.
OBJ_GENERATE CALL FUNCTION 'OBJ_GENERATE' EXPORTING IV_OBJECTNAME = XTVDIR-TABNAME IV_OBJECTTYPE = PC_MAINT_MODE IV_MAINT_MODE = 'U' IV_NO_CORRECTION = 'X' EXCEPTIONS OTHERS = 5.
OBJ_GENERATE CALL FUNCTION 'OBJ_GENERATE' EXPORTING IV_KORRNUM = ' ' IV_OBJECTNAME = TVDIR-TABNAME IV_OBJECTTYPE = TVDIR-BASTAB IV_MAINT_MODE = 'U' IV_NO_CORRECTION = 'X' EXCEPTIONS OTHERS = 1.
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSVIEWGN - Create View Module for View Maintenance (SM30) RSVIEWGN - Create View Module for View Maintenance (SM30) RSVIEWDYNPVERSION - View maint.: Generated screen version correction RSVIEWDYNPVERSION - View maint.: Generated screen version correction RSVIEW01 - Conditions: Initial Screen for Views With Usage/Application RSVIEW01 - Conditions: Initial Screen for Views With Usage/Application