on 02-03-2016 7:55 AM
Hello All,
can anyone tell us how to make mandatory field with asterisk mark* in material UI, below are the activity what we did but still not working,
in data model marked required field and UI config also check mandatory,
Regards
Ajay
Hello!
there is another possile way to achieve this:
use custom field property badi and CHECK_ENTITY badi
in custom field you can set Mandatory (makes the *), Hidden and Readonly.
the check Badi then is used to really check the field.
create and use a central table (decision table in BRF+ perhaps) and read it in both places. For check you need only entries with M.
As an selection criteria you may use change request type, step, status, material type and so on. Table returns field and property.
then you have a dynamical way to control field properties for everything.
works fine, standard now in every project 🙂
M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ajay,
Did you figure out the answer? Can you share here?
Thanks,
Giri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ajay,
Mandatory fields in MDG-MM are determined by the field selection group in ECC.
please maintain configuration in tcode OMS9 to make fields mandatory with (*).
Regards,
Bhuvaneswari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ajay
If field is attribute and you want to make it required then do it in MDGIMG and select required checkbox
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Ajay,
Please find the below steps for make the field Mandatory.
1. In MDGIMG, Data model and select required field.
2. Respective UIBB, you have to select the attribute and make a mandatory field to get the asterisk mark*.
3. In Feeder class, you have maintain the code to highlight the fields with Colour.
4. In BADI, you have to write a coding and you will get the mandatory field in UI screen.
Regards,
A.Madhu Kumar
Hi Ajay,
Based on your question, I assume you are already done below config
the field is made mandatory in data model config and you have checked mandatory checkbox on that UI OVP config page.
Those are the steps even I did and it works for me as we are just making a field as mandatory with asterisk and when I run the application and if I do not enter I get an "Please enter the field" error message..! However this is on flex UI field so are you referring to a flex UI field? or the is the field comes from an ECC MM tables ? If it's an ECC field I would check on ECC field properties.
Thanks
Praveen
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.