Hi,
I have to create a dynamic tranparent container, i have added the following code , but it gives dump.
Error : The following error text was processed in the system SCC : The ASSERT condition was violated in Screen.
Kindly help.
Code:
*Create container
DATA: lr_container1 TYPE REF TO cl_wd_uielement_container,
lr_tranparent_container TYPE REF TO cl_wd_transparent_container,
lr_flow_data_tc TYPE REF TO cl_wd_flow_data.
lr_tranparent_container = cl_wd_transparent_container=>new_transparent_container(
height = '10'
width = '20'
id = 'TEST'
).
lr_flow_data_tc = cl_wd_flow_data=>new_flow_data( element = lr_tranparent_container ).
lr_container1 ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
lr_container1->add_child( lr_tranparent_container ).