Publishing event when error log is written
Soden, John
John.Soden at newmont.com.au
Mon May 26 22:19:04 EDT 2003
Hi Cristiana
You can actually configure the BP messages to be sent via email to the
responsible person for the project via 'SPRO > Investment Management >
Projects as investment measures > Planning and budgeting > Define toleran=
ce
limits for availability control' setting the 'Availability control action=
' to
2 (Warning with MAIL to person responsible)
Cheers john
-----Original Message-----
From: Cristiana D'Agosto [mailto:cristiana.dagosto at au1.ibm.com]=20
Sent: Tuesday, 27 May 2003 8:28 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Publishing event when error log is written
Hello all,
still trying to trigger a workflow...We are in 4.6c.
Do you know if there is a way to publish an event / start a workflow when=
=20
an error log is written?
If a time confirmation is entered against a work order that is linked to =
a=20
WBS element (via the additional data screen) and the calculated actual=20
costs of the time confirmation exceed the budget amount for the object an=
=20
error is produced. The person entering the time confirmation (tx code=20
IW41) is able to exit out of the error log screen and is able to save the=
=20
confirmation.=20
Whilst the confirmation has been saved the actual costs are not reflected=
=20
in the work order's actual cost data nor are they represented in any of=20
the control reports available for the project.
The problem does not affect orders that have a reference to a WBS element=
=20
in their settlement rule. However an error is generated and saved in an=20
error log at the time of settlement (table AFRC - Incorrect Cost=20
Calculation from Confirmation).
It is a business and functional requirement for employees to be able to=20
book their time to work orders. It is not appropriate that the processin=
g=20
of time confirmations be aborted as a result of the actual costs exceedin=
g=20
the available budget.
I need for a workflow to be triggered when such an error occurs i.e.=20
trigger a workflow when error BP 603 happens.
The standard SAP delivered system publishes AFVC_PM PARTIALLYCONFIRMED=20
regardless if there was an error or not. I suppose I could trigger a=20
workflow whenever AFVC_PM is published and have a FM checking if the=20
workflow should start or not...(a bit ugly, isn't it?).
The error log can also be seen by running transaction code COFC. For Orde=
r
Category 'Network', SAP provides the option of triggering a=20
workflow on the scenario that I described above by switching on a flag in=
=20
SPRO (Project Systems > Workflow > Configure Standard Tasks for Workflow=20
in the Project Systems. Unfortunately, for Order Category 'Maintenance=20
Order', such option does not exist (SPRO > Plant Maintenance and Customer=
=20
Service > Maintenance and Service Processing > Completion Confirmation >=20
Define Control Parameters for Completion Confirmations).
If else fails i.e. none of you can suggest anything better!, I am thinkin=
g=20
of writing a program that will check table AFRC for errors and=20
SWE_CREATE_EVENT if applicable?=20
Any ideas or suggestions are very welcomed!!
Thanks and regards
Cristiana
Scanned by Newmont Australia Ltd. Anti Virus gateway
IMPORTANT NOTICE - By storing, copying, relying upon or otherwise using t=
his e-mail, you agree to be bound by our Terms Governing Electronic Commu=
nications. A copy of these terms can be reviewed at www.newmont.com.au/eC=
omm-terms.htm or obtained by phoning us on +61 8 8303 1700. If you do not=
accept these terms or suspect that you may have received this e-mail mes=
sage in error, please notify the sender and promptly delete this e-mail.
More information about the SAP-WUG
mailing list