Universal Worklist Item - Add/Get Attachment

Hi everybody,
i'm on NW 7.31 SPS06. I want to receive/push Attachments to/from an uwl item.
i have a process with several human tasks.
Receive Items:
I start my Process and the uwl item is created. I click on the uwl item and in the popup i add an attachment and close it (it is saved).
Now i will get the item with the uwl api:
Properties env = new Properties();
                              env.put(InitialContext.INITIAL_CONTEXT_FACTORY,
                                                  "com.sapportals.portal.prt.registry.PortalRegistryFactory");
                              // create initial context
                              InitialContext ctx = new InitialContext(env);
                              // retrieve UWL service
                              IUWLService uwlService = (IUWLService) ctx
                                                  .lookup("/broker/services/" + IUWLService.ALIAS_KEY);
                              // create context
                              UWLContext uwlContext = new UWLContext();
                              // Get the user for whom the items are to be retrieved.
                              uwlContext.setUser(WDClientUser.getLoggedInClientUser()
                                                  .getSAPUser());
                              uwlContext.setLocale(Locale.getDefault());
                              // begin session with timeout of 60 seconds
                              IUWLSession uwlSession = uwlService.beginSession(uwlContext, 60);
                              uwlContext.setSession(uwlSession);
                              IUWLItemManager itemManager = uwlService.getItemManager(uwlContext);
                              // get standard uwlView
                              UWLView uwlView = uwlService.getViewManager(uwlContext).getView(
                                                  "DefaultView", uwlContext);
                              // refresh the uwl cache and get the actual items (maybe a bit
                              // inperformant)
                              QueryResult result = itemManager.refreshCacheAndGetItems(
                                                  uwlContext, uwlView, null, null);
Item item = result.getItems().get(0);
Now the documentation says, that
item = itemManager.refreshAndGetItemByUwlId(uwlContext, item.getInternalId());
fills the attachment attributes. Unfortunately this is not the case.
Even
getAttachmentHeaders(UWLContext context, Item item)
and
populateAttachmentContent(UWLContext context, Item item, Attachment hollowAttachment)
doesn't do their job. Nothing returns.
Adding items
IPushChannel pushChannel = uwlService.getPushChannel();
                                                  IProviderConnector providerConnector = uwlService
                                                                      .getRegisterProviderConnector(IProviderConnector.BPEM_CONNECTOR_ID);
                                                  Attachment att = new Attachment(null, Attachment.TYPE_TEXT,
                                                                      "ExampleAttachment", "Example Attachment Descr.",
                                                                      "attachmentId", "Author", new Date(),
                                                                      PriorityEnum.NORMAL, "attachmentFile", "txt",
                                                                      "text/plain", 50);
                                                  Attachment[] attachments = { att };
                                                  createdItem.setAttachments(attachments);
                                                  pushChannel.updateItem(providerConnector, uwlContext, item);
Doesn't work. I think the main problem here is, the null attachmentConnectorId. No AttachmentProviderConnector is registered. Do i have to register/create one? Could this also the problem above, in "Receive Items"?
Thanks.
Best Regards,
Michael

Hi Michael,
I am facing a similar issue with adding attachments with the UWL API to an ad hoc workflow item.
I can successfully create and retrieve the the UWL item. However when adding an attachment, the attachment (including the attachment header) is always null when I try to retrieve it.
I think the reason the attachment is null is due to a missing attachment provider connector that has not been registered, but I am not sure how to do this.
Did you get this to work? Thanks,
Stefan

