CATS WORKFLOW

Nash John emailtonash at gmail.com
Thu Dec 28 09:27:12 EST 2006


Thanks Jason and Claude.I've checked and  Default rule for the task is 157
.I'm in ECC 6.

Now I don't know how to proceed :(

Once again thank you so much for your helps.



-Nash


On 12/28/06, Claude Bourque <cbourque at bank-banque-canada.ca> wrote:
>
>  Nash,
>
> Can't say more than Jason.
>
> I've been using CATS and TS20000460 for years to do quick demos at
> customer sites of what workflow can do and I've never received that error. I
> usually get the Cannot determine workflow recipient message when I forget to
> make the task a General Task.
>
> Your data entry profile seems right so I'm stumped.
>
> Which version are you on?
>
> Claude
>  -----Original Message-----
> *From:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *On
> Behalf Of *Jason Sundeen
> *Sent:* December 28, 2006 7:00 AM
> *To:* SAP Workflow Users' Group
> *Subject:* RE: CATS WORKFLOW
>
>  Nash,
>
>
>
> I set up this same scenario you are working on a couple years ago…make
> sure that the Standard Role 157 is in the Default Roles tab of task
> TS20000460.  That should solve your error.
>
>
>
> Jason
>
>
>  ------------------------------
>
> *From:* Nash John [mailto:emailtonash at gmail.com]
> *Sent:* Wednesday, December 27, 2006 4:24 PM
> *To:* SAP Workflow Users' Group
> *Subject:* Re: CATS WORKFLOW
>
>
>
> Hi Claude,
>
>
>
> I'm back again. Thanks for your previous suggestions those were helpful.
>
>
>
> rule 157 is bringing up supervisor correctly also we have an org unit
> maintained.
>
>
>
> Now I'm using the task TS20000460, under 'workflow' tab in 'Setup for data
> entry profile', I've selected 'With SAPBusiness workflow'.When the user
> saves timesheet , a pop appears asking them to enter approver id. It works.
>
> But my client do not want the pop that comes asking to enter recipient
> once the time sheet is saved. In stead they want workflow to determine the
> agent *automatically. *For that I've selected the check box 'With
> Auto.Determination of Recipient' but when i try to save time sheet this
> time I'm getting following error message
>
>
> *An error occurred on starting the workflow*
>
> Message no. LR365
> *Diagnosis*
>
> For technical reasons, the system cannot start the SAP Business Workflow.
>
>
>
> When I put a F1 on 'With Auto.Determination of Recipient' I get following
> help
>
>
>  *Automatic Recipient Determination*
>
> Determines that the system selects the recipient of the approval workflow
> automatically.
>
> For the system to determine recipients automatically, *you must enter an
> automatic role resolution for the relevant workflow task.*
>
> My question is where should i maintain this automatic role resolution. Are
> they taking about rule 157? if so where should i maintain it as we are
> talking about TS and not WS.
>
> Please help :(.
>
> Thanks a lot.
>
> -Nash
>
>
>
>
>
> On 12/27/06, *Claude Bourque* <cbourque at bank-banque-canada.ca> wrote:
>
> 
>
> John,
>
>
>
> In the config of the data entry profile, In the field where you can enter
> the task, enter TS20000460. You don't need to select the org unit.
>
>
>
> However, hopefully, you do have an existing org structure. When using
> TS20000460 (we use a copy of it), the workflow goes to the employee's
> manager which is determined by the Chief of an org unit.
>
>
>
> The best way to find out if this exists is to test it with transaction
> PFAC. Go to PFAC, enter rule 157 (the default rule for TS20000460), click
> the display icon, followed by the simulate icon. In the Pers Resp. field,
> enter P followed by space followed by the personnel number ( e.g. P
> 07000833) then hit the test icon. You should see the employee's manager's
> position number. Click the Agent <-> User icon to get the User ID. If it
> returns nothing, you may not have an org structure.
>
>
>
> To confirm the existence of an org structure, use transaction PPOSW and
> search by org unit. Enter your employee's org unit and then search.
> Double-click the org unit that appears in the hit list in the lower
> left-hand side to see the overview on the right. The manager's position has
> a little hat next to it. All the employees in that org unit will have their
> timesheet go to the holder of that position if you use TS20000460.
>
>
>
> Keep me posted.
>
>
>
> Claude
>
> -----Original Message-----
> *From:* sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] *On
> Behalf Of *Nash John
>
> *Sent:* December 27, 2006 1:41 PM
> *To:* SAP Workflow Users' Group
> *Subject:* Re: CATS WORKFLOW
>
>
>  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 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.
>
>
> _______________________________________________
> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20061228/6a3cb041/attachment.htm


More information about the SAP-WUG mailing list