UWL API in Netweaver CE 7.11

Hey,
I'm trying to create a webdynpro (DC) application that displays the UWL. I found a tutorial on this (Accessing UWL Notifications from Web Dynpro Using UWL API), but it's for NW 7.0 and I can't seem to get it running.
Does anybody have any idea if it is possible in CE 7.11 ? And which DC's you should use for the development?
The package I am missing is : com.sap.netweaver.bc.uwl

Hi
Components : EPBC,EPBC2,EPPSERV and UWLJWF fall under EP Core, so it says that you have EP Core installed.
check it through
http://hostname:port/utl/UsageTypeinfo or sysinfo
Patches available for  UWLJWF component. If you search for a sapnote using UWLJWF and SPnn depending on your patch level.
Best Regards
Satish Kumar

Similar Messages

  • Need help in developing a webdynpro application using UWL API

    Hi developers,
    Iam developing a new WebDynpro application for UWL using UWL API.the functionality is to dispaly the summary of UWL like number of unread items, total items.
    Iam getting the problem while deploying the application, iam getting warning while deployed the application.
    I have given all possible ways mentioned in the below forum link
    Re: Accessing PortalRuntime at runtime?
    The exact problem is coming at reference file.
    Please giude me how to move forward.
    1. Below is the error when given "tckmcbc.uwl~api" in the service entry
    deployed with warning :
    Finished with warnings: development
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/UWLCountDemo and wait. Reason: Clusterwide exception: server ID 21763550:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application local/UWLCountDemo for startup. Reason=Clusterwide exception: Failed to start dependent service ''tckmcbc.uwl~api'' of application ''local/UWLCountDemo''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine?
    2.Below is the error  when i gave PORTAL:sap.com/tckmcbc.uwl~api in the sharing refernce entry
    Finished with warnings: development
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/UWLCountDemo and wait. Reason: Clusterwide exception: server ID 21763550:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application local/UWLCountDemo cannot be started. Reason: it has hard reference to resource tckmcbc.uwl~api with type application, which is not active on the server.
    Thanks in Advance
    Sekhar.
    Edited by: sekhar c on Mar 21, 2009 11:24 AM

    Please see Kenichi Unnai in his blog "How to use UWL API for NetWeaver BPM Tasks"
    How to use UWL API for NetWeaver BPM Tasks
    The .sca-file can be found on the sap service marketplace, afterwards you need to import the .sca-file, add the SC to your "MyComponents" and then you can select your necessary DC's.

  • Developing mobile application (SAP Ui5) using UWL API

    Hi,
    I need to develop a mobile application using sap ui 5 which will fetch the work items from the logged in user's id and when the user clicks on the workitem another custom page should open which will have the details of the task selected.The entire applications needs to be accessed from a smart phone.
    Basically I will be using a hybrid web container for this purpose.
    Do you have sample code or informtaion in this regard.
    Thanks,
    Ranjan.

    Please see Kenichi Unnai in his blog "How to use UWL API for NetWeaver BPM Tasks"
    How to use UWL API for NetWeaver BPM Tasks
    The .sca-file can be found on the sap service marketplace, afterwards you need to import the .sca-file, add the SC to your "MyComponents" and then you can select your necessary DC's.

  • Using the UWL API inside a Web Service

    I wrote a Web Service to get the number of new tasks and the total number of tasks for a user like it is displayed in the UWL in the DefaultView.
    The numbers are retrieved by the following code:
    user = com.sap.security.api.UMFactory.getAuthenticator().getLoggedInUser();
    // JNDI lookup for getting the service because we are not in the PRT container
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sapportals.portal.prt.registry.PortalRegistryFactory");
    InitialContext initialContext = new InitialContext(env);
    uwlService = (IUWLService) initialContext.lookup("/broker/services/" + IUWLService.ALIAS_KEY);
    if (uwlService == null) {
         throw new Exception("Cannot get UWL Service");
    context = new UWLContext();
    if (user == null) {
         throw new Exception("No user");
    context.setUser(user);
    context.setLocale(user.getLocale());
    session = uwlService.beginSession(context, 200);
    context.setSession(session);
    context.setAllowBackEndConnections(true);
    itemManager = uwlService.getItemManager(context);
    UWLView view = uwlService.getViewManager(context).getView("DefaultView", context);
    if (view != null) {
         QueryProperties properties = new QueryProperties();
         properties.setMaxNumberOfItemsToFetch(0);
         QueryResult result = itemManager.getItemsForView(context, view, properties, null);
         totals = itemManager.getTotalAndEmphasizedItemCountForView(context, view, "", null);
    In the first step I chose basic authentication. When debugging I see that the web service gets the information about the logged on user. The UWLService, item manager, session and view, all of them are determined resp. created.
    But when calling getItems the UWL exception "Logged in users context or session doesn't exist" is thrown.
    When calling the same functionality from Web Dynpro everything works fine.
    Service and session are determined like this
    uwlService = (IUWLService) WDPortalUtils.getServiceReference(IUWLService.ALIAS_KEY);
    context = new UWLContext();
    IUser user = WDClientUser.getLoggedInClientUser().getSAPUser();
    wdContext.currentUIStateElement().setUserName(user.getFirstName() + " " + user.getLastName());
    context.setUser(user);
    context.setLocale(WDResourceHandler.getCurrentSessionLocale());
    session = uwlService.getUwlSessionForWebDynproClient(context);
    Does anyone know how to work with the UWL API in a web service context?
    Thanks in advance
    Antje

    Hi Experts,
    We are also facing the same issue as of Yomesh.
    The strange part here is that, yesterday, the code was fetching the User and we were able to run the whole web service.
    Suddenly, this doesnt seems to be working today. And after debugging, we found that, the User is not being returned with the below code:
    user = UMFactory.getAuthenticator().getLoggedInUser(wsContext.getHttpServletRequest(), null);
    Any help is highly appreciated.
    Thanks in Advance!!
    BR,
    Uday

  • Error while using the UWL APIs?

    Hi All,
    I am using the UWL APIs for Task generation.
    Following line is giving error in my code :
    <b>IUWLService uwlService =
                             (IUWLService) PortalRuntime.getRuntimeResources().getService(
                                  IUWLService.ALIAS_KEY);
          UWLContext myContext = new UWLContext();
              try {
                  IUWLSession mySession = uwlService.getUwlSessionForWebDynproClient(myContext);
                catch (Exception e) {
                   response.write("Can not create session");
                                                 [</b>
    The error is " The method getUwlSessionForWebDynproClient is undefined for the type IUWLService
    Please help. I am using the right jar
    <b><property name="ServicesReference" value="SAPJ2EE::library:tckmcbc.uwl~api"/></b>
    Please help.
    Marks given for early and helpful replies.
    Sumit

    Hi All,
    This is just to share my experience.
    I haved solved the problem by adding the SAP:J2EE library reference to the above library in Deployment Descriptor.
    Sumit

  • Accessing UWL API from Web Dynpro Java

    Hi experts,
    I need to retrieve the data from UWL into Web Dynpro java, I have gone through many blogs and solutions but since I am new to portal I am unable to a get hang of it. Can anyone provide me step by step solution including codes for my problem?
    Thanks & Regards,
    Amit Sinha.
    P.S. Points will rewarded.

    Hi Amit,
    just gothrough this below link... here they given the coding also.....
    Accessing UWL-API out of Web Dynpro Java
    it may be helpful to you.... pls comeback if you are struck any where......
    Regards,
    Srinivas.

  • Please tell me UWL API

    Hi,
    For accessing items of UWL which API i have to used
    I need to access all notifications of UWL . I need to send notifications to other user also . So can any one tell me how i use api UWL api.
    Regards,
    Gurprit Bhatia

    Hi Gurprit,
    Check the following links which might help you.
    http://help.sap.com/javadocs/NW04S/SPS09/uw/index.html
    http://help.sap.com/javadocs/NW04S/current/uw/UWL_API_SAPOfficeMailExample.pdf
    http://www.sapteched.com/07/emea/edu_sessions/session.htm?id=686
    Thanks n Regards,
    Jhansi Miryala

  • Fetching Tasks Using UWL API

    Hello Experts,
      Currently we are in the process of retrieving the task items assigned to the logged in User in Portal...We are using UWL API for the same. The problem is that when we create a task through the my Tasks Link in Collaboration, the created task is not getting retrieved.
    Please let us know what could be the reason for this....
    Regards
    Kris

    What was the resolution for your issue?
    I am also using the UWL API to retrieve items.  When I clear the UWL cache, the API reports 0 items even if I have some, however, if I load the UWL page, the API starts to report the correct number of UWL items.  I have tried the functions getItems() and refreshCacheAndGetItems(), but neither seem to work after clearing the UWL cache.

  • Use UWL API in a Servet and access the servlet via URL

    Hi All,
    Actually I want to write a servlet from which I will access the uwl items using UWL APIs. And then I will submit HTTP Request to this servlet via url and want to get the UWL items in response. Is it Possible. I know that it is possible to access uwl items from JSPDynpage but is it possible to use it via servlet. If possible please give me some idea. what are the prerequisite.
    Thanks and Regards
    Avijit

    Hello,
    I see your thread is still unanswered, were you able to resolve the problem yourself (if so can you share with others who may have the same problem)? If so can you add anymore details which may help someone else to find an answer?  Or is it ok to mark this post as assumed answered?
    Beth Maben
    EP - Senior Support Consultant II
    SAP Active Global Support
    Global Support Centre Ireland
    **SDN Forum Moderator:
    SAP Enterprise Portal: Application Integration
    **SDN Universal Worklist Wiki:
    http://wiki.sdn.sap.com/wiki/x/ehU

  • Which UWL API needed for Task Generation?

    Hi,
         We have a requirement to create a UWL task and assign it to a user dynamically  at runtime.
    Please provide me the list of APIs needed for this purpose.
    Although I have a list of all APIs of UWL but it is difficult to get the required without experience.
    Relevant APIs with example code will get full marks!!
    please reply!
    Sumit

    Hi,
    I have got this error log :
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[./log/applications/sap.com/uwl/uwl_defaultLog.log]/>
    <!PATTERN[uwl_defaultLog.log]/>
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    <!ENCODING[Cp1252]/>
    <!FILESET[0, 5, 10000000]/>
    <!PREVIOUSFILE[uwl_defaultLog.4.log]/>
    <!NEXTFILE[uwl_defaultLog.1.log]/>
    <!LOGHEADER[END]/>
    #1.5#0013721FB784005C0000004600000DC80004350178D94669#1184180345203#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####c84643602fe011dca8cb0013721fb784#SAPEngine_Application_Thread[impl:3]_18##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB7840062000000220000082C0004350207872A57#1184182738770#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####5e70b3202fe611dc838d0013721fb784#SAPEngine_Application_Thread[impl:3]_8##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLnull#
    #1.5#0013721FB784007C0000000C00000ED00004350DDAFF617F#1184233531871#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####a17cd6f0305c11dc85c70013721fb784#SAPEngine_Application_Thread[impl:3]_18##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLnull#
    #1.5#0013721FB7840075000001BE00000ED00004350E0A60B1DF#1184234326777#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#1397####7b49de91305e11dcb1650013721fb784#SAPEngine_Application_Thread[impl:3]_37##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLnull#
    #1.5#0013721FB784006B0000031A00000ED00004350E0F253868#1184234406763#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#1479####a4d12020305e11dc8c370013721fb784#J-Integra for .NET TP Thread 2##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784007000000050000000C00004350E6357D270#1184235819383#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0##blrkec91547d.ad_ES1_13638250#Guest#af5c8770306111dc9cb70013721fb784#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784006200000054000016F00004350EF7350580#1184238300103#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#533####b6fe34f0306711dcc4890013721fb784#SAPEngine_Application_Thread[impl:3]_38##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784005F00000022000013C40004350F650053F4#1184240142170#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####05886ba0306c11dc875e0013721fb784#SAPEngine_Application_Thread[impl:3]_37##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLnull#
    #1.5#0013721FB7840071000000BC000013C40004350F6AEB28B9#1184240241453#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#613####3c7b5870306c11dcb5c40013721fb784#SAPEngine_Application_Thread[impl:3]_24##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784005D000000510000118C0004351004717E6E#1184242817143#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####3eaa37a0307211dcae960013721fb784#SAPEngine_Application_Thread[impl:3]_2##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB78400750000009D00000D7C00043510657D767A#1184244444273#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#598####fc7d76e0307511dcaa580013721fb784#SAPEngine_Application_Thread[impl:3]_33##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB7840061000000240000154000043510ACCDA92D#1184245641313#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####d3470d10307811dc9d3c0013721fb784#SAPEngine_Application_Thread[impl:3]_5##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLnull#
    #1.5#0013721FB784007A000000C80000154000043510B07C9296#1184245703051#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#561####f3f1ef80307811dc96400013721fb784#SAPEngine_Application_Thread[impl:3]_37##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784007D0000002F00000BC00004351109BEB7D1#1184247199716#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#581####72b75e10307c11dc8b030013721fb784#SAPEngine_Application_Thread[impl:3]_31##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784006600000047000008F0000435133BDDF730#1184256633302#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#1371####65a9fd70309211dca9620013721fb784#SAPEngine_Application_Thread[impl:3]_20##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784006600000048000009E0000435137175AFAA#1184257530898#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#526####7b6bd5f0309411dcc88b0013721fb784#SAPEngine_Application_Thread[impl:3]_13##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784007E000000060000103C000435142CBF61E5#1184260672796#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#0####d2bd55c0309b11dc9b6f0013721fb784#SAPEngine_Application_Thread[impl:3]_18##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLnull#
    #1.5#0013721FB7840062000004520000103C000435143DE08ADA#1184260960084#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#755####79f6c880309c11dc930b0013721fb784#SAPEngine_Application_Thread[impl:3]_11##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784005F0000010B000005B400043523653EB198#1184326045678#/uwl#sap.com/irj#com.sap.netweaver.bc.uwl#Guest#1193####feb0b940313311dc86480013721fb784#SAPEngine_Application_Thread[impl:3]_4##0#0#Error#1#com.sap.netweaver.bc.uwl#Plain###UWLUniversalWorklistService was not bound in #
    #1.5#0013721FB784006A00000027000007A8000435FF4DD1C67E#1185270545369#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :launchUrl#
    #1.5#0013721FB784006A00000028000007A8000435FF4DD2DDA2#1185270545479#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :launchUrl#
    #1.5#0013721FB784006A00000029000007A8000435FF4DEC7F51#1185270547150#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :complete#
    #1.5#0013721FB784006A0000002A000007A8000435FF4DEC880A#1185270547150#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :delete#
    #1.5#0013721FB784006A0000002B000007A8000435FF4DEC892F#1185270547150#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :complete#
    #1.5#0013721FB784006A0000002C000007A8000435FF4DEC8A34#1185270547150#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :accept#
    #1.5#0013721FB784006A0000002D000007A8000435FF4DEC8BC2#1185270547150#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :reject#
    #1.5#0013721FB784006A0000002E000007A8000435FF4DEC8CCE#1185270547150#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :uwlTaskWizard#
    #1.5#0013721FB784006A0000002F000007A8000435FF4DEC91FF#1185270547166#/uwl/service/config#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Administrator#42124####1c5e2af039cb11dc9e9f0013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270386901##0#0#Warning#1#com.sap.netweaver.bc.uwl.core.config.ActionsHandler#Plain### No displayname found for action :complete#
    #1.5#0013721FB784007C00000168000007A8000435FF62DF3901#1185270898626#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Administrator#42124####f041ca2039cb11dc89140013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185270817497##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Plain###com.sap.netweaver.bc.uwl.UWLException: Tue Jul 24 15:24:58 GMT+05:30 2007
    Tue Jul 24 15:24:58 GMT+05:30 2007
    (Item) Item is missing from the UWL persistent cache #
    #1.5#0013721FB784006A00000038000007A8000435FF878C711D#1185271513903#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Administrator#42124####5efd9bf039cd11dc81750013721fb784#ID\#(J2EE13638200)ID13638250DB20068940681557766111End.WID1185271507924##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Plain###com.sap.netweaver.bc.uwl.UWLException: Tue Jul 24 15:35:13 GMT+05:30 2007
    Tue Jul 24 15:35:13 GMT+05:30 2007
    (Item) Item is missing from the UWL persistent cache #
    #1.5#0013721FB7840075000001B3000007A8000435FFE584FEF8#1185273090481#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Administrator#42371####0ab4521039d111dc8a260013721fb784#ID\#(J2EE13638200)ID13638250DB2009470336408950417End.WID1185273074972##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Plain###com.sap.netweaver.bc.uwl.UWLException: Tue Jul 24 16:01:30 GMT+05:30 2007
    Tue Jul 24 16:01:30 GMT+05:30 2007
    (Item) Item is missing from the UWL persistent cache #
    #1.5#0013721FB7840065000001AF000007A8000435FFFA21790E#1185273436284#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Administrator#42371####d8d1abc039d111dcbd460013721fb784#ID\#(J2EE13638200)ID13638250DB2009470336408950417End.WID1185273082582##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Plain###com.sap.netweaver.bc.uwl.UWLException: Tue Jul 24 16:07:16 GMT+05:30 2007
    Tue Jul 24 16:07:16 GMT+05:30 2007
    (Item) Item is missing from the UWL persistent cache #
    #1.5#0013721FB784007000000162000007A8000436011AE0CA66#1185278280705#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#inf71850#42901####1fb6c6a039dd11dcac630013721fb784#ID\#(J2EE13638200)ID13638250DB2009470336408950417End.WID1185278235413##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Plain###com.sap.netweaver.bc.uwl.UWLException: Tue Jul 24 17:28:00 GMT+05:30 2007
    Tue Jul 24 17:28:00 GMT+05:30 2007
    (Item) Item is missing from the UWL persistent cache #
    #1.5#0013721FB784006000000015000007A8000436011B8985EE#1185278291768#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#inf71850#42901####26c124e039dd11dc92330013721fb784#ID\#(J2EE13638200)ID13638250DB2009470336408950417End.WID1185278235413##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper#Plain###com.sap.netweaver.bc.uwl.UWLException: Tue Jul 24 17:28:11 GMT+05:30 2007
    Tue Jul 24 17:28:11 GMT+05:30 2007
    (Item) Item is missing from the UWL persistent cache #
    Please help me if anybody faced this situation error.
    regards,
    Sumit

  • Need help in using a API

    I am new to flash . And my doubt may seem very trivial. I hae
    a problem using the Flash administation API "getLiveStreams()" . I
    am supposed to get the list of all live streams. However in the
    client when i do
    nc.call("getLivestreams",responder); i don't get any return
    value . Do i need to set any variables before calling this ? or how
    should i parse the output after calling the function. Any inputs
    would be highly appreciated

    Please see Kenichi Unnai in his blog "How to use UWL API for NetWeaver BPM Tasks"
    How to use UWL API for NetWeaver BPM Tasks
    The .sca-file can be found on the sap service marketplace, afterwards you need to import the .sca-file, add the SC to your "MyComponents" and then you can select your necessary DC's.

  • UWL Item URL Links

    Hello Experts,
    I have created a Webdynpro application in which i have the UWK Items. I am able to read all the properties of the items.
    But I don't know how to create the URL for the specific ITEMS,  to open the item, when clicked.
    Can you please provide me information of how to create the specific Item URLs, which i can link to the Item.
    Regards,
    Gursimran Singh

    Hi,
    Try the following
    package samplepackage;
    import java.util.Iterator;
    import java.util.Locale;
    import java.util.Properties;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import com.sap.netweaver.bc.uwl.IUWLItemManager;
    import com.sap.netweaver.bc.uwl.IUWLService;
    import com.sap.netweaver.bc.uwl.IUWLSession;
    import com.sap.netweaver.bc.uwl.Item;
    import com.sap.netweaver.bc.uwl.ItemCollection;
    import com.sap.netweaver.bc.uwl.QueryResult;
    import com.sap.netweaver.bc.uwl.UWLContext;
    import com.sap.netweaver.bc.uwl.UWLException;
    import com.sap.security.api.IUser;
    import com.sap.security.api.UMFactory;
    public class Sample {
      public void retriveItems() {
        try {
          // look up UWL service
          IUWLService uwlService = findService();
          // define session timeout perios
          final int sessionIdleTimeout = 60;
          // create context
          UWLContext uwlContext = new UWLContext();
          // find logged in user.
          IUser user = //TODO Get the user for whom the items are to be retrieved.
          uwlContext.setUser(user);
          uwlContext.setLocale(Locale.getDefault());
          // begin session
          IUWLSession uwlSession;
          uwlSession = uwlService.beginSession(uwlContext, sessionIdleTimeout);
          uwlContext.setSession(uwlSession);
          IUWLItemManager itemManager = uwlService.getItemManager(uwlContext);
          QueryResult result = itemManager.getItems(uwlContext, null, null);
          ItemCollection items = result.getItems();
          Item item = null;
          for (int i = 0; i < items.size(); i++) {
            item = items.get(i);
            Map params = new HashMap();
            params.put("taskId", item.getExternalId());
            String executionURL = WDURLGenerator.getApplicationURL("sap.com/tcbpemwdui~taskinstance", "ATaskExecution", params);
            //TODO Add code send mail which contains above URL.
        } catch (UWLException e) {
          e.printStackTrace();
        } catch (NamingException e) {
          e.printStackTrace();
      // look up UWL service
      private IUWLService findService() throws NamingException {
        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);
        return uwlService;
    which is taken from the following blog : <br>
    /people/kenichi.unnai/blog/2009/10/19/how-to-use-uwl-api-for-netweaver-bpm-tasks

  • Not receiving all tasks in UWL (IUWLItemManager)

    I'm creating an stand-alone application for the UWL (so you don't have to use the portal), and I followed this blog:
    /people/kenichi.unnai/blog/2009/10/19/how-to-use-uwl-api-for-netweaver-bpm-tasks
    My problem is that I'm not receiving all my tasks with the IUWLItemManager, I only get some old completed tasks!
    I already took a look at the uwl API link provided, but I couldn't find anything.
    Does anyone have any idea why I'm having this problem?
    Thanks in advance!
    Lynne
    ps I'm using NWDS CE 7.11

    I was able to solve my question myself:
    using the method
                   QueryResult result = itemManager.getItemsForItemType(uwlContext,ItemType.UWL_ITEM_TASK, null, null);
    I get the tasks I was looking for. The other method seems to only give back a selection of items (allready completed etc.)

  • Need help in creating a sample application using Oracle I\PM 10gR3.

    I am a new to Oracle I\PM 10gR3 and I need a guide to create a sample
    application using Filer and a sample Process.
    I have searched the net and was unable to find any documents. If any body has
    any kind of guide to create an application please let me know.
    Waiting for a response.

    Please see Kenichi Unnai in his blog "How to use UWL API for NetWeaver BPM Tasks"
    How to use UWL API for NetWeaver BPM Tasks
    The .sca-file can be found on the sap service marketplace, afterwards you need to import the .sca-file, add the SC to your "MyComponents" and then you can select your necessary DC's.

  • KM errors out on SP16 Java sneak preview

    Any ideas with this one?
    i have installed the full SP16 Java preview and all runs as expected, expect KM that is.
    Initially post install I had to change the repository manager path for /etc to my local sapmnt share. Now I can see into the /etc directory but when I access KM Content from the Content Admin role I get red runtime messages. Furthermore in System Admin>Monitoring>KM the cache service and most of the scheduler services are red.
    Has anyone else got this problem?
    I have now installed the sneak preview twice both times onto clean os installs and get exactly the same symptoms. As I said everything else portal and nwa work as advertised.
    Thanks in advance.

    Hello,
    Our main purpose is how to get workitem data with EP UWL. Then we will be able to transfer the date to webservice directly.
    so the question are:
    1. Will the workitem data be update into kmc_uwl_items table when creating or modification from ERP?
    2. If it's not this table, how to fetch workitem data directly?
    I have checked the blogs and code sample: /people/kenichi.unnai/blog/2009/10/19/how-to-use-uwl-api-for-netweaver-bpm-tasks
    We can use these codes to get bpm task itsms,But we can not get WORK ITEMS FROM ERP SYSTEM even 3 or more hours later after creating some tasks.
    Could anyone help me? Thanks.
    San

Maybe you are looking for

  • Error while consolidating. The operation could not be completed.

    Error while consolidating. The operation could not be completed. Cocoa error 13. (null) Got this when I was trying to consolidate some referenced photoshop files. If failed to create a new version as well when I tried to open the files in Photoshop.

  • Error monitoring abap proxy in WorkBench

    Hi all... I have a problem monitoring an abap proxy in RWB. I receive this message when i try to see the details of the message (Message Content and Queue Monitor options in Message Display Tool) in message monitoring in RWB: User PIRWBUSER has no RF

  • How can I combine the nav bar and menu bar on the same line to save space?

    Firefox v29 seems to be a huge step backward in customization. I need to save space for content so previously I turned off tabs and combined the menu bar and nav bar on the same line. The url space is way too long anyway. Now with v29 all my customiz

  • Swf files in Dreamweaver

    I have created a Flash .swf file for the intro page on a web site. Everything seems to work fine, except that for an instant, or sometimes a moment, the area on the page where the movie will play displays white. The movie is playing over a background

  • Can the Com port on the EX90 be connecting to an AMX NI700 to receive command?

    if so, what are the pinouts for the EX90? (TX/RX/GND) The AMX uses pin 3 for TX, Pin 2 for RX and Pin 5 for GND. I have been using an RJ45 cable and trying to match pins but I am still not getting a TX signal. Also, does the COM port need to be enabl