Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2079

Re: BADI or Enhancement spot to set config keys dynamically

$
0
0

Hi Sumeet,

 

The config keys are attributes of view so you wont find a single BADI using which you can dynamically set keys of any view. You have following option

 

Redefine DO_CONFIG_DETERMINATION of view implementation class of every view where you want dnynamic determination of view configuration.

 

         CALL METHOD me->set_config_keys

            EXPORTING

              iv_object_type          = 'object_type'

              iv_object_sub_type      = 'sub_obj_type'

              iv_propagate_2_children = abap_false.

 

 

SAP has given us a BADI COMPONENT_LOADING using which we can dynamically set the enhancement set of a component. I am not sure if you will be able to use this.


Viewing all articles
Browse latest Browse all 2079

Trending Articles



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