Skip to Content
1

MDG: how to make notes in CR general data mandatory

Feb 16, 2017 at 06:20 AM

178

avatar image
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.

notes.jpg (43.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Abdul Samad Mohammed Feb 16, 2017 at 08:47 AM
0
Share
10 |10000 characters needed characters left characters exceeded
Kavita S. Feb 16, 2017 at 03:30 PM
0

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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

How it can be achieved currently.

0
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.

0
Hasan Hüseyin Akhuy Feb 21, 2017 at 08:02 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded