Skip to Content
avatar image
Former Member

MDG: how to make notes in CR general data mandatory

I have this requirement to make sure that user enters particular information in notes section of CR general data while submitting CR. So he should be prompted with error message to enter information if he tries to Submit CR without putting a note.

How to achieve this.

notes.jpg (43.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 16, 2017 at 08:47 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Feb 16, 2017 at 03:30 PM

    In MDG 9.0 this can be done via configuration itself.

    While configuraing "ACTIONS" you can decide which action has to have Notes as mandatory.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Kavita,

      This can be done on any other step than the requestor. Do you know how it can be done at the requester step when he submits the CR.

  • Feb 21, 2017 at 08:02 PM

    Hello Mohd,

    I would store this check into the BADI USMD_RULE_CHECK.

    Here you should take the instance of class

    CL_USMD_CONV_SOM_GOV_API. This instance has an member variable MV_NOTE_CREATED, you can check, if this Attribute is initial so create a message and add it to exporting parameter et_message.

    BR,

    Hasan

    Add comment
    10|10000 characters needed characters exceeded