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

Re: Making a field dynamically mandatory-Issue in get_p

$
0
0

Hi Srinivas,

 

....I tried the same. Based on other field means I have to take it from the current entity only.  My full code is below.

 

WHEN if_bsp_wd_model_setter_getter~fp_input_mandatory.


       lr_current ?= collection_wrapper->get_current( ).
       IF lr_current IS BOUND.
         CALL METHOD lr_current->if_bol_bo_property_access~get_property_as_value
           EXPORTING
             iv_attr_name = 'YYFLD0000C8'
           IMPORTING
             ev_result    = lv_field_active.

 

     IF lv_field_active = '01'.
             rv_value = abap_true.
           ELSE.
             rv_value = abap_false.
           ENDIF.


But it doesn't work in one scenario explained above.


Thanks,

Faisal


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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