Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: Dynamically hide a view from a viewarea

$
0
0

Hi Puneet,

 

If you need to display/Hide a view dynamically, You should use 'DO_CONFIG_DETERMINATION' method as rightly suggested by Jorge.

 

Create Two configuration with two different Object type( LV_OT1 and LV_OT2)

 

You can fetch the object type value programmatically and use them as condition statement to display the desired configuration.

 

If Condition 'A'

 

  me->set_config_keys( iv_object_type          = lv_OT1   iv_propagate_2_children = abap_true ).

 

else.

me->set_config_keys( iv_object_type          = lv_OT2   iv_propagate_2_children = abap_true ).

endif.

 

Regards,

Atul


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>