02-09-2005 6:52 AM
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.
02-09-2005 7:05 AM
Hi Feros,
Try giving the name of the container. The parameter CONTAINER is some sort of a misnomer. It should probably have been CONTAINER_NAME (which in your case turns out to be G_SPLITLOGO).
Regards,
Anand Mandalika.
02-09-2005 7:14 AM