Hello,
I created a determination with the pattern "create property" in business object EHHSS_INCIDENT. I want to make a field mandatory for a the Incidents... not for the near miss or observation. Right now, the field is always mandatory. How can I do it? Here is the code to make it mandatory.
LOOP AT it_key ASSIGNING <ls_key>.
CALL METHOD io_property->set_attribute_mandatory
EXPORTING
iv_attribute_name = if_ehhss_inc_c=>sc_node_attribute-basic_info_all-desc_text
iv_key = <ls_key>-key
iv_value = abap_true.
ENDLOOP.
Thank you!
Marie-Josée