ICL_DIAG_UPLOAD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Importing Diagnosis Groups and Diagnoses You can use this report to import the contents of a diagnosis catalog into the system...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 ICL_DIAG_UPLOAD into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
ICLDIAGIMPORT - Import Diagnoses
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: CATAID = Basic Catalog
Selection Text: COPYDATA = Copy Additional Attributes
Selection Text: DIAGCHAP = Chapter of Catalog
Selection Text: DIAGFILE = Catalog/Thesaurus File Name
Selection Text: DIAGFRMT = Format of Diagnosis Catalog
Selection Text: DIAGROUP = Import Diagnosis Groups
Selection Text: EXCL_ATT = Excluded Attributes
Selection Text: FNAME = Function Module
Selection Text: GRPFILE = File Name of Diagnosis Groups
Selection Text: RCATAID = Reference Catalog
Selection Text: S_CATAID = Source Catalog
Selection Text: TEST = Test Mode
Selection Text: UPD = Update Database
Title: ICL: Report for Importing Diagnoses and Diagnosis Groups
Text Symbol: 001 = Presentation Server
Text Symbol: 002 = Application Server
Text Symbol: 003 = NN
Text Symbol: 004 = Diagnosis Thesaurus
Text Symbol: 005 = Cannot Be Copied Since Diagnosis Not in Target Catalog
Text Symbol: OPT = Further Options
Text Symbol: TRG = (Target Catalog=Basis Catalog)
INCLUDE _DIAG_UPLOAD_DIAG_ADD_READF03. "## NOTE 1531781
No SAP DATABASE tables are accessed within this REPORT code!
TR_SYS_PARAMS CALL FUNCTION 'TR_SYS_PARAMS' IMPORTING system_client_edit = lv_sysclntedit EXCEPTIONS no_systemname = 1 no_systemtype = 2 OTHERS = 3.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_grpfilename TABLES data_tab = lt_diaggroup 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.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = lc_logical_file CHANGING physical_filename = grpfile EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_diagfilename TABLES data_tab = lt_diag 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.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = lc_logical_file CHANGING physical_filename = diagfile EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.
ICL_SAMPLE_THES_READ CALL FUNCTION 'ICL_SAMPLE_THES_READ'. "#EC *
ICL_SAMPLE_DIMDI_READ CALL FUNCTION 'ICL_SAMPLE_DIMDI_READ'. "#EC *
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ICL_DIAG_UPLOAD - ICL: Report for Importing Diagnoses and Diagnosis Groups ICL_DIAG_UPLOAD - ICL: Report for Importing Diagnoses and Diagnosis Groups ICL_DHC_EVENT_RECEIVER - ICLDHCEVENTRECEIVER ICL_DC_DELETE_BP_F01 - ICLDCDELETEBPF01 ICL_DC_DELETE_BP - Report ICL_DC_DELETE_BP ICL_DC_DELETE_BP - Report ICL_DC_DELETE_BP