Skip to Content
0
Jun 05, 2020 at 10:19 AM

Chart graphic - Dump in bactch mode

45 Views

Hi Gurus! I´ve created a program to display a pie chart in an smartform. Online all runs ok, but in batch mode, raise the next error:

211 - GP: Graphics control could not be created; check method call

In this call:

data: gp_inst TYPE REF TO cl_gui_gp_pres,

custom_container_dock TYPE REF TO cl_gui_docking_container,

CREATE OBJECT gp_inst.

CALL METHOD gp_inst->if_graphic_proxy~init
EXPORTING
parent = custom_container_dock
dc = dc_inst
prod_id = cl_gui_gp_pres=>co_prod_chart
force_prod = gfw_true
top = 1
left = 1
height = 10
width = 39
IMPORTING
retval = retval.

Any idea?? How can I quit this error?