Similar Messages

  • Universal Worklist items open in new window instead of existing frame

    After our recent upgrade we noticed that workitems in Universal Worklist open in new window instead of existing frame.  Do you know if there is a system or universal setting to make all the workitems open in existing frame?  I know we can change the settings for parameters launchInNewWindow and openInNewWindow to "no" in XML files to fix this.   However, my concern is that I would need to do this for each and every task we use.  (still doable but wondering if there is simpler solution)
    Example: 
        <ItemType name="uwl.task.webflow.TS12300097.SAP_R3_CUSTOM_DEV" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria systemId="SAP_R3_CUSTOM_DEV" externalType="TS12300097" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="LeaveRequestApprover"/>
                <Property name="WebDynproDeployableObject" value="sap.com/ess~lea"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>

    We downloaded uwl.standard.xml from UWL admin.  Made a copy and renamed file.  Changed all "launchInNewWindow" from "yes" to "no".  Uploaded new file in UWL admin.  Re-registered systems, cleared cache.  Not sure what exact line changed the behavior but the workitems no longer open in new window.
    We are still experimenting with file in our sandbox environment.

  • Universal Worklist item From showing reverse Name

    Hi Experts,
    We are using ESS/MSS in my organization. in UWL work items are coming from different persons. We have "Subject", "From", "Sent" , "Priority", "Due" are columns available.
    My concern is that the "From" column those names where the work item is coming from shows the name as in reverse order. like "Last Name , First Name".   But ! our users want it to be " First Name , Last Name" sequence.
    Please advice where to change this. I checked it in SU01 TCode where it shows correct order, please suggest where to change it.
    Regards,
    Suresh

    Hi suresh
    person who is  creating the workitem (eg: leave request created by employee) should have a portal login id , "FROM" column in uwl is displayed in such a way that
    system will what is the first name and last name in the portal UME  for that user id , and system will displays the same .
    you need to modify the first name and last name in the portal UME .
    Regards
    Arumugam

  • Universal Worklist - Administration Error --

    Hi Gurus,
    When iam clikcing on Sys Admin>Sys Configuration>universal worklist and workflow>universal worklist-Administartion Iam getting the following error.
    The initial exception that caused the request to fail, was:
    java.lang.SecurityException: Access denied (System admin or super admin role required)
    at com.sap.netweaver.bc.uwl.ui.admin.util.ServiceHelper.initializeUserContext(ServiceHelper.java:166)
    at com.sap.netweaver.bc.uwl.ui.admin.util.ServiceHelper.<init>(ServiceHelper.java:59)
    at com.sap.netweaver.bc.uwl.ui.admin.config.ConfigurationView.wdDoInit(ConfigurationView.java:148)
    at com.sap.netweaver.bc.uwl.ui.admin.config.wdp.InternalConfigurationView.wdDoInit(InternalConfigurationView.java:374)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
    at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
    at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:707)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Thanks inadvance,
    Sriram

    Are you using the J2EE_ADMIN uis?
    Thanks,
    Lye

  • Universal worklist administrator  Error - "Urgent"

    Hi when iam clikcing on Sys Admin>Sys Configuration>universal worklist and workflow>universal worklist-Administartion Iam getting the following error.
    The initial exception that caused the request to fail, was:
       java.lang.SecurityException: Access denied (System admin or super admin role required)
        at com.sap.netweaver.bc.uwl.ui.admin.util.ServiceHelper.initializeUserContext(ServiceHelper.java:166)
        at com.sap.netweaver.bc.uwl.ui.admin.util.ServiceHelper.<init>(ServiceHelper.java:59)
        at com.sap.netweaver.bc.uwl.ui.admin.config.ConfigurationView.wdDoInit(ConfigurationView.java:148)
        at com.sap.netweaver.bc.uwl.ui.admin.config.wdp.InternalConfigurationView.wdDoInit(InternalConfigurationView.java:374)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
         at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:707)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Thanks inadvance,
    Sriram

    Hi Sriram,
    Pl try to access <b>Sys Admin>Sys Configuration>universal worklist and workflow>universal worklist-Administartion</b> by logging onto portal as admin. In case you are able to access the same, you need to make sure that you have admin rights associated with your login id.
    Cheers,
    Vivek

  • Universal worklist iview didn't not display items of  CRM workplace inbox

    Hello experts,
    I had configurated the UWL as follow steps:
    1.Define our SAP system : 
       CMDCLNT100
    2. Create a system alias to uniquely identify the system:
        SAP_CRM
    3. Define exact settings for technical connections:
        Has been difined.
    4. Define how users are mapped:(not difined, we used sso with ticket, and the  
        user name of all SAP system is same )
    5.Test system connections:
       HTTP/HTTPS failed.But the SSO is working fine .
    6.  Add the new system to UWL configuration
        succssful.
    7.Register work item types
       successful.
    8.Connection status :
      successful.
    At the same time , the sso user XC03,XC04 both had the roles SAP_BC_UWL_SERVICE,SAP_BC_UWL_END_USER,SAP_BC_UWL_ADMIN_USER in CRM.
    But there is no items in "task" tab of Universal Worklist iview of Portal user XC03, there are more than 10 items of CRM user XC03 in workplace inbox in CRM.
    On EP7 SP6, CRM 5.0 .
    Urgent! 
    What is the nature reason and solution ?
    BR,
    Jianguo Chen

    Hi Karri,
    could you please give me a link towards the Universal Worklist forum? I could not find it.
    By EDIT I mean the editItem action. (http://help.sap.com/saphelp_nw73/helpdata/en/4a/f09ebd4a5a6d62e10000000a42189c/frameset.htm)
    I tried to only configure the iView by the excludeActions property but I had the same problem, that the 1st iView acted according to the configuration, but the 2nd not.
    In the Detail View, the editItem action can be found in the section "You can also" -> "Edit Task". When I click it, a popup appears where I can edit the task.
    Regards,
    Milena

  • PO Approval Items Workitems are not removed from the Universal Worklist UWL

    Hi,
    Certain of our purchase orders require approval, they are sent to the relevant approver via workflow to their SAP inbox (SBWP) and universal worklist.
    When the user executes the workitem (Approve or Reject) The workitem should be removed from the universal worklist and SBWP when refreshed.
    The problem we experiencing is that the Workitems are not removed from the UWL after they have been executed. The SBWP is behaving correctly and the items are removed.
    It is not all the workitems that have this problem, only certain ones - but there is no pattern.
    Thanks for the help.

    Hi,
    The user B approved the PR accessing the transaction SBWP or via PR transaction directly?
    If via PR transaction directly, then your workflow needs a Wait Event step.
    Regards,
    Kleber

  • Workitem not getting accessed in universal worklist

    Hi all
    i have configured a customized workflow and its working nice in GUI,now the problem is that when a workitem is send to the person ,it is getting displayed in the person's universal worklist but it can not be accessed
    like in SWEFVISU i have maintained both the task and object' visual parameters settings
    like
    task ---the task id used in workflow
    visualization parameter for task--
    object
    object's visualisation parameters
    i mean these 4 settings are there
    from my understanding i have set every entry but its not working
    can any one please advise what settings i have to maintain pertaining to SWEFVISU
    so that i can access my workitem in the persons universal worklist
    any help will be highly appreciated
    best regards
    ashish

    done

  • To remove work item from Universal worklist

    Hi,
    Can we remove work item from Universal Worklist by deleting. We don't want to approve or reject them but want to remove from inbox.
    Is there a way for this?
    Regards
    PV

    Hi Parveen,
    check the below note
    check below note
    Note 49545 - Deleting unnecessary work items
    Koti Reddy

  • Item.add / item.get question

    Hi @ all Gurus,
    i have created a form by screen painter and added three buttons. The first button is the cancel button, the second a print button (should print some things from this form) and a the third button should calculate prices.
    If i add a button by Set oItem = oForm.Items.Add("2", it_BUTTON)a button with function "cancel" will be created. This works fine, but i created this button in screen painter and i want to get the cancel function to this button. I want do this by Set oItem = oForm.Items.Item(1) but this don't work.
    And next, how can i set a user defind query to a button, e.g. when i klick on this button a query will be started and a martix in this form should be filled with datas from this query. Can anyone show me VB6 Code to realize this?
    Thanks a lot!
    Regards Juergen

    Hi Jurgen
    For you to achieve this there will be some programming needed by yourself.
    -You will need fields on the form that will allow the user to type in the info (start date,end date,sales person).
    -These fields are called edittext in sap.
    -These fields then need to have userdatasources linked to them, they act like containers to retain data typed in by the user. So you will need to know how to add a datasource and bind them to a field.
    -you will need a refresh button or something to say fetch data and place into the matrix.
    -To get the data you can either use a recordset to execute your query and manually insert the values in the matrix if its a complicated query. OR you can use dbdatasource that will link the matrix columns with certain table columns, you can the load data in that way, this works for simple queries where there is no joins. OR you can use a grid (new in 2005), withn the grid you can link your query to the grid and it will display the values for you.
    Once you have achieved all that you will then need to find a way to print it. My method wont work because you can't place things in the repetitive header. So you will need to use Crystal Reports or print fom vb side. YOUR OWN PRINT METHOD.
    Hope this helps

  • Universal Worklist Configuration

    Hey guys
    Please can someone tell me where I can find a universal wordlist config guide for EP7.0?
    Many thanks in advance
    Jo-lize

    Hi
    This are the steps need to be followed.please do give full points
    The Universal Worklist (UWL) gives users unified and centralized way to access their work and the relevant information in the Enterprise Portal. It collects tasks and notifications from multiple provider systems – SAP Business Workflow, Collaboration Task, Alert Framework and Knowledge Management Recent Notifications - in one list for one-stop access.
    Administration and configuration for the Universal Worklist (UWL) is described.
    General Prerequisites
    1.     As an administrator, you have full administration rights for the Portal and the required business workflow rights in back end system (reference roles such as SAP_BC_BMT_WFM_UWL_ADMIN and SAP_BC_UWL_ADMIN_USER). Refer to SAP note 941589.
    Summary
    Symptom
    UWL administrative and/or end users are not allowed to perform or look up business workflow functions or data in the backend system.
    Reason and Prerequisites
    Corresponding adminsitrative and end users in the backend systems are created from scratch and have zero initial authorization.
    These roles are provided as an option to enable UWL administrative and end user authorization to readily utitlize the APIs of the SAP Business Workflow and relevant basis components remotely.
    (Note: Usually these roles are not needed as backend user is already assigned with roles that have sufficient authorization.)
    Also refer to BWF note 938717 for the corresponding roles required by business workflow.
    SAP_BC_UWL_ADMIN_USER
    For UWL administrative user who mainly deals with business workflow system registration.
    SAP_BC_UWL_END_USER
    For UWL end user to carry out all business workflow actions currently supported in UWL.
    Solution
    The roles can only be imported with a support package
    Header Data
    Release Status:     Released for Customer
    Released on:     25.04.2006  04:57:52
    Priority:     Recommendations/additional info
    Category:     Advance development
    Primary Component:     EP-BC-UWL Universal Worklist
    Releases
    SoftwareComponent     Release     FromRelease     ToRelease     AndsubsequentSAP_BASIS     60     640     640      SAP_BASIS     70     700     700     
    Highest Implemented Support Package
    SupportPackages     Release     PackageNameSAP_BASIS     640     SAPKB64017SAP_BASIS     640     SAPKB64019SAP_BASIS     700     SAPKB70008SAP_BASIS          
    Summary
    Symptom
    This note delivers two roles (PFCG) with the authorizations required to display and edit Business Workflow work items in the universal worklist.
    SAP_BC_BMT_WFM_UWL_ADMIN
    This role has the workflow authorizations required to perform the configuration for the Business Workflow connection in the universal worklist. These are authorizations for Business Workflow interfaces on the back-end system. The role does not have any authorizations for the portal or other interfaces used by the universal worklist.
    SAP_BC_BMT_WFM_UWL_END_USER
    This role has all workflow authorizations required by end users to be able to edit Business Workflow work items with the universal worklist. The role does not have any authorizations for the portal or other interfaces used by the universal worklist.
    You can either use the two roles directly or as templates for your own roles.
    Note 941589 contains more information about roles with authorizations for the universal worklist.
    Other terms
    Universal worklist
    Solution
    The roles can only be imported with the relevant Support Package.
    Header Data
    Release Status:     Released for Customer
    Released on:     20.04.2006  07:43:26
    Priority:     Recommendations/additional info
    Category:     Advance development
    Primary Component:     BC-BMT-WFM Business Workflow
    Secondary Components:     EP-BC-UWL Universal Worklist
    Releases
    SoftwareComponent     Release     FromRelease     ToRelease     AndsubsequentSAP_BASIS     60     640     640      SAP_BASIS     70     700     700     
    Highest Implemented Support Package
    SupportPackages     Release     PackageNameSAP_BASIS     640     SAPKB64017SAP_BASIS     700     SAPKB70008
    Related Notes
    941589 - UWL: administrative and end user roles
    Attributes
    1.     Make sure that each user is known to all connected SAP systems as per role requirement (make sure that there is one-to-one mapping between the portal user and the backend user)
    If an iView is based on a system object defined in your system landscape, you must assign user permission for the relevant user, group, or role to the system object, as well. User permissions assigned to a system permits the iView to retrieve data from the respective back end application through the system object at runtime.
    2.      Each connected SAP system for back end system (below release 7.0, WP-PI plug-in 6.0) has the connection to its respective SAP Internet Transaction Server (ITS)
    Authorizations needed for working with Business Workflow
    Normally, when the corresponding back end system user already has the correct authorization to work on the Business Workflow directly, no additional setup is required when working in UWL. However, manual configuration to assign RFC access authorization to the following function groups may be needed (Note: this is not common):
    1.     &#9679;      Function group and transaction SWK1 (for back end systems using WP-PI plug-in)
    2.     &#9679;      Function group SWN_UWL_WL (for back end system on release 6.40 and above, without the need of WP-PI plug-in)
    3.     &#9679;      Function group SWRC, SSCV (for all cases)
    4.     &#9679;      Authorization rights for SDTX
    User Mapping:
    1.      Navigate to User Administration ®&#61472;&#61513;identity Managementà User Mapping.
           2.      There are three scenarios:
    &#9675;     Portal user ID is different than the back end SAP user ID and back end SAP user IDs are different in all back end SAP systems connected to the portal (UIDPW)
    1.      Maintain the user mapping for each portal user corresponding to all the respective back end systems
    2.      Portal user ID is different than the back end SAP user ID and backend SAP user ids are the same in all back end SAP systems connected to the portal (logon ticket)
      Maintain the user mapping for each portal user to the reference system
    3.     Portal user ID is the same as the back end SAP user and back end SAP user IDs are the same in all back end SAP systems connected to the portal (logon ticket)
    1.       No user mapping is necessary
    User Permissions
    According to the prerequisites, if an iView is based on a system object defined in your system landscape, you must assign user permission for the relevant user, group, or role to the system object, as well.
    User permissions assigned to a system permits the iView to retrieve data from the respective back end application through the system object at runtime.
         Procedure
           1.      Navigate to System Administration  ® System Configuration  ® Portal Content. Open the folder where the existing systems were created.
           2.      From the available system list, click with the secondary mouse button on the system name and choose Open  ® Permissions.
           3.      Assign permissions. Make sure that under the Administrator column you assign Read permissions for the assigned role (for example for role eu_role). Also mark the check box End User.
           4.      Choose Save.
         Registering the Provider Systems
    Each UWL iView can retrieve work items from multiple Business Workflow back end systems. Register each back-end connection to be used with the following procedure:
    On the port...
           1.      On the portal, choose System Administration ® System Configuration ® Universal Worklist and Workflow ® Universal Worklist Administration.
    The Universal Worklist Systems list appears. Here you can define connectors and systems as item providers for the Universal Worklist.
           2.      To add a new entry, choose New. To edit existing information, select (highlight) the row and choose Edit.
           3.      To save the current system registration, choose Ok.
           4.      Multiple system connections are defined by repeating the above steps 1 to 3.
    Table describing the parameters
    Parameter     Description and Use
    Connector     This is the identifier with which the connector is registered. It indicates the type of items retrieved through the connection. For example: WebFlowConnector.For connector types WebFlowConnector or Alert Connector item types have to be registered with the UWL service after defining a new system connection.
    Configuration Groups     Leave this blank, when working with the default UWL iView. You can add a number of configuration groups separated by commas but only one configuration group per iView. first installed, one UWL iView is defined.  The System Configuration Group property for that iView is empty (blank). This means that no System Configuration Group is named, but in effect there is only a single group. The default behavior for the blank setting is this: when any user logs onto the UWL iView, UWL tries to log that user onto all registered back end systems. There is a limitation with the blank setting. When a large number of systems are accessed during log on, the overall portal load is increased. Also, the user receives error messages from those back end systems that have no user account for the particular UWL user. For large system landscapes do the following:...       1.      Partition back end systems into groups. This is accomplished by creating additional UWL iView instances, each of which refers to a specific group of backend systems. The group is defined, using the System Configuration Group iView property.       2.      Then use the value of the System Configuration Group property when registering back end systems by placing it in parameter Configuration Group, when you register the SAP system.
    System alias     The name of the alias for the back end system, as defined in the system landscape. The length cannot exceed 25 characters.If Web Dynpro applications are configured on a SAP NetWeaver Application Server which is different from the SAP NetWeaver Application Server of the system alias, then specify that system alias as a Web Dynpro system
    Web Dynpro Launch System     Enter the Web Dynpro system name if the SAP NetWeaver Application Server for the system is not the same as that running the Web Dynpro.Leave empty otherwise
    User Roles     Restricts who can get work items via the user role. For example, you can assign a portal role here, such as buyer. Only users with the role buyer will see items from the provider system in UWL.You can have multiple user roles separated by semi-colon. By specifying user roles for the portal users, it can be restricted as to who gets the work items in UWL.  For example, you can assign a portal role to a user, such as buyer.  Only users with the role buyer will see items from a system, for example, B7QCLNT000 in UWL.
    Pull Channel Delta Refresh Period (in Seconds)     Delta Pull mechanism of UWL enables new items to be fetched from the back end SAP systems every minute by default every 60 seconds, and every 30 seconds for alerts. However, this can be configured. The user does not need to use the refresh function to update the inbox. Once items are retrieved, timestamps are updated for the users whose items are successfully retrieved. These retrieved items are updated in the UWL cache. Setup necessary from Business Workflow to enable Delta Pull MechanismSome configuration settings are required if you use the UWL and the Extended Notifications for SAP Business Workflow. Define the following two batch jobs:...&#9679;      Background job (for example UWL_DELTA_PULL_1), consisting of a single step of ABAP report RSWNUWLSEL in FULL mode, using a report variant.Run the job once a day.1.     &#9679;      A background job (for example UWL_DELTA_PULL_2), consisting of a single step of ABAP report RSWNUWLSEL in DELTA mode (default mode is delta, so report variant is optional).Run the job every one to three minutes (depending on the performance of the back end SAP system).Setup necessary from UWL to enable Delta Pull Mechanism The UWL service user in portal, with user id uwl_service, has to be granted access to the corresponding back end systems. This is a predefined service user provided by UWL. When the back end system is configured in the UWL administration page, an automated process is triggered to create a corresponding UWL service user in the back end system.Check role assignments and profiles status of this automated generated UWL service user and perform user comparison if necessary.&#9679;      If SAPLogon ticket is used (without using user mapping), you first create the system entry. A message about uwl_service user appears. Then in the back-end system give the uwl_service user an initial password. Now edit the system entry.&#9679;      If user mapping is used, you can first configure the back end system in the UWL administration page. Then access the respective back end system to initialize the password for the user uwl_service. Then, do user mapping in the portal as usual for service user uwl_service.In case uwl_service fails to be created in the back end and does not exist, you can manually create a back end user with the id uwl_service and assign the role SAP_BC_UWL_SERVICE and the rights as other end users.ORMap uwl_service to an existing back end user. Make sure that there is no multiple user mapping (there must not be two portal users mapped to the same back end user). This back end user must have the role SAP_BC_UWL_SERVICE.
    Snapshot Refresh Period (in minutes)     All items at the current time are fetched from the backend (for example from the SAP Business Workflow). The cache is synchronized thereafter. New / modified / deleted / updated items are fetched every session (every log on) if you leave the field value empty or enter a negative number.To specify a particular time frame for which the refresh occurs, enter the number of minutes
    The above registration procedure is usually sufficient to use a UWL iView. Item type retrieval and registration requires a connection to the systems and may take a couple of minutes.
    For each system, they are generated as the configuration named uwl.webflow..
    In Manager Self-Service (MSS), the Universal Worklist groups together in Workset: Work
    Overview the various workflow tasks and alerts that are relevant for a manager.
    The standard MSS delivery includes the configuration file com.sap.pct.erp.mss.001.xml for the universal worklist.
    1. In the portal, choose System Administration →&#61472;System Configuration →&#61472;Universal
    Worklist and Workflow →&#61472;Universal Worklist →&#61472;UWL Systems Configuration.
    2. Create the following system connections:
    If you have already registered a suitable connector to the system connected to
    the system alias, the existing connector is sufficient and you do not have to
    register an additional one.
    &#9675; System alias: SAP_ECC_Financials
    Connection types:
    &#9632; WebFlowConnector
    &#9632; AlertConnector
    &#9675; System alias: SAP_ECC_HumanResources
    Connection type WebFlowConnector
    &#9675; System alias: SAP_SRM
    Connection type WebFlowConnector
    Leave the Web Dynpro Launch System field blank for all system connections.
    With regards
    subrato kundu

  • Universal Worklist task restrictions for ECC transactions

    All,
    We are on NW04 and have recently implemented the Universal Worklist (UWL) and have limited our tasks displayed to just two tasks as specified below as mentioned in thread: UWL restrict list of tasks to display .
    supportedItemTypes="uwl.task.webflow.TS21300098, uwl.task.webflow.TS90700186"
    These are both Web Dynpro java tasks (and configuerd in the Visualization SWFVISU) and this works as expected.  We would now like to add a new task which is not web dynpro.  It is a dailog task to an ECC transaction.  If I add the task to the string of supported item types, it does not appear.  If I remove the restrictions and change the supporteditemtypes parameter back to "uwl.task", then the new task appears and executes correctly.
    Can anyone assist with getting the transaction task to be a supported item type?  Do I need to add visualization for this task?  If so, what is the visualization type?  The options in the drop down in SWFVISU do not seem to apply.
    By the way, the approval task I'm adding is delivered task TS40007901 for approval of the CATS Timesheet.
    Any help is appreciated.  Thanks in advance.
    -Jeff-

    You can call also pages using the IViewLauncher.
            <Action name="launchWebDynPro" groupAction="" handler="IViewLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="iview" value="ROLES://portal_content/Fresenius/kabi_nl/Iviews/ESS/Zeitmanagement/com.fresenius.Abwesenheitsmitteilung"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="DynamicParameter" value="wi_id=${item.externalId}"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
    But why would you want to have the navigation too in a new window ?
    That would confuse me as a user to have 2 navigations in 2 windows.
    The problem with UWL in general (using a popup) is that after you are finished in the popup,
    the task is still there. I get lots of complaints; waiting for EhP3 or 7.3. There should be a instant refresh UWL feature.....
    Regards,
    Kai

  • Can we  add new attachment outside SC(like from custom page on SoCo PO)  to existing SC ?

    Hi Experts,
    Need your expert advice on the below requirement.
    We have created a custom view in SoCo PO page. There we have a New custom view called Notes&attachement.which contains same value from Notes & attachment of Shopping Cart.
    We are updating existing Notes of SC by FM 'bbp_pd_sc_update' and same is reflected in SC of same item guid & same header guid.
    Similarly trying to add a new Attachment to already existing attachment. New attachment is reflected in custom page and the describe link is working perfectly. but if come out of SoCo page , lets say in SC the new added attachment is shown but display_url,phio_size,disp_url etc are not stored properly in DB.
    in bbp_pd transaction every thing looks same for new and existing attachment. we are using same FM 'BBP_PD_SC_UPDATE' by passing new internal table of attachment in import statement. Even 'BBP_PROC_DOC_UPADTE' has same result that is new attachment is partially updated.
    Suppose, SC has one attachment at the time of creation. then adding a new attachment in custom view of SoCo PO page then every thing works fine in SoCo PO page but out of that SoCo PO or in SC the newly added attachment is not properly updated.
    I have added mime_type,phio_size,disp_url,file_name,file_ext,ev_content,phio_content of new attachment in existing attachment internal table and calling above FM for update.
    Can we  add new attachment outside SC to existing SC ? if yes , then how?
    Thanks,
    Partha

    Your attachments are saved in BBPCONT you can use below steps to check that , I think you can develop a solution inline to the standard architecture. 
    a) Run FM BBP_PD_XX_GETDETAIL
    b) Use GUID from the Export parameter ET_ATTACH-GUID
    c) Use table BBPCONT and pass ET_ATTACH-GUID in step (b) to PHIO_ID .
    d) Then you will have the document content.
    You will get the attachment
    Cheers
    Ankit Jain

  • Document is not getting attached to PO

    hi experts,
                   I have create a z docu type and oject link as EKPO and additional link as matcomp.when i create a new document and make the status as released.Its not getting displayed in me22n.Do i need to do any furthur coustamizations for this..Please reply

    Dear Priyanka,
    I think your customizing is ok for attaching Document in PO Item.
    First attaching Document to PO Item you need to go in ME21N ( Create PO) Transaction.
    Then go to Item Overview Button, here 1st you have to add one po item then you have to click on "Documents" push buttuon. This button is near to "Filter" button. Select here your required document which you want to attach with PO Item.
    Say Ok & Save.
    Now your document is saved with PO Item. That you can see in ME22N ( Change PO) & ME23N (Dispaly PO) transction.
    Sandeep

  • Error Naviating in Universal Worklist

    Hi All,
    If I click on an item in the universal worklist (i.e. trip approval) I am taken to the aproval screen here I get an option to 'Display Details in SAP GUI'.
    If I select this I am taken to the details screen.  If I then try to select back/cancel to exit SAP GUI I am taken to the ITS log-off page and not back to the universal worklist.  
    Does anyone know how to get the navigation back to the universal worklist to work?
    Many Thanks,
    Paul

    Hi Paul,
    Did you get a solution to ur problem?
    If yes, kindly share it please.
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

