Webdynpro and uwl

Hi,
I'm trying to use the UWL-API as described here within my Web Dynpro-App. My coding looks somehow like this:
IUWLService uwlService=(IUWLService)PortalRuntime.getRuntimeResources().getService(IUWLService.ALIAS_KEY);
UWLContext myContext = new UWLContext();
try {
IUWLSession mySession = uwlService.getUwlSessionForWebDynproClient(myContext);
} catch (Exception e) {
IWDMessageManager myMan = wdComponentAPI.getMessageManager();
myMan.reportSuccess(e.toString());
Well when i deploy that app and run it (i integrated the app into an iview, although i'm not sure whether have to or not) i get the following error:
java.lang.NoClassDefFoundError: com/sap/netweaver/bc/uwl/IUWLSession
Maybe i have to add a sharing reference or s.th. similar in order to use that API?
I'll reward points for any useful answer.
thanks a lot

Hi,
I just tried to execute the same in my portal, It returns "Portal Runtime Error", I have declared the library reference and also included the corresponding JAR files.
Can u just guide me the the steps u followed to achieve the task to trigger a notification from WebDynpro.
Regards / Guru

Similar Messages

  • Displaying both ABAP webdynpro and Java Webdynpro tasks in the UWL

    Hi,
    We have two an issue when trying to get the UWL to process two different types of workflow tasks : ABAP webdynpro and Java webdynpro. 
    Examples of these tasks are:
    TS12300097 u2013 LeaveRequestApprover u2013 Java Webdynpro
    TS17900100 - ASR_PROCESS_EXECUTE u2013 ABAP webdynpro
    We have two backend systems configured
    SAP_ECC_Financials u2013 This has the WAS host pointing to the java stack (xxx:50000)
    SAP_ECC_Workflow u2013 This has the WAS host pointing to the ABAP stack (xxx.80xx)
    In transaction SWFVISU all the tasks which use Java webdynpro have been configured to use the u2018Javau2019system (SAP_ECC_Financials) using the SYSTEM_ALIAS parameter
    In the UWL configuration the system SAP_ECC_Workflow has been registered
    In addition to this all u2018Javau2019 tasks have had an extra UWl config XML created to ensure that the SYSTEM_ALIAS is set to SAP_ECC_Financials
    The system SAP_ECC_Workflow has been re-registered
    The UWL cache has been cleared
    However when we try to launch the java webdynpro tasks the system is trying to access the ABAP stack (It is still trying to access the Web AS location for the system SAP_ECC_Workflow even though the system alias was specified as SAP_ECC_Financials )
    The ABAP webdynpro tasks (in this case a HCM process and form) are launched correctly
    If we try the reverse (i.e  register the Java system SAP_ECC_Financials and change the SYSTEM_ALIAS parameter for the ABAP webdynpro tasks to system SAP_ECC_Workflow)  then the reverse happens.  The java tasks can be launched and the ABAP tasks cannot.
    Does anyone have a solution to this problem.  Surely other people have implemented both ABAP and Java webdynpro workflows?
    Any help much appreciated
    Andrew

    Thanks  a lot for all your replies..
    The workitem type registration has been done already, but still it doesn't work..
    But here is the actual problem...
    There is a link 'Execute Workitem' in the inbox of the approver, or the second level manager...
    In the leave application, when we click on this link it is taking to the portal as the task is the Webdynpro Java application task. Whereas, when using ABAP webdynpro application task, it is taking to R/3 - which means that the user cannot access this link without R/3 access. The users are given only portal access, they don't have access to backend R/3.
    The requirement is that the link has to take the user to portal directly instead of R/3 - i.e it should ask only for the portal id and password.
    Since it was working fine with leave application, I changed the task to Java webdynpro task, but I think the Java Webdynpro application is not deployed in the server.
    Please can anybody suggest.
    Best Regards,
    Sushmitha

  • How to design this requirement  by GP, Webdnpro , Adobe and UWL?

    The scenario is :
    The supplier logs in the SAP Portal
    1) The first screen should be WebDynpro  screen with some filter selection which have drop downs etc populating from R/3
    After selecting particular values and clicking on a button on screen an adobe form should open upon fetching detail from R/3
    2) This adobe form will have certian prefilled information and certian fields will be editable for the supplier to fill in.
    After the supplier fills in the remaining data he clicks on "Submit" button on the form (Assuming this is online scenario).
    3) Now this form should go for approval as line item in inbox (portal inbox can be UWL/GP).
    4) Once the manager clicks on the line item which has come for approval, on click the filled adobe form should open up and
    the Manager should have option to approve/reject. If approved the data should load in SAP R/3 (I assume to send data back to R/3 i will have to make this also WebDynpro  but how will it have the values that the supplier filled in and how can be it be open when clicked on line item in GP?)
    Note: This all has to be achieved by using WebDynpro  for Java/GP/Adobe, no SAP R/3 workflow has to be used.
    Kindly let me know how can I break this requirements into WebDynpro ,GP and adobe?
    Need Help in designing and whether its possible or not? Helpful answers will be rewarded.
    Regards,
    VD

    Hi vishal,
    We have similar requirement and currently I am working on it. One solution we have got is using portal database (MaxDB) for storing data temporarily.
    Once the employee submits the data, it is stored in MaxDB, later manager can fetch it from here, and once approved it will be updated in SAP backend. Later a WD application callable object can be created in GP.
    This link /people/karthikeyan.rammohan/blog/2007/12/06/jdbc-connectivity-with-webdynpro-and-max-db can help you in creating the table in database.
    Please let me know if you have any better ideas.
    Hope this helps you,
    Amit

  • Document Upload into Webdynpro and transfer to SAP R/3?

    Hi Gurus,
    I have a requirement to offer a Document uploading option through Java webdynpro screen.
    I have referred the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    which has the steps till uploading the document into Webdynpro
    And also I need to offer an option of listing the attachments(that have been attached by the end user into to the JAVA webdynpro form) with the DELETE option ,How to do that?
    Now my requirement is to pass the document into SAP R/3? is there any RFC for that?
    Thanks in Advance,
    Dharani

    Hi Dharani,
    If we want to add Excel into Java webdynpro screen, then we are trying to create a table with invidual cells. This can be easily possible at Java Portal Perspective using Jakarta HSSF POI API.
    But we require at Webdynpro so , we can use the Context  feature available at Webdynpro to load the table. now we can load the table data into an excel and we can display it to end users in the form of Excel..
    to achieve this functionality pls use the below link
    Exporting table data to MS-Excel Sheet(enhanced Web Dynpro Binary Cache)
    Just in case if u need to achive through Portal Perspcetive in NWDS pls use this.
    Create an excel file from JAVA using HSSF api
    the advantage of these two methods is we can create mutable tables i.e. each cell of the table is accessable and can be modifed with using the code.
    Hope this will be helpful.
    Regards,
    Shaila

  • Importing Development Component - Webdynpro and Guided Procedures

    Hi All,
    I created a development component project of type  "Webdynpro". I created callable Object in guided procedures and the Process is working fine. I want to import the same project into another Nwds (another workspace).
    I tried the following steps.
    1. File - import - Multiple Existing project into workspace.
    2. Imported the DC.
    I have already added all the Gp jarfiles. But after importing, and rebuilding the project, it gives me only webdynpro and components,views.. It is not showing me as a normal webdynpro project. It is not showing me the GP Api's, the "USED DC's". which i created in the other project.
    When i am creating a new project, it is working fine.Can anyone please help me in resolving this issue? How can i import a DC (gp) into webdynpro?
    Thanx and Regards,
    Divya

    Hi,
    Take a look at this [thread|/thread/119966 [original link is broken];
    Dick.

  • How to call Java Webdynpro from UWL

    Hi All,
    How to Call the Java Webdynpro Application from UWL by task?
    I Know about the TX - SWFVISU, briefly explained about the parameters to be maintanied for approval task from workflow.
    What all the necessary parameters (settings) to be maintained while Developing Java WD Application?
    Thanks in advacne
    Ganesh

    Hi Ganesh,
    See if the following threads help:
    /thread/623279 [original link is broken]
    Webdynpro to UWL
    Bye
    Ankur
    xxxxxx (please read forum rules)
    Edited by: Armin Reichert on Jan 17, 2008 10:19 AM

  • WebDynpro and EP on two servers?

    hi all
    How logical is it to hav webdynpro and EP on 2 different servers.
    If it is, how can they be connected?
    What are the drawbacks if any?
    Thank you.
    regards
    vln

    hi vln,
    there are two ways you can access.
    1. where wd applications are deployed you can access directly using webdynpro iview
    2. here applications are deployed on the different engine.
    here you have to create an system in the System Administration  ->  System Configuration  ->  System Landscape,
    then create an alias for the above , then make use of this alias system in ur WD iview.
    go through the following link for further help on how create the system and use in portal for diefferent system
    http://help.sap.com/saphelp_nw04/helpdata/en/74/d5e7418192c717e10000000a155106/content.htm

  • CAF with ABAP Webdynpro and ECC 6.0 ?

    Hello,
    I'm a newbie with CAF. I understand that we can create business logic (BO) and use kind of UI (VC, Webdynpro).
    My question : is it possible to use CAF to generate ABAP Webdynpro and can we use CAF with ECC 6.0 / netweaver 7.0 ?
    Regards,
    Aurélien
    Edited by: Aurélien HENRY on Jan 16, 2008 2:34 AM

    Hi intruder,
    you can check the sap note 367676.
    if helpful rewards points are appreciated

  • Share Configuration Manager Entries between WebDynpro and EJB

    Hi there,
    I have an annoying problem: I would like to have a WebDynpro as full-blown configuration interface for my EJBs. As steted in the docu, it is not possible to share configurations between applications.
    With EJB and Web Modules I would just place them in the same Enterprise Application. But I cannot as WebDynpro projects to enterprise applications (as far as I know).
    Does anyone have a clou about I could manage this issue?
    Thanks!
    helge

    Hi Maksim,
    at the link you've provided it is described how to use the Configuration Manager within an EJB Module.
    My Problem is that I want to use it from an WebDynpro Application. But there I don't have a META-INF\application-j2ee-engine.xm to configure the dependency.
    This itself is not a problem since you can also access the Configuration Manager via JNDI.
    My problem now is that the EJB Module (more precise the enterprise application where the EJB Module is included) needs to share the configurtion with the Dynpro. But vi JNDI you only get the ApplicationConfigurationManager - which is application specific.
    So the question is how I could share the configuration between WebDynpro and EjbModule...
    Regards,
    helge

  • MDM Workflows and UWL in CE 7.11

    Hello,
    I am working with MDM Workflows and UWL in CE 7.11.
    For configuring the UWL, we need to set some property of MDM Result Set iView to
    connect and display MDM workflows for an MDM repository in EP 7.0.
    But in CE 7.11 the concept of Result Set iView is replaced by ResultSet component which we use as a used component in the custom wrapper (DC).
    How to use ResultSet component  to configure UWL in CE 7.11 ?
    Thanks in Advance..
    Regards,
    Yogita.

    Hi Yogita,
    Here is a document for you.l  It shows how to configure MDM & BPM.  From within this there is information in regards to the Universal Worklist:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d7ad1f-6b27-2d10-448e-9c115ce7f5b3?
    You may also want to raise a post for this in MDM forum.
    Beth Maben
    EP - Senior Support Consultant
    AGS Primary Support, Business Suite & Technology
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • POWL and UWL in SRM 7.0

    Hi,
    We have upgraded from SRM 5.0 to SRM 7.0.
    In SRM 7.0, there is one concept called POWL.
    Can any one please let me know the use of POWL.
    What is the difference between POWL and UWL.
    Can any one please clarify these things.
    With out POWL , can we use the UWL in SRM 7.0.
    Regards
    Venkatesh P

    Hi Donald,
    I have pasted the below link in browser and i got "Page not found or not available" message.
    http://************.net/irj/portal?NavigationTarget=navurl%3A%2F%2FROLES://portal_content/com.sap.pct/specialist/com.sap.pct.srm.srm70/com.sap.pct.srm.core.fl_core/com.sap.pct.srm.core.fl_roles/&dropPRTEvent=OBNEvent&BOTechnicalName=sc&BOSystemAlias=SAP_SRM&
    Operation=displayprof&isOBN=true&APPLID=SAPSRM_E_CHECKSTATUS&POWL_QUERY=4CCA25ADB0E845E7E10080000A402D38&SAPSRM_CA_TAB=D_I_BD&SAPSRM_ITEMID=4D004B86467040EDE10080000A402D38&sapsrm_boid=4D004B15467040EDE10080000A402D38&DynamicParameter=APPLID%3dSAPSRM_E_CHECKSTATUS%26POWL_QUERY%3d4CCA25ADB0E845E7E10080000A402D38%26SAPSRM_CA_TAB%3dD_I_BD%26SAPSRM_ITEMID%3d4D004B86467040EDE10080000A402D38%26sapsrm_boid%3d4D004B15467040EDE10080000A402D38&CurrentWindowId=WID1292321459011&NavMode=3
    Regards
    Venkatesh P

  • Firefox 2.0 - Problems with Webdynpro and HTML iviews

    Hello all,
    We have implemented the SAP Netweaver portal 7.0 SP 10. Everything works fine on IE 6.0 and 7.0. When we tested it on Firefox 2.0, we encountered the following problems:
    1. The links on the detailed navigation area are missing
    2. Web Dynpro applications dont work very well. Eg: Clicking on "Next" button does not take you to the next view, OVS does not work etc.
    3. SAP transaction iViews(HTML) don't show up at all.
    Although the <a href="https://websmp108.sap-ag.de/~sapidb/011000358700001936242005E#391,7,SAP NetWeaver 7.0 (2004s) Browser Support                                 For End Users and Admin Functionality">PAM</a> indicates that Firefox 2.0 is supported for Webdynpro and HTML iviews, I am not sure why this is happening. Can someone help?
    Thanks and Regards,
    Reena

    Adobe are working on updating their add-on for Firefox 4 - http://kb2.adobe.com/cps/896/cpsid_89622.html
    McAfee have released a version of the Site Advisor for Firefox 4, but this add-on has caused problems for some people such as not being able to permanently hide the add-ons bar and issues with the back button not consistently working.

  • Time mismatch between BSP workflow and UWL in portal

    Hi All,
    I am using a portal application where ,for the same work iteam ,BSP workflow and UWL in portal are displaying two different date and time.
    Has anybody come accross the same issue?
    Need your help.
    Regards
    Rajib

    Hello,
    There might be some mismatch of attributes between BSP workflow and UWL configuration.Please check the UWL configuration file and check the display attribute name. Please check UWL configuration guide for more details
    Jojo

  • Webdynpro to UWL

    Hi All,
    1. Making Application in which I have to give a form in Portal, User Fill form and Submit. All Data Saved in dababase.
    2. This form link  display in UWL task of Portal for approval. Approval User click on link open form.
    Above two step are run successfuly.
    But Problem is that "How we are passing parameter (like Table - ID) to Web Dynpro java Application to UWL and Uwl to Web Dynpro java App."
    Regards
    Deepak & Bharat

    Hi Deeapk,
                   Right now I don't have access to that XML file. But as for as I remember you have to set Application URL, name and parameters in XML. To pass the parameters, I guess dynamicParameter or dynamicURLParameter  you need to set. I don't have even the link with me. It was available somewhere in SDN. Try for it.
    To access the parameters in Web Dynpro Application.
    in wdDoInit()
    IWDApplicationPropertyInfo prop=wdComponentAPI.getComponent().getApplication().getApplicationInfo().findInApplicationProperties("parametername");
              String value = prop.getValue(); 
    Hope this helps.
    regards,
    Siva

  • WebDynpro and JSPDynpage

    Hi all,
      Could any one please send me some documents on how to communicate between WebDynpro and JSPDynpage. Are there any examples in help.sap.com
    Thanks.

    Hi Neha,
    You should use EPCF (Enterprise Portal Client Framework),
    which allows communication between iViews <b>on the same page</b> in the client side.
    In jspDynpage it is used in the form of javascript methods, as described here:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/771fa290-0201-0010-3d93-865e66cc6d7e
    In Web-Dynpro you have java methods (which, I guess, are finally rendered also to javascript methods),
    which are available from the class <b>WDPortalEventing</b>,
    as described here:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d35bb690-0201-0010-988a-d669c8530518
    Note that the jspDynpage iView must be in URL Isolation for EPCF methods to work.
    Hope that helps,
    Yoav.

Maybe you are looking for