on 04-11-2014 6:25 PM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
thank you for your reply...I appreciate. I am working on the release 7.31 and I do not see the same screen as you. Which version are you working? What I found is that I can make a field mandatory if I go in the feeder class parameter and at the end of the screen, there is a parameter named "mandatory fields" which you can enter the list of the mandatory field you want. I would prefered to do it the way you said...
Here is the attributes that I can change
Marie-Josée
hi all,
I used the above technique to make some fields as mandatory in my component.
But when I am navigating to another screen, i am unable to make any field mandatory in that component. Though it is showing the mandatory sign(*), while saving it is not showing any error when left without entering any data.
Thanks in advance.
Bharathi.
Hello Marie,
I am also same requirement, unable to find Satus->required field in start configurator Please help how you made field mandatory
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.