Maybe you are looking for

  • Called party number on phone display - updating with results of translation on GW, not wanted

    Call Manager 9.x, IOS 15.1, H.323 gateways Hi, I've got 2 questions regarding the called number display on handsets. Essentially, when a user dials an external number it's obviously shown on their phone handset screen - when that number is manipulate

  • 2 RAC database in the same box

    Hello, I have a RAC env composed of 2 nodes. The database name is dbfunc1 and it is in 11gR2 version under Redhat Linux 5; this is a test env. Now we need to create another RAC database in the same hosts with database name dbfunc2 with exactly the sa

  • How to execute exact match & contains text search simultaneoulsy in Oracle 10g

    Hi, We have scenario where there are more than 50 million rows in a table with description column length as 1000 character. We have a web interface from where we generate a rule of comma separated keywords like "Standard", Single, Cancel, "deal"    &

  • PO Item Deletion ON Final Release

    Hi , Can u tel me , purchase order is released by three levels of approvers then any one delete the released po line item through me22n transaction a mail should go to the all released approvers . on deletion after final release CHANGE event is trigg

  • Front Row movie trailers not working

    Hi all, Is anyone else experiencing trouble with the movie trailers on Front Row? Whenever I select Movie Trailers I immediately get the message "The movie trailer server is not responding" instead of the list of movies. This happens immediately as t