Calling pdk component in webdynpro

Dear All
is it possible to call a pdk component in webdynpro
Please provide your inputs
Thanks
Karthi D

Karthik,
When you say call a portal component, do you want to navigate away from your webdynpro and call a any portal component?
If yes,It is possible to call portal component. Just create an Iview for the portal component and assign that into portal page.
Call the component using EPCF navigation api inyour web dynpro by passing pcd location of the page.
Ram

Similar Messages

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

  • Reg calling Transaction code in Webdynpro ABAP

    Hi All,
    Can I call Transaction code in Webdynpro ABAP Portal Application. If so, how can this be possible? Can anybody give me a lead?
    Thanks.
    Kumar Saurav.

    Hi,
    The most easy Way is here:
    1) Test any Webdynpro Application from SE80 when the webdynpro Browser opens to display output
    Copy its HTTP link, Suppose we get the below link
    http://r3d01web1.Siemens.dk:8001/sap/bc/webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN
    2) Now replace some part of the above link ( webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN )  with the new link part ( gui/sap/its/webgui?~transaction=PA30 )
    So that the newly generated link is such that the below one:
    http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30
    Note in place of PA30 you can put any of your desired tcode.
    3) Now Just Make a webdynpro component and in its View layout put a LINK TO URL ui element
    and in its property REFERENCE just past the http link ( http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30 )
    4) Activate and test your webdynpro Application.

  • How can we navigate between two windows of same component in webdynpro ABAP

    Hi
    how can we navigate between two windows( not views ) of same component in webdynpro ABAP. its an urgent requirement
    Thanks in advance.
    Regards
    Laeeq

    Hi Laeeq,
    You cannot navigate between windows of one component. You can only call a dialog box showing the contents of a second window, or you can embed the contents of a window of a different component.
    Just add all the views you need to the one and only main window of the component.
    Ciao, Regina

  • How to call a webService from WebDynPro ABAP ?

    We are trying to call a webService from WebDynPro-ABAP application. It is not working, While if we are calling the WebService from a Report, it is working.
    How exactly do we call a WebService from a WebDynPro-ABAP application?
    What are the main steps involved ?

    Hi Phani,
    You will need to create a service call as follows.
    Right click on your WD component name and select Create->Service Call
    The wizard will guide you through a series of steps to make a Web Service Call. On the 3rd screen, it will give you options such as Function Module, Web Service, etc
    Before making a service call, you will need to create a proxy for the Web service in the ABAP Workbench using a WSDL document as a basis. To create or consume Web services, you will need the authorizations associated with the role SAP_BC_WEBSERVICE_ADMIN.

  • Calling a webservice from webdynpro ABAP.

    Hi,
    Anybody have doc/material with screenshots on calling a webservice from webdynpro ABAP (In WAS 7.0 version using service calls )  with clear steps ?
    Thanks in advance. Ponts will not be a constraint for right answers
    Praveen
    Edited by: Praveen kumar Kadi on Feb 23, 2009 11:19 AM

    Hi Praveen,
    1st Step : configure Logical Port
    http://help.sap.com/saphelp_nw70/helpdata/EN/16/285d32996b25428dc2eedf2b0eadd8/frameset.htm
    2nd Step : Generate Proxy Object
    http://help.sap.com/saphelp_nw70/helpdata/EN/16/285d32996b25428dc2eedf2b0eadd8/frameset.htm
    3rd Step : Instantiating the proxy object & calling the methods exposed by webservice
    data: sys_exception type ref to cx_ai_system_fault,
          sys_exception2 type ref to cx_ai_application_fault,
          client_proxy type ref to zco_myesa, "MY PROXY CLASS
          lv_ret_code type int4,
          lv_input type zsend_email_input,
          lv_response type zsend_email_response.
    data: lv_from type string,
          lv_from_address type string,
          lv_to type string,
          lv_to_address type string,
          lv_subject type string,
          lv_msg type string.
    lv_input-from = 'MYSAPTEST'.
    lv_input-from_address = '<someAddress>'.
    lv_input-to = 'Prashant'.
    lv_input-to_address = '<someAddress>'.
    lv_input-subject = ' TEST'.
    lv_input-msg_body = ' Hi this is wonderfull to see it work'.
    try.
    create object client_proxy
    exporting
    logical_port_name = 'BASIC'. " Basic is a TYPE G RFC Destination
    call method client_proxy->send_email
       exporting
         input  = lv_input
       importing
         output = lv_response    .
      catch cx_ai_system_fault  into sys_exception .
        data lv_err type string.
         lv_err = sys_exception->if_message~get_text( ).
         write: / lv_err.
      catch cx_ai_application_fault into sys_exception2  .
         lv_err = sys_exception->if_message~get_text( ).
         write: / lv_err.
    endtry.
    if lv_response is initial.
       write: /'Not Executed'.
    else.
       write: /'Did Execute'.
    endif.
    Greetings
    Prashant

  • Calling fragment component from page  in Oracle ADF.

    Hi ,i am  using Jdev 11.1.1.5 and  i have a requirement to call a fragment component(Eg:SelectoneChoice) which is using in a region and i want to call that component from a link from my jspx page.now the problem is ,the link which is in a jspx is a HTML link.
    Now the clear question is i want to disable that  dropdown which is in a fragment on the click of that html link which is in a jspx page.i will appreciate your valuable answer.
    Thanks.
    Satya

    Thanks Prateek,The exact requirement is to disable a drop down which is in a fragment and used as a region in a jspx page,now i have a link in the same jspx page.so when the user click that link (Eg:it should have a html link) the drop down should disable.
    Yes i agree with your point is to add a go-link or command link but requirement is to have a html link.if it would have ADF link then i should use setPropertyLitsener using the session.but its  a html link.
    Now i have some plan to use Jquery , i will appreciate if you could put some idea on that.
    Thanks,
    satya

  • Can we call COM component in JSP???????????

    Hi,
    I need to call a COM Component which is written in VB in my JSP Page. Is it possible to call??? If yes, plz let me know how with details? Fast and immediate reply will be appreciated...
    Thanks in advance
    A C Sekhar

    You do know that JSP runs on the server and produces HTML that runs on the browser, right? So do you want to call this COM component on the server or on the browser? If it's on the browser, then your question becomes "Can we call COM component in HTML (tiresome number of ?)". And this you can probably answer for yourself. If it's on the server, see the previous response by Breakfast.

  • Calling SAP scripts from WEBDYNPRO

    Hi
    We need to call SAP scripts from WebDynpro application.  As per my understanding we need to do following steps
    Create a new RFC function module and create sap script output in PDF format.For this
        - use OPEN_FORM , by assigning TDGETOTF='X' in the Options(Structure
          ITCPO). 
        - call function module CLOSE_FORM with option OTFDATA
        - convert OTF data to PDF by using function module CONVERT_OTF_2_PDF
    Now I would like to know how to display the PDF string from WebDynpro.
    Please help....
    Regards
    Sujith

    Hi,
    You can call by creating external window method.
    create LINK to URL or LINK TO ACTION according to requirement, for this. write code in onaction of that.
    data: iv_url type string value 'http://<server>:<port>/sap/bc/gui/sap/its/webgui?~transaction=*se38 RS38M-PROGRAMM=rsparam;DYNP_OKCODE=SHOP'.
      data: api_component  type ref to if_wd_component,
              window_manager type ref to if_wd_window_manager,
              window type ref to if_wd_window.
      api_component = wd_comp_controller->wd_get_api( ).
      window_manager = api_component->get_window_manager( ).
      window = window_manager->create_external_window(
                     url = iv_url
                     modal = abap_false ).
      window->open( ).
    Cheers,
    Kris.

  • Calling Print Screen in Webdynpro

    Hi All,
    Please any one can give me an idea for calling Print screen in Webdynpro.
    Ex: I have  Button "PRINT IMMEDIATELY"   - when i click on this it should call the Print Dialog  for asking number of copies.
    Thanks,
    Anitha

    Interesting question,
    I think it's not possible to call a javascript directly from your Webdynpro.
    Maybe you can create a BSP with Javascript inside it and call this BSP from your Webdynpro (Maybe you can use LinkToURL instead of a button to make easier?).
    window.print();
    Good luck!
    Regards,
    Roelof

  • How to call IAC Iview from WebDynpro java code

    Hi Team,
    I am tring to call IAC Iview from WebDynpro Java code. we are passing value but blank page  displayed and there is no error show on error log.
    Below is Java Code which i am calling.
      public void wdDoInit()
          try {
                String strURL = "portal_content/TestSRM/iView/TestSRM";                           //WDProtocolAdapter.getProtocolAdapter().getRequestParameter("application");
                 String random = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("random_code");     
                 //wdContext.currentContextElement().setRandomNumber(random);
    //below we are call URL           
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/TestSRM/iView/TestSRM?VAL="+random,WDPortalNavigationMode.SHOW_INPLACE,(String)null, (String)null,
                       WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String)null,(String)null, " ");
            } catch (Exception e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
    I am passing value from URL.
    http://<host Name>:<port>/webdynpro/resources/local/staruser/StarUser?random_code=111111111
    when we call above URL we getting blank screen.
    Regards
    Pankaj Kamble

    Hi Vinod,
    read this document (from pages 7 ).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62</a>
    In addition lok at these links: (Navigation Between Web Dynpro Applications in the Portal)
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm">http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm</a>
    It may be helpful for you.
    Best regards,
    Gianluca Barile

  • Is it possible to call module component's function through interface function

    Hi,
         I see this in the livedocs.
    "In general, if you want to set properties on controls in the module by using external values, you should create variables that are bindable. You then set the values of those variables in the interface’s implemented methods. If you try to set properties of the module’s controls directly by using external values, the controls might not be instantiated by the time the module is loaded and the attempt to set the properties might fail."
         I have an extended component in a module. I need to call that component's funcion from the interface function. i.e My main appication call the interface funcion, and that interface funcion has to call the component's funcion. Is it possible. I get error that the component is null, if I try this. Is there any way to do this.
         Thanks in advance.

    I accomplished this, by dispatching a event from the module, and handling it in the module itself. In the handler I am able to access the component. However it is possible only when I use ModuleLoader. I tried the same using ModuleManager. It didnt work. I am adding the listener in creationComplete event. The event was triggered properly. But the listener was not invoked.
    Below is the TestModule i used. In this setLabel is the implemented function.
    <mx:Module xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark" implements="TestInterface" creationComplete="onCreate()"
               xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" width="400" height="300">
        <fx:Script>
            <![CDATA[
                [Bindable] public var labelText:String = 'Initial Text';
                public function onCreate():void {               
                    this.addEventListener("test",testListener);
                public function setLabel(s:String):void {
                    trace(getQualifiedClassName(parentDocument));
                    this.labelText = s;       
                    triggerEvent();
                public function triggerEvent():void {
                    trace('triggering event');
                    dispatchEvent(new Event("test",true));
                public function testListener(event:Event):void {
                    trace('event caught');
                    trace(moduleLabel.text);
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <mx:Label id="moduleLabel" text="{labelText}"/>
    </mx:Module>
    With ModuleLoader I get the following output in console, when the setLabel function is called
    ModuleTest
    triggering event
    event caught
    test
    With ModuleManger,I get the following output. The event listener is not invoked.
    null
    triggering event
    Also while trying different options, in between I tried using parentDocument. I added the below line in the interface function.
    trace(getQualifiedClassName(parentDocument));
    This line printed the correct parent class name, while using ModuleLoader. But printed null with ModuleManager.
    Following are the functions in main application to load the module using module manager.
                public function onCreate():void {
                    loadTestModule();
                public function loadTestModule():void {       
                    var url:String = '';
                    url += 'TestModule.swf';
                    modInfo = ModuleManager.getModule(url);
                    modInfo.addEventListener(ModuleEvent.ERROR,moduleReady);
                    modInfo.addEventListener(ModuleEvent.READY,moduleReady);
                    modInfo.load(null, null, null, moduleFactory);
                public function moduleReady(event:ModuleEvent):void {               
                    if (event.type == ModuleEvent.ERROR) {
                        trace(event.errorText);
                    if (event.type == ModuleEvent.READY) {
                        mod = modInfo.factory.create() as TestInterface;
                        var el:IVisualElement = modInfo.factory.create() as IVisualElement;
                        this.addElement(el);                   
    Am I missing something when I use ModuleManager.

  • Importing JSF Component in webdynpro

    Hi,
    Please let me know how to import JSF component in webdynpro in  CE 7.2 SP 01.
    Thanks,
    Raghu

    Hi Raghavendra,
    Please go through this [JSF (JavaServer Faces) Tutorial|http://www.vogella.de/articles/JavaServerFaces/article.html]
    Hope this helps!!
    Regards
    Vijay K

  • Application breaks when called as Component

    So, I have this UI5 Application which works perfectly fine when called thru index.html, however it breaks (resources not found, failed to load,404 error etc) when I try to call it as Component. Both the applications (Caller & Callee) are on Gateway
    Here is the application folder structure.
    all the views are under zui5_trip_confirmation -> views folder..The images and models are in the respective folders.
    The component.js is under the folder Component and is defined as
    // define a new UIComponent
    jQuery.sap.declare("components.Component");
    jQuery.sap.require("sap.ui.core.UIComponent");
    jQuery.sap.require("sap.ui.commons.Button");
    jQuery.sap.require("sap.ui.table.Table");
    //new Component
    sap.ui.core.UIComponent.extend("components.Component", {
        metadata : {
            properties : {
                text: "string"
    components.Component.prototype.createContent = function(){
    /* trying to register the path zui5_trip_confirmation where all the views are stored */
    sap.ui.localResources("zui5_trip_confirmation");
    // jQuery.sap.registerModulePath('zui5_trip_confirmation','/sap/bc/ui5_ui5/sap/zui5_trip_conf/zui5_trip_confirmation');
        this.oView = sap.ui.jsview("idHome", "zui5_trip_confirmation.views.Home");
         return this.oView;
    The caller application calls it as
    jQuery.sap.registerModulePath('components','/sap/bc/ui5_ui5/sap/zui5_trip_conf/components');
    var oComp1 = sap.ui.getCore().createComponent({
            name: "components",
            id: "Comp1",
            settings: {text: "Hello World"}
        var oCompCont1 = new sap.ui.core.ComponentContainer("CompCont1", {
            component: oComp1
        oCompCont1.placeAt("content");
    When I run the caller application, I get resource not found errors on the console. Basically the Component is not able to resolve the path to the views/models/images.
    What could be wrong here?
    Regards
    Sandip

    Hi Sandip,
    I had the same issue when I tried to create the Component based applications. From the index file I had the call to the component but was not able to call any of the Views from the Component.js directly even though I register the module path and define local resources for the view and controllers.
    Eventually, I solved the issue by having an app.js file which is called from the index and then the app.js would call the Component.js similar to the approach followed in the UI5 Boilerplate applications written by HP Seitz
    UI5 Boilerplate explained (Part 1)
    I would like to see / confirm if this is an issue in the framework when application are built out of eclipse.
    BR,
    Nagarajan.

  • Strange Behaviour after calling Stateless component

    Just like the tittle says, something weird is happening when I call a component this way on attributtes definition
    @EJB
    private MyComponent component;
    then on a method
    BigDecimal var = null;
    try {
         var = component.someMethod(object,somethingMore);
         } catch (Exception e) {
    System.out.println(" Error ");
    At this point, is something which I am doing wrong?
    Well, the strange thing about this, is that the component's method returns a O.K. value (I See It on the log).
    When this value (var) is Zero, the report (the app) works fine.
    When var has a value different to Zero, the reporte crashes, and when I look the log, apparently there is nothing wrong on this component section, but lines down, there is the thin which crashes the app:
    UPDATE over a Database view!!!
    On normal conditions, this update shouldn't happen, it's just a query over a database view, and works correctly when I deactivate the calling of that component, or the result of the component's method is Zero.
    I think, there is something wrong on the component (Mycomponent) querys. But, the method is returning o.k. values, then?
    Thanks in advance.
    Johan T

    Yep. You have a bug somewhere. No need to post about that, you already figured that out. Perhaps you even have two bugs: one in your business logic or a query and one in your error handling code.
    Good luck finding it. Might I suggest learning how to use a debugger? You're going to need on at this point.

Maybe you are looking for

  • Inventory Management Extractors via DSO to Cube 0IC_C03

    Dear experts, to fulfill the requirements of DataWarehouse spirit using Entry-, Harmonization- and Reporting-Layer I want to use for Inventory Management a Data Flow from extractors 2LIS_03_BX, 2LIS_03_BF and 2LIS_03_UM via DSO/DSOs and later on to C

  • How To Run 10.5 Leopard on an External HD

    How do I successfully install and run Mac OS 10.5 Leopard on an external hard drive?

  • Decision on File system management in Oracle+SAP

    Hi All, In my production system we use to have /oracle/SID/sapdata1 and oracle/SID/sapdata2. Initially there was many datafiles assigned to the table sapce PSAPSR3, few as autoextend on and few as autoextend off. As per my understanding DB02 shows yo

  • Power Mac rebooting all the time

    Hello, I have a power mac g5 (2003 dual 1.8 ghz 8gb ram it was installed mac os x leopard 10.5.4 and I was offered to upgrade to 10.5.8.installation was successful and I was asked to restart my mac. Then it is loaded apple logo and after a  black scr

  • How to get rid of connect to itunes screen on ipod touch?

    I recentley completed an update on the itunes store. And after it updated, I unplugged my ipod touch and then instead of seeing the lock screen, i see a screen with a usb cord with an arrow pointing to the itunes logo. And the problem is..i can't get