Multiline element in Rule resolution?

Hilsbos, Margaret A Margaret.Hilsbos at dayzim.com
Thu Sep 1 11:33:21 EDT 2005


Mark,

Thanks for the quick response, although that is not what I wanted to hear, at least now I know I can stop beating my head against that particular wall!

Margaret

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]On Behalf
Of Mark Pyc
Sent: Thursday, September 01, 2005 11:14 AM
To: SAP Workflow Users' Group
Subject: Re: Multiline element in Rule resolution?


G'day Margaret,

Such a rule can be defined but it would need to be a Function Module
rule rather a Responsibility Rule. I'm surprised that you can define a
multiline element into a Responsibility Rule at all to be honest.

Responsibility Rules are great for simple situations but it doesn't
take long to reach their effective limit.

Have fun,
Mark

On 9/1/05, Hilsbos, Margaret A <Margaret.Hilsbos at dayzim.com> wrote:
> Hello workflow gurus,
> 
> I think this should be an easy one but I am stumped and need to resolve quickly. I searched the archive but didn't see a clear answer to this relatively basic question.
> 
> Short version:
> How can one define a rule to test a value appearing at any position in a multiline element?
> 
> 
> Detailed version:
> 
> I have a multiline element that I pass to a rule.  In this multiline element the value 'ABC' can appear anywhere in the list: first, last, third, anywhere. I tried defining my rule as such:
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Responsibility Specs
> 
> Name_____________of________________to
> 
> MyElement________ABC______________ABC
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> That definition only works if 'ABC' is the first and only value in the element.  If I add a wildcard at the end, like so -
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Responsibility Specs
> 
> Name_____________of________________to
> 
> MyElement________ABC______________ABC*
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> It still only works if 'ABC' is the first and ONLY value in the element.
> 
> And of course SAP doesn't allow use of wildcard (*) at beginning of value. (Why not?) But that's a question for another day, because evidently it doesn't test the values as one concatenated string anyway, which was what I was wondering.
> 
> Before you ask - the element IS defined as multiline in the rule container.
> 
> Can anyone tell me what I am missing?  How can one define a rule to test a value appearing at any position in a multiline element? Or is it not possible?
> 
> Thanks for any help you can give!
> 
> 
> Margaret Hilsbos
> Day & Zimmermann
> 

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



More information about the SAP-WUG mailing list