Skip to Content
author's profile photo Former Member
Former Member

How to make mandatory field with asterisk mark* in material UI!!!

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2016 at 08:00 AM

    Hi Ajay

    If field is attribute and you want to make it required then do it in MDGIMG and select required checkbox

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

  • author's profile photo Former Member
    Former Member
    Posted on Feb 05, 2016 at 03:56 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 17, 2016 at 08:15 PM

    Hi Ajay,

    Did you figure out the answer? Can you share here?

    Thanks,

    Giri

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 18, 2016 at 02:07 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.