DPROS Support

Exception CNTL_ERROR (Control Framework: Fatal error - GUI cannot be reached)

Symptom

A background job of Publisher terminates with runtime error due to uncaught exception CNTL_ERROR (Error message "Control Framework: Fatal error - GUI cannot be reached" is written in the job log).

Reason

The original report doesn't support execution in background.
Please execute directly the original report in background (not via Publisher) and verify it ends successfully.

Solution

In case the original report doesn't support execution in background, you should should fix the ABAP code of the report.
The most common solution for ALV reports is checking if GUI is available before the following actions:
  1. Creation of the container for the ALV control.
  2. Setting dropdown lists (method cl_gui_alv_grid->set_drop_down_table)
  3. Registering edit event (method cl_gui_alv_grid->register_edit_event)
You should use method cl_gui_alv_grid=>offline to check if GUI is available.
e.g. 
  1. IF cl_gui_alv_grid=>offline( ) IS INITIAL.
  2.     CREATE OBJECT lo_container
  3.       EXPORTING
  4.         container_name = 'MY_CONTAINER'.
  5. ENDIF.
  6. CREATE OBJECT lo_alv_grid
  7.   EXPORTING
  8.     i_parent = lo_container.

    • Related Articles

    • Dump (Runtime Error) in Publisher

      In case a dump (runtime error) occurs during execution of Publisher, the problem may lie in the original report. Please execute the original report in background and review the spool (in transaction SM37). Verify that ALV list is available on the ...
    • Exception LCX_PROGRAM_ERROR In Method LCL_FUNCTIONAL=>ARGNAMES_GET

      Symptom After you have updated the interface of a customer (Z) formula function, any execution of Rainbow variant which makes use of this formula function leads to runtime error due to uncaught exception LCX_PROGRAM_ERROR in ...
    • Error Message "no ALV table imported from memory"

      Symptom When you publish a report, error message /DPS/RET 104 - "Error Message "no ALV table imported from memory" is issued/written in the job log and nothing is published. The issue may occur both in foreground and background execution or only in ...
    • Dump (Runtime Error)

      In case of dump (runtime error), please attach the complete dump to the ticket (as described in the OSS note 1896868 – How to save a short dump in text format: When a user receives a short dump at runtime mode, pay attention to the fact that the dump ...
    • Runtime Error CONNE_IMPORT_WRONG_COMP_LENG In Method CL_SALV_BS_RUNTIME_INFO=>GET_DATA

      Symptom While executing the report, you run into runtime error CONNE_IMPORT_WRONG_COMP_LENG (Exception CX_SY_IMPORT_MISMATCH_ERROR) in Method CL_SALV_BS_RUNTIME_INFO=>GET_DATA. Reason One of the fields in the ALV data table is defined with of ABAP ...