CACS_VIEW_GENERATOR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program CACS_VIEW_GEGENRATOR helps developers to create a maintenance dialog for a versioned table...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 CACS_VIEW_GENERATOR 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: ALLVERS = All Versions
Selection Text: INCLUDE = Include
Selection Text: TABNAME = Table Name
Selection Text: TEXTTAB = Text Table
Selection Text: VIEWNAME = View Name
Title: Program CACS_VIEW_GENERATOR
Text Symbol: 010 = Table does not exist
Text Symbol: 100 = Params
Text Symbol: 101 = Table Name
Text Symbol: 102 = ViewName (Optional)
Text Symbol: 103 = Create text table?
Text Symbol: 104 = Create additional view for all versions?
Text Symbol: 105 = Use which include for versioning?
INCLUDE CACS_VIEW_GENERATOR_DEVCLASF01.
INCLUDE CACS_VIEW_GENERATOR_TRANSPOF01.
No SAP DATABASE tables are accessed within this REPORT code!
DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' " Check if tab is existing EXPORTING tabname = tabname TABLES dfies_tab = lt_dfies EXCEPTIONS not_found = 1 OTHERS = 2.
TR_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING iv_category = 'SYST' iv_cli_dep = ' ' IMPORTING ev_task = lv_task EXCEPTIONS invalid_category = 1 no_correction_selected = 2 OTHERS = 3.
DDUT_TEXTTABLE_GET CALL FUNCTION 'DDUT_TEXTTABLE_GET' EXPORTING tabname = tabname IMPORTING texttable = lv_texttabname.
CACS_CREATE_TEXTTAB CALL FUNCTION 'CACS_CREATE_TEXTTAB' EXPORTING i_maintabname = tabname i_texttabname = lv_texttabname EXCEPTIONS failure = 1 activated_with_warning = 2 OTHERS = 3.
CACS_CREATE_MVIEW CALL FUNCTION 'CACS_CREATE_MVIEW' EXPORTING i_maintabname = tabname i_viewname = viewname EXCEPTIONS not_activated = 1 put_failure = 2 no_structure_for_txttab = 3 no_structure_for_versioning = 4 no_table_information_found = 5 could_not_get_table_structure = 6 OTHERS = 7.
CACS_CREATE_MVIEW CALL FUNCTION 'CACS_CREATE_MVIEW' EXPORTING i_maintabname = tabname i_viewname = viewname_al i_all_versions = 'X' EXCEPTIONS not_activated = 1 put_failure = 2 no_structure_for_txttab = 3 no_structure_for_versioning = 4 no_table_information_found = 5 could_not_get_table_structure = 6 OTHERS = 7.
CACS_CREATE_MDIALOG CALL FUNCTION 'CACS_CREATE_MDIALOG' EXPORTING i_viewname = viewname i_fugr = lv_fugr_name i_authgrp = lv_authgrp i_include = include it_eventforms = lt_eventforms i_request = lv_task EXCEPTIONS not_successful = 1 no_results_for_view = 2 no_table_information_found = 3 no_include_created = 4 inconsistent_include_parameter = 5 OTHERS = 6.
CACS_CREATE_MDIALOG CALL FUNCTION 'CACS_CREATE_MDIALOG' EXPORTING i_viewname = viewname_al i_fugr = lv_fugr_name i_authgrp = lv_authgrp i_request = lv_task EXCEPTIONS not_successful = 1 no_results_for_view = 2 no_table_information_found = 3 no_include_created = 4 inconsistent_include_parameter = 5 OTHERS = 6.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
CACS_VIEW_GENERATOR - Program CACS_VIEW_GENERATOR CACS_VIEW_GENERATOR - Program CACS_VIEW_GENERATOR CACS_VIEWCLUSTER_PRESET_APPL - View Cluster: Preassign Subset Field with Application CACS_VIEWCLUSTER_PRESET_APPL - View Cluster: Preassign Subset Field with Application CACS_VIEWCALL - Program CACS_VIEWCALL CACS_VIEWCALL - Program CACS_VIEWCALL