Skip to Content

How to make a field mandatory in Fiori App?

We have a simple fiori app in solman knows as Create Incident, which basically allows end user to report CRM incident. My question is how to make some input fields as mandatory in the Create Incident app ?

In the app, one of the fields (Title) is a mandatory field by default. I would like to make Configuration Item also as mandatory field. Could you throw some lights here on how to do. Please consider, I am a novice when it comes to Fior/UI5 development, so if you could explain me or give me some hints then I would read and figure out :)

Thanks,

Vivek

capture.png (31.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 03 at 09:53 AM

    Hi,

    I faced with the same task.

    I used SAP WEB IDE to connect to my system as ABAP repository.

    Then I customized application AI_CREATE_INC by editing files in it (view/Details.controller.js , view/Details.view.xml , i18n/i18nproperties. You need some knowledge in Javascript JQuery.

    Then deploy it.

    Add comment
    10|10000 characters needed characters exceeded

    • hello, can you give detailed description how can we do this.

      what should i change in files (view/Details.controller.js , view/Details.view.xml , i18n/i18nproperties)?

  • avatar image
    Former Member
    Mar 10, 2017 at 04:56 PM

    Required Labels

    To indicate that a field is mandatory, you can set the property “required”. An asterisk will be automatically set in front of the label.

    Add comment
    10|10000 characters needed characters exceeded

  • May 28, 2017 at 06:47 PM

    you need to extend the application to modify the settings or behaviour of the app. In web use create an extension project for the app and modify it.

    Loo up for extension of FIORI app and you will get enough material online .

    Regards,

    Sharath

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 01, 2017 at 01:29 PM

    Hi,

    Do you managed to solve the problem?

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 18, 2017 at 06:54 AM

    Hello,

    Before creating an extension project, please take some time to debug the application. Maybe there is a customization table behind this screen. In HCM fiori app, ther is no documentation, but after some debbuging process we found some customization.

    I'm pretty sure it is the same here.

    Regards,

    Joseph

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 18, 2017 at 06:54 AM

    Hello,

    Before creating an extension project, please take some time to debug the application. Maybe there is a customization table behind this screen. In HCM fiori app, ther is no documentation, but after some debbuging process we found some customization.

    I'm pretty sure it is the same here.

    Regards,

    Joseph

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 02, 2017 at 03:45 PM

    Hello Vivek

    Could you please let me know the table name to make the "Category" field as mandatory.

    Thank you !!

    Uday

    Add comment
    10|10000 characters needed characters exceeded