EBP - ITS Error Message with ad hoc approver

Dart, Jocelyn jocelyn.dart at sap.com
Wed Jun 19 03:41:53 EDT 2002


Hi Nicholas,
First off yes the steps you have taken so far sound correct.
Suggest you check the basic data of your workflow against one
of the standard workflows, for instance, for the adhoc approver
stuff to work you need an ad hoc anchor step, and there is
another flag in basic data I think also so use a fine tooth
comb over basic data. I usually check any custom workflows back
against the patterns in WS10000129 as this one always works well
in my experience.
 
You might also want to try a couple of variations in your testing
to narrow down the problem.  For instance, order the cart, then go
and change it to add your ad hoc approver - this would give you an
idea if simulated shopping carts (i.e. still being created) are
behaving differently to saved shopping carts and give you somewhere
to start in your code.
 
It sounds like the program is getting lost which would suggest maybe
you have something missing either in your workflow or in your
ad hoc agent object so double-check that your workflow and your
object both follow the standard EBP patterns.
 
It can also be helpful to check what is showing in the workflow log
- both the graphical log (which is used to build the applet display)
and the technical log - especially to check the contents of the
agent objects.
 
Hope that helps a little anyway.
Regards,
 
Jocelyn Dart
SAP Australia (SRM, EBP, Workflow)
Ph: +61 412 390 267
e-mail: jocelyn.dart at sap.com
 
 
 
-----Original Message-----
From: Nicholas Brand [mailto:nicholas.n.brand at uk.pwcglobal.com]
Sent: Wednesday, 19 June 2002 12:06 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: EBP - ITS Error Message with ad hoc approver
 
 
Memo from Nicholas N Brand of PricewaterhouseCoopers
 
-------------------- Start of message text --------------------
 
Hello,
 
This is around an EBP/ITS problem when an ad hoc approver is added to a
custom workflow.
 
I copied the standard workflow WS10000276 ? Approval single-level over
limit.
Created my own ad hoc approver business object as a sub-type of AAGENT.
(The 'Create' method of this object queries a ztable to find a position
number and then returns the agents in that position.)
Create new workflow container (Agent_0002) based on my new ad hoc object.
Replaced the standard appoval task's Agent expression for
'Agent_0002.Agents'
N.B. In the workflow -> version dependent basic data section the flag 'Ad
hoc agent assignment is possible' is ticked - as expected as the workflow
is a copy of a standard one.
 
When I create a shopping basket that results in the new custom approval
workflow starting...
The approval preview java applet shows the correct approval path.
I order the shopping basket.
The workitem is routed to the correct agent based on the custom ad hoc
business object's 'Agent' attribute.
I execute the workitem and click on 'Details'.
I can add an ad hoc approver after the current workitem and it is displayed
correctly in the java applet.
However, when I select 'Approve' and click 'Continue' I get the following
ITS error message:
 
Interpreter Failed
 
The Internet Transaction Server failed to generate the response page for
the current request.
Make sure the template and resource files are stored in the appropriate
template directory.
The ITS was trying to access
D:\SAP\ITS\2.0\EPD\templates\TS_TS10008069H\99\SAPMTS10008069H_en.html
D:\SAP\ITS\2.0\EPD\templates\TS_TS10008069H\99\SAPMTS10008069H_en.htrc
Internal error code 0x1
 
 
If I then click on the back arrow of the web browser the newly added ad hoc
approver is now displayed in the java applet.
If I select the 'Approve' radio button and click 'Continue' the status bar
message reads 'Error on page'.
If I log off EBP and back on again, go to the inbox, select the workitem
and click on 'Details', the ad hoc approver that I just added before
logging off is displayed!
If I select the 'Approve' radio button and click 'Continue' the workflow
proceeds correctly.
 
Wierd?
Any ideas why the ITS is giving me an 'Interpreter failed' error message?
 
We're on EBP version 2.0c.
The standard workflows are all working fine including adding ad hoc
approvers.
 
Thanks.
 
Kind regards
Nicholas
 
--------------------- End of message text --------------------
 
This e-mail is sent by the above named in their
individual, non-business capacity and is not on
behalf of PricewaterhouseCoopers.
 
PricewaterhouseCoopers may monitor outgoing and incoming
e-mails and other telecommunications on its e-mail and
telecommunications systems.
_________________________________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.
 


More information about the SAP-WUG mailing list