Embed a webdynpro application IC

Hi
We have the following problem when embedding a webdynpro application in an IView in the portal.
Problem:
When user leaves the webdynpro application by clicking on some other link or button(in interaction center) it seems that wdDoExit in the webdynpro application is not called.
Background:
This is not a problem if the user runs interaction center from the SAP Gui through transaction "crm_ic". Then wdDoExit IS called in the wd application.
In the case when the wdDoExit method is not called we have started the IC web app from a portal page which in turn includes a standard IC Web app IView.
Question:
How can this be solved? We don't think that we are doing something wrong since there exist a standard IView for interaction center in the portal. Is it an Iframe problem? Since the IC is wrapped in an Iframe when called from the portal.
Br
Göran
Message was edited by:
        Göran Westin

HI,
Could you please help me by answering the thread
WDDOEXIT method not called when the application is closed from the portal
Thanks,
Subash M

Similar Messages

  • Webdynpro Application Page in portal in CE7.1

    Hi,
        I have created a webdynpro application with property u201Csap.canBeSplitInIviewsu201D set to u201Ctrueu201D.I have deployed the application  and in Portal Content I have created a webdynpro page out of this application.So now my webdynpro page is having two iviews.
    Now I want to know the answers for below questions
    1)Can we  embed a url iview it in to the above created Webdynpro Application page in portal.I tried for it but couldnu2019t do so.
    2)So,as an alternative I created a Page,added the above created Webdynpro Application page and a url iview to that page.Now that url iview is displayed along with the Webdynpro iview.Bot the problem is url iview is getting refreshed when ever I click a button in the webdynbpro application view .It even refreshes when I select a table row in webdynpro.
    Please let me know if we can prevent url iview to refresh.
    Regards,
    Sudhir

    Hi,
    >1)Can we embed a url iview it in to the above created Webdynpro Application page in portal.I tried for it but couldnu2019t do so.
    No, I don't think so.
    >Please let me know if we can prevent url iview to refresh.
    For the parent page which hosts both the WD and the URL iview, set the property Isolation Method to URL. You can find this property under the property category Load.
    Regards,
    Satyajit.

  • Dump in Webdynpro application

    Hi,
    I get the following error when processing a webdynpro application.
    Kindly guide on hoe to overcome this error.
    Error when processing your request
    What has happened?
    The URL xxxxxxxxxxxxxxxxx:8002/sap/bc/webdynpro/sap/dswp_ci_issue_management/ was not called due to an error.
    Note
    The following error text was processed in the system XXX : View usage MAIN_USAGE_1 does not exist in window ISSUE of component DSWP_IM_ISSUE_VIEW
    The error occurred on the application server XXXXXXand in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WDR_RR_VIEW_CNT_ASSIGNMENT~GET_EMBEDDED_VUSAGE of program SAPLWDR_RUNTIME_REPOSITORY
    Method: IF_WDR_RR_VIEW_CNT_ASSIGNMENT~GET_DEFAULT_VIEW_USAGE of program SAPLWDR_RUNTIME_REPOSITORY
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
    Method: INIT of program CL_WDR_VIEW_MANAGER===========CP
    Method: INIT_CONTROLLER of program CL_WDR_INTERFACE_VIEW=========CP
    Method: INIT of program CL_WDR_CONTROLLER=============CP
    Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP
    Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP
    Method: INIT of program CL_WDR_VIEW_MANAGER===========CP
      Regards,
    Subhashini.

    Hi,
    I guess you might have deleted some view and didnot delete the same in the WIndow Embed view.
    Is this dynamic programming.
    Check the MAIN_USAGE_1  doesnt exists in your component.
    Regards,
    Lekha.

  • Embedding an existing Adobe Form into a Webdynpro Application

    Hi Everyone,
    I have an existing adobe form created thro transaction SFP and its working well.
    I need to launch the form with a Webdynpro application now. I was able to embed the adobe form into the Webdynpro View. The View's context is supposed to pick up the context of the adobe form automatically.
    However I am getting the following error - Either your Interactive form UI element is not bound to a context or a corresponding context does not exist.
    I am not sure how to proceed coz the I executed the Adobe from in SFP and its working perfectly and obviously its bound to a context/ interface.
    Any Ideas?
    thanks for your suggestions in advance !
    Liz

    Pradeep,
    You are right. This time I could bind the context from my interface (even though it was ABAP based).
    I have one quick one for you - you mentioned earlier that when we embed an existing form into Web. View, we cannot have an Interactive form even when we check the 'enabled' property. Can you throw more light onto this pls?
    The runtime error that i am encountering now says :
    Adobe Processing Exception: PDF is not interactive. Data can be only imported into Interactive forms.
    the source text of error is:
    get result
    m_pdf_object->get_document ( importing pdfdata = pdf ).
    catch cx_fp_exception into lr_fpexc.
    raise exception type cx_wd_general
    exporting
    previous = lr_fpexc
    and this exception is not caught ! I am still lost
    thanks again for your help!
    Liz

  • Using Java Applet in WebDynpro Application

    Hello,
    I have the problem that I must access the client in my WebDynpro Application.
    But I found no way to include a Java Applet in my application, so my question: Is it generally possible to include a Java Applet or not?
    If it is not possible with an Applet, is there any other way to access the client?
    Thanks a lot

    We actually embed Java applets in our application. But only on the portal.
    Wrap the applet around a BSP.
    Call the URL in an iframe.
    To prevent the reloading problems that we see with applets and actions, we put the applet in a modal window, with an OK button at the bottom so that when applet processing is finished, the rest of the web dynpro functionality resumes.
    If you need to have them both in the same page, you can embed the BSP iview in the same portal page.

  • How to close current window  of webdynpro application using webdynpro java

    Hi All,
    u201CTo close the current  window  of webdynpro application"
    if i using exit plug its giving the following error in portal runtime.
    u201Ccom.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application! u201C .
    could you send me the  process how to use  portal navigation for the above scenariou2026u2026instead of exitplug.
    Thanks& Regards,
    Srinivas.

    Hi,
    Follow the steps below:
    1. Create a new Window and embed a View which needs to be opened from the main view.
    2. Create a context attribute of type IWDWindow (Java Native Type Option)
    3. Write the following code in the controller for opening the new window:
    IWDWindowInfo windowInfo = (IWDWindowInfo)  
                                                     wdComponentAPI.getComponentInfo().findInWindows("<windowname>");
    IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
    wdContext.currentContextElement().set<contextattributename>(window);
    window.show();
    4. In the new window, create a contextattribute and bind it to the attribute created in controller and on action of the close button write the following code:
    IWDWindow window = wdContext.currentContextElement().get<attributename>();
    window.destroyInstance();
    Hope this helps you.
    Regards,
    Poojith MV

  • To get login details of portal into webdynpro application

    Hi All,
             How to get the portal login details(user name) into my webdynpro application.
    Thank you,
    Harsha P.

    Hi,
    If you want to have portal login details from backend system (with ABAP) you should ask this question in some portal forum and ask if it is possible. This has nothing to do with workflow or UWL. Even if you get the portal user ID to the backend system, then what? Do you want to manipulate the portal roles etc. from your ABAP WD application? Then you will have even more complicated requirements to achieve with ABAP. It is not that straightforward to call different portal functionalities from backend system. You might need to do some "portal development". And eventually your ABAP WD application might come just an unnecessary wrapper component for calling some web services or whatever in portal.
    Regards,
    Karri

  • Needs a background webdynpro application running at the server side

    Hi All,
    We have a requirement wherein we need to have an application running all the time at the server side to capture the response coming from a web application. Based on the response that the application receives, it needs to update some backend R/3 tables.
    We are thinking of a webdynpro java application.
    Can anyone suggest what kind of application needs to be implemented here?
    And what  would be the steps required to run the application at the server side without calling the application.
    Thanks & Regards,
    Anurag

    Hi Robin,
    Thanks for the detailed explaination.
    This may sound silly to you but I've another doubt which is as follows:
    As you mentioned that the external web application will be sending requests to our Web service(in SOAP envelopes) and rest of the functionality can be  achieved by our web service.
    Actually, we are expecting only responses from the external web application. The thing is that we are sending the requests to the external web applications from our custom webdynpro application and in return the web application will be sending us 2 responses.
    First response would be back to our WD java application URL(to the browser in which WD java app is running) which would get the response and display some message based on the response.
    Second would be to this web service which you have just suggested. We are having two responses so that even if the browser in which the WD java application is running gets accidentally closed, the response from the external web application must get captured somewhere else and should not get lost in any case.
    So, now since we are only expecting the response from the web application and we do not want any requests from the web application to our web service; how is this possible?
    I am asking the above question because you have mentioned that the external web application has to request our Web service but we want is only this web service to capture the response coming from the Web application.
    Or is it like the web application will send us the response string as request string to our Web Service and the web service will capture these response parameters as request parameters from the web application and do the further processing.
    But in that case, we do not want any response to be sent by the Web Service to the external web application.
    Please suggest if this is possible.
    Once again, many thanks for the help so far.
    Thanks & Regards,
    Anurag

  • SSO b/w portal and webdynpro application customized login??

    Hi,
    I  have one webdynpro application which has a login screen (Created as Webdynpro view). If user enters user/passord, the same gets checked from a custom table in the db (Method for checking user credtentials has been written in view controller). if user credentials are correct it performs some actions defined in webdynpro application.
    I want to configure SSO b/w portal and this webdynpro application sothat when user logon to the portal and open this webdypro application, Login page of webdynpro application should not be shown i.e user credentials should be passed from portal and corresponding authentication method in webdynpro should be called to authenticate the user.
    How to do the same without touching webdypro application ?
    Can we call a method of webdynpro application from portal?
    Regards
    Deepak

    1) To enable ticket authentication for the web dynpro iviews, you must maintain the definition of the system running the Web Dynpro application and set logon method to "SAPLOG"
    2)Since you have customized login screen, you need to bypass this screen manually when you login from portal.
    Add parameter to the application while defining the iview.Give some constant value.
    Check value of this parameter in webdynpro and fire to next view.

  • How To Get GP Process Parameters in a Webdynpro Application runtime

    Hi ,
    Iu2019 ll hope you can help me to solve my problem with GP process.
    Iu2019 m trying to get GP process parameters from a Webdynpro application.
    I have to get parameters during the process runtime in every step of the process using
    a webdynpro application with the following code:
          IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
          try {
                IGPProcessInstance processInst = rtm.getProcessInstance(processId,userContext);
                IGPProcessInstanceInfo procInfo = rtm.getProcessInstanceInformation(processInst.getID(),
    userContext.getSAPUser());
                IGPStructureInfo inputstructInfo = processInst.getTemplate().getInputParameters();
                IGPStructure inputparams = GPStructureFactory.getStructure(inputstructInfo);
          } catch (GPEngineException e) {
                // TODO Auto-generated catch block
    //          e.printStackTrace();
                manager.reportException("GPEngineException:"+getStackTrace(e), false);
          } catch (GPInvocationException e) {
                // TODO Auto-generated catch block
    //          e.printStackTrace();
                manager.reportException("GPInvocationException:"+getStackTrace(e), false);
    But printing the values of attributes with u201Cinputparams.getAttributeAs... ("param name")u201C the value returned is always 0. On the contrary if I check the same parameters structure in the runtime
    GP view of the portal, the values are those that I have set in the start process wizard.
    Have you a solution for this question?
    Thanks in advance
    Luca

    hi Abhimanyu
    I believe originally access to session was deliberately not made available inside WDA.
    Growing security concerns due to misuse of session information and
    perhaps other reasons as well.
    X.509  is considered a better approach.
    This may not help you in your problem.
    But you may see a trend in WDA pushing more robust and client independent
    approaches.
    Full x.509 access should remove the need for session fiddling.
    Also when developers access such session info directly, there is a possiblity
    when they dont understand the technology exactly that they create a security hole.
    You may know how to do safely, it is however discouraged.
    Im not aware of a way to get at the session info inside the WDA framework.
    Well not without a mod to the framework.
    It may be possible without a mod, but I dont know the trick.
    If someone has a little trick... please post.
    You may need to use BSP, if your only solution requires access to the session info.
    regards
    Phil

  • Database connection in a WebDynpro Application - urgent

    Hi
    I am facing a problem with database connection. I am trying to develop a normal webdynpro application.
    I want to retrieve data from a table and show it.
    But my query is not giving the expected output. It is not even raising errors.
    Please give me an answer
    Thanks & regards
    Aparnna

    Connection con=null;
      Statement st=null;
      ResultSet rs=null;
    public void wdDoInit()
        //@@begin wdDoInit()
    try
      Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
      con = DriverManager.getConnection("jdbc:odbc:erdsn","root","enteg123");
      st=con.createStatement();
        catch(Exception e){
        //@@end
    public void onActiononClickLogin(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiononClickLogin(ServerEvent)
         String desig=null;
    try{
    rs = st.executeQuery("select *  from Login where Empid like uid and Pword like pw");
        if(rs.next()){
               desig=rs.getString("Designation");
         wdComponentAPI.getComponent().getMessageManager().reportSuccess(desig);
        if(desig.equalsIgnoreCase("Employee")){
              wdThis.wdFirePlugEmpOutPlug();
         else
         wdComponentAPI.getComponent().getMessageManager().reportWarning("Invalid input!");
          }catch(Exception e){

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

  • Single Webdynpro Application with multiple JCO Connection ?

    Hi Experts,
    I have a strange requirement ......
    We have a Webdynpro Application which is connected to
    say (using JCO connection)
    client:- A
    now i want to connect the same Webdynpro application to
    Client:- B which is again in the same server as the client A.
    Please help me how to handle this.
    how it possible to connect a single Webdynpro application to two different clients using JCO Connection.
    Please help.
    Points would be rewarded to helpful answers.
    Regards,
    Sanjyoti.

    Hi experts
                        We have to use  wd application for both client at a same time e.g. as follow
    Client A -
    > Travel app--->Featches data from A for   employee hired in client A ,in same server as B
    Client B -
    > Travel app--->Featches data from B for   employee hired in client B , in same server as A
    we  are using same EP for both client but using diffrent roles for employees of both client.
    Please reply asap.

  • Storing the output of BAPI for further use in Webdynpro application

    Hi,
    In my webdynpro application, a BAPI_A is called multiple times from a backend.
    All the previous outputs of the BAPI_A need to be stored in the webdynpro application as they serve as a complete set of input parameters for BAPI_B at the end.
    Can anybody shed light on this temporary storage mechanism of the outputs of the BAPI_A.
    Regards
    Meesum

    Hi Meesum,
    Your BAPI structure
    BAPI_A
    --Output (0..n)
    Field1
    Field2
    Field3
    Field4
    Value node structure
    vnBAPI_A (0..n)
    --vnResult (0..n)
    vaField1
    vaField2
    vaField3
    vaField4
    1. Declare objVnBAPI_A (between begin and end)
    2. Initialize in the vnBAPI_A in the wdDoInit()
    3. After each execution of the BAPI (BAPI_A), create the vnResult and populate the fields of vnResult (from the BAPI_A --> output)
    4. Add the vnResult object to objVnBAPI_A
    Hope this should help you.
    Regards,
    Santhosh.C

  • Calling servlet in a webdynpro application

    Hi,
    I have created a servlet for Authentication , and i have to call this servlet in the webdynpro application(on accessing a link)
    Such that it will automatically take care if authentocation
    Servlet is residing in a Java application and the View is residing in WebDynpro application
    when i call the servlet i have to pass two parameters 1)URL and 2)Filename
    Could anyone please help me out in doing this?
    Thanks & Regards
    Swetha

    Hi Anagha,
    Thank you for the information, i would like share my vague idea on resolving this.....please let me know will it be a possible approach
    Here ew have two projects
    1)WebProject(War file)
    2)EarProject(where webproject is integrated
    Steps
    1)Get the EAR file
    2)Create a portal application
    3)Consume the EAR in the Portal application(by passing parameters)
    4)Create a WebDynpro DC
    5)Here call the portal Application( URL and URL parameters)
    6)Get the URL
    7)Finally we can call the servlet
    Will these steps help in solving this issue
    Thanks & Regards
    Swetha

