SAP Reports / Programs

CNVC_CCE_TM_CONV_2 SAP ABAP Report - Define Mapping for Customizing Comparison (Optional)







CNVC_CCE_TM_CONV_2 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 define mapping rules to be considered during the comparison...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_CCE_TM_CONV_2 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_CCE_TM_CONV_2. "Basic submit
SUBMIT CNVC_CCE_TM_CONV_2 AND RETURN. "Return to original report after report execution complete
SUBMIT CNVC_CCE_TM_CONV_2 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: PE_002 = D System-ID
Selection Text: PE_003 = Table name
Selection Text: PE_005 = Value
Selection Text: PE_006 = Old Value
Selection Text: PE_007 = New Value
Selection Text: PE_RB01 = Data Element
Selection Text: PE_RB02 = Domain
Selection Text: PE_RB03 = Field Name
Selection Text: PV_002 = D System-ID
Selection Text: PV_003 = Table name
Selection Text: PV_005 = Value
Selection Text: PV_006 = Old Value
Selection Text: PV_007 = New Value
Selection Text: PV_RB01 = Data Element
Selection Text: PV_RB02 = Domain
Selection Text: PV_RB03 = Field Name
Selection Text: P_PATH_F = Specify File Path
Title: Define Mapping for Customizing Comparison (Optional)
Text Symbol: T35 = Field Name
Text Symbol: T36 = for Pack ID:
Text Symbol: T37 = The record is deleted
Text Symbol: T38 = The record is not deleted
Text Symbol: T39 = is changed in table
Text Symbol: T40 = in the system
Text Symbol: T41 = New mapping is created for
Text Symbol: T42 = for the table
Text Symbol: T43 = Mapping for the
Text Symbol: T44 = New Mapping entries are uploaded for the Package.
Text Symbol: T45 = Mapping entries downloaded to the location:
Text Symbol: T46 = Upload file
Text Symbol: T50 = Browse to the file you want to upload
Text Symbol: T51 = You did not choose a file -> leaving
Text Symbol: T52 = Specify File Path
Text Symbol: T34 = Domain Name
Text Symbol: T01 = Selection
Text Symbol: T02 = Data set display
Text Symbol: T03 = Mapping Details
Text Symbol: T04 = Mapping Based On:





Text Symbol: T05 = User
Text Symbol: T06 = is not allowed viewing or altering this data.
Text Symbol: T07 = Pack ID
Text Symbol: T08 = Table Name
Text Symbol: T09 = Object Type
Text Symbol: T10 = Object Name
Text Symbol: T11 = Old Value
Text Symbol: T12 = New Value
Text Symbol: T13 = records
Text Symbol: T14 = Not all datasets are displayed
Text Symbol: T15 = because you lack authorisation..
Text Symbol: T16 = has no permission to store this data.
Text Symbol: T17 = Download not allowed
Text Symbol: T18 = Upload not allowed
Text Symbol: T19 = Entry already exists.
Text Symbol: T20 = is not allowed downloading this data.
Text Symbol: T21 = is not allowed altering this data.
Text Symbol: T22 = Do you really want to delete the dataset?
Text Symbol: T23 = has no permission to modify this data.
Text Symbol: T24 = No change made to Mapping record.
Text Symbol: T25 = Are you sure?
Text Symbol: T26 = Yes
Text Symbol: T27 = No
Text Symbol: T28 = Info
Text Symbol: T29 = OK
Text Symbol: T30 = This file contains data for another table
Text Symbol: T31 = Store the uploaded entries on the database now?
Text Symbol: T32 = Table download
Text Symbol: T33 = Data Element Name


INCLUDES used within this REPORT CNVC_CCE_TM_CONV_2

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:

CNV_MBT_AUTHORITY_CHECK CALL FUNCTION 'CNV_MBT_AUTHORITY_CHECK' EXPORTING im_area = 'SLOP' im_level = 'PACKAGE' im_activity = '03' EXCEPTIONS no_authority = 1 OTHERS = 2.

CNVCF_CCE_ACTIVE_GET * CALL FUNCTION 'CNVCF_CCE_ACTIVE_GET' * IMPORTING * active_run = pe_001.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'SID' dynpprog = gv_repid dynpnr = sy-dynnr dynprofield = 'pe_002' value_org = 'S' TABLES value_tab = gt_shlp EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST





CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'SID' dynpprog = gv_repid dynpnr = sy-dynnr dynprofield = 'pv_002' value_org = 'S' TABLES value_tab = gt_shlp EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'TABNAME' dynpprog = gv_repid1 dynpnr = sy-dynnr dynprofield = 'pe_003' value_org = 'S' TABLES value_tab = gt_shlp1 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'TABNAME' dynpprog = gv_repid1 dynpnr = sy-dynnr dynprofield = 'pe_003' value_org = 'S' TABLES value_tab = gt_shlp1 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_user_command = gs_user_command is_layout = gs_layout it_fieldcat = gt_fieldcat it_events = gt_events i_callback_pf_status_set = 'SET_MY_PF' TABLES t_outtab = gt_data.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt * I_LOGO = * I_END_OF_LIST_GRID = .

