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