on 08-30-2011 9:32 AM
Hi Experts
We landed in the starnge situation. We defined a multi task EE Monitor activity to change the status attribute to past due when particular internal event code is overdue. We forgot to assign the correct EE monitor Activity to EE Profile and the report /SAPTRX/EE_MONITOR converted the internal event code to overdue but did not change the status to past due for lakhs of records.
Now we assigned the correct EE Monitor activity to the EE profile. How do we change the status to past due for already processed records? Is there any standard program available for this purpose or shall we need to write any custom program for it?
Your quick response is much appreciated.
Thanks
Ravi
Hi Ravi,
i think the only feasible way is a customer report that changes the status values.
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.
Hi Steffen
Is there any template program/function module available for this so that we can copy it and change it according to this requirement?
Please clarify whether the status update by EE Monitor Activity using method STATUS_SET updates only the table /SAPTRX/EH_STAT or will other tables also be updated.
Thanks
Ravi
Hi Ravi,
the coding in the EE Mon activity SET_STATUS can be used as template. The method is unfortunately protected.
It depends if you use EE History (Setting in EH Type Customizing). If yes it is importatnt to update also EE History table and the counter in the EH header for the History.
Maybe the easiest way would be to send with a report messages to the EH and do the update in the rule set with the standard activity.
You could use a new event code and react on it in the rule set.
Best regards,
Steffen
Hello Ravi,
with option 2 i meant just sending event messages to affected EH and reacting to them in the rule set with just changing the status.
In this case you only have to write a report that sends event messages. The status updates etc. is all done with standard coding when you use BAPI /SAPTRX/BAPI_EH_ADDVENTMSG_02
Best regards,
Steffen
User | Count |
---|---|
9 | |
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.