Hello Experts,
I have a requirement that to display a gantt chart in adobe form.For this i am using the method get_gantt_data from the class cl_dpr_ui_log_gantt.
using this method i am getting xstring data in to a variable and we are mapping it to Grapic field.But i am unable to display the gantt chart.Is their any possibility to convert gantt chart in to image.
Please help me.
Below is the code which we used in adobe form interface.
DATA lr_gantt TYPE REF TO cl_dpr_ui_log_gantt.
CALL METHOD lr_gantt->get_gantt_data
EXPORTING
it_objects = lt_objects
iv_debug = lv_debug
is_sel_obj = ls_obj_event
it_entry_obj_event = lt_entry_obj_event
IMPORTING
ev_gantt_data = gv_gantt_data
* ev_gantt_data_id =
* ev_title =
EXCEPTIONS
open_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
gv_var = 'image/bmp'.
Mapping of the field:
Thank you,
Manasa Veena