SAP Reports / Programs

RA_PREP_CONV SAP ABAP Report - Report RA_PREP_CONV







RA_PREP_CONV is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program supports you if you have to reset the cumulative data of 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 RA_PREP_CONV 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 RA_PREP_CONV. "Basic submit
SUBMIT RA_PREP_CONV AND RETURN. "Return to original report after report execution complete
SUBMIT RA_PREP_CONV 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: SHOWLOGS = Display Log History
Selection Text: P_VERSA = Results Analysis Version
Selection Text: P_UPDATE = Update Run
Selection Text: P_KOKRS = Controlling Area
Selection Text: P_ABGSL = Results Analysis Key
Selection Text: E_CONV = Restore Original Method
Selection Text: B_PREP = Prepare Results Analysis
Title: Report RA_PREP_CONV
Text Symbol: 020 = Execution Mode
Text Symbol: 019 = Processing Options
Text Symbol: 018 = RA Key
Text Symbol: 017 = RA Version
Text Symbol: 016 = Controlling Area
Text Symbol: 015 = Unknown Error
Text Symbol: 014 = Test Run
Text Symbol: 013 = Actual Run
Text Symbol: 012 = Table TKKAS_CONV is Empty
Text Symbol: 011 = is reset in the update run
Text Symbol: 010 = is reset
Text Symbol: 009 = Results Analysis Already Prepared
Text Symbol: 008 = is changed in update run
Text Symbol: 007 = will be changed
Text Symbol: 006 = No valuation method for controlling area, RA key and version
Text Symbol: 005 = Saved in Tab TKKAS_CONV
Text Symbol: 004 = Valuation Method for Status
Text Symbol: 003 = Specify the Results Analysis Version
Text Symbol: 002 = Specify the Results Analysis Key
Text Symbol: 001 = Specify the Controlling Area


INCLUDES used within this REPORT RA_PREP_CONV

No INCLUDES are used within this REPORT code!


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:

AUTHORITY_CHECK_TCODE * CALL FUNCTION 'AUTHORITY_CHECK_TCODE' * EXPORTING * tcode = '???' * EXCEPTIONS * ok = 0 * OTHERS = 1.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = gv_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

STATUS_NUMBER_CONVERSION CALL FUNCTION 'STATUS_NUMBER_CONVERSION' EXPORTING language = sy-langu status_number = lt_tkkas-istat stsma = lt_tkkas-stsma * CLIENT = SY-MANDT * OBJNR = ' ' IMPORTING txt04 = status_txt04 * TXT30 = * LANGUAGE_FOUND = EXCEPTIONS OTHERS = 01.

STATUS_NUMBER_CONVERSION CALL FUNCTION 'STATUS_NUMBER_CONVERSION' EXPORTING language = sy-langu status_number = lt_tkkas-istat stsma = lt_tkkas-stsma * CLIENT = SY-MANDT * OBJNR = ' ' IMPORTING txt04 = status_txt04 * TXT30 = * LANGUAGE_FOUND = EXCEPTIONS OTHERS = 01.

STATUS_NUMBER_CONVERSION CALL FUNCTION 'STATUS_NUMBER_CONVERSION' EXPORTING language = sy-langu status_number = lt_tkkas-istat stsma = lt_tkkas-stsma * CLIENT = SY-MANDT * OBJNR = ' ' IMPORTING txt04 = status_txt04 * TXT30 = * LANGUAGE_FOUND = EXCEPTIONS OTHERS = 01.

STATUS_NUMBER_CONVERSION CALL FUNCTION 'STATUS_NUMBER_CONVERSION' EXPORTING language = sy-langu status_number = lt_tkkas-istat stsma = lt_tkkas-stsma * CLIENT = SY-MANDT * OBJNR = ' ' IMPORTING txt04 = status_txt04 * TXT30 = * LANGUAGE_FOUND = EXCEPTIONS OTHERS = 01.

STATUS_NUMBER_CONVERSION CALL FUNCTION 'STATUS_NUMBER_CONVERSION' EXPORTING language = sy-langu status_number = lt_tkkas-istat stsma = lt_tkkas-stsma * CLIENT = SY-MANDT * OBJNR = ' ' IMPORTING txt04 = status_txt04 * TXT30 = * LANGUAGE_FOUND = EXCEPTIONS OTHERS = 01.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = gv_log_handle i_s_msg = ls_msg EXCEPTIONS OTHERS = 0.

BAL_DB_SEARCH CALL FUNCTION 'BAL_DB_SEARCH' EXPORTING i_s_log_filter = ls_filter IMPORTING e_t_log_header = lt_log_header EXCEPTIONS log_not_found = 1 no_filter_criteria = 2 OTHERS = 3.

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING i_t_log_header = lt_log_header IMPORTING e_t_log_handle = lt_log_handle EXCEPTIONS no_logs_specified = 1 log_not_found = 2 log_already_loaded = 3 OTHERS = 4.

BAL_DSP_PROFILE_SINGLE_LOG_GET CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' IMPORTING e_s_display_profile = ls_profile EXCEPTIONS OTHERS = 0.

BAL_DSP_PROFILE_DETLEVEL_GET CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET' IMPORTING e_s_display_profile = ls_profile EXCEPTIONS OTHERS = 0.

UNSET_PRINTPARAMETER CALL FUNCTION 'UNSET_PRINTPARAMETER' * EXPORTING * NAME = * IN_PARAMETERS = * IMPORTING * OUT_PARAMETERS = * OUT_ARCHIVE_PARAMETERS = * EXCEPTIONS * INVALID_PARAMETER = 1 * OTHERS = 2 .

BAL_DSP_LOG_PRINT CALL FUNCTION 'BAL_DSP_LOG_PRINT' EXPORTING i_s_print_options = ls_print_options i_s_display_profile = ls_profile i_t_log_handle = lt_log_handle * i_t_msg_handle = lt_msg_handle EXCEPTIONS OTHERS = 0.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = lt_log_handle i_s_display_profile = ls_profile i_amodal = space EXCEPTIONS OTHERS = 0.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_t_log_handle = lt_log_handle EXCEPTIONS OTHERS = 0.

RS_HELP_SELSCREEN CALL FUNCTION 'RS_HELP_SELSCREEN' EXPORTING screen = '1000' * SITUATION = ' ' .

HELP_START CALL FUNCTION 'HELP_START' EXPORTING help_infos = l_f_help_infos TABLES dynpselect = l_t_dynpselect dynpvaluetab = l_t_dynpvaluetab.

GET_PRINT_PARAMETERS





CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING archive_mode = '1' mode = 'BATCH' report = sy-repid IMPORTING out_parameters = print_parameters * out_archive_parameters = archi_parameters valid = valid_flag EXCEPTIONS invalid_print_params = 2 OTHERS = 4.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING archive_mode = '1' no_dialog = l_no_dialogue mode = 'BATCH' report = sy-repid IMPORTING out_parameters = print_parameters * out_archive_parameters = archi_parameters valid = valid_flag EXCEPTIONS invalid_print_params = 2 OTHERS = 4.

SPOOL_STATISTIC CALL FUNCTION 'SPOOL_STATISTIC'.



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