SAP Reports / Programs

ICL_DIAG_UPLOAD SAP ABAP Report - ICL: Report for Importing Diagnoses and Diagnosis Groups







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

ICLDIAGIMPORT - Import Diagnoses


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 ICL_DIAG_UPLOAD. "Basic submit
SUBMIT ICL_DIAG_UPLOAD AND RETURN. "Return to original report after report execution complete
SUBMIT ICL_DIAG_UPLOAD 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: 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)


INCLUDES used within this REPORT ICL_DIAG_UPLOAD

INCLUDE _DIAG_UPLOAD_DIAG_ADD_READF03. "## NOTE 1531781


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:

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 *



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