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

Re: SAP CRM - Enable Custom Component fields in pop-up

$
0
0

Hi Sivakishore,

 

Try adding the below code in do_init_context method

 

DATA: lr_col TYPE REF TO if_bol_bo_col.

     DATA: lr_ent TYPE REF TO cl_bsp_wd_value_node.


CREATE DATA ls_data TYPE "give your view structure here.

 

     CREATE OBJECT lr_ent

       EXPORTING

         iv_data_ref = ls_data.

 

lr_col ?= me->typed_context->context node name->collection_wrapper.

lr_col->add( lr_ent ).

 

Then try adding below code in do_prepare_output

 

if me->view_group_context->IS_VIEW_IN_DISPLAY_MODE( ) EQ abap_false.

me->view_group_context->SET_ALL_EDITABLE( ).

endif.


do the same step as mentioned by deepika for set_view_group_Context method.


if still did not work with above process, you can modify get_i method of the attributes with code

rv_disabled = 'FALSE'.

this will enable the attribute.

 



Best Regards,

Dharmakasi.

 

 



Viewing all articles
Browse latest Browse all 7775

Trending Articles



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