POPUP_TO_DISPLAY_TEXT_LO *CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO' * EXPORTING * TITEL = 'Info' * TEXTLINE1 = 'Double-click on entry' * TEXTLINE2 = ' ' * TEXTLINE3 = ' ' * START_COLUMN = 15 * START_ROW = 6 * .

DOCU_CALL CALL FUNCTION 'DOCU_CALL' EXPORTING displ = 'X' displ_mode = '2' id = 'RE' langu = sy-langu object = 'CNVC_CCE_TM_CONV_2' EXCEPTIONS wrong_name = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-t25 "'Are you sure?' * DIAGNOSE_OBJECT = ' ' text_question = lv_text text_button_1 = text-t26 "'Ja' * ICON_BUTTON_1 = ' ' text_button_2 = text-t27 "'Nein' * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' * DISPLAY_CANCEL_BUTTON = 'X' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING answer = ep_answer * TABLES * PARAMETER = * EXCEPTIONS * TEXT_NOT_FOUND = 1 * OTHERS = 2 .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-t28 "'Info' * DIAGNOSE_OBJECT = ' ' text_question = lv_text text_button_1 = text-t29 "'OK' * ICON_BUTTON_1 = ' ' * text_button_2 = 'Nein' * ICON_BUTTON_2 = ' ' * DEFAULT_BUTTON = '1' DISPLAY_CANCEL_BUTTON = ' ' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING answer = lv_answer * TABLES * PARAMETER = * EXCEPTIONS * TEXT_NOT_FOUND = 1 * OTHERS = 2 .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = FILENAME = lv_fn * FILETYPE = 'ASC' * IMPORTING * FILELENGTH = TABLES DATA_TAB = lt_data * FIELDNAMES = EXCEPTIONS INVALID_TYPE = 1 OTHERS = 2 .

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING TITEL = ' ' TXT1 = text-t50 TXT2 = ' '.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = gv_fileandpath FILETYPE = 'ASC' HAS_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = lt_data EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 NO_BATCH = 3 GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 NO_AUTHORITY = 6 UNKNOWN_ERROR = 7 BAD_DATA_FORMAT = 8 HEADER_NOT_ALLOWED = 9 SEPARATOR_NOT_ALLOWED = 10 HEADER_TOO_LONG = 11 UNKNOWN_DP_ERROR = 12 ACCESS_DENIED = 13 DP_OUT_OF_MEMORY = 14 DISK_FULL = 15 DP_TIMEOUT = 16 OTHERS = 17.

CNVCF_HEX_START CALL FUNCTION 'CNVCF_HEX_START' .

CNVCF_HEX_COLS_CLEAR CALL FUNCTION 'CNVCF_HEX_COLS_CLEAR'.

CNVCF_HEX_COL_ADD * CALL FUNCTION 'CNVCF_HEX_COL_ADD' * EXPORTING * fieldname = 'RUNID ' * text = text-t07. "'Vergleichslauf '.

CNVCF_HEX_COL_ADD CALL FUNCTION 'CNVCF_HEX_COL_ADD' EXPORTING fieldname = 'SID ' text = ' '.

CNVCF_HEX_COL_ADD CALL FUNCTION 'CNVCF_HEX_COL_ADD' EXPORTING fieldname = 'TABNAME ' text = text-t08. "'Tabellenname '.

CNVCF_HEX_COL_ADD CALL FUNCTION 'CNVCF_HEX_COL_ADD' EXPORTING fieldname = 'TYPE ' text = text-t09. "'Ersetzungs-Typ '.

CNVCF_HEX_COL_ADD CALL FUNCTION 'CNVCF_HEX_COL_ADD' EXPORTING fieldname = 'VALUE ' text = text-t10. "'Wert '.

CNVCF_HEX_COL_ADD CALL FUNCTION 'CNVCF_HEX_COL_ADD' EXPORTING fieldname = 'OLD_VALUE ' text = text-t11. "'alter Wert '.




CNVCF_HEX_COL_ADD CALL FUNCTION 'CNVCF_HEX_COL_ADD' EXPORTING fieldname = 'NEW_VALUE ' text = text-t12. "'neuer Wert '.

CNVCF_HEX_HEADLINE CALL FUNCTION 'CNVCF_HEX_HEADLINE' EXPORTING text = text-t32. "'Table download'.

CNVCF_HEX_SUBHEADLINE CALL FUNCTION 'CNVCF_HEX_SUBHEADLINE'.

CNVCF_HEX_DATA CALL FUNCTION 'CNVCF_HEX_DATA' EXPORTING data_table = gt_data do_sum = ' ' CHANGING data_struc = gs_data.

CNVCF_HEX_FINISH CALL FUNCTION 'CNVCF_HEX_FINISH' .

CNVCF_HEX_DOWNLOAD CALL FUNCTION 'CNVCF_HEX_DOWNLOAD' EXPORTING filename = '' EXCEPTIONS file_error = 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_CCE_TM_CONV_2 or its description.