Hi Experts,
I have a requirement to design a selection screen as below.

I have used ViewContainerUIElement element named 'VIEW_CONTAINER'.
Created Dynamic Selection screen using component WDR_SELECT_OPTIONS inside WDDOINIT method under my main view. Used flow layout for my design.

Then trying to create Labels with check box as given above dynamically inside WDDOMODIFYVIEW method. But not able to align the elements as per requirement.
I have created check boxes. but not able to bring it under my dynamic selection parameter (as shown below).

I have to take container w.r.t ROOTUIELEMENTCONTAINER.
If i am taking VIEW_CONTAINER as reference, it is giving error for add_child method as it is not available in cl_wd_view_container_uielement.
Data lr_container TYPE REF TO cl_wd_uielement_container.
lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
lr_container->add_child(
EXPORTING
index = sy-tabix
the_child = lr_check_box
Taken reference from below threads.
https://archive.sap.com/discussions/thread/630107
https://archive.sap.com/discussions/thread/3246709
Please help on this.
Thanks in advance,
Manoj
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.