CATS WORKFLOW

Claude Bourque cbourque at bank-banque-canada.ca
Wed Dec 27 08:26:31 EST 2006


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 française 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 présent courriel peut contenir de l'information privilégiée 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 désignés est interdite. Si vous recevez
			ce courriel par erreur, veuillez le supprimer immédiatement et envoyer sans délai à
			l'expéditeur un message électronique pour l'aviser que vous avez éliminé de votre
			ordinateur toute copie du courriel reçu.
			

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


		====================================================================================
		
		La version française 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 présent courriel peut contenir de l'information privilégiée 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 désignés est interdite. Si vous recevez
		ce courriel par erreur, veuillez le supprimer immédiatement et envoyer sans délai à
		l'expéditeur un message électronique pour l'aviser que vous avez éliminé de votre
		ordinateur toute copie du courriel reçu.
		

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


	====================================================================================
	
	La version française 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 présent courriel peut contenir de l'information privilégiée 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 désignés est interdite. Si vous recevez
	ce courriel par erreur, veuillez le supprimer immédiatement et envoyer sans délai à
	l'expéditeur un message électronique pour l'aviser que vous avez éliminé de votre
	ordinateur toute copie du courriel reçu.
	

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


====================================================================================

La version française 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 présent courriel peut contenir de l'information privilégiée 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 désignés est interdite. Si vous recevez
ce courriel par erreur, veuillez le supprimer immédiatement et envoyer sans délai à
l'expéditeur un message électronique pour l'aviser que vous avez éliminé de votre
ordinateur toute copie du courriel reçu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20061227/d0bce3fb/attachment.htm


More information about the SAP-WUG mailing list