on 06-12-2014 7:15 AM
Hi,
I'm trying to add check boxes dynamically in one tab. I'm getting dump while getting ui element of Tab strip.
Now i want to display check boxes under "TC_REPORT_OPT_PANEL".
lr_container ?= iview->get_element( 'ROOTUIELEMENTCONTAINER' ).
lr_container ?= lr_container->get_child( id = 'TAB_STRIP_9' ). ( Dump Coming in this Line )........
lr_container ?= lr_container->get_child( id = 'TAB_1' ).
lr_container ?= lr_container->get_child( id = 'RISK_TC' ).
lr_container ?= lr_container->get_child( id = 'TRAY_SELECTION' ).
lr_container ?= lr_container->get_child( id = 'TC_REPORT_OPT_PANEL' )."'ID_REPORT_OPT_PANEL' ).
lr_container ?= lr_container->get_child( id = 'TC_REPORT_OPTS_DETAILS' ).
lr_container ?= lr_container->get_child( id = 'TC_REPTYPE' ).
In Second line dump coming like below. if i'll get this ui element ref then i'll do checkboxes coding.
And for Tabstrip ui element only dump coming. i've tested other ui elements its working fine.
Regards,
Jack.
Hi Jack,
You are trying to assign TABSTRIP ui element as a container, hence the conflict in assignment.
Modify your code as below
data lr_tabstrip type ref to cl_wd_tabstrip.
data lr_tab type ref to CL_WD_TAB.
lr_tabstrip ?= lr_container->get_child( id = 'TAB_STRIP_9' ). ( Dump Coming in this Line )........
lr_tab = lr_tabstrip->get_tab( id = 'TAB_1' ).
lr_container ?= lr_tab->get_content( ). " RISK_TC
lr_container ?= lr_container->get_child( id = 'TRAY_SELECTION' ).
lr_container ?= lr_container->get_child( id = 'TC_REPORT_OPT_PANEL')."'ID_REPORT_OPT_PANEL' ).
lr_container ?= lr_container->get_child( id = 'TC_REPORT_OPTS_DETAILS' ).
lr_container ?= lr_container->get_child( id = 'TC_REPTYPE' ).
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.