SAP Reports / Programs

RDDVIEWC SAP ABAP Report - Compare View Definition in ABAP Dictionary and Database







RDDVIEWC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Compare the view definitions stored in the ABAP Dictionary and in the database...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 RDDVIEWC 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 RDDVIEWC. "Basic submit
SUBMIT RDDVIEWC AND RETURN. "Return to original report after report execution complete
SUBMIT RDDVIEWC 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: SEARCH_V = View Name
Selection Text: PROTNAME = Log Name
Selection Text: PROTDEST = Log: Screen, File or Table
Title: Compare View Definition in ABAP Dictionary and Database
Text Symbol: T04 = Selection Cond.
Text Symbol: T03 = Fields
Text Symbol: T02 = Joins
Text Symbol: T01 = Base Tables
Text Symbol: T00 = Consistency check for view &
Text Symbol: IR9 = <- only DB
Text Symbol: IR8 = <- only DD
Text Symbol: IR3 = <- DB Version
Text Symbol: IR2 = <- DD Version
Text Symbol: IR1 = DB def:
Text Symbol: 065 = AND/OR ;;
Text Symbol: 064 = Comparison Value ;;
Text Symbol: 063 = Op ;;
Text Symbol: 062 = Field Name;;
Text Symbol: 061 = Table ;;
Text Symbol: 060 = NOT;;
Text Symbol: 053 = Field ;;
Text Symbol: 052 = Table ;;
Text Symbol: 051 = Field ;;
Text Symbol: 050 = Table ;;
Text Symbol: 042 = View Field;;
Text Symbol: 041 = Base Field;;
Text Symbol: 040 = Base Table;;
Text Symbol: 030 = Table ;;


INCLUDES used within this REPORT RDDVIEWC

INCLUDE RADBTMAC.
INCLUDE RADBTOUM.


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:

DDIF_VIEW_GET CALL FUNCTION 'DDIF_VIEW_GET' EXPORTING name = viewname state = version IMPORTING gotstate = got_state dd25v_wa = dd25v_dd TABLES dd26v_tab = dd26v_dd dd27p_tab = dd27p_int dd28j_tab = dd28j_tab dd28v_tab = dd28v_dd EXCEPTIONS illegal_input = 1 OTHERS = 2.

DB_GET_PROGNAME CALL FUNCTION 'DB_GET_PROGNAME' EXPORTING prefix = 'RDDVC' dbsys = sy-dbsys IMPORTING progname = reponame.



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