Hi Gurus! I´m trying to generate a PIE chart in background mode.
In on-line mode I use a custom container, but It DUMPs in batch mode.
Then, I´ve readen that using a docking container solves the problem, but the DUMP CNTL_ERROR persist in the constructor of the docking container.
If I execute this code in batch mode, the DUMP appears:
DATA: custom_container_dock TYPE REF TO cl_gui_docking_container.
CREATE OBJECT custom_container_dock
EXPORTING
repid = sy-repid
dynnr = '0100'
ratio = 15
* side = custom_container_dock->dock_at_left.
no_autodef_progid_dynnr = 'X'.
Inside the docking constructor the dump is in this point:
CALL METHOD DOCK_AT_internal
EXPORTING
SIDE = SIDE
notify = space
EXCEPTIONS
CNTL_SYSTEM_ERROR = 1
CNTL_ERROR = 2.
CASE SY-SUBRC.
WHEN 0.
WHEN 1.
RAISE CNTL_SYSTEM_ERROR.
WHEN 2.
>>>>>>RAISE CNTL_ERROR.
WHEN OTHERS.
RAISE CNTL_ERROR.
ENDCASE.
Anyone knows how to solve this problem?
Thanks!!