Maybe you are looking for

  • Two tables with the same selectionModel

    Hi to all.. I have been working on a project in java that needs to include two tables.Right now, I have successfully built two tables (Table A and B) with different type of data from a database and each of it will update when user click a button. The

  • Mail not coming to inbox of user.

    Hi Forum, I am using the standard function module for sending mails. ** To Trigger a mail **   CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'     EXPORTING       document_data = ls_docdata       put_in_outbox = lc_x       commit_work   = lc_x     TABL

  • JAX-WS: SAXParseException parsing MSN Search WSDL file

    I'd like my java app to use JAX WS to make calls to the SOAP API for Microsoft's Live Search. The WSDL file is located at: http://soap.search.msn.com/webservices.asmx?wsdl I download that file and called it msn.wsdl. I then ran the command "wsimport

  • DBMS_LOB Question

    I have a problem I hope someone can help with. I am reading CSV files and storing as a BLOB. Later I want to interpret the contents of the BLOB so I am using the DBMS_LOB.convertToCLOB procedure. How should I use the blob_csid and lang_context parame

  • Preview not displaying (iPhoto won't display either)

    Hi all, Having an issue with both iPhoto and Preview. (in iPhoto, the thumbnails don't display and you cannot doubleclick to open a photo) In preview I get this weird transparent window the same size as the Preview window would be if it were displayi