UWL substitution at workitem level

Hi,
I've gone through threads like [this|Substitute - Delegation in MSS;.
I've also read How-To docs related to Substitution Proflle. What I understand is that the Substitution Profile approach is task specific. So if you change it at the task level it applies to all the steps/ workflows where that task is used.
And this is what I don't want to achieve. e.g. I'm using SAP standard approval task TS17900100 in different workflows and at different levels of authorizations. I want the task classification to apply to a specific step of a specific workflow.
Any suggestions/ tricks/ workarounds/ pointers?
Thanks in advance.
Best Regards,
-Vaibhav

you need to implement the FM as explained
[1] Substitute for Workflow - BAdI (New)
You can now use the new BAdI WF_SUBSTITUTE in the Workflow interfaces.
This BAdI enables you to customize the rules for defining substitutes.
You can also control the substitute rules for the universal worklist:
for example, you can define whether the possible substitutes are
restricted by user or whether a different substitute profile is
assigned.
See SAP online help at:
http://help.sap.com/saphelp_nw70/helpdata/en/44/f0b45fb5190e8fe10000000a
11466f/frameset.htm
[2] Classification
You can arrange tasks and workflows into various classes within the SAP
System. The classes professional, personal and disciplinary are
standard. The system checks the task class under the field name
TASK_CLASS in the authorization object S_WF_WI. This system uses this
authorization object to check the authorization for carrying out
specific actions on particular work items. The assignment of tasks to
classes is also important in the definition of substitutes. You can
also define that only those classes are displayed which refer to tasks
or workflows of a particular class. Take this into account when you
create new classes and assign tasks or workflows to the classes.
You can set this classification via:
SPRO
=> IMG
     => Basis Components
        => Business Management
           => SAP Business Workflow
              => Basic Settings
                 => Maintain Task Classes.
Once the classification has been added as above you can then add this to
you task. Goto PFTS => Enter task ID => Change Mode => Menu: Addition
data => Classification.
See SAP online help at:
http://help.sap.
com/saphelp_nw70/helpdata/en/c5/e4b5eb453d11d189430000e829fbbd/framese
t.htm

