cancel
Showing results for 
Search instead for 
Did you mean: 

how to display error message for choosing incorrect CR type?

Chandra_S
Explorer
0 Kudos
105

Hi Team,

I am working on some task.

When user selects a material, clicks on copy , Change request pop will come. If an incorrect CR type is selected , how to display error message on the screen?

Kindly provide some inputs on how this can be achieved.

 

Chandra_S_0-1730893729544.png

Chandra_S_0-1730953751422.png

 

error message (incorrect CR type)to be displayed here in yellow section?

Chandra_S_1-1730953802951.png

 

 

 

regards

Chandra.

View Entire Topic
0012anirban
Contributor
0 Kudos

Hi Chandra,

The right approach should be to control the CR types which are available in popup using Security roles.

There should be only certain set of users who should be able to access a certain CR type.

In your use case what is the criteria for the incorrect CR type?

Regards

Anirban

Chandra_S
Explorer
0 Kudos
@ Anirban Authorization added for relevant users and when one tries to create CR which is not supposed to , error is shown (no authorization)
Chandra_S
Explorer
0 Kudos
however, there will be some users who will have full authorization and they can see all CR types and can create a incorrect CR type.
Chandra_S
Explorer
0 Kudos
Ex : material type is FERT and if Create Service CR type is chosen(instead of Create Tradable Commodity Material ), error should be displayed(Incorrect CR type).
0012anirban
Contributor
0 Kudos

Hi Chandra,

The authorization will only show the relevant CR type for which user has access to. The CR type which shouldn't be chosen will not be displayed.

Coming to users who have full access, they are generally power users, and they will obviously know which CR to choose, it's more of a best practice.

I would not suggest enhancing the system just for users who have full access, instead it should be controlled by SOP.

Regards

Anirban