CATS WORKFLOW

Lisa Hasenbohler lhasenbo at agrium.com
Wed Dec 27 13:42:06 EST 2006


I will be away from the office until January 8th.  If this is an urgent matter, please contact Bruno Picone (403-225-7363) or Luke Lau 403-225-7163.

Thanks,
Lisa Hasenbohler

>>> sap-wug 12/27/06 11:40 >>>

Can you have a fresh look into my scenario. It goes like this



 Our client want to use Org unit to determine approver.

 Say A is the supervisor of B,

B the supervisor of C,

 C the supervisor of D,

D the supervisor of E.



Now when E creates time sheet, using org unit workflow should automatically
rout time sheet for approval to D. Similarly when D creates it should go to
C and so on.

What I learned is in the scenario we have to use TS20000460(???).

In spro under 'Setup data entry profile' under the tab 'person selection', I
selected org.unit and found following help note
Person Selection by Organizational Unit

Determines that the system selects all personnel numbers assigned to a
specified organizational unit, when you call the data entry profile.
Dependencies

Personnel numbers are assigned to an organizational unit

a) By specifying a position in the Personnel Actions infotype (0000) in HR

b) By maintaining the staffing schedule

You can use the user parameter PON (object ID PD) to determine which
organizational unit the system uses to select the personnel numbers.



I didn't fully understand above help so can you please tell me how to
*tell*workflow touse  a particular org unit?.






















