Skip to Content
0
Former Member
Jul 02, 2007 at 03:20 PM

Docking Container and CL_SALV_TREE

291 Views

Hi,

i get problems with this code.

i'm using docking container, not customer container.

...

CREATE OBJECT GR_DCONTAINER

EXPORTING

PARENT = CL_GUI_CONTAINER=>SCREEN0

SIDE = CL_GUI_DOCKING_CONTAINER=>DOCK_AT_LEFT

RATIO = 90.

*

PERFORM DYNP_SPLITTEN.

*

CREATE OBJECT GR_ALVGRID_RIGHT

EXPORTING

I_PARENT = O_PARENT_GRID_RIGHT.

...

TRY.

CL_SALV_TREE=>FACTORY(

EXPORTING

R_CONTAINER = O_PARENT_GRID_RIGHT

IMPORTING

R_SALV_TREE = GR_TREE

CHANGING

T_TABLE = ITAB ).

<b> CATCH CX_SALV_NO_NEW_DATA_ALLOWED CX_SALV_ERROR.

EXIT.</b>

ENDTRY.

*

i get the catch-event and the report ends.

Question: Does the ALV-TREE need customer container or can

i use docking container (how??).

thanks for help.

Regards Dieter