on 12-01-2014 6:54 AM
Dear All ,
In standard RDS for Order to cash has an event for credit block. Once the block is set for credit block from ECC the status is changed of status.
We have a customized action on the UI to set the same status to some other status.
Now when the block is removed from ECC , it calls the class (/SAPTRX/CL_EH_EVENT_MSG_MODEL) and method PROCESS_UNPROCESSED_MSGS and it reporcesses the same event for credit block first. The call stack is from /SAPTRX/BAPI_EH_POST.
This changes the status of the credit block hence the manual status that i have set gets overwritten and my condition fails. How can I avoid the same ?
Thanks,
Shubh.
Hi Shubh,
Why don’t you create separate multitask activities for Credit Block and Customized action on the UI? If you do that then you can segregate both actions and check activity IS_EE_REPROCESSED and exit with activity QUIT_EVM_PROCESSING for credit block.
In my view, this seems simplest and straight forward solution.
Check and let me know.
Regards
GGOPII
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Gopi ,
thanks for your reply. I already have the different events for message processing automatically and from UI .
The issue now is the credit block status is getting set to release in reprocessing and the activity set status is not called. How is it getting set is the question ? Any pointers on this ?
Thanks,
Shub.
Hi Shubh,
Per Steffen, if you switched on task logging on activities. Then go to /SAPTRX/EH_LIST -> Enter the document tracking id -> Event handler detail overview -> Click Display Event Handler Application log -> Copy the log data of both Credit and custom ones and paste it here.
Let us check your ruleset settings parameter how they called.
Regards
GGOPII
Hi,
normally you would implement the "customized action on the UI to set the same status" as sending an event message as well and change the status in the rule set. If you do it like this, all status changes will be done again if the EH is rebuild and all event messages are reprocessed.
Best regards, Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shubh,
you can use Activity CHECK_REPROCESS_FLAG in the rule set to check if you are in reprocess mode. In this case you can prevent the processing of activities.
How do you set your status in the UI? Normally status is only changed via Event Messages and they need to be reprocessed.
Best regards,
Steffen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
4 | |
3 | |
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.