cancel
Showing results for 
Search instead for 
Did you mean: 

MDG: how to make notes in CR general data mandatory

Former Member

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

h_h_ak
Participant
0 Kudos

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

former_member190949
Active Participant
0 Kudos

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.

Former Member
0 Kudos

Its good to know Kavitha, but we don't have MDG 9.0 as of now.

How it can be achieved currently.

Former Member
0 Kudos

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.

former_member260552
Active Participant
0 Kudos