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

Similar Messages

  • 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 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

  • 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

  • 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 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

  • 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 - Get substitute user details

    Hi
    We have created a custom workflow with tasks in our ECC system.
    We are maintaining the list of users/agents who participate in the workflow in a custom table.
    We have integrated this workflow/tasks with UWL and published it on Portal.
    We need to provide a feature for delegation or substitution when the user is on vacation. UWL provides this feature through "Manage your substitution rules".
    Our requirement is:
    Once delegated or substitution rule is created, we should be able to update the custom table with the new substitute user details.
    Can anyone help us with this requirement?
    Landscape details: SAP ECC 6.0, EP 7.0 - 2004s
    Regards,
    Aditya

    Hi,
    Refer the below article & links to fix it.
    Refer page 47 to 51 in this [Article|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70f43b13-284f-2a10-5898-93fe3dc004b4].
    Refer these [Link1|http://help.sap.com/erp2005_ehp_04/helpdata/EN/0b/1fc20097b74c41b38621ec2a9454bb/frameset.htm] [Link2|http://help.sap.com/erp2005_ehp_04/helpdata/EN/ae/b82ccbe10611d2a62f0060087a79ea/frameset.htm] [Link3|https://wiki.sdn.sap.com/wiki/x/0j0 ].
    Regards,
    Surjith

  • 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

  • Problem with UWL substitution - ASAP

    Hello,
    When creating a Manage Subtitution Rule we have the button to create rule and delete the record. In this i would like to disable the delete button only.
    The property option in UWL iview is to disable both create and delete button.
    So can anyone help me to figure out a solution to this problem as the delete button would delete my record from the table which we donot want.
    Is there any alternative to save all the substitution records even after deleting them.
    Thanks.
    Points are rewarded

    Hi,
    The template you used is different.
    Try to create a java webdynpro iview and in the package you will find substitution application variant.
    After creating the iview open the preview and here you can use CTRL plus right click and personalize.
    Thanks and Regards,
    gopal

  • GP and UWL: Substitution

    Hello all,
    I have successfully implemented GP with UWL, therefore all GP Tasks are also shown in the UWL.
    Yet the main reason for implementing GP with UWL was, that we wanted to use the Substitution functionality of the UWL. I started some GP Processes in order to have some examples to test, but the substitution didn't work for the GP Tasks. All other task were submitted to the user who was defined in the substitution rule.
    Does anybody know, if I did something wrong in my configuration?
    Kind regards
    Lissi

    Hello David,
    thanx for your quick reply. Is there something like a workaround how I can forward task which should have been executed by me to another person? This means, that the person, who has to execute these tasks should be able to take them over. e.g. if I'm unexpected absent?
    I already tried the substitution function provided by GP - yet this functions just works for initiation of a process on behalf on another person.
    Kind regards
    Lissi

  • UWL Substitution rules : Problems reported (repairable)

    Hello,
    I have a poblem with the substitution rules within the EP7.0  (our backend system is ECC6.0).
    I have created a substitution rule and have set it active.
    When I have a look later on to the management of substitution rules, i always get an error message: "Problems reported (repairable)" --> "Substitution rule is not defined in the system" (System: SAP_ECC_UWL --> this is our system alias for uwl in the EP). When I push "retry" the substitution rule is succesfully registered again.
    But the next time when I have a look onto it, i get the same error message.
    I checked out the substitution rule, it worked (that means the substitute see the work items in his uwl), but why there is this strange error message ???
    Thanks for your help.
    Regards,
    Stefan

    Hi all,
    I got a similar error:
    - Whenever I create a substitution rule, activate it and press then "Refresh", I get two substition rules (for two different users).
    This is highly strange. Does anyone have any hints how to avoid to get these two rules?
    Best Regards
    Philipp Kölsch

Maybe you are looking for

  • How do I set up the email on the my new MacBook Pro to receive "me" email

    how do I set up the email on the my new MacBook Pro to receive "me" email on my Mac. I would like to use Entourage if possible but anything would be good. I am not sure this is the right place but I could not figure out where else to post an email (

  • Simple date range logic

    how to find that my date range not falls in between the specified date ranges, is there any function module for that..         A                 B                                     C  <---- > <---- > <---- >         Myrange                         

  • Strange lines in messages.log

    Hi all, we have RAC installation with two nodes. On both of them is some strange message in /var/log/messages.log written twice per second. Because of this messages.log is growing in size very fast. I'm totally confused which process is responsible u

  • BUTTON function

    I have a button to increase the scale of few items. It's suppose to increase the size with every single click. PROBLEM: When I click the button continuously having the mouse unmoved and over, it wont increase the size. But if I rool out of the button

  • Which folder requires the permission to run OWB client on linux server?????

    I use to login to linux server by Xmanager by windows machine which requires a username and password, when i changed the password recently OWB started showing a error when exiting OWB client open on server throuh XMANAGER, It is asking for a permissi