Similar Messages

  • UWL substitution and RMPS_SET_SUBSTITUTE in backend

    Hello group,
    I read a thread posted to this forum:
    Re: UWL Substitution Rule- User Search
    It states among others:
    "If you are using the UWLfor workitems instead of the SBWP transaction, then you will need to maintain substitutions only through the portal.".
    Does this mean that you cannot use tcode RMPS_SET_SUBSTITUTE from backend when using UWL?
    From what I can see, they both update table hrus_d2.  But there may be other implications that I do not see? 
    Br
    Kirsten

    Hi,
    you cannot use tcode RMPS_SET_SUBSTITUTE from backend when using UWL?
    From what I can see, they both update table hrus_d2. But there may be other implications that I do not see?
    I think if you use tcode in backend for substituatiion,user should do in backend only and it may not be available in portal.If you do substitution directly in portal,it will reflect  correctly in both portal and backend,
    You can try both options with tes workflow and see difference.
    Regards,
    Koti Reddy

  • Error in UWL while opening workitem

    Hi All,
    I have implemented a ESS package, have 2 standard workflows Claims and Leave.
    I am getting error in UWL while opening workitem (advance claim) in inbox, error is as below:
    Service cannot be reached
    What has happened?
    URL http://stest.hapl.com:8000/webdynpro/dispatcher/sap.com/essinclaims/ClaimAdvanceApproval_IN call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system DBX with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:stest_DBX_00-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    UWL connection is fine as  workflow is getting trigered and i can see work item in manager's inbox. I have created a  dedicated template system for UWL with Web AS as ECC host:port number and Web AS path as /sap/bc/bsp/sap.
    And maintained other connector and ITS properties and all connection test successully passed.
    As we have only one sever so while creating system using load balacing template, was not able to identify message server name which is to maintained in case load balancing system.
    Please help me finding out where can be the issue.
    Thanks,
    Honey
    Thanks
    Honey

    When registering the system in UWL, specify a WebDynpro Launch System. That should resolve the issue.
    WebDynpro Launch System -- create a system of type WAS and mention the WAS host name and WAS path.

  • UWL Substitution not working

    Dear all,
    We have a problem with UWL Substitutions. We have a backend SRM 7.0 system and the users are trying to do substitutions with the option 'Receive my tasks'. When they do this, the substitutes do not receive all the tasks, but only 4 of them.
    We check the SWWUSERWI table and we see 30 tasks assigned to the 'boss' and only 4 of them assigned to the 'delegate'.
    We have also checked that HRUS_D2 table is correctly updated with the substitution.
    Do you know why the tasks are not being updated with the UWL Substitution?
    Is there a way to manually update SWWUSERWI with substitutions rules?
    Thanks in advance and regards,
    Sergio Martinez

    Hi Manchari
    I hope you are well and many thanks for using the SAP Discussion Forums .
    In relation to the scenario that you have described you mentioned wanting to restrict the external users being displayed for Substitution in Internal Portal. You have setup the UME property and People Renderer Profile, Trusted Attributes settings as per the documentation.
    Now in relation to the above could you kindly confirm that after making these changes did you perform the following:
    Clear the UWL Cache
    Restart the UWL Service
    Now regarding the document you referenced this is the official way that we recommend customers to restrict the people picker.  Unfortunately there really isn't another supported way to achieve this.  We just read all users back from the UME/LDAP, etc.  However, the solution in the blog was signed off by our development team as an achieveable way to restrict the people picker so long as KMC is running on the portal.
    http://wiki.scn.sap.com/wiki/display/BPX/Enhancements+to+the+Universal+Worklist+People+Picker
    In NW 7.01 the people picker functionality is provided by a KM component that supports company related functionality. In NW 7.30 UWL no longer uses KM PP. Instead it uses native PP that lacks company related features.
    Kindly ensure the configurations as per the documentation are configured and setup correctly as the smallest discrepancy may be causing this undesired behaviour:
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/4c/a4199ffd8b4b648ea84c6623ba09c5/frameset.htm
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/83/8698f0f9514f299434bcce8fee4512/content.htm
    Configuring I-View Properties
    http://help.sap.com/saphelp_nw73/helpdata/en/4a/ee9c6588946d62e10000000a42189c/frameset.htm
    Kindly update me as per your findings.
    Kind Regards & All The Best
    Troy Cronin - Enterprise Portal Support Engineer

  • Customizing UWL Substitution WD

    Hi All,
    We have a requirement to customize the delivered UWL Substitution funtionality. I have downloaded the ear file from the portal server and built a new custom DC project from it. In order to build the new UWL/Subst DC I had to add some external jars. I created an external library dc project to hold all the jars. This component is not a deployable component, so I built a J2EE server component of type external library and added the public parts from the external library DC as used DC and deployed to the server.
    Then I added the public part of the J2EE server component DC to the UWL/Subt DC, and  now the application builds successfully.
    The problem is when I try to deploy the UWL/Subt DC , I get an error. I tried various ways of referencing the dependencies, but still get the same error. I have made sure from the visual admin, that the deployed libraries are available on the server. This is the error I get.
    deployment aborted : file:/C:/DOCUME1/XXXXX/LOCALS1/Temp/temp33433XXXXXXXXXuwl~sub.ear
    Aborted: development component XXXXX/uwl/sub'/XXXXX'/'local'/'20081030110255'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application XXXXX.com/XXXXXuwlsub.. Reason: Clusterwide exception: Failed to deploy application XXXXX.com/XXXXXuwlsub. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application XXXXX.com/XXXXXuwlsub. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    Any lead on this one would be helpful.
    thanks,
    AE

    Hi Bala,
    I tried what you have said, but that does not help. I have deleted all the unwanted applications and created a new application with a diff name and deployed, still get the same error. Any other places to check.
    thanks,
    AE

  • A problem about UWL substitution and GP

    Hi, Guys.
         Can UWL substitution mechanism also include gp task? I have some gp tasks in my uwl. When I set someone as my substitution, all of my tasks can be seen by my substitution(besides gp tasks). Is it a system restriction or just I need to do some configuration?
    Thx.

    Hi Louis,
    Please check this thread: Re: Can I forward o define substitution rules for Guided Prodedure tasks?
    Regards,
    Deepti

  • UWL Substitution Changes

    Hi,
    I am working on portal version EP7 SP 10. We can navigate to Create Substituion Rule screen by
    UWL iView -> select Manage substitution -> Click on create Rule button.
    I need to incorporate following changes in this Screen(view):
    1) Changes in "Assignee" (field with search functionality) and "Assign These Tasks" (it is a drop down box) order.
    Under Standard Implementation, we have "Assignee" as 1st field and "Assign These Tasks" drop down is 2nd field.
    According to requirement, we want "Assign These Tasks" drop down as 1st field and "Assignee" field as 2nd field.
    2) Once user select a Task from "Assign These Tasks" drop down. We have search functionality to select Assignee. The search functionality should fetch the data, for selected task. for eg. If user selects HR Tasks(this is custom task), then in search functionality should search all possible users who are eligible for HR task should be displayed.
    UWL substitution component is based on a Web Dynpro application(tckmcbc.uwl.ui~wd_ui/UWLSubstitution). I have downloaded source code for this component from portal server.
    I am having following question :
    1) Is is feasible to change this code? Does SAP recommend it ? Anyone have already changed some part of this Web Dynpro component?
    2) For my 2nd requirement, one useful OSS note(977069) is available. I am unable to find documentation for function modules(SAP_WAPI_SUBSTITUTE_MAINTAIN, SAP_WAPI_SUBSTITUTE_DELETE, SAP_WAPI_SUBSTITUTE_PROF_GET). Can you please help me in finding documentation?
    Thanks in Advance!!!
    Thanks & Regards,
    Shrikant Kamble

    Hi Shrikant,
    I have never worked with Substitution an rules etc.
    As far as ur first question is concerned I am almost sure that u can not change a .ear file( A WD appln).
    Only .pars can be changed. i would suggest u not to waste ur time trying this. Its better to find another way around.
    Regards,
    Sumit

  • UWL substitution with multiple systems

    Hi all,
    I need some help in understanding how an UWL substitution works with multiple systems.
    We are using ESS, MSS and SRM workflows and use UWL for all workflow scenarios.
    All users are using ESS, all managers are using ESS, MSS and SRM.
    In the UWL configuration we defined a role base connection to the backend systems. ESS users can only make a UWL connection to R/3 and not to SRM, manager can make a connection to all systems.
    The problem occurs when a manager assign an other user (not a manager) to manage his of her tasks in case of absence. Because the manager also has the rights to make a connection to the SRM system, the UWL tries now to make this connection with this delegated user. Because the user has no rights to make a connection to SRM an error is generated and no tasks at all are displayed in the user’s inbox.
    If we grant the user right to make a connection to the SRM system, also an error is generated because this user has no user account on SRM.
    Is this a normal behaviour, we only want the user to manage all the managers tasks on R/3 and not on SRM because he/she has no authorisation to do so.
    Kind Regards,
    Evert Schuiteman

    I think this will require a separate development as I feel the forwardind table HRUs_D2 stores only user Id and if you need to set som Personnel number as substitution then the devt. should take care whether any user Id is attached to the the PERNR and then set the substitution.
    Thanks
    Arghadip

  • EP7 UWL Substitution - Is it possible to Default to "All items"

    We have just implemented EP7 and have a question on UWL Substitutions.
    On the EP7 UWL iView a radio button selection box appears at the top if you have been set as a substitute by a colleague. 
    By default this selection is set to "My Items" with the other options available being "Items on Behalf of <colleague>" and "All Items".
    My question is, can this be set to be "All Items" as default and if so how?
    Any help you can provide will be greatly received and happily rewarded with points.
    Regards,
    Steve.

    Hi Larry,
    We did receive a response but it was passed on to another department post upgrade so I am not sure it has been tested/implemented yet:
    <b><i>The view above does not contain customisation
    with regards to the priority of 'Work on', 'My Items', ....'All Items'.
    Therefore the priority of these will be the default as per the
    uwl.standard.xml. This xml contains all of these views for example
    <View name="AllItemsView" ........etc.
    You will have to make a copy of these views associated with each
    radio button and place them in the order you wish to have them displayedor assign the necessary priority to each.
    However this is regarded as customization and is not supported
    by SAP.</i></b>
    Hope this helps.
    Regards,
    Steve.

  • UWL Substitution People Picker

    Hai,
    I want to restrict the list of selected users depended of the user which uses the people picker within the UWL substitution functionality. I have asked this question to SAP and they said that it isn’t possible. Does anyone now a workaround, because many customers find it not acceptable that an user can selected anyone he or she likes.
    With kind regards,
    Remco van de Looy

    Hi,
    The workaround that always worked for me is to explain to the customer why there is not really a need for this. Think about it, you're trusting someone to approve $$$s, but you don't trust them to assign a suitable sub.
    From a legal and SOX point of view, the accountability still rests with the person who assigned the sub, SAP is very deliberately designed such that there is no substitution maintenance functionality in the standard system - ONLY the user themselves can assign a substitute.
    For the few customers that insist, you will have to write your own which isn't that difficult. Use table HRUS_D2 - you can maintain that directly without a problem. The actual rules of who can be a substitute is where things get messy.... You may allow people to delegate po approvals down the chain but HR related approvals upwards only. How exactly are you going to implement these things? Or the sales rep who works for one manager and reports to another? It's far easier and sensible to trust people with a lesser responsibility (picking a suitabnle sub) than what you're already giving them with workflow (approving POs, leave requests etc.)
    Hope that helps,
    Mike

  • Standard Behaviour of Due Date in UWL for SRM Workitems

    We have a deployment of Enterprise Portal which is integrated to SAP SRM (7.02). I have two  queries regarding the standard behaviour of "Due Date" column in UWL:
    1. The column always displays today as the due date for all shopping carts, irrespective of delviery date. I would like to know whether this is an issue and also would be helpful if you elaborate on how is this calculated.
    2. The column is showing blank for any workitems other than shopping carts (Purchase Order change workitem, User change approvals, Invoice approvals etc.)
    Thanks

    Dear ArulPrakash
    I hope you are well and many thanks for using the SAP Discussion Forums .
    With reference to the scenario that you have described you mentioned the following:
    You have a deployment of Enterprise Portal which is integrated to SAP SRM (7.02). You have two  queries regarding the standard behaviour of "Due Date" column in UWL:
    The column always displays today as the due date for all shopping carts, irrespective of delviery date. You would like to know whether this is an issue and also would be helpful if you elaborate on how is this calculated.
    The column is showing blank for any workitems other than shopping carts (Purchase Order change workitem, User change approvals, Invoice approvals etc.)
    Ok regarding your queries kindly let me attempt to provide some clarification and oversight.
    Firstly in terms of the column and the fact it displays todays date as the due date (irrespective of the actual delivery date).  Now from a broad level overview perspective it is possible to change the display of the due date in the UWL.  In the standard xml file you will see the following: <DisplayAttribute name="dueDate" type="date" width="" sortable="yes" format="medium" referenceBundle="due_date" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/> The medium format refers to the output of the field displaying the date as follows: Jun 01, 2014. The short format refers to the output of the field displaying the date as follows: 06/01/14.The long format refers to the output of the field displaying the date as follows: June 01, 2014. The full format refers to the output of the field displaying the date as follows: Tuesday, June 01, 2014. I've attached some reference documentation below for further reference on both your queries.
    Secondly regarding the blank columns for workitems. Here the first thing which needs to be ensured is that SAP Note: 1133821 - UWL Destination Service configuration is followed and setup accordingly in terms of configuration settings and parameters. Now you mention that this is occuring for another other item other than shopping carts? Are custom attributes involed here? Could you please have a look at the help document below to check the bahavior of retrieving custom attributes in UWL? http://help.sap.com/saphelp_nw70/helpdata/en/ef/f2aed99c414f81adacc6b897a6910a/content.htm
    ** Reference Documentation **
    Knowledge Base Articles for Workflow
    http://wiki.scn.sap.com/wiki/display/SRM/Knowledge+Base+Articles+for+Workflow
    Universal Worklist Configuration - DTD
    http://help.sap.com/javadocs/NW04s/current/uw/com/sap/netweaver/bc/uwl/doc-files/uwldtd.html
    Kindly update me as per your findings.
    Kind Regards
    Troy Cronin - Enterprise Portal Support Engineer

  • J2EE Restart Causes Error in UWL Substitution

    Hi Experts,
    We have an unusually problem that we are having a hard time tracking down. We are on NW 7.0 EhnP 0 SP19 and are using the UWL with the substitution active. It worked fine after being setup; UWL users were able to create a substitution with the "successful" link to our Alias. If J2EE is restarted, then the same users get a message that there is a problem with their substitution. The user has to click on the Turn Off button, click on the problem link, click OK, then click on the problem link, then click on the Retry button. At that point, the link turns to successful for the user and for ALL OTHER users on the portal using UWL with a substitution.
    I have searched SDN for anything similar to this but have not run across this issue in any other forum posts. Incidentally, we have done everything in note 1133821 which is how we got it to work in the first place.
    Any help would be appreciated or if you have seen this in a post before, the link to that post would be appreciated also. Anyone run into this problem?
    We will be opening an OSS note about this also.
    Thank you,
    Mark.

    Hi Christian
    It seems that the par file  com.sap.netweaver.bc.uwl.ui has not been deployed properly.
    As a workaround, kindly check the deployment by navigating to :
    \usr\sap\<sid>\<instance-id>\j2ee\cluster\server0\apps\sap.
    com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd and \pcdContent
    If you find any files with .err extension there, kindly remove the .err
    extension and add .bak extension.
    Then restart the J2EE engine.
    Hope it will work !!
    Regards,
    Nitin

  • Problem in UWL Substitution Rules

    Hi all,
        I have created a Substitution Rules for user X from user Y. when user X logins and accepts for user Y's rules but he is not able see the rule above his UWL.
       But when I create a rule for some other user U from user Y, user U is able to get the rule above the users U  UWL.
       Did anyone faced the same problem can help to solve.
    Thanks in advance.
    Ponnusamy

    Have you ensured that the source person actually HAS items in their inbox?
    Because of the way that task processing occurs you might also want to make sure that the source person hasnt already started processing the item.  You should ensure that the task item is "released" in the backend - something as simple as opening the item could cause this.  Once you open an item it is locked into your inbox - I dont believe from memory that these can then be substituted to someone else.
    If all of that appears OK  (and you can actually see the items mixed with your own) then I would suggest you check the properties of the iview and make sure that all "options" (like buttons etc) are turned on.  In EP7.0 there is much more control over what is / isnt displayed to the end user.  Those facilities (filters) you speak about "should" become visible when you have susbstituted items.

  • UWL Substitution Rule Issue

    Hi All,
    We are facing some issues with Substitution rule in UWL on NW portal 7.3 SPS08
    Issue described below,
    One user has created substitution rule by selecting task type "All" and "Fill In For me" option.
    So, as per the standard process this is visible in assignee's login in UWL under "Other users' Sunstitution rule section".
    But here problem is in this section there are two line items with same user name and task type, one for "Take Over" and another for "End Take Over".
    But as these both are from same user and for "All" type of tasks, it should have only one entry. and both "Take Over" and "End Take Over" should be operated from one entry and two entries of same type is not required, Screenshot is attached here with,
    We are required this to be sorted out asap, any help is appreciated...
    Regards,
    Bhavin Anajwala

    Hello,
    In continuation of my earlier...can you please check if Substitution from manager is Activated ?
    SBWP -> Settings -> Workflow settings -> Activate/Deactivate Substitute....
    If it is deactivated......then Login as secretary:
    SBWP -> Settings -> Workflow settings ->  Adopt Substitution....
    Also goto TCode PFTC...
    And check your TASK that is not coming in secratary inbox....
    Select Additional data -> Agent Assignment -> Maintain data....
    Select task and click on attributes.....
    Make sure correct classification is mentioned for this task....it should be same to what has been delegated to secretary......
    If are able to resolve the query then please let us know how...?
    Edited by: Saurabh Agarwal on Jul 20, 2011 11:44 AM

  • VO substitution at Responsibility level

    Substitution is always at site level. Is there any way to set it at Responsibility/Function level? Any pointers on this?
    Thanks in advance
    Murari

    Substitution of VO & AM will always be at site level.
    You will notice that, once substituted, Oracle creates a personalized document at site level for VO.
    On the other hand, a controller can be personalized/substituted at any level, which includes responsibility level.
    Thanks,
    Anil Passi
    http://oracle.anilpassi.com
    Message was edited by:
    user547923

Maybe you are looking for

  • Uso de subVI's

    Olá a todos, criei um PI para uso pessoal, porém na hora de tentar implementar uma subVI para tornar o uso mais prático, a resposta da ação de controle fica diferente da resposta sem o uso da subVI. Alguém pode me explicar como consertar esse erro? O

  • List of deleted sales orders

    How can we find the list of deleted sales order documents. Is there any specific table.

  • Setting System Status for CRM Contract

    Hi I need urgent help for changing the system status in CRMD_ORDER, once the Contract is saved. I tried to use the Function Module CRM_ORDER_MAINTAIN for setting the status. But this FM provides status change on user level. Please guide me how to set

  • Japplet jar file

    hi friends..... i have created an java project in which an japplet file is added. i searched allover in this folder but barring japplet class file and javafile there is not any other file created after running this japplet. actually my quary is how c

  • An unknown error occurred (-42110) when opening itunes after upgrading

    when opening itunes i get "an unknown error occurred (-42110) when opening itunes after upgrading to latest version.