AS_TAAV_GENERATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use program AS_TAAV_GENERATE to create analysis variants used in table analyses, for tables generated by the Archive Information System ("ZARIX tables")...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 AS_TAAV_GENERATE 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: INFSTRUC = D Archive Infostructure
Selection Text: TESTMODE = Test Mode
Title: Generate analysis variant for infostructures
Text Symbol: 001 = Creation of Analysis Variants - Production Mode
Text Symbol: 002 = Creation of Analysis Variants - Test Mode
Text Symbol: 003 = Prepare Log
Text Symbol: 004 = No change necessary: &1 is inactive and has no table
Text Symbol: 005 = &1 is active, but does not have a table
Text Symbol: 006 = Program Errors
Text Symbol: 007 = Create analysis variants for infostructures
Text Symbol: 008 = Processing infostructure &1
Text Symbol: 009 = Analysis variant for &1 already exists
Text Symbol: 010 = Analysis variant for &1 already exists, but with incorrect fields
Text Symbol: 011 = Analysis per archive file
Text Symbol: 012 = The analysis variant for infostructure &1 (table &2) was created
Text Symbol: 013 = No infostructures matching the selection criteria were found
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
AIND_HELP_VALUES_FOR_ARCHINDEX CALL FUNCTION 'AIND_HELP_VALUES_FOR_ARCHINDEX' EXPORTING i_fld_dynpprog = sy-cprog i_fld_dynpnr = sy-dynnr i_fld_name = 'INFSTRUC-LOW' IMPORTING e_archindex = infstruc-low.
AIND_HELP_VALUES_FOR_ARCHINDEX CALL FUNCTION 'AIND_HELP_VALUES_FOR_ARCHINDEX' EXPORTING i_fld_dynpprog = sy-cprog i_fld_dynpnr = sy-dynnr i_fld_name = 'INFSTRUC-HIGH' IMPORTING e_archindex = infstruc-high.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = 'Protokoll aufbereiten'(003) i_output_immediately = 'X'.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_log IMPORTING e_log_handle = handle.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = handle i_s_msg = l_msg.
BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = l_display_profile.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = l_display_profile i_t_log_handle = lt_loghndl.
PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = 'Bearbeite Infostruktur &1'(008) i_msgv1 = v_infostruc i_output_immediately = 'X'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_test_modus = v_testmode wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'TAAV' wi_tadir_obj_name = l_obj_name wi_tadir_devclass = '$TMP' wi_set_genflag = 'X' EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.