SAP Reports / Programs

CNVC_SCWB_XLS_CREATE SAP ABAP Report - Download Result Files for Repository Comparison (Optional)







CNVC_SCWB_XLS_CREATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for In this activity, you can download the first two levels of the repository analysis results...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 CNVC_SCWB_XLS_CREATE 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 CNVC_SCWB_XLS_CREATE. "Basic submit
SUBMIT CNVC_SCWB_XLS_CREATE AND RETURN. "Return to original report after report execution complete
SUBMIT CNVC_SCWB_XLS_CREATE 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: R_XLS = Create XLS files
Selection Text: R_DOWNL = Download XLS - 1st way
Selection Text: R_DOWN2 = Download XLS - 2nd way
Selection Text: R_DELE = Delete XLS files
Selection Text: P_PATH = Save In:
Title: Download Result Files for Repository Comparison (Optional)
Text Symbol: T19 = Done
Text Symbol: T18 = Please change it.
Text Symbol: T17 = Path cannot by larger than 39 characters.
Text Symbol: T16 = Can''t download:
Text Symbol: T15 = No active package found
Text Symbol: T14 = downloaded succesfully
Text Symbol: T13 = was not downloaded
Text Symbol: T12 = unsupported file system
Text Symbol: T11 = index creation failed
Text Symbol: T10 = index created
Text Symbol: T09 = spreadsheet creation failed
Text Symbol: T08 = spreadsheet created
Text Symbol: T07 = Error during opening search help for package id.
Text Symbol: T06 = This Package Id does not exist!
Text Symbol: T05 = it's recommended to use 2nd way of down.
Text Symbol: T04 = If count of objects is huge for obj-type,
Text Symbol: T03 = Do you want to download created files?
Text Symbol: T02 = Warning
Text Symbol: T01 = This program should be run in batch. Do you really want to continue?


INCLUDES used within this REPORT CNVC_SCWB_XLS_CREATE

INCLUDE: CNVC_BASE_MACROS.
INCLUDE: CNVC_SCWB_PARAMS,


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:

CNVCF_SCNG_RUNID_GETACTIVE * CALL FUNCTION 'CNVCF_SCNG_RUNID_GETACTIVE' * IMPORTING * RUNID = P_RUNID.

CNVCF_SCWB_ZLOG * CALL FUNCTION 'CNVCF_SCWB_ZLOG' * EXPORTING * I_LOG_OBJECT = C_OBJ_ZXIPROXY * I_EXTNUMBER = GV_EXT_NUMBER * TABLES * T_LOG_MESSAGE = GT_LOG_MESSAGE * EXCEPTIONS * LOG_HEADER_INCONSISTENT = 1 * LOGGING_ERROR = 2 * OTHERS = 3.

TMP_GUI_GET_FILE_EXIST CALL FUNCTION 'TMP_GUI_GET_FILE_EXIST' EXPORTING fname = p_path IMPORTING exist = lv_filexist * ISDIR = * FILESIZE = * EXCEPTIONS * FILEINFO_ERROR = 1 * OTHERS = 2 .

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = text-t02 txt1 = text-t17 txt2 = text-t18.

CNVCF_SCWB_CHECK_RUNID * CALL FUNCTION 'CNVCF_SCWB_CHECK_RUNID' * EXPORTING * IV_RUNID = P_RUNID * EXCEPTIONS * INITIAL = 1 * TOO_LONG = 2 * ILLEGAL_CHAR = 3 * NOT_EXIST = 4 * OTHERS = 5.

CNVCF_SCWB_ZLOG * CALL FUNCTION 'CNVCF_SCWB_ZLOG' * EXPORTING * I_LOG_OBJECT = C_OBJ_ZXIPROXY * I_EXTNUMBER = GV_EXT_NUMBER * TABLES * T_LOG_MESSAGE = GT_LOG_MESSAGE * EXCEPTIONS * LOG_HEADER_INCONSISTENT = 1 * LOGGING_ERROR = 2 * OTHERS = 3.

CNVCF_SCWB_ZLOG * CALL FUNCTION 'CNVCF_SCWB_ZLOG' * EXPORTING * I_LOG_OBJECT = C_OBJ_ZXIPROXY * I_EXTNUMBER = GV_EXT_NUMBER * TABLES * T_LOG_MESSAGE = GT_LOG_MESSAGE * EXCEPTIONS * LOG_HEADER_INCONSISTENT = 1 * LOGGING_ERROR = 2 * OTHERS = 3.

BAL_DSP_LOG_DISPLAY * CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' * EXCEPTIONS * OTHERS = 1.

F4IF_INT_TABLE_VALUE_REQUEST * CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' * EXPORTING * RETFIELD = 'RUNID' * DYNPPROG = SY-REPID * DYNPNR = SY-DYNNR * DYNPROFIELD = 'P_RUNID' * VALUE_ORG = 'S' * TABLES * VALUE_TAB = GT_SHLP * EXCEPTIONS * PARAMETER_ERROR = 1 * NO_VALUES_FOUND = 2 * OTHERS = 3.

CNVCF_SCWB_ZLOG * CALL FUNCTION 'CNVCF_SCWB_ZLOG' * EXPORTING * I_LOG_OBJECT = C_OBJ_ZXIPROXY * I_EXTNUMBER = GV_EXT_NUMBER * TABLES * T_LOG_MESSAGE = GT_LOG_MESSAGE * EXCEPTIONS * LOG_HEADER_INCONSISTENT = 1 * LOGGING_ERROR = 2 * OTHERS = 3.

CNVCF_QUESTION CALL FUNCTION 'CNVCF_QUESTION' EXPORTING ip_question = text-t01 ip_title = text-t02 IMPORTING ep_answer = gv_answer.

POPUP_TO_DECIDE_INFO CALL FUNCTION 'POPUP_TO_DECIDE_INFO' EXPORTING textline1 = text-t03 titel = '' IMPORTING answer = gv_answer.

CNV_MBT_AUTHORITY_CHECK CALL FUNCTION 'CNV_MBT_AUTHORITY_CHECK' EXPORTING IM_AREA = 'SLOP' IM_LEVEL = 'PACKAGE' IM_ACTIVITY = '03' * IM_MSGTY = * IM_MSGID = * IM_MSGNO = * IM_MSGV1 = * IM_MSGV2 = * IM_MSGV3 = * IM_MSGV4 = EXCEPTIONS NO_AUTHORITY = 1 OTHERS = 2 .

POPUP_TO_DECIDE_INFO CALL FUNCTION 'POPUP_TO_DECIDE_INFO' EXPORTING textline1 = text-t04 textline2 = text-t05 titel = '' IMPORTING answer = lv_answer.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = lv_fileandpath filetype = 'ASC' IMPORTING filelength = lv_filelen TABLES data_tab = lt_buffer "buffer EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22.

ARCHIVFILE_SERVER_TO_CLIENT CALL FUNCTION 'ARCHIVFILE_SERVER_TO_CLIENT' EXPORTING path = lv_filename3 targetpath = lv_filename2 EXCEPTIONS error_file = 1 OTHERS = 2.

CNVC_SCWB_CHECK_EXCEL_SUPPORT CALL FUNCTION 'CNVC_SCWB_CHECK_EXCEL_SUPPORT' IMPORTING excel_exe_path = lv_excel_exe_path excel_version = lv_excel_version EXCEPTIONS no_batch = 1 internal_error = 2 excel_not_installed = 3 wrong_frontend_os = 4 OTHERS = 5.



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