On 12/27/06, Nash John <emailtonash at gmail.com> wrote:
>
> As always thanks Claude. Thanks a lot.You are a good samaritan.
>
> -Nash
>
>
>  On 12/27/06, Claude Bourque <cbourque at bank-banque-canada.ca> wrote:
> >
> >  You should check to see if the employee you are testing has a time
> > administrator entered in the Org Assignment infotype (IT0001).
> >
> > Go to transaction PA20, enter the personnel number, then enter 1 in the
> > infotype field followed by the display icon. In the lower right-hand side of
> > the org assignment infotype, you'll see 3 fields (Pers Admin, Time Admin and
> > Payroll Admin). The workflow will only work if the Time Admin field is
> > populated. The values for the 3 fields come from table T526 where you link
> > the Administrators to their user ids.
> >
> > Claude
> >  -----Original Message-----
> > *From:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *On
> > Behalf Of *Nash John
> > *Sent:* December 26, 2006 9:08 AM
> > *To:* SAP Workflow Users' Group
> > *Subject:* Re: CATS WORKFLOW
> >
> >  Hi,
> >
> > Now when I test my workflow I'm getting following error 'workflow agent
> > cannot be determined'.
> > Following are the setting I did in workflow as well as in SPRO.
> >
> > 1. I'm using task 'TS20000459' - TIME ADMIN
> > 2. made TS20000459 as 'general task'.
> > 3. used the varient "WORKFLOW'
> > 4. under 'setup data entry profile' in spro did following:
> >
> >                      i) under 'person selection' tab selected radio
> > button 'Time Administrator'.
> >                      ii)under 'Approval' i selected 'with approval
> > procedure'.
> >                      iii)under 'workflow' i've put the task TS20000459
> > also selected both
> >                        checkbox named  'with business workflow' and
> > 'with Auto determination of agent'.
> >                    Is there any specific config need to be done for
> > 'Automatic determination of agent'? Where is what I missing :(.
> >
> > Thanks a lot.
> >
> > -Nash
> >
> >
> >
> >  On 12/11/06, Claude Bourque < cbourque at bank-banque-canada.ca> wrote:
> >
> > >  John,
> > >
> > > I just noticed my typo for no 2. TS20000460 is the supervisor not the
> > > time admin.
> > >
> > > Good luck.
> > >
> > > Claude
> > >  -----Original Message-----
> > > *From:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *On
> > > Behalf Of *Nash John
> > > *Sent:* December 11, 2006 1:32 PM
> > > *To:* SAP Workflow Users' Group
> > > *Subject:* Re: CATS WORKFLOW
> > >
> > >  Thanks Claude, i appreciate it.
> > >
> > > I'll work on it keeping in mind what ever you mentioned. of course I
> > > will get back to you if I run in to any issue(s) :).
> > >
> > > _nash john
> > >
> > >
> > >  On 12/11/06, Claude Bourque < cbourque at bank-banque-canada.ca > wrote:
> > >
> > > >  John,
> > > >
> > > > SAP delivered 3 CATS approval TS's up to 4.7:
> > > >
> > > > 1. TS20000459: CATS approval by time administrator (time entry user
> > > > as per Infotype 0001 on the employee file)
> > > > 2. TS20000460: CATS approval by time administrator as per rule
> > > > AC00000157
> > > > 3. TS40007901: Pop-up when user is saving timesheet. User selects
> > > > one of the possible agents.
> > > >
> > > > Although I haven't played much with ECC 6.0, I do know that there
> > > > are 3 new TS's.
> > > >
> > > > 4. TS31000006: A new version of TS20000459
> > > > 5. TS31000007: A new version of TS20000460
> > > > 6. TS31000004: A new version of TS40007901
> > > >
> > > > Your config is still IMG: Cross-Application Components -> Time Sheet
> > > > -> Specific Settings for CATS classic -> Set Up Data Entry Profiles  (for
> > > > R/3 use) or use Specific Settings for CATS regular (for ESS using CATW).
> > > >
> > > > In the Data Entry Profile, select the With Approval Procedure
> > > > option, check the box With SAPBusiness Workflow and in the task box called
> > > > Task enter one of the 6 TS's listed above (or a copy of one of them as we
> > > > did). It's this task that SAP_WAPI_START_WORKFLOW uses.
> > > >
> > > > Starting in 4.7, you have the make the standard task a general task
> > > > because even the data entry person has to be a possible agent otherwise you
> > > > get an error upon saving.
> > > >
> > > > Hope this helps.
> > > >
> > > > Claude
> > > >  -----Original Message-----
> > > > *From:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *On
> > > > Behalf Of *Nash John
> > > > *Sent:* December 11, 2006 11:00 AM
> > > > *To:* SAP Workflow Users' Group
> > > > *Subject:* Re: CATS WORKFLOW
> > > >
> > > >  Thanks Claude. Like you said since the workflow is triggered by FM,
> > > > can you tell what config need to be done(IMG). Can you please send me any
> > > > documentation if you have since you have already worked on similar scenario.
> > > >
> > > >
> > > > Again thanks a lot Claude.
> > > >
> > > > -nash john
> > > >
> > > >
> > > >
> > > >
> > > >  On 12/11/06, Claude Bourque < cbourque at bank-banque-canada.ca >
> > > > wrote:
> > > >
> > > > >  Not sure about ECC 6.0 but in good old Enterprise (4.7), the
> > > > > problem is that in the CATS Data Entry profile config (table TCATS), you
> > > > > have to insert the TS directly in a field. Thus, no WS, therefore, no easy
> > > > > way to do deadlines and other neat things offered by the WS.
> > > > >
> > > > > We tried using a bogus TS that simply calls a WS but that seems to
> > > > > create other problems.
> > > > >
> > > > > Debugging the CATS ABAP code reveals that SAP uses
> > > > > SAP_WAPI_START_WORKFLOW to start the workflow using the TS inserted in the
> > > > > TCATS table.
> > > > >
> > > > > A CATS.CREATED event is also triggered in the code so you can't
> > > > > use that event since the TS is already started.
> > > > >
> > > > > I can say that you can use your own rule to determine agents
> > > > > because we did and it works fine.
> > > > >
> > > > > Hopefully, I haven't put a damper on your initiative.
> > > > >
> > > > > Claude
> > > > >  -----Original Message-----
> > > > > *From:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *On
> > > > > Behalf Of *Nash John
> > > > > *Sent:* December 11, 2006 10:19 AM
> > > > > *To:* SAP Workflow Users' Group
> > > > > *Subject:* CATS WORKFLOW
> > > > >
> > > > > Hi friends,
> > > > >
> > > > > I've to do CATS approval workflow on ECC 6.0 and my functional
> > > > > asked me to look into WS40001001. One thing I noticed is that of the two
> > > > > tasks in the workflow one of the tasks TS20000495 is absolute; I mean it is
> > > > > not available in the system. Also at present we don't have org structure so
> > > > > I'm planning to write custom rule to determining agent from custom table.
> > > > > Does this approach helps?. This is quite urgent requirement hence client
> > > > > want it be done as soon as possible not waiting for org structure to set up
> > > > > as it will take another 5 months for that.
> > > > >
> > > > > Can you tell me what is the business object to be used also is
> > > > > there any IMG config to be done?. If 'Yes' what are those. Points wll be
> > > > > awarded to all useful answers. Thanks a lot friends
> > > > > -Nash
> > > > >
> > > > > ====================================================================================
> > > > >
> > > > > La version franaise suit le texte anglais.
> > > > >
> > > > > ------------------------------------------------------------------------------------
> > > > >
> > > > > This email may contain privileged and/or confidential information, and the Bank of
> > > > > Canada does not waive any related rights. Any distribution, use, or copying of this
> > > > > email or the information it contains by other than the intended recipient is
> > > > > unauthorized. If you received this email in error please delete it immediately from
> > > > > your system and notify the sender promptly by email that you have done so.
> > > > >
> > > > > ------------------------------------------------------------------------------------
> > > > >
> > > > > Le prsent courriel peut contenir de l'information privilgie ou confidentielle.
> > > > > La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute diffusion,
> > > > > utilisation ou copie de ce courriel ou des renseignements qu'il contient par une
> > > > > personne autre que le ou les destinataires dsigns est interdite. Si vous recevez
> > > > > ce courriel par erreur, veuillez le supprimer immdiatement et envoyer sans dlai 
> > > > > l'expditeur un message lectronique pour l'aviser que vous avez limin de votre
> > > > > ordinateur toute copie du courriel reu.
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > SAP-WUG mailing list
> > > > > SAP-WUG at mit.edu
> > > > > http://mailman.mit.edu/mailman/listinfo/sap-wug
> > > > >
> > > > >
> > > > >
> > > > ====================================================================================
> > > >
> > > > La version franaise suit le texte anglais.
> > > >
> > > > ------------------------------------------------------------------------------------
> > > >
> > > > This email may contain privileged and/or confidential information, and the Bank of
> > > > Canada does not waive any related rights. Any distribution, use, or copying of this
> > > > email or the information it contains by other than the intended recipient is
> > > > unauthorized. If you received this email in error please delete it immediately from
> > > > your system and notify the sender promptly by email that you have done so.
> > > >
> > > > ------------------------------------------------------------------------------------
> > > >
> > > > Le prsent courriel peut contenir de l'information privilgie ou confidentielle.
> > > > La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute diffusion,
> > > > utilisation ou copie de ce courriel ou des renseignements qu'il contient par une
> > > > personne autre que le ou les destinataires dsigns est interdite. Si vous recevez
> > > > ce courriel par erreur, veuillez le supprimer immdiatement et envoyer sans dlai 
> > > > l'expditeur un message lectronique pour l'aviser que vous avez limin de votre
> > > > ordinateur toute copie du courriel reu.
> > > >
> > > >
> > > > _______________________________________________
> > > > SAP-WUG mailing list
> > > > SAP-WUG at mit.edu
> > > > http://mailman.mit.edu/mailman/listinfo/sap-wug
> > > >
> > > >
> > > >
> > > ====================================================================================
> > >
> > > La version franaise suit le texte anglais.
> > >
> > > ------------------------------------------------------------------------------------
> > >
> > > This email may contain privileged and/or confidential information, and the Bank of
> > > Canada does not waive any related rights. Any distribution, use, or copying of this
> > > email or the information it contains by other than the intended recipient is
> > > unauthorized. If you received this email in error please delete it immediately from
> > > your system and notify the sender promptly by email that you have done so.
> > >
> > > ------------------------------------------------------------------------------------
> > >
> > > Le prsent courriel peut contenir de l'information privilgie ou confidentielle.
> > > La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute diffusion,
> > > utilisation ou copie de ce courriel ou des renseignements qu'il contient par une
> > > personne autre que le ou les destinataires dsigns est interdite. Si vous recevez
> > > ce courriel par erreur, veuillez le supprimer immdiatement et envoyer sans dlai 
> > > l'expditeur un message lectronique pour l'aviser que vous avez limin de votre
> > > ordinateur toute copie du courriel reu.
> > >
> > >
> > > _______________________________________________
> > > SAP-WUG mailing list
> > > SAP-WUG at mit.edu
> > > http://mailman.mit.edu/mailman/listinfo/sap-wug
> > >
> > >
> > >
> > ====================================================================================
> >
> > La version franaise suit le texte anglais.
> >
> > ------------------------------------------------------------------------------------
> >
> > This email may contain privileged and/or confidential information, and the Bank of
> > Canada does not waive any related rights. Any distribution, use, or copying of this
> > email or the information it contains by other than the intended recipient is
> > unauthorized. If you received this email in error please delete it immediately from
> > your system and notify the sender promptly by email that you have done so.
> >
> > ------------------------------------------------------------------------------------
> >
> > Le prsent courriel peut contenir de l'information privilgie ou confidentielle.
> > La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute diffusion,
> > utilisation ou copie de ce courriel ou des renseignements qu'il contient par une
> > personne autre que le ou les destinataires dsigns est interdite. Si vous recevez
> > ce courriel par erreur, veuillez le supprimer immdiatement et envoyer sans dlai 
> > l'expditeur un message lectronique pour l'aviser que vous avez limin de votre
> > ordinateur toute copie du courriel reu.
> >
> >
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
> >
> >
>



                            IMPORTANT NOTICE !
This E-Mail transmission and any accompanying attachments may contain
confidential information intended only for the use of the individual or
entity named above. Any dissemination, distribution, copying or action taken
in reliance on the contents of this E-Mail by anyone other than the intended
recipient is strictly prohibited and is not intended to, in anyway, waive
privilege or confidentiality. If you have received this E-Mail in error please
immediately delete it and notify sender at the above E-Mail address.

Agrium uses state of the art anti-virus technology on all incoming and
outgoing E-Mail. We encourage and promote the use of safe E-Mail management
practices and recommend you check this, and all other E-Mail and attachments
you receive for the presence of viruses. The sender and Agrium accept no liability
for any damage caused by a virus or otherwise by the transmittal of this E-Mail.
                        IMPORTANT NOTICE 







More information about the SAP-WUG mailing list