WD java application in UWL link has authentication problems !

Hi ,
    I am facing a starnge problem in UWL. I am trying to open an WD Java application upon clicking of UWL workitem. In the WdDoInit() method I have RFC present in R3-HR system. but Rfc execution could not be done when I click UWL work item and it opens in a new window. When I execute same application from place like through an Iview, it works fine. I feel WD_MODELDATA_DEST tickets are not being passed .
for the work arond I made application prperty Authentication to true. When I opens for the first time , application hits rfc n fetch out data. but strangely on the second time onwards it prompts me for user authentication.
Kindly give me possible solutions .
Thanks
Abhay

Hi,
1. Have you done the all the visualization settings in SWFVISU?
2. If yes then did you re-register the server you are using?
2. Are you able to view the WDJ view while clicking the link in UWL?
and one more thing WdDoInit() will execute only once.
please check the above things
Regards
SM Nizamudeen

Similar Messages

  • Webdynpro java application in UWL

    Hi Experts,
          My requirement is we  had one Java application , we need to link up this application into UWL  , and every month end who is accessing that application that guys have to get alert for to fill that form
        My question is is there any chance to link up this java application into UWL , please help on this issue or any possible ways is there.
    Thanks
    Renuka

    Hi Renuka,
    Have you had a look at the Javadocs?  The API is listed here and could fullfill your needs.  I have seen other customers build their own custom connectors to link to their own custom applications with the API documentation and coding:
    http://help.sap.com/javadocs/
    When you get to the main page, pick the version that you are working with, and then select Universal Worklist API's.
    Beth Maben
    EP - Senior Support Consultant
    AGS Primary Support, Business Suite & Technology
    Please see the UWL Wiki @
    http://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • Bespoke Java application within UWL not working

    Hi,
    I've created a simple ess application that a manager approves via the UWL.
    The ess application works fine and using workflow is routed to the manager UWL, when launcing from the UWL the approval application displays correctly.  The problem is with the Approve and Reject buttons - they do nothing.
    I've tested the approval application via the URL and via creating an IView in the portal - it works correctly.
    I've also added a text element which should display some text when the buttons are pressed (using the onAction... method), again via the URL and IView this updates but not via the UWL.
    It would seem the UWL is displaying the page as read-only.
    Can you help.
    PS, the R3 system is 4.7

    Hi,
    I've created a simple ess application that a manager approves via the UWL.
    The ess application works fine and using workflow is routed to the manager UWL, when launcing from the UWL the approval application displays correctly.  The problem is with the Approve and Reject buttons - they do nothing.
    I've tested the approval application via the URL and via creating an IView in the portal - it works correctly.
    I've also added a text element which should display some text when the buttons are pressed (using the onAction... method), again via the URL and IView this updates but not via the UWL.
    It would seem the UWL is displaying the page as read-only.
    Can you help.
    PS, the R3 system is 4.7

  • Excel Sheet Drag & Drop into Java Application Q

    New to this forum. Have a question regarding the ability to drag and drop an Excel Sheet from an open Excel file onto a Java application. A friend has been able to drag and drop an Excel file from Windows Explorer onto a Java application and then read the sheets to select what you want and display/use the information in a particular sheet, I'd like to take it a step further to so that the user has the ability to be working in Excel and then drag and drop individual sheets into a Java application as they desire. Is this latter option possible?

    Hi,
       Hope the below links helps...
    Re: upload & download files 
    https://wiki.sdn.sap.com/wiki/display/WDJava/Uploading%20excel%20file%20using%20WebDynpro%20for%20Java
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417600)ID0729285250DB01215080400348251106End?blog=/pub/wlg/6603
    Thanks,
    Prakash

  • Scheduling webdynpro java application

    Hi,
    i want to schedule my webdynpro java application such that it has to run weekly once.
    please help me with some example.
    Thanks,
    Dhananjaya R E

    Thanks Mahesh,
    i am trying the KM scheduling, i am unable to get the KM Scheduler Task Wizard in NWDS, i am using the NWDS version 7.1 Composition Environment SP03.
    please let me know the navigation path to Task Wizard.
    Thanks,
    Dhananjaya R E

  • Is there any way to load just ONE java application at the same time?

    I'm using 'jnlp' to load java applications and I want to load just one application at the same time.
    Is there any way to do that?
    I have been trying to use 'findLoadedClass' but it doesn't work.
    Also I've tried to make a file when a application is loading and delete when the application exits.
    but it has a problem when the user terminates the application.
    (the file can't be deleted...)
    The applications are using socket to receive data, all of them uses same port. That's why I want to load just one application at a time, otherwise they work wrong way.

    Do you actually mean you want to make sure that only one instance of a GIVEN Java program is running at one time? If so then search this forum becuse this question comes up frequently.

  • Displaying UWL tasks in Webdynpro java application

    Dear Experts,
    I am developing a WebDynpro Java application to access uwl tasks,
    Have added the following code in try catch block with external jars
    1. prtapi.jar
    2. bc.uwl.service.api.jar
    IUWLService uwlService = null;
    IWDClientUser user1 = WDClientUser.getLoggedInClientUser();
    IUser epUser =user1.getSAPUser();
    IPortalRuntimeResources runtimeResources = PortalRuntime.getRuntimeResources();
    if( runtimeResources == null)
       wdComponentAPI.getMessageManager().reportSuccess("Portal Runtime NULL");
    else
       uwlService = (IUWLService)runtimeResources.getService( IUWLService.ALIAS_KEY);
    UWLContext uwlContext = new UWLContext();
    IUser user = user1.getSAPUser();
    uwlContext.setUser(user);
    uwlService.beginSession(uwlContext, 20);
    IUWLItemManager itemManager = uwlService.getItemManager(uwlContext);
    QueryResult result = itemManager.getItems(uwlContext,null,null);
    int size = result.getTotalNumberOfItems();
    ItemCollection collection = result.getItems();
    java.util.List list = collection.list();
    Item item = null;
    Date date = null;
    String subject = null;
    for(int i = 0; i < 5; i++)
      if(!(i > (size -1)))
          item = collection.get(i);     
          date = item.getDueDate();     
          subject = item.getSubject();
         wdComponentAPI.getMessageManager().reportSuccess("item "+item);
         wdComponentAPI.getMessageManager().reportSuccess("date "+date);
         wdComponentAPI.getMessageManager().reportSuccess("subject "+subject);
      }//if
    }//for
    I have created this webdypro application with Authentication mode set as True.
    After deploying this application, i'm getting this error...
    "java.lang.NoClassDefFoundError: com/sap/netweaver/bc/uwl/IUWLService "
    can anybody tell me what is the problem???

    Hi
    see the following link it will be helpful for u.
    [UWL Tasks|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#12]
    Regards
    Hazrath
    Edited by: Hazrath on Mar 25, 2008 8:01 AM

  • Getting UWL workitem count in WD 4 Java Application

    Hi,
    Our team is trying to get the UWL workitem count that appears on the Tasks tab in a webdynpro for Java application . Is it possible to get the count .i.e. (New Workitems)/(Old Workitems) in a Webdynpro for Java application?
    Thanks
    Aditya

    PLEAAAASE!!! somebody help us out with this one, we really need to get this done, and given the lack of responses this has got so far, I think it might not be possible at all.
    Just some thoughts on the subject, anyway.
    When creating the UWLcontext, you need to set a user for it (e.g. context.setUser( ) ), so does that mean that I will never be able to get the UWL task list/count for more than one user at a time? and does that also mean that, if a user is set to the UWLContext, in order for it to work, it needs to be authenticated with an ongoing session at the time of execution?
    Again, please, these observations might or might not provide additional help in order to resolve this issue, but at least got to try something...

  • How to make use of Windows authentication from my Java application

    I have a Java application, Instead I design one more login page for my application, I want to make use of Windows Authentication.
    How should I use that windows authentication in my java application
    can any help me in suggesting a solution

    How will they be able to access your application if they aren't users of the system?

  • Html and email link in a java application

    Hi all
    How do you put a email or HTML link into a Java application.
    I want to put my web site address and email address into a about dialog.
    I would like to be able to open the default email application and web site from this dialog box.
    Thanks to all
    Craig

    Try just making a label, and formatting it to look like a generic link. Then add a listener that performs the desired action when you click on it. The "desired action" would probably involve starting the user's default browser/mail-program and loading something in it. I have no idea how to do that, but the above should at least get you a "link" that responds when you click it, and that's a start.

  • On-click of the UWL link ,No WebDynpro application is launching

    Hi,
      I am having a problem while developing a multiple level application.This application will send a link to UWL in portal for the approver.When the applicaton is sending something to workflow,it is creating a link in the UWL.But when I click on this link,it showing "There are no items to display".And also when I look for the properties of the page I am getting
    http://itdep1.itcportal.com:50000/irj/servlet/prt/portal/prteventname/navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage?System=SAP_WebDynpro_XSS&TCode=SWK1&UseSPO1=false&AutoStart=true&DynamicParameter=p_nosecm%3DX%26wi_id%3D000000747411&HistoryMode=0&windowId=WID1254805388838
    There is nothing about my WebDynpro application.For other WebDynpro application I am geting this properties as below
    http://itdep1.itcportal.com:50000/webdynpro/dispatcher/local/Car/Carhr_App;jsessionid=(J2EE7656800)ID1973397150DB01647030228036343671End?sap-ext-sid=FWxZT%2BxoLzZaTLdsMY%2BZaw%3D%3D7aMjquvJhFYjn6FSMAm9ww%3D%3D&sap-wd-cltwndid=WID1254805388838&sap-wd-tstamp=1254803969799&sap-locale=en_US&sap-accessibility=&sap-rtl=&sap-ep-version=6.4.200610270247&sap-cssurl=http%3A%2F%2Fitdep1.itcportal.com%3A50000%2Firj%2Fportalapps%2Fcom.sap.portal.design.urdesigndata%2Fthemes%2Fportal%2Fitc_theme%2Fur%2Fur_ie6.css%3F6.0.16.0.20&sap-cssversion=6.0.15.0.0&System=SAP_WebDynpro_XSS&wi_id=000000748089&WI_ID=000000748089
    I think I have done some wrong configuration for the workflow,but I am not able to find it out.
    Please HELP me......
    Regards
    Sukalyan

    Hi,
    Will you plz provide more input on the issue. Are you able to launch other WebDynpro application from UWL. Please chekc the XML for the UWL and try work for the tag item type and check the page value.
    In the SDn you can easily find XML code for the launcher of WebDynpro Application.
    Deepak!!!

  • Install Error: "Invocation of this Java Application has caused an InvocationTargetException"

    Hi
    I am installing Weblogic v 6.0 sp2 on Sun Solaris 8 on executing the command "
    sh weblogic600sp2_sol.bin -i console" the installation starts and after selecting
    the language as English, console displays the following error and the installation
    stops, please advice
    "Invocation of this Java Application has caused an InvocationTargetException.
    This application will now exit. (LAX)
    Stack Trace:
    java.lang.NullPointerException
    at java.util.StringTokenizer.<init>(StringTokenizer.java:122)
    at java.util.StringTokenizer.<init>(StringTokenizer.java:138)
    at com.zerog.ia.installer.steps.ChooseJavaVM.j([DashoPro-V1.2-120198])
    at com.zerog.ia.installer.steps.ChooseJavaVM.c([DashoPro-V1.2-120198])
    at com.zerog.ia.installer.Main.a([DashoPro-V1.2-120198])
    at com.zerog.ia.installer.Main.main([DashoPro-V1.2-120198])
    at java.lang.reflect.Method.invoke(Native Method)
    at com.zerog.lax.LAX.launch([DashoPro-V1.2-120198])
    at com.zerog.lax.LAX.main([DashoPro-V1.2-120198])
    GUI-"
    Has someone faced similar problem before? I have also tried installing the WebLogic
    Server 6.1 as well but I get the same error.
    Thanks and Regards
    Kapil Singh Pawar

    Hi.
    What jdk version is currently installed on your solaris 8 machine? If it is not
    already a 1.3.x version I suggest you install that first and put the bin directory in
    your path. You might also check with Sun to see if there are any relevant OS patches
    required by your jdk (or jdk 1.3.1) in order to run.
    Regards,
    Michael
    Kapil Pawar wrote:
    Hi
    I am installing Weblogic v 6.0 sp2 on Sun Solaris 8 on executing the command "
    sh weblogic600sp2_sol.bin -i console" the installation starts and after selecting
    the language as English, console displays the following error and the installation
    stops, please advice
    "Invocation of this Java Application has caused an InvocationTargetException.
    This application will now exit. (LAX)
    Stack Trace:
    java.lang.NullPointerException
    at java.util.StringTokenizer.<init>(StringTokenizer.java:122)
    at java.util.StringTokenizer.<init>(StringTokenizer.java:138)
    at com.zerog.ia.installer.steps.ChooseJavaVM.j([DashoPro-V1.2-120198])
    at com.zerog.ia.installer.steps.ChooseJavaVM.c([DashoPro-V1.2-120198])
    at com.zerog.ia.installer.Main.a([DashoPro-V1.2-120198])
    at com.zerog.ia.installer.Main.main([DashoPro-V1.2-120198])
    at java.lang.reflect.Method.invoke(Native Method)
    at com.zerog.lax.LAX.launch([DashoPro-V1.2-120198])
    at com.zerog.lax.LAX.main([DashoPro-V1.2-120198])
    GUI-"
    Has someone faced similar problem before? I have also tried installing the WebLogic
    Server 6.1 as well but I get the same error.
    Thanks and Regards
    Kapil Singh Pawar--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Application link has vanished from left menu bar (used to be under Podcasts

    Hi,
    I opened iTunes last night to synch my iPhone and it acted very oddly. iTunes installed a bunch of songs I had throw in the recycling bin and re-imported a bunch of album artwork. Small problems that I quickly resolved.
    iTunes also gave me a weird message about applications (I didn't realize it was a big deal so I didn't read it, something about saving over new applications with older applications) so I said no.
    The big issue - my applications link is now missing from the left menu screen (it used to be below the Podcasts link). I don't know how to update any applications or manage my applications without that link.
    Help!
    Thanks in advance.

    iTunes prefs -> General.
    Under Show: tick Applications.

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

  • Lauching webdynpro java application

    hi gurus
    our scenario is like this..
    when employee fills the educational assistance form (customized webdynpro java application) and clicks on the submit button , it should go for approval..while manager opens the workitem it should lauch the same WD form in display mode with approve and reject button. and when he approves ..it should update the data base & it should sends a intimation mail to the employee that his application has been approved...
    MY QUESTIONS :
    1) how to trigger a event from WD java application to start this workflow ...
    2)  how the values can be passed from WD application container to workflow container .i got some ideas by reading some forums for this i want to use SAP_WAPI_READ_CONTAINER , where i want to use this function module
    3) it is better to use the user decision step for the approval process ? . if i am using this then i want to send the form as a attachment in user decision step,  how it can be achieved ?
    4)what all r the other settings i want to maintain .

    3) it is better to use the user decision step for the approval process ? . if i am using this then i want to send the form as a attachment in user decision step, how it can be achieved ?
    I would definitely prefer to open a form with "Approve" and "Reject" buttons instead of having it as an attachment in a user decision step. Especially if it is a application where a user never approves without opening the attachment. For example i may not prefer to approve a leave requisition without viewing it! In that case it will just be an overhead for the user to open the form manually everytime before approving. So make a decision on this based on the use of your application.
    Moreover it is not that tough either (atleast from a workflow perspective) to launch the webdynpro from UWL. Create a custom task and create appropriate entries in transaction SWFVISU (hope you are on or above ECC 5.0) to link your task and WD application. Thats it your application should be ready and shud be launched from UWL.
    But definitely in a custom application your webdynpro developers need to do a lot of work (as we did one in our previous projects) irrespective of whether it is launched directly as a task or as an attachment.
    Performacewise providing "Approve" and "Reject" will just increase one RFC call from your application (to complete your workitem).
    Thanks,
    Prasath N

