Skip to Content

Docking container

Hello,

Could you please tell me what is wrong either in the code below or in my logic:

  DATA: d_container TYPE REF TO cl_gui_docking_container,
        e_control TYPE REF TO cl_gui_abapedit.

  CALL SCREEN 200.

  CREATE OBJECT d_container
    EXPORTING
*      repid                       = sy-cprog
*      dynnr                       = sy-dynnr
      side                        = cl_gui_docking_container=>dock_at_left.

  check sy-subrc = 0.

  CREATE OBJECT e_control
    EXPORTING
      parent = d_container.

Logic

- create empty screen 0200

- create docking container docking it to the left part of screen

- embedding abap editor control to this docking container

My question is: why when running program I don't see anything, as the docking container with the control inside wouldn't be there?

Thank you for help in advance.

Marcin

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2008 at 07:26 AM

    Have a look at report RSDEMO_DOCKING_CONTROL - I think you should not have commented out your repid & dynnr parameters on the "CREATE OBJECT d_container".

    Jonathan

    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.