Rule Binding Issues

Dart, Jocelyn jocelyn.dart at sap.com
Wed Oct 19 21:28:12 EDT 2011


Hi,
Check the data typing in your function module and rule also for both fields.

Check if you have allowed for leading zeroes... when you run it through PFAC simulation if there's a conversion it would fill in the leading zeroes for you but if you are passing in the binding it won't necessarily convert at that point but may be using the raw value passed. So make sure your INCOMINGINVOICE.INVOICENUMBER value is formatted correctly at the point that's passed.  Generally just make sure you used the same data type definition all the way through if you can.

Cheers,
Jocelyn

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Rick Bakker
Sent: Thursday, 20 October 2011 11:47 AM
To: SAP Workflow Users' Group
Subject: Re: Rule Binding Issues

Hello,

All I can suggest is that you double-check that INCOMINGINVOICE.FISCALYEAR (and the other one) has the expected value when you look in the workflow container, and that the rule uses FISCALYEAR and INVOICENUMBER (not INVOICEDOCNUMBER?).

Could it be that INCOMINGINVOICE.FISCALYEAR didn't have a value at the time the step was executed (unlikely in this case but always worth checking).

regards
Rick Bakker
hanabi technology
On Thu, Oct 20, 2011 at 10:27 AM, Anderson, Fruzzie G. (MSFC-IS60)[EAST] <fruzzie.g.anderson at nasa.gov<mailto:fruzzie.g.anderson at nasa.gov>> wrote:
Hello,

I need some expertise in binding for a rule that was created to determine the agent for a missed deadline.  When I process the rule through transaction PFAC, the agent is found.  The inputs to the function module that determines the agent is 'invoice number' and 'fiscal year' which is derived from the workflow container.  However, I am receiving the following error through the workflow.  Any assistance is greatly appreciated.


|       |12373110|No Action              |Work item 000012373110: Object FLOWITEM method EXECUTE cannot be executed                 |
|       |12373110|No Action              |Error when processing node '0000000201' (ParForEach index 000000)                         |
|       |12373117|CREATE_WIM_HANDLE      |Error when creating a work item                                                           |
|       |12373117|CREATE                 |Error when creating a component of type 'Step'                                            |
|       |12373117|PROCESS_NODE           |Error when processing node '0000000201' (ParForEach index 000000)                         |
|       |12373117|Result Processing      |Error during result processing of work item 000012373117                                  |
|       |12373117|CREATE_VIA_WFM         |Agent determination for step '0000000201' failed                                          |
|       |12373117|EVALUATE_AGENT_VIA_RULE|Workflow WS90000008 no. 000012373110 activity 0000000201 role 'AC90000001': No agent found|
|       |12373117|AC90000001             |Resolution of rule AC90000001 for task TS90000038: no agent found


[cid:image001.png at 01CC8F23.BBBF3740]

Regards,


Fruzzie Anderson



_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu<mailto:SAP-WUG at mit.edu>
http://mailman.mit.edu/mailman/listinfo/sap-wug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20111020/9fda2f38/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 20006 bytes
Desc: image001.png
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20111020/9fda2f38/attachment.png


More information about the SAP-WUG mailing list