2016 Dec 08 7:14 AM
Hi, all.
At subscreen on TabStrip I can't create docking container.
In module STATUS_0110 output. I am write:
CREATE OBJECT go_dock
EXPORTING
parent = cl_gui_container=>screen0
repid = lv_repid
dynnr = '0101'
extension = 230
side = cl_gui_docking_container=>dock_at_top
EXCEPTIONS
others = 6.
Or :
CREATE OBJECT go_dock
EXPORTING
parent = cl_gui_container=>screen1
repid = lv_repid
dynnr = '0100'
extension = 230
side = cl_gui_docking_container=>dock_at_top
EXCEPTIONS
others = 6.
And then I am display ALV.
But in tabstrip I don't see alv table.
I think that the problem in creating docking container and in tabstrip?
Сan someone faced with this problem?
2016 Dec 08 7:24 AM
2016 Dec 08 7:24 AM
2016 Dec 08 9:53 AM
If you want to have a container inside a subscreen (in your case, the subscreen being the one for a given tab in a tabstrip), it's called a "custom container" (aka "custom control") ; you need to add a "custom control" element (named "CC" for instance) in the subscreen and bind it in the PBO of the subscreen using the statement CREATE OBJECT container TYPE cl_gui_custom_container EXPORTING container_name = 'CC', and then you may add controls in this container.
2016 Dec 08 8:02 AM
I think I’ve seen examples of cl_gui_docking_container in subscreens.
2016 Dec 08 8:47 AM
2016 Dec 08 9:02 AM
This link https://archive.sap.com/discussions/thread/1418211 , But its for selection screen.
2016 Dec 08 10:53 AM
2016 Dec 08 8:02 AM
2016 Dec 08 8:15 AM