Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Subscreen in docking container

Former Member
0 Likes
1,651

Hi all,

Does anybody know how to call a subscreen in a customer container?

Michael.

6 REPLIES 6
Read only

Former Member
0 Likes
934

Hi Michael,

Can you tell us what kind of sub screen do you want to display in the custom container? viz. ALV/ HTML page/ NOrmal list??

Thanks,

Ravi

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
934

You can not put dynpros inside of custom containers, containers are used for frontend gui functions. You can put ALV grids, HTML controls, picture controls, etc, in a custom container. No Dynpros.

Regards,

Rich Heilman

Read only

0 Likes
934

No dynpro's,... that's what I thought.

Thx for the quick response,

Michael.

Read only

0 Likes
934

Please make sure to reward points for helpful answers and mark you post as solved if your question has been answered. Thanks.

Regards,

Rich Heilman

Read only

0 Likes
934

I would really love to have a screen like a debugger in my custom development.

How do I do that? Do they not use containers in that?

Read only

Former Member
0 Likes
934

Hi Michael,

For example if you are to display a ALV GRID,

then use the following code

data: container_r type ref to cl_gui_custom_container,

grid_r type ref to cl_gui_alv_grid.

create object container_r

exporting container_name = 'CONTAINER_1'.

create object grid_r

exporting i_parent = container_r.

call method grid_r->set_table_for_first_display

exporting

i_structure_name = <Structure of the internal tab>

changing

it_outtab = <Table with data>.

Thanks,

Ravi