Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FPM - Mandatory field in a component configuration


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.

Thank you!


Former Member
Former Member replied


Am also in same version.

It is a direct approach. Just try it from your component configuration, you can easily make it over.

Still if you feel hard to find it out, please try the below approach from my blog.

E-Recruitment Create Requisition UI level customization



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question