Standard task TS00008031 did not create WI automatically

Amy C Yu sapcaamy at hotmail.com
Sat Nov 22 15:18:28 EST 2003


I need to use the standard task 8031 to trigger WI for inbound idoc input
error for message type SDPICK.
 
In PFTC_CHG, I have changed the status of task group 20000011 and 20000010
to implement.  20000011 contains the task group 20000010; 20000010 contains
the standard task 8031, which has status implement too.  I have assigned
 job  to 20000011, I am the agent for the job.
 
In SWE2 and SWE3, I have activated IDOCSDPICK s INPUTERROROCCURRED and
IDOCAPPL s INPUTERROROCCURRED, INPUTFINISHED, ERRORPROCESSCOMPLETD.
However, IDOCSDPICK s IDOCSDPICK_IN_END and IDOCSDPICK_IN_START are
deactivated.
 
In SWU0 event simulation, object type=IDOCSDPICK, event= inputErrorOccurred,
it showed that there are 2 object types IDOCAPPL and IDOCSDPICK, and 2
tasks: TS 8031 and TS20000051, both showed no errors after I activated them
and remove a check function module from IDOCAPPL inputerroroccurred.
 
In SWU3, the customizing is complete for the  Workflow runtime system  Only.
  Since we are not using the  WF development environment , so no prefix
numbers for standard object types and custom tasks.
 
In WE46 global parm, I turned on the Synchronous Processing.
I turned on the event trace SWELS and workflow trace SWU8.
 
I used WE19 to create my error inbound SDPICK idoc, after the idoc with
error is created with status 51 (application error).
 
SBWP does not show any WI in my inbox
 
So I used SWUE to  create event  using Object type=IDOCSDPICK,
event=inputErrorOccurred and my newly created idoc, the returned status
showed  Event created   at least one receiver found
Then in my inbox, the work item showed up, when I drill down on it, it
showed 2 error messages:
- I051(W8) 1 errors occurred in binding assignment to EXCEPTION
- W139(W8)   Element EXCEPTION not in source container
It seemed that something is missing and did not create the event.
 
SWEL showed the 2 receiver types TS 8031 and TS20000051 are OK with no error
SWU9 showed trace information only at the time when I use SWUE to create
event, but not when I use WE19 to create the error idoc. The WF trace showed
ConBindErrors for the above I051(W8) and W139(W8) errors:
ContBindErrors
    I051(W8) 1 errors occurred in binding assignment to APPLICATION_VARIABLE
           W139(W8) Element APPLICATION_VARIABLE not in source container
    I051(W8) 1 errors occurred in binding assignment to EXCEPTION
           W139(W8) Element EXCEPTION not in source container
    I051(W8) 1 errors occurred in binding assignment to MESSAGEID
           W139(W8) Element MESSAGED not in source container
    And the same I051 and W139 errors for MESSAGENUMBER, MESSAGETYPE,
MESSAGEVARIABLE1, MESSAGEVARIABLE2, MESSAGEVARIABLE3 and MESSAGEVARIABLE4.
 
Besides using SWUE to create WI, I can also trigger the creation of the WI
using SWUS too.
 
Questions:
1. Why doesn t the system create the WI automatically when the inbound idoc
failed with status 51?
 
2. When the user processes the WI, can he or she modify the erroneous fields
in the idoc segments and reprocess the idoc?
 
3. What s the difference between status  Release  and  Implement  in
PFTC_CHG?
 
4. Is it OK to remove the check function module from IDOCAPPL
inputerroroccurred?  It was giving me error in the SWU0 complaining about
 result depending on a check function module .
 
5. Is it true that we can only activate  triggering event  and  terminating
event  of standard task in the configuration client (client-independent)?
In other clients, I got  not modifiable  error.
 
6.  If we want to use idoc error handling standard tasks, besides activating
the related tasks and events, what else do we need to do?
 
Thanks.
Amy
 
_________________________________________________________________
Need a shot of Hank Williams or Patsy Cline?  The classic country stars are
always singing on MSN Radio Plus.  Try one month free!
http://join.msn.com/?page=offers/premiumradio
 


More information about the SAP-WUG mailing list