Calling an EJB application in webdynpro

Dear SDN's,
I am trying to call an EJB application  from a webdynpro application and is succeded in storing values to database via Java Bean Model.
I want to retrieve all records from table via EJB and all the records should be displayed in Webdynpro Table UI element.
How can we do it?
The problem here is, how to return a set of records to webdynpro from EJB via a javabean.
I am not clear in using Collection Framework! i.e, which collection class i have to use to store the retrieved records.
Your help will be appreciated.
Regards,
Sireesha.B

Hi Sireesha,
Instead of adding resultset, create a EMP cinstance and add it.
Ex : Consider you have created a EMP class
class EMP
  String empname;
   int id;
  public void setEmpname(String name);
  public String getEmpname();
Now
ResultSet rs=statement.executeQuery(select * from emp);
Vector v=new Vector();
while(rs.next)
Emp e=new EMP()l
e.setEmpName(rs.getString(0));
e.setID(rs.getInt(1)));
v.add(emp);
Iterator i=v.iterator();
while(i.hasNext())
Emp e1=(EMP)i.next()l
System.out.println(e1.getempName());
System.out.println(e1.getID);
Regards, ANilkumar

Similar Messages

  • How to call a BSP Application inside Webdynpro for  ABAP

    Is there any way to call a BSP application inside the webdynpro ABAP application..
    The Input screen will be the BSP page and when the user click the action it have to trigger some data in BSP and in turn it have to collaborate the manipulated data in webdynpro and shows the output in webdynpro or in BSP..

    pls refer to http://help.sap.com/saphelp_nw70/helpdata/EN/30/1b62799d786445a72ad85acb4fd55b/content.htm
    and check if it helps u

  • Calling a pdk application from webdynpro application

    Hi experts,
    I have a reqiremet  in the webdynpro application by clicking some link or button it has to call pdk application in external window ,and i want to pass the value from pdk application to webdynpro application .
    thanks &regards,
    ramani.

    I tried testing it with the Webservice navigator, and getting the same error,
    XML Deserialization Error. XML is not valid. Element [http://session.services.enterprise.mclarensoftware.com] is required in  but can not be found.
    however
    request:
    POST /mclaren/services/session HTTP/1.1
    Host: localhost:50100
    Content-Type: text/xml; charset=UTF-8
    Connection: close
    Cookie: <value is hidden>
    Cookie: <value is hidden>
    Content-Length: 696
    SOAPAction: ""
    <?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><pns:createSession xmlns:pns='http://session.services.enterprise.mclarensoftware.com'><pns:strTechnologyID>filenet</pns:strTechnologyID><pns:strConnection>http://mclglaweb006:8008/ApplicationEngine/xcmisasoap.dll</pns:strConnection><pns:strConnectionFriendlyName> </pns:strConnectionFriendlyName><pns:strUserName>davidp</pns:strUserName><pns:strPassword>nimbus</pns:strPassword><pns:strDomain> </pns:strDomain></pns:createSession></SOAP-ENV:Body></SOAP-ENV:Envelope>
    response:
    HTTP/1.1 200 OK
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=utf-8
    Date: Thu, 29 Jun 2006 14:15:50 GMT
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><createSessionResponse xmlns="http://session.services.enterprise.mclarensoftware.com"><createSessionReturn><code>0</code><detail xsi:nil="true"/><message xsi:nil="true"/><sessionID>filenet;http://mclglaweb006:8008/ApplicationEngine/xcmisasoap.dll;davidp; </sessionID><successful>true</successful>

  • Call a Portal Application from WebDynpro

    Hi experts,
    i hope you can resolve my problem!
    My intention is to refresh the browser and call the first page of the portal after the portaluser pressed a button in an WebDynpro application.
    For this purpose i create a portal application with an JSPDynPage and an JSP how call the  JavaScript Method "top.location.reload();".
    My question:
    How can i call an portal application in a WebDynpro onAction Event?
    Thanks,
    Florian

    1)Creat one action method "ReactPortalEventing" with the parameter dataObject and write the code in wdDoInit method as
    //the urn and method name like "sendEvent" both should be same
    WDPortalEventing.subscribe("urn:com.abc.practice","sendEvent",wdThis.wdGetReactPortalEventingAction() );
    2)and in the action method display the name as
    wdComponentAPI.getMessageManager().reportSuccess("Event value"dataObject);
    also chk it
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60d7d690-0201-0010-e581-9c4fc69cec0e

  • Using ADS service in EJB application (without WebDynpro)

    Hi experts!
    Tell me, please, is there some way to use ADS outside WebDynpro Java application ?
    I need to create EJB function, which returns rendered PDF document based on XDP template using ADS, configured in NW 7.2 java server.
    I found an api to operate ADS in java in package com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.api, but its api included in tc/wd/api development component and not available in other apps except WDJ.
    Thanks for reply.

    Hi,
    Here is the code I use to create a task. I hope it could help you or help other users trying to do the same thing.
    IUWLService uwlService = (IUWLService)PortalRuntime.getRuntimeResources().getService(IUWLService.ALIAS_KEY);     
    UWLContext uwlContext = new UWLContext();
    IProviderConnector pc = uwlService.getRegisterProviderConnector(IProviderConnector.ADHOC_WORKFLOW_CONNECTOR_ID);
    Item item1 = new Item(
         IProviderConnector.ADHOC_WORKFLOW_CONNECTOR_ID,
         "system",
         "id1",
         uwlContext.getUserId(),
         -1,
         new java.util.Date(),
         "lkjh",
         null,
         "request1",
         "uwl.task",
         "uwl.task",
         PriorityEnum.NORMAL,
         StatusEnum.NEW,
         "Super Test"
    item1.setShared();
    Set users=new HashSet();
    IUserContext userContext = ((IPortalComponentRequest)getRequest()).getUser();
    users.add(userContext.getUniqueID());
    IUWLItemManager itemManager = uwlService.getItemManager(uwlContext);
    uwlService.getPushChannel().pushSharedItem(pc,item1,users);
    Regards,
    Renaud

  • Calling a BSP application in ABAP webdynpro

    Hi Friends,
    Is there any chance that i can call a BSP application from WEBDYNPRO.
    regards
    Nalinikanth.

    Hi Yashpal/ Pankaj,
    I have one question regarding this.
    The usage of the UI element link "link to URL" is pretty much understandable to call a stanalone application.
    Whereas the usage of suspend and resume plugs, how does it work for BSP applications? For two WD components we can connect the plugs and it works.
    As I do not know about BSP, does it have in/out plugs like WD components?
    If so how to create the navigation link for this.
    Please explain.
    Sankar.

  • Calling POWL Application From Webdynpro

    Hi Experts,
    I have a requirements wherein I have to call a POWL application from Webdynpro. Please let me know how to achieve this.
    POWL - Personal Object Work List
    Any help is welcome.
    Thanks
    Divakar

    Hello Diwakar,
    Based on your query i understand that you need to embed your powl into a web dynpro application to view it.
    u can do it in two ways..
    the first one is just for testing..
    prerequisites...
    just check ur web dynpro service is activated.
    Use transaction SICF
    On the Maintain Service screen leave the default values as they are and choose Execute
    In the Virtual Hosts/ Services tree control locate the node sap/bc/webdynpro. Right click on
    the node and choose Activate Service from the context menu.
    1. Navigate to the initial screen of the SAP Easy Access Menu.
    2. Do a right-click on Favorites and choose Add other objects from the context menu.
    3. Choose Web Dynpro Application from the upcoming dialog box list.
    4. On the Web Dynpro Application subscreen, make the following entries.
    Web Dynpro Applicat.-->POWL
    Parameter -> APPLID   (Be sure to select the parameter via input help.)
    Value ->Specify the APPLID defined for the POWER List to test.
    Leave rest unchanged.
    click OK.
    By double-click on the created favorite, the specified POWER List will be displayed in a separate
    Browser window..Only the basic functionalities can be tested this way.
    The second way is in which you manually insert a powl component in web dynpro appl..
    1. create a web dynpro component.
    2. Specify POWL_UI_COMP as the used component in the properties and give a suitable name.
    3. In the main view. insert a ViewcontainerUIelement.
    4. In the component controller properties . click on create controller usage. and select POWL_UI_COMP
    INTERFACECONTROLLER
    5. Go to the windows selection and right click and select embed view on the ViewcontainerUIelement of the Main view. select POWL_MASTER from input help.
    6. Create an outbound plug , name it as 'OUT'. link it with DEFAULT plug by dragging.
    7.Go to the methods tab and in the Handle Default method .
    and paste the following code..
      DATA: lv_inbox_query TYPE string,
            lt_query_params TYPE rsparams_tt,
            lwa_param TYPE rsparams.
      DATA lv_qname TYPE POWL_QUERY_TY.
    lv_qname = 'QUERY1'.
      CALL FUNCTION 'POWL_ENCODE_SELPARA'
        EXPORTING
          i_selpara        = lt_query_params
          i_escape         = '\'
        IMPORTING
        e_selpara_string = lv_inbox_query  .
        wd_this->fire_out_plg(
          applid =  'POWLappl'                          " powl_applid_ty
          forallq =   'X'                        " powl_xflag_ty
          qselpara =   lv_inbox_query                       " string
          refresha =   'X'
          refreshq = 'X'                    " powl_xflag_ty
          srvgroup =   'X'
          qname =    lv_qname                " rzlli_apcl
    where QUERY1 is the name of your default query and POWLappl  is your powl applid.
    7. create application and test

  • WebDynpro accessing custom-build EJB applications

    Hi there,
    I have a query regarding WebDynpro accessing custom-build applications deployed on web-logic server and J2EE servers.Following is the scenario.
    There is central authentication mechanism deployed in J2EE server. GUI users (in EP) have to be authenticated through this application(EJB).
    In EP, this remote call would happen through the WebDynpro. After successful authentication, calls will be sent to another Weblogic server.
    Too many remote calls. How about the scalability & performance factors with WebDynPro?

    HI,
    Webdynpro and EP are almost same except coustomisation coming to picture in EP, why do you want webdynpro to EP to web logic, Just crate your UI in dynpro convert them to Iviews in EP through EP call wenlogic server/J2ee server i hope there will not be any hindarence to scalability or perfomance.
    when it comes to remote calls after all your going to call weblogic through EP but dynpro UI will be as an Iview
    I hope it helps you
    in case if you need further details let me know
    Regards
    RK

  • Calling a webservice from weblogic EJB Application

    Hello,
    I have a webservice running on IIS server. I created a simple java client program to call the webservice and it works fine. However, when I wrapped the same java client program as a EJB Application, I am unable to call the webservice.
    I get the following error:
    ####<Apr 3, 2007 1:59:30 AM CDT> <Info> <WebService> <CASEJBServer> <ExecuteThread: '24' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-220094> <An IOException was thrown trying to access the WSDL at the given URL.>
    And
    "java.io.FileNotFoundException: Response: '401: Unauthorized' for url: XXXXXX"
    Could you please give some simple steps as what are the JAR Files required to be included in the Weblogic Server's classpath to call the webservice.
    Thanks.

    To start off you need to make sure that your client api is in the classpath, either in your ejb or your ear or the server classpath.
    The other concern I would have is that it seems you are just not authorized to access the URL.
    - Does the WSDL require credentials? So in other words when you go to the URL are you allowed to access the WSDL without athenticating.
    - How does your Impl get created?
    MyServiceImpl service = new MyServiceImpl()
    If you are using the empty constructor then what is the wsdl endpoint in your jar file since that is the wsdl it will use. If the endpoint is localhost/xxx/xxx then you will have issues since that means your not deployed on localhost. What url is at the endpoint? Do you have access to the url from your server?
    If you are using "new MyServiceImpl(url);" then again is the wsdl locked down because in this case you will need to do somthing like http://username:[email protected]/xxx?wsdl
    Hope this helps.
    -Jesus

  • Calling Webdynpro Java Application from Webdynpro ABAP Application.

    Hi,
    We have developed one Application using Webdynpro Java and I m in need to call the Webdynpro Java application from Webdynpro ABAP.
    Require Suggestions to acheive this.
    Thanks In advance.
    Reg,
    Ajay.

    Dear Ajay,
    Assuming that both your applications WDA & WDJ are in the portal & you don't have to pass any parameters to the WDJ application.
    Write the following code on the action  where you would call the WDJ application.
      DATA:
            lr_compcontroller TYPE REF TO ig_componentcontroller,
            l_component TYPE REF TO if_wd_component ,
            lr_port_manager TYPE REF TO if_wd_portal_integration ,
            wa_navigation TYPE navigation.
      lr_compcontroller =   wd_this->get_componentcontroller_ctr( ).
      l_component = lr_compcontroller->wd_get_api( ).
      lr_port_manager = l_component->get_portal_manager( ) .
    * The value inserted into the navigation-target field can be found in the Portal
    * content administration tab of your portal. It is the ID or PCD Location field
      wa_navigation-target = pcd. " Please provide the PCD Location of the WDJ Application here.
      wa_navigation-mode   = '0'.  "0 = INTERNAL(same page) and 1 = EXTERNAL(new page).
      CALL METHOD lr_port_manager->navigate_absolute
        EXPORTING
          navigation_target = wa_navigation-target
          navigation_mode   = wa_navigation-mode.
    You can get the PCD from the Page properties of the WDJ application page in the Portal.
    Hope it helps!
    Warm regards,
    Upendra Agrawal

  • How to call a BAPI in EJB application

    Hi ,
    I need to develop an webservice that takes data from a BAPI and insert in to ORACLE database. I think webservices can be created through EJB application.
    I am not having idea regarding how to call an BAPI in EJB application. can anyone help me out in this.
    Regards,
    Laxmi.

    Hi,
    you can use JCO Connection,
    look this
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/fcadaf90-0201-0010-4091-bd0bcd7b7f6a]
    Regards,
    Matteo

  • Calling an EJB 3.1 from an Application-Client

    Hello,
    I'm currently learning to use the GlassFish3-Features with help of the book "Beginning Java EE 6 Platform with GlassFish 3: From Novice to Professional (Expert's Voice in Java Technology)" from Antonio Goncalves. He says that i should use the following code to get the connection to an EJB:
                EJBContainer ec = EJBContainer.createEJBContainer();
                Context ctx = ec.getContext();
                MyBean ejbInstance = (MyBean) ctx.lookup("java:global/ejb");This does not work because I get a couple of Exceptions telling me that some classes are not serializable. This happens in the "EJBContainer.createEJBContainer() call. The classes wich are mentioned are:
    org.glassfish.javaee.services.ConnectorDescriptorProxy
    org.glassfish.javaee.services.ResourceProxy
    com.sun.enterprise.container.common.impl.util.InjectionManagerImpl
    and the application ends after this call.
    If I use instead the following code:
    {code} Context ctx = new InitialContext();
    MyBeanInterface ejbInstance = (MyBeanInterface) ctx.lookup("java:global/ejb");
    {code}
    it works.
    I use GlassFish 3.1 because there is a general bug in V3 for App-client calling an EJB, NetBeans 6.8 and SDK 6_20.
    Can anybody shed any light why the first version is not running?
    Appending the stack-trace didn't worked out. It was to big.
    Thanks and best regards,
    Willi

    it doesn't work because the lookup call does NOT return an instance of MyBean - it returns a proxy object that implements all the methods of its common interface. Hence you program against the business interface, not the implementation bean. Using this way also, you do not need to have the implementation of MyBean in your client's classpath, only the interface.

  • How to call a WD4A Application of another system

    Hi,
    I have the need to call a WebDynpro Application of another system via a URL call, thet the application should be opend in the CRM WebUI Window (statefull ) .
    Calling the application via a button event & transaction launcher works fine, but i need to call it from a BSP page. So my idea was to create an iframe, but this obviously opens a new window:
    <html>
      <head>
        <title>IFrames - Webdynpro Test</title>
      </head>
      <body>
        <iframe src=<%= lv_url_route %>"
          width="100%" height="500" scrolling="auto" frameborder="1" transparency>
              </iframe>
      </body>
    <html>
    Can anybody help?!?!
    Thanx & best regards,
    Oliver
    Edited by: Oliver Pregler on Jul 28, 2008 3:26 PM

    Hi Oliver,
    unfortunately I know nothing about BSP-Applications, but this is how I call my WD4A-Application using a FM from CRM:
    data: lr_empty_parent type ref to cl_gui_container,
          lr_viewer       type ref to cl_gui_html_viewer.
    data: lv_url(200)     type c.
    lv_url = 'http://www.xyz.com'.
      create object lr_viewer
        exporting
          parent             = lr_empty_parent
        exceptions
          cntl_error         = 1
          cntl_install_error = 2
          dp_install_error   = 3
          dp_error           = 4
          others             = 5.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                  with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      lr_viewer->detach_url_in_browser(
        exporting
          url              = lv_url
        exceptions
          cntl_error       = 1
          dp_error_general = 2
          others           = 3 ).
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                   with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      cl_gui_cfw=>flush( ).
    If it helps you - fine. If not - forget it
    Best regards
    Jörg Racz

  • How to Call one EJB from another

    Hi all
    I am trying to call one EJB in one system from another EJB residing on diferent system...
    Both are Stateless session beans ...
    I can't use No-args Intialcontext() as i need to specify the Ip address of other system to be looked up.....
    So i am using properties Dorg.omg.CORBA.ORBInitlalHost....
    But its not looking up..Its telling not bound...But i called it from standalone client remotely...
    Am i wrong..?
    I hope I am in right path....
    I hope ill get reply as fast as possible...
    Gopal V

    Hi ken Thanks for replying....
    Ya i packed it as a jar (using Export tool in Eclipse3.2)....
    I am using SUN AS 9.....
    I packed bean1 and bean2 as two different jars in the same domain...
    Here is my code...
    Bean1:
    @Stateless(mappedName="ejb/Second")
    public class SecondIMPL implements SecondRemote {
         public FirstRemote obj;
         public String connect() {
              try{
                   InitialContext ctx= new InitialContext();
                   FirstRemote obj =(FirstRemote)ctx.lookup("ejb/First");
                   System.out.println("Client :"+obj.bMethod());
              }catch(Exception e){
                   e.printStackTrace();
              return "Check server Log";
    }Bean2 :
    @Stateless(mappedName="ejb/First")
    public class FirstIMPL implements FirstRemote {
         public String bMethod() {
              return "From First Bean";
    Client:
    public static void main(String[] args) {
              try{
                   InitialContext ctx= new InitialContext();
                   SecondRemote obj =(SecondRemote)ctx.lookup("ejb/Second");
                   System.out.println("Client :"+obj.connect());
              }catch(Exception e){
                   e.printStackTrace();
    Here is my Stack Trace...
    [#|2007-05-24T18:35:17.214+0530|WARNING|sun-appserver-pe9.0|javax.enterprise.system.stream.err|_ThreadID=18;_ThreadName=p: thread-pool-1; w: 19;_RequestID=bb4848e7-829a-421d-a560-93659898eb02;|
    javax.naming.NamingException: ejb ref resolution error for remote business interfacecom.SecondRemote[Root exception is java.lang.ClassNotFoundException: com.SecondRemote]
         at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:350)
         at com.sun.ejb.containers.RemoteBusinessObjectFactory.getObjectInstance(RemoteBusinessObjectFactory.java:61)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:314)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.FirstBean.rediff(FirstBean.java:16)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1050)
         at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:165)
         at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2766)
         at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3847)
         at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:190)
         at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:110)
         at $Proxy36.rediff(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:121)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:650)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:193)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1565)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:947)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:178)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:717)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1270)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)
    Caused by: java.lang.ClassNotFoundException: com.Second
         at com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:701)
         at com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:614)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at com.sun.ejb.EJBUtils.getBusinessIntfClassLoader(EJBUtils.java:568)
         at com.sun.ejb.EJBUtils.lookupRemote30BusinessObject(EJBUtils.java:320)
         ... 31 more
    |#]

  • How to call an external server from Webdynpro program?

    Hi All,
    i have a requirement in which i have to call an external server from Webdynpro ABAP program.
    how to imp

    hi ,
    do u mean u need to call the external link from ur WD ABAP application ?
    if so , u either create
    1 a Link to URL ( LTU ) UI element  and call the external link using that
    2 if u wish to use some other fuctionality and thn wish to call the URL in ur application ,u write this piece of code in ur relevant on Action method :
    data:  lo_window_manager type ref to if_wd_window_manager.
    data:  lo_api_component  type ref to if_wd_component.
    data:  lo_window         type ref to if_wd_window.
    data:  ld_url type string.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    ld_url =  ''.  // ur external sever link here
    CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW     
    EXPORTING     URL                = ld_url           
    RECEIVING     WINDOW         = lo_window.
    lo_window->open( ).
    I hope u wud be able to create URL now .
    regards,
    amit
    Edited by: amit saini on Oct 13, 2009 11:25 AM

Maybe you are looking for

  • Mail attachments showing up as jumbled text

    Starting about a month ago, my school's IMAP account in Mail will randomly show just jumbled text when there should be an attachment, and I have to go onto the webmail server to download the attachment. It doesn't happen with my gmail POP account, so

  • Data service in area is extremely slow and often unusable.

    My phone lately has been showing 1x rather than 3G in this area most times (area code 76380).  I have an iPhone 5 and have reset network connections multiple times.  I had this problem when I first got my phone last year and was told by Verizon that

  • HP Probook 4530s IDT High Definition Audio Codec Speakers

    As the title states: HP Probook 4530s Windows 7 OS IDT High Definition Audio Codec  The laptop quit playing through it's speakers, but will play through the headphone jacks when plugged in.  Tolerated it for about 8 months now.  Recently, while playi

  • Is there a way to unregister a computer?

    When I log in online, I get the "we don't recognize this computer" message and I clicked through before unchecking the "register this computer" box.  Is there a way to unregister a computer? I don't like the idea of "registered computers" that have n

  • How many devices can connect at once

    I have an AirPort Extreme running my home wifi network.  How many devices can connect to it at one time?  What solutions are there if I'm over that limit?