These are some frequent issues which we come across while we do SAP Event Management Development and Quality system upgrade or patching.
Issue 1: Event Handlers are not created and updated in SAP Event Management post upgrade or patching
When you create a sales order, event handler doesn’t get created in SAP Event Management system.
To find out the root cause, I set a breakpoint in the beginning of functional module CALL FUNCTION 'GET_R3_EXTENSION_SWITCH' inside Sales order BADI /SAPTRX/SD_SALESORD -> Method IF_EX_BADI_SD_SALES~SAVE_DOCUMENT.
CALL FUNCTION 'GET_R3_EXTENSION_SWITCH'
EXPORTING
i_structure_package = l_structure_package
IMPORTING
e_active = l_extflag
After setting the breakpoint, when I create a new sales order in ECC system, I can check, what is the importing value returned by the parameter “l_extflag”. In this case, I could see importing value returned by l_extflag is “blank”. The blank value shows that Business Transaction Event PI-EM is disabled in Transaction code BF11.
Rootcause:
Business Transaction Event PI-EM is disabled in Transaction code BF11.
Solution:
Enable Business Transaction Event PI-EM in Transaction code BF11. To test if it works now, create a new sales order and it should create an event handler in SAP Event Management.
Conclusion:
During patching / upgrade, Business Transaction Event PI-EM checkbox is being overwritten automatically to “Uncheck”.
Issue 2: Error “Target SAP system not found: Please check the customizing for the link and the customizing for the RFC connection”
SAP EM WebUI - We may want to check the existing sales orders, which have been created in the past. Here, I check if we can navigate to ECC Sales Order screen via Display link. When I click on the sales order hyperlink, it throws an error “Target SAP system not found: Please check the customizing for the link and the customizing for the RFC connection”.
First, check the configuration in IMG -> Event Management -> Event Messages, Status Queries, and Web Interface -> Web Interface -> Assign Link to Configured Field –> Assign Business Object Information / Assign Target Configured Field. In case you see any problem with configuration, fix it here. If all configuration looks fine, then we need to debug a little more from SAP EM WebUI.
Let’s move on to SAP EM WebUI to check why and where the issue occurs. Following are the actual steps that I did in SAP EM WebUI to identify where the problem is.
Conclusion:
When you perform validation, post system upgrade or patching work, do not use old completed event handlers for display link validation, because old (mean production) application system id resides in event handler header table /SAPTRX/EH_HDR-AO_SYSTEM.
Issue 3: “HTTP Error not found” in SAP EM WebDynpro-based UI navigation by using the "Display Details" button
When you highlight a line item and click “Display Details” button in SAP EM WebUI, it throws an error message as “HTTP 404 Not Found” in Internet Explorer browser (if your default browser is Chrome or Firefox, then it shows only a blank screen and no message).
Root cause:
Solution:
Implement this SAP OSS note 2002844 - Garbled URLs for the WebDynpro UI to fix the issue.
Conclusion:
Kernel Patching / upgrade caused the issue.
Issue 4: Error - “Logon balancing error85: Message Server for _tsystem ‘XXX’ not found – check spelling and/or configuration”
When you click Sales order / Delivery / Shipment hyperlink in SAP EM WebUI, a login box appears (if you are not logged in already). Once you enter your user id and password credentials in popup screen, you get an error message immediately as “Logon balancing error85: Message Server for _tsystem ‘XXX’ not found – check spelling and/or configuration”.
Solution:
Conclusion:
We need to check which SAP GUI Logon pad is suitable for your SAP EM upgrade or patching.
Bonus Points: Post refresh activity in SAP EM
When there is a post refresh activity in SAP EM and Application Source System, we need to change SAP EM Logical system in the below configurations to show the correct system id's.
1. SAP Event Management :
2. SAP ECC System:
If you have encountered any issues during SAP EM upgrade or patching, please list your problems and solutions in the comments section of this post.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |