Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

FPM - Mandatory field in a component configuration

$
0
0

Hello,

 

I'm am working on the component configuration EHHSS_INC_REC_QAF_BINF_FRM and I need to make a field mandatory. I cannot use the mandatory checkbox attribute in the BOPF EHHSS_INCIDENT because the node BASIC_INFO_ALL is used in multiple screens and I only need it for a specific screen.

 

I tried with the feeder class in method IF_FPM_GUIBB_FORM~GET_DATA to change the property of the field but it does not work. Does someone knows how to do it?

 

  READ TABLE ct_field_usage[] ASSIGNING <lfs_field_usage> WITH KEY name = 'DESC_TEXT'.
  IF sy-subrc = 0.
    <lfs_field_usage>-mandatory = abap_true.
    ev_field_usage_changed = abap_true.
  ENDIF.

 

 

Thank you!

 

 

Marie-Josée


Viewing all articles
Browse latest Browse all 3667

Trending Articles



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