Skip to Content
author's profile photo
Former Member

ALV Binding to screen0, i_parent=... (problem with "manage layouts")

Hello everyone,

I discovered a weird behavior, which I could reproduce by

a slight change in the standard program BCALV_GRID_09.

Once I replace

    CREATE OBJECT grid1
          EXPORTING i_parent = custom_container.

with

    CREATE OBJECT grid1
*          EXPORTING i_parent = custom_container.
          EXPORTING i_parent = cl_gui_container=>screen0.

then I experience the following behavior:

once you select "Manage Layouts" from the layout

dropdown menu, you don't see the list of layouts,

but the alv list with flights instead.

I have exactly the same problem with my workbench.

The problem I face is the following:

Once I bind my ALV grid to a custom_container, I do not

see the ALV list, once I bind it to cl_gui_container=>screen0,

I see the ALV list, but have the problem described above.

Has anyone any ideas on this?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Posted on Aug 28, 2008 at 12:41 PM

    try to use DEFAULT_SCREEN in place of SCREEN0

    Add comment
    10|10000 characters needed characters exceeded