Hi All,
When we try to use a splitter container,we are not able to assign it to CL_DD_DOCUMENT object,which is used to display the logo.
In the other part of the splitter, we are able to display the ALV grid.
In the code, the method 'DISPLAY_DOCUMENT' is not accepting an object of a splitter container.
Thanks And Regards,
Feros Khan.
CALL METHOD g_splittercontainer->get_container EXPORTING row = 1 column = 1 receiving container = g_splitlogo. CALL METHOD g_splittercontainer->get_container EXPORTING row = 2 column = 1 receiving container = g_splitalv. CREATE OBJECT g_logocontainer. CALL METHOD g_logocontainer->add_picture EXPORTING picture_id = 'ENJOYSAP_LOGO' width = '125%'. CALL METHOD g_logocontainer->merge_document. * CALL METHOD g_logocontainer->display_document * EXPORTING * container = g_splitlogo * EXCEPTIONS * html_display_error = 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.
Hi,
Take a look at a similar post at How To use TOP OF PAGE event in OOPS ALV?
See if this helps.
Regards
Add a comment