2024 Nov 06 11:53 AM - edited 2024 Nov 07 4:31 AM
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.
error message (incorrect CR type)to be displayed here in yellow section?
regards
Chandra.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hi @Chandra_S ,
I'm not sure about the error message, but you can use the BADI 'USMD_CREQUEST_INTEGRATION' to filter out the incorrect CRs from the popup box.
Obviously, you can display the error message after the CR is created for a particular CR type. However, I think you're looking to show the error message in the popup itself before the CR is created. Achieving this would require modifying the WebDynpro, which I'm not entirely sure how to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.