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
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: 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 ;;
INCLUDE RADBTMAC.
INCLUDE RADBTOUM.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RDDVIEWC - Compare View Definition in ABAP Dictionary and Database RDDVIEWC - Compare View Definition in ABAP Dictionary and Database RDDVIEW0 - documentation and ABAP source code RDDVERSL - Version Management: Select After Import RDDVERSL - Version Management: Select After Import RDDVERSK - Version Management: Make Versions After Import