on 05-06-2016 8:24 PM
Hi,
In SAP OER system, we already has a activity function module configured, but in debugging , I didn't find the FM is called.
So I want to know how the activity FM is found from the configuration (in which Class/method/ or FM etc.). So that I could check if we have some configuration missed.
Thanks.
Hi Rio,
You can debug these classes based on activity:
1. /SAPTRX/CL_EH_ACTIVITY - CALL FUNCTION and PERFORM_ACTIVITY
2. /SAPTRX/CL_EH_RULE_ACTIVITY - CALL FUNCTION and PERFORM_ACTIVITY
3. /SAPTRX/CL_EH_UPDATE_ACTIVITY - CALL FUNCTION and PERFORM_ACTIVITY
Below Activity SPRO and you can see Activity Functions in each config path:
Activity of Updating Event Handlers:
IMG -> Event Management -> Event Handlers and Event Handler Data -> Event Handlers -> Define Activities for Updating Event Handlers
Activity of Expected Events:
IMG -> Event Management -> Event Handlers and Event Handler Data -> Expected Events -> Define Activities for the Expected Event Monitor
Activity of Rule set:
IMG -> Event Management -> Event Handlers and Event Handler Data -> Reactions to Event Messages -> Define Rule Sets
Regards
GGOPII
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your reply.
We have already configured the ZFM at the place which you mentioned.
Now, my confusion is when I try to debug and test the interface: EventCaptureNotification_IN
in SPROXY, I did not find our ZFM was called there ,and I think our incoming message matched the condition in the rule set.
So I want to know the possible FM/Class/method etc. which will look for the configured ZFM and call it in the standard logic . In this case, I can locate the issue. or if you know any relevant information, please let me know. Thank you
Hi Rio,
Goto class: /SAPTRX/CL_RULES_PROCESSOR_40 Method: Process_Rules. Check the following parameters each time you go in there and see if you can see your rules are coming up or not.
MY_RULE-ACTIVITY_ID
MY_RULE-RULE_ID
Easy way to do it is after you post the event, do a simulate mode from EH_LIST view and see if your FM is being processed or not.
Thanks,
Vishnu
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
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.