Maybe you are looking for

  • Merging of cells of a dynamic table in adobe form

    Hi, I am trying to Merge 2 columns in a dynamic table in adobe form.The requirement is to merge column 3 and column 4 if column 4 is empty. I used the below javascript code in both "Form ready " and Initialize event of the row. if (this.Cell4.rawValu

  • Oracle 10g Database Hanging twice a day

    My database server has 10g with MS 2003 server as OS. Twice a day the database hangs and does disconnects all the users from local and remote locations. Current SYSTEM tablespace has a size of 470 MB and is 98.86 in use, when I try to add another dat

  • Upgraded iTunes and Quicktime now whole puter not working

    I just upgraded iTunes and Quicktime for OSX 10.4, now after a restart i finder just keeps flashing, on and off and i cant open anything. Need help to fix or go bak to old versions?

  • FIM Reporting and SCSM Database Query Issue

    Hello, We have been having issues with FIM Reporting, the ETL Process for some reason seems to be failing, we further drilled down and found that there was a SQL Query running on the SCSM database Server for a very long time. "CREATE PROCEDURE dbo.[p

  • Macbook Air md 2011, slow wireless

    I've noticed something today something strange. I was surfing on internet with my macbook air 11 and I've started to notice that speed is slow. Than I've measured speed with speedtest.net and it shows 5 mbps while my internet speed is 10 mbps. I was