on 08-02-2016 1:10 PM
Dear Experts,
I wanted to know from which BOPF Validation the standard error messages on hitting 'Check' button are appearing as I have to put my own Custom messages on the same event.
I checked in standard BOPF Validations from Tcode /BOBF/CONF_UI for BO EHHSS_INCIDENT but no luck.
Next Steps:
On Check if errors are there, user should not be able to close Incident.
Thank you!
Tushar C.
Hi Tushar,
Those are application-specifc checks coming from outside of the BOPF. If you look in the IMG under SAP EHS Management --> Incident Management --> Business Add-Ins --> Business Add-Ins for Checks --> BAdI: Check Readiness for Action, you can see where there are BAdIs defined for different types of checks. The one you're looking at is for incident close. If you dig into the FPM application controller class, you can see how all this is triggered. SAP delivers standard/default implementations for the checks, so you'd have to enhance/subclass their impl. class to change the behavior.
Hope this helps.
Thanks,
James
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Perfect!!!
Thank you both James and Satya...!
This resolves my requirement.
Any specific reason why this is achieved by BAdi but not by BOPF?
Cheers,
Tushar C.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tushar,
Most of the EHSM system checks are maintained in below class and Method
Class - CL_BADI_RDY_FOR_ACT_INC_CLOSE
Method - IF_BADI_EHHSS_INC_RDY_FOR_ACT~CHECK_COMPLETENESS_ON_ACTION
Message Id’s are used for each error message, it can be checked in below class
Msg id – “CM_EHHSS_INC_CHECKS”
Here they can write the custom error message which they want to display.
Let me know if any query.
Thanks
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.