Skip to Content
author's profile photo Former Member
Former Member

How To Refer instance of splitter container to an CL_DD_DOCUMENT object?

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.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2005 at 07: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2005 at 07:14 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.