Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3276

I could not able to make field mandatory in runtime based on condition on complaint creation page

$
0
0

Hi Team,

 

I want to make a field ( ) mandatory in run time based on conditions,i have generated GET_P method, and added below logic but it is not working..

 

Component - BT120H_CPL

View - BT120H_CPL/Details

Context  node - BTADMINH-

Attribute - GET_P_PO_DATE_SOLD

 

CASE iv_property.

     WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.

       rv_value = cl_bsp_dlc_view_descriptor=>field_type_input.

     WHEN if_bsp_wd_model_setter_getter=>fp_input_mandatory.

*****************************here i have added my custom logic but condition is not executed here in debugging mode it is going to endcase.***** **********************************

               rv_value = abap_true.

       ENDIF.

   ENDCASE.

 

Thanks & Regards

Kalpana


Viewing all articles
Browse latest Browse all 3276

Trending Articles



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