OOCU_RESP responsibility validation for values entered in container elements

Andy Leung aleung23 at csc.com.au
Wed Jul 29 21:19:22 EDT 2009


Hi Shai,

We have defined the container elements with the following data types:

Control Area            CSKS-KOKRS              check table is TKA01
Cost Centre             CSKS-KOSTL              no check table
Approval Range  EKPO-NETPR              no check table

In this example, I'm not sure how TKA01 can help with the validation - as 
I can currently enter in values such as "48+$" for Control Area, and the 
responsibility record can still be created.  Can you please advise?

Many thanks,

Kind regards,
Andy Leung

SAP Workflow Consultant
CSC Australia
Email: aleung23 at csc.com

Please consider the environment before printing this e-mail.

CSC - This is a private message. If you are not the intended recipient, 
please delete without copying and kindly advise us by e-mail of the 
mistake in delivery.  Note: Regardless of content, this e-mail shall not 
operate to bind CSC to any order or other contract unless pursuant to 
explicit written agreement or government initiative expressly permitting 
the use of e-mail for such purpose - CSC Australia Pty Limited; Registered 
Office: 5B/26 Talavera Road, Macquarie Park NSW 2113 Australia; 
Incorporated in Australia. ACN: 008 476 944




sap-wug-request at mit.edu 
Sent by: sap-wug-bounces at mit.edu
29/07/2009 10:57 PM
Please respond to
sap-wug at mit.edu


To
sap-wug at mit.edu
cc

Subject
SAP-WUG Digest, Vol 56, Issue 59






Send SAP-WUG mailing list submissions to
                 sap-wug at mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
                 http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
                 sap-wug-request at mit.edu

You can reach the person managing the list at
                 sap-wug-owner at mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of SAP-WUG digest..."


Today's Topics:

   1. Re: OOCU_RESP responsibility validation for values entered in
      container elements (Shai Eyal)
   2. RE: How to dynamically find the responsible agents..
      (Munday,Sherie J.)
   3. RE: How to dynamically find the responsible agents..
      (Munday,Sherie J.)


----------------------------------------------------------------------

Message: 1
Date: Wed, 29 Jul 2009 04:19:47 -0700 (PDT)
From: Shai Eyal <shai.eyal at yahoo.com>
Subject: Re: OOCU_RESP responsibility validation for values entered in
                 container elements
To: sap-wug at mit.edu
Message-ID: <58826.93845.qm at web59108.mail.re1.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Andy,

Validation is carried according?to container element data type.
For cost centre you probably used data type KOSTL. 
You need to?define it based table and field with check table.

If you kind find one please?let me know and I'll?try to search for such.

Good luck
?
Regards,
Shai Eyal
SAP Logistics senior consultant
SAP Workflow & BPM specialist
http://www.linkedin.com/in/shaieyal
Mobile: 972-52-5816633




________________________________
From: "sap-wug-request at mit.edu" <sap-wug-request at mit.edu>
To: sap-wug at mit.edu
Sent: Wednesday, July 29, 2009 12:26:51
Subject: SAP-WUG Digest, Vol 56, Issue 58

Send SAP-WUG mailing list submissions to
??? sap-wug at mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
??? http://mailman.mit.edu/mailman/listinfo/sap-wug
or, via email, send a message with subject or body 'help' to
??? sap-wug-request at mit.edu

You can reach the person managing the list at
??? sap-wug-owner at mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of SAP-WUG digest..."


Today's Topics:

? 1. Re: How to dynamically find the responsible agents.. (Ramki Maley)
? 2. Issue with WorkItem (Venkat AG)
? 3. OOCU_RESP responsibility validation for values entered in
? ? ? container??? elements (Andy Leung)
? 4. RE: How to dynamically find the responsible agents..
? ? ? (Gardiner,??? Keith (Insurance & Investor Services))


----------------------------------------------------------------------

------------------------------

Message: 3
Date: Wed, 29 Jul 2009 16:09:45 +1100
From: Andy Leung <aleung23 at csc.com.au>
Subject: OOCU_RESP responsibility validation for values entered in
??? container??? elements
To: sap-wug at mit.edu
Message-ID:
??? <OFCD49A7CC.4BBB8048-ONCA257602.001B0FCE-CA257602.001C5FEC at csc.com>
Content-Type: text/plain; charset="us-ascii"

Hello,

I have created a responsibility in OOCU_RESP with cost centre as one of 
the container element fields.

I am allowed to type in anything in this field (even if it is not a valid 
cost centre). SAP will allow this responsibility to be saved and created 
even though the cost centre is incorrect.

Is there any way to validate container element fields? A user exit 
perhaps?

Thanks in advance.


Kind regards,
Andy Leung

SAP Workflow Consultant
CSC Australia
628 Bourke Street
Melbourne VIC 3000
Desk: +61 (03) 8695 1151
Mobile: +61 (0) 434 562 827
Email: aleung23 at csc.com

Please consider the environment before printing this e-mail.

CSC - This is a private message. If you are not the intended recipient, 
please delete without copying and kindly advise us by e-mail of the 
mistake in delivery.? Note: Regardless of content, this e-mail shall not 
operate to bind CSC to any order or other contract unless pursuant to 
explicit written agreement or government initiative expressly permitting 
the use of e-mail for such purpose - CSC Australia Pty Limited; Registered 

Office: 5B/26 Talavera Road, Macquarie Park NSW 2113 Australia; 
Incorporated in Australia. ACN: 008 476 944

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mailman.mit.edu/pipermail/sap-wug/attachments/20090729/d1835a03/attachment-0001.htm




      Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com. 
http://mail.promotions.yahoo.com/newdomains/aa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mailman.mit.edu/pipermail/sap-wug/attachments/20090729/536fafe9/attachment-0001.htm


------------------------------

Message: 2
Date: Wed, 29 Jul 2009 08:55:52 -0400
From: "Munday,Sherie J." <MUNDAYSJ at airproducts.com>
Subject: RE: How to dynamically find the responsible agents..
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
 <378A0CA475247F408FC92DDE5143B45401FEB146 at US1013EXMP.america.apci.com>
Content-Type: text/plain;                charset="us-ascii"

Ramki,
Thank you.  That did it.  The ACTOR_CONTAINER holds the responsible
elements.  I was missing that piece.  It is working great now!!
Regards,
Sherie


-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Ramki Maley
Sent: Tuesday, July 28, 2009 5:25 PM
To: SAP Workflow Users' Group
Subject: Re: How to dynamically find the responsible agents..

Sherie,

You only need to pass the ACT_OBJECT & ACTOR_CONTAINER parameters to the

FM. As mentioned by Sue, you would get back the agents in ACTOR_TAB 
table. you can comment out all other parameters. Create the method 
container exactly same as your rule container and you can then possibly 
pass the method container directly to the function module. You would do 
the WF to task binding for the new task same as the rule binding of the 
actual step that uses the rule.

Cheers,
Ramki


Munday,Sherie J. wrote:
> Susan & Ramki,
> 
> Thank you. 
> 
> Forgive my ignorance, as I am a workflow developer but not a very 
> proficient programmer.  I can create a method based on the function 
> module RH_RESOLVE_RESPONSIBILITIES, but how do I feed in the specific 
> responsibilities?  The ACT_OBJECT (the role) would be AC90200018 and
the 
> ACT_PLVAR (the plan version) would be 01.  But what would the
ACT_OTYPE 
> and ACT_OBJID be?  Are these the responsibilities?  I have 3 elements,

> the combination of which makes up the responsibility.  For example...
one 
> responsibility on the role would be (Geography) NA, (Business) APEC,
and 
> (Domain) HARDGOODS.  How do I feed these to ensure that the function 
> module resolves the proper responsibility?
> 
> Thank You for your patience!!
> 
> Sherie
> 
> 
> 
> 
> 
> *From:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *On 
> Behalf Of *Sue Doughty
> *Sent:* Tuesday, July 28, 2009 4:01 PM
> *To:* SAP Workflow Users' Group
> *Subject:* RE: How to dynamically find the responsible agents..
> 
> 
> 
> Hi Sherie,
> 
> 
> 
> What I do to get the agents for a rule is to execute a method I
created 
> in the Business object that calls RH_GET_ACTORS.  The ACT_OBJECT is
the 
> rule number.  Then I read all the entries in the table and keep only
the 
> 'US' ones.  The result (table) is the input to the next step which is 
> the decision step.  If the deadline passes, then I send a notification

> to the output of the method I used to get the users for the rule.
> 
> 
> 
> *Get Payroll agents based on Rule 90100006 
> 
> ALL FUNCTION 'RH_GET_ACTORS' 
> 
>  DESTINATION destn 
> 
>  EXPORTING 
> 
>    ACT_OBJECT                = 'AC90100006' 
> 
>  TABLES 
> 
>    ACTOR_CONTAINER           = lt_container 
> 
>    ACTOR_TAB                 = lt_agents 
> 
>  EXCEPTIONS 
> 
>    NO_ACTIVE_PLVAR           = 1 
> 
>    NO_ACTOR_FOUND            = 2 
> 
>    EXCEPTION_OF_ROLE_RAISED  = 3 
> 
>    NO_VALID_AGENT_DETERMINED = 4 
> 
>    OTHERS                    = 5. 
> 
> 
> 
> Regards,
> 
> /*Sue T. Doughty*/
> 
> SAP Workflow Specialist
> 
> Old Dominion Freight Line, Inc.
> 
> 500 Old Dominion Way
> 
> Thomasville, NC 27360
> 
> Phone:  (336) 822-5189
> 
> Toll Free (800 ) 432-6335, ext. 5189
> 
> Email:  sue.doughty at odfl.com <mailto:sue.doughty at odfl.com>
> 
>
------------------------------------------------------------------------
> 
> *From:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *On 
> Behalf Of *Munday,Sherie J.
> *Sent:* Tuesday, July 28, 2009 1:51 PM
> *To:* SAP Workflow Users' Group
> *Subject:* How to dynamically find the responsible agents..
> 
> 
> 
> Hi Wuggers Extraordinaire,
> 
> I am stuck and can't seem to find the answer.  I need to find the 
> responsible agents for a step before it has been acted upon.  As a 
> deadline action, we wish to send an outlook email to all the
responsible 
> agents for the step if they have not acted in a certain amount of
time. 
> The agents are determined by a responsibility role/rule.  So how do I 
> get access to those userids that workflow has determined are
responsible 
> agents?  If it is possible to do it with BOT's , I would prefer that 
> since I am not much of a programmer. 
> 
> Thanks in advance for all suggestions!
> 
> Regards,
> 
> Sherie
> 
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug



------------------------------

Message: 3
Date: Wed, 29 Jul 2009 08:56:46 -0400
From: "Munday,Sherie J." <MUNDAYSJ at airproducts.com>
Subject: RE: How to dynamically find the responsible agents..
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
 <378A0CA475247F408FC92DDE5143B45401FEB14B at US1013EXMP.america.apci.com>
Content-Type: text/plain; charset="us-ascii"

Hi Keith,

Unfortunately no, as I wish to send the email to Outlook.  The rule will
resolve to the userids, not the outlook email addresses.

Regards,

Sherie

 

 

 

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Gardiner,Keith (Insurance & Investor Services)
Sent: Wednesday, July 29, 2009 5:27 AM
To: SAP Workflow Users' Group
Subject: RE: How to dynamically find the responsible agents..

 

Hi Sherie,

 

Can't you use the same rule on the Deadline as on the Step or am I
missing the point?

 

Regards

 

Keith 

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Munday,Sherie J.
Sent: 28 July 2009 18:51
To: SAP Workflow Users' Group
Subject: How to dynamically find the responsible agents..

 

Hi Wuggers Extraordinaire,

I am stuck and can't seem to find the answer.  I need to find the
responsible agents for a step before it has been acted upon.  As a
deadline action, we wish to send an outlook email to all the responsible
agents for the step if they have not acted in a certain amount of time.
The agents are determined by a responsibility role/rule.  So how do I
get access to those userids that workflow has determined are responsible
agents?  If it is possible to do it with BOT's , I would prefer that
since I am not much of a programmer. 

Thanks in advance for all suggestions!

Regards,

Sherie


This email has been scanned for all viruses by the MessageLabs SkyScan
service.


This email and any attachment are intended solely for the addressee, are
strictly confidential and may be legally privileged. If you are not the
intended recipient any reading, dissemination, copying or any other use
or reliance is prohibited. If you have received this email in error
please notify the sender immediately by email and then permanently
delete the email. Copyright reserved.

All communications, incoming and outgoing, may be recorded and are
monitored for legitimate business purposes. 

The security and reliability of email transmission cannot be guaranteed.
It is the recipient's responsibility to scan this e-mail and any
attachment for the presence of viruses. 

The Capita Group plc and its subsidiaries ("Capita") exclude all
liability for any loss or damage whatsoever arising or resulting from
the receipt, use or transmission of this email. 

Any views or opinions expressed in this email are those of the author
only.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mailman.mit.edu/pipermail/sap-wug/attachments/20090729/a39988a0/attachment.htm


------------------------------

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


End of SAP-WUG Digest, Vol 56, Issue 59
***************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090730/427812ea/attachment.htm


More information about the SAP-WUG mailing list