Parameter transfer from one Web Dynpro Application to another

hi,
Is it true that  only parameters with string type can be transfered from one Web dynpro application to another ?

hi, Justin ,
You are right , I can use inplug for the dest component , and can transfer referenced type , but now I met a problem , how I can transfer the parameter to the dest comp ? 
I can use the following code to transfer a value from origin to dest , but how to transfer an object , can you give me some sample code ?
CONCATENATE l_url '?'
               '&guid=' lv_guid
               into l_url.
CALL METHOD window_manager->create_external_window
      EXPORTING
        url    = l_url
      RECEIVING
        window = lo_window.

Similar Messages

  • Navigating from one Web Dynpro app to another not belonging to same project

    Hi All,
    I wanted to know is it possible to navigate from one Web Dynpro app to another which does not belong to the same project. if yes how.
    Regards
    Sid

    Hi Siddarth,
    If you want provide the interaction between two Web Dynpro applications then you must develop those projects as Development Components as DCs provides the reusability of the components created.
    You can  through these link to find out more information:
    Where to start DC creation  ?
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd0e0401-0801-0010-aaab-d0e1742da383">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd0e0401-0801-0010-aaab-d0e1742da383</a>
    Server Side Eventing:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/19e6e990-0201-0010-eca6-a62e342eaad3">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/19e6e990-0201-0010-eca6-a62e342eaad3</a>
    Regards,
    Jhansi

  • How to execute a BI query/view from a web dynpro application?

    Hi all,
    I am trying to connect to a BI system from a Web Dynpro application. I have to execute a view/query and process the output in my application. Please guide me about how to establish the connection to the BI system from my web dynpro application and then execute the query/view.
    I have tried executing/modelling the BI query/view using Visual Composer but I get an error saying 'QueryView Instantiation failed' when I try to drag the view/query on to the design board.
    Please guide me and help me achieve this.
    Thanks & Regards,
    Kishan

    Hi Kishan,
    Define system for BI in portal and define JCo destination, then from WDJ application use can query BI.
    Create the Technical System and connect with JCO Destinations
    or
    Connecting through the BI Connecters (ex: XMLA Connecter)
    Refer below link:-
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1
    In this document you will get details related to connector and other admin activity.
    Hope this may help you.
    Deepak!!!

  • Passing a parameter while calling a web dynpro application on portal

    hi
    I am having a web dynpro application which retrieves data from R/3 system via RFC using Jco destinations define in the Portal.
    Now we have different kinds of portals running on the same WAS, now I want the application to run which access data from different R/3 systems thru different JCo destinations.
    I need to create a logic such that mu application runs fine on any portal with any Jco destination.
    Is there any provision to achieve this.
    kindly let me know about this.
    Thanks and regards
    kris

    Gopi,
    there's an parameter called "sap-wd-arfc-useSys" you can pass to the application, to change the used JCo-Connection (read more at http://help.sap.com/saphelp_erp2005/helpdata/en/f4/651741f163f023e10000000a155106/frameset.htm)
    so, if you're running the WD-aaplication on <b>one</b> WAS and call it from different portals, you have to create three (or six with the META-connections) JCo-Connection on your WD-WAS.
    In a WD-application you can access URL-Parameters with:
    WDWebContextAdapter.getWebContextAdapter().getRequestParameter("<your URL Parameter-Name>");
    kr, achim

  • Exiting from ABAP Web Dynpro application

    Hi,
    In ESS portal we have one tab Personal info, there I have created one link and integrated my ABAP web dynpro application.
    I want to exit from the application and go back to the Personal info sub area. created one exit button in my application on press of that i need take this action.
    Please guide me with this
    Thanks!
    Piyush

    Piyush,
    I am not sure whether it works or not just get the navigation url of personalinfo subarea and using portal APIs navigate to that url when you click on exit button
    Thanks
    Bala Duvvuri

  • How to Debug a BAPI from a Web Dynpro application

    I have a Web Dynpro application calling a BAPI, and I would very much like to see what data the Web Dynpro application is passing into the BAPI, and then debug the BAPI.
    Is there a way to do this? I'm wondering if it is possible to somehow set up the ABAP stack so that on receipt of the BAPI call, it appears on the tRFC queue waiting for execution.
    However it is done, I need a way to step through the BAPI on the ABAP stack.
    BR,
    Tony.

    Hi Anthony,
    The ABAP runtime environment contains various tools that you can use for analysis purposes, such as for debugging source code. All source code written for Web Dynpro applications in ABAP can normally be tested using the debugger.
    To allow it to test other Web Dynpro-specific program entities too, the debugger has been equipped with a special enhancement. In the phase model in the active application, you can typically see the following information at various points in time:
    -The structure of the content of the current controller,
    -The properties of the UI elements in the layout of the current view
    -The currently instantiated component usages
    Starting the Debugger
    The functions for debugging Web Dynpro entities are embedded in the new debugger. You therefore need to have selected the new debugger in your Workbench settings.
    Selecting the New Debugger
    1. In the menu, choose Utilities -> Settings.
    2. A dialog box now appears that contains two nested tab page areas. Choose the “parent” tab page ABAP Editor.
    3. The settings for ABAP Editor always open with the content of the child tab page Editor. Here, select Front End Editor (New).
    4. Now switch to the Debugging tab page in the ABAP Editor settings and select New Debugger.
    5. Save your changes and close the dialog.
    Starting the Debugging Process
    To run an application in debugging mode, you first need to set an external breakpoint in display mode in one of the methods in the component.
    Now start a test run of the application from ABAP Workbench as usual.
    The method in which you set the breakpoint depends on the purpose of the test run. To debug a view, for example, it is best to set the breakpoint in method WDDOMODIFYVIEW. Provided that the context of the view controller is not filled using a supply method, the view is fully instantiated in the phase model at this point in time.
    Selecting the Web Dynpro Tool in the New Debugger
    When you start the application, another session opens automatically for the debugger. If you have not yet saved any personal settings with regard to the layout of the debugger, the Editor tool will now appear on the left, with the Display Variables tool on the right.
    1. Select one of the three desktops in order to reconfigure it for debugging the Web Dynpro application (see Designing Work Areas).
    2. The right-hand edge of the debugger window has a bar of function icons. Choose the Replace Tools icon:
    3. In the next dialog box (New Tool) open the lowest node (Special Tools) and choose Web Dynpro.
    4. Confirm the dialog box.
    On the right of the debugger desktop, you will see that the previous tool has now been replaced by the Web Dynpro debugger. You can save this setting for future debugging activities. To do this, choose Save Layout In the debugger’s general toolbar.
    Thankyou,
    Ramganesh.

  • How to start a Web GUI program from a Web Dynpro application

    I know the program name , and it is a Web GUI program ,is anybody know how to start it from a Web Dynpro application

    hi,
    I use the following program to call a SAP GUI program :
    DATA: l_componentcontroller TYPE REF TO ig_componentcontroller.
      DATA: l_api_componentcontroller type ref to if_wd_component.
      DATA: l_sapgui_manager type ref to cl_wdr_sapgui_integration.
      DATA: lt_parameters    TYPE wdr_name_value_list.
      l_componentcontroller = wd_this->get_componentcontroller_ctr( ).
      l_api_componentcontroller = l_componentcontroller->wd_get_api( ).
      l_sapgui_manager = l_api_componentcontroller->get_sapgui_manager( ).
      IF l_sapgui_manager IS NOT INITIAL.
        l_sapgui_manager->fire( EXPORTING name = 'PROGRAM_NAME 'parameters = lt_parameters ).
    But the l_sapgui_manager is always initial , what can I do ?
    ENDIF.

  • How can we call methods of one web dynpro component in another one

    Hello Team,
    How do I call  one Web Dynpro component methods in another Web Dynpro component.
    How do we use public parts.
    thanks

    Hi,
    You want to use Comp2's getData() method in Comp1
    If both the WebDynpro components are in the same DC:
    1. Create a wrapper method (with the same signature) in the Comp2's Interface controller. And invoke the Component contorller's getData() method in this method using the below code.
    wdThis.wdGetComp2Controller.getData()
    2. Now Go to the Comp1 and right click on UsedWebDynproComps and add this Comp2 as a UsedWebDypro component.
    3. Now go to the Component Controller of Comp1 and in properties tab add the usage declaration of Interface controller of Comp2.
    4. Now using this below code you can access the method of InterfaceController of Comp2.
    wdThis.wdGetComp2Interface().getData();
    If both the WebDynpro components are in different DCs:
    1. Right click on Comp2 and select Add to public part on Comp2 in DC2.
    2. Now Add this public part in DC1 UsedDCs.
    Now repeat the above stpes 1...to..4. of  "If both the WebDynpro components are in the same DC" same.
    Regards,
    Charan

  • Access KM predefined property values from a Web Dynpro application

    Hi,
    I am trying to build a custom search interface in Web Dynpro which leverages the KMC Indexing and Search services.
    In this interface I would like to display value lists of predefined properties in KM (created using the Property Metadata Service) and bind each predefined property's value list to a checkbox group UI element.
    Which KM API should I use to retrieve the values of a specific predefined property ?
    When using the standard flexible user interface in the portal this can easily be achieved through configuration, but now I would like to know how to achieve this in Java code.
    Thanks in advance for your input.
    I have some idea on how to get the propertymap from a resource, but how can I access the metadata of a predefined property in KM directly ?

    Hi Theo, i'm working on something like this, i have a WD application that is accessing Km through a Webservice, on the webservice ejb i have this problem:
    IResourceFactory resFactory = ResourceFactory.getInstance();
    IRepositoryServiceFactory serFactory = resFactory.getServiceFactory();
    IPropertyConfigurationService propConfigService = (IPropertyConfigurationService) serFactory.getService("PropertyConfigurationService");
    IMetaNameListIterator i = propConfigService.getMetaModel().nameIterator();
         while (i.hasNext()) {
         IMetaName metaname = i.next();
         if ( metaname.getDocumentPatterns()!= null){
         propertyData.setId(metaname.getName());
         propertyData.setName(metaname.getLabel(locale));
         propertyData.setNamespace(metaname.getNamespace());
         propertyData.setDescription(metaname.getDescription(locale));
                    propertyList.add(propertyData);
    On this line serFactory.getService("PropertyConfigurationService") i get the following error on the trace:
    #System.err#sap.com/KmmsListEAR#System.err#Guest#2####30a27fa0cbfa11dbace30018de0545f1#SAPEngine_Application_Thread[impl:3]#Error##Plain###Configuration Framework error: unable to create an IConfigClientContext instance from an EP5 userInitialConfigException: The configuration service locator could not be initialized for any of the environments. The configuration framework is not available.#
    #System.err#sap.com/KmmsListEAR#System.err#Guest#2####30a27fa0cbfa11dbace30018de0545f1#SAPEngine_Application_Thread[impl:3]#Error##Plain###InitialConfigException: The configuration service locator could not be initialized for any of the environments. The configuration framework is not available.
    Do you have any idea of how to solve this? or if you accomplished in a different way, can you guide me a little bit.
    Thanks in advance Theo

  • How can I create a web Service from my Web Dynpro Application ?

    Hi,
    Kindly let me know How I could create a "Web Service" with my Web Dynpro DC project.
    Awaiting your responses.
    Regards,
    Mahesh

    Hi Mahesh,
          You can use the web services by creating the Model in web Dynpro
    And if you want to publish your own web service then you have to create a EJB module and publish as a web service.
    Thanks
    Ninad

  • Redirect from one ADF SSO application to another ADF application

    Dear All
    I've 3 ADF application developed which have 3 different context roots
    1. /XXXXView (http://<server>:<port>/XXXXView/)
    2. /YYYYView (http://<server>:<port>/YYYYView/)
    3. /ZZZZView (http://<server>:<port>/ZZZZView/)
    Without ADF security being implemented I could redirect from one application to other using below code:
    FacesContext fc = FacesContext.getCurrentInstance();
    ExternalContext ectx = ctx.getExternalContext();
    ectx.redirect("/YYYYView");
    Then I implemented ADF security in /XXXXView application and also protected the application in OAM (the port changed to <ssoport> and the new URL is http://<server>:<ssoport>/XXXXView/). After implmenting ADF security the rediection from /XXXXView to other applications stopped working and gave the below error.
    IllegalStateException: Response already committed
    Thinking one ADF secure application might not redirect to another non ADF secure application, I also implmented ADF security in /YYYYView. But no luck. Still redirection didn't work.
    Even I tried using the below code after following the blog (http://adfdeveloper.blogspot.in/2011/07/adf-auto-redirect-while-still-passing.html)
    FacesContext fctx = FacesContext.getCurrentInstance();
    ViewHandler vh = fctx.getApplication().getViewHandler();
    UIViewRoot viewToRender = vh.createView(fctx, url);
    fctx.setViewRoot(viewToRender);
    fctx.renderResponse();
    Still redirection didn't work. It will be of great help if anyone can help me resolving this issue.
    Regards
    Sibs

    You will want to look into Component Usage in Web Dynpro.
    http://help.sap.com/saphelp_nw04s/helpdata/en/0e/496ad66c601349a730502d3ea26e05/frameset.htm
    Regards,
    Rich Heilman

  • Calling one Web-Dynpro program into Another

    Hi All,
    I'm currently working on a Web-Dynpro program in which I am display 3 tabs(Using TabStrip) and in each tab I have a ViewContainer.  
    I want to be able to execute other Web-Dynpro programs within the Viewcontainers of the Tabs. 
    If the End-User goes from tab to tab, I want to pass a select number of parameters between tabs.   
    Is this possible to do and if so, how can I set this up?
    Thanking you in advance.

    Hello Lisa,
    I'm not sure what you really want...
    If you want to share data between several views of one webdynpro component, you should use the [context|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/444941db42f423e10000000a155106/frameset.htm] of your [component controller|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e2/434941db42f423e10000000a155106/frameset.htm].
    If you mean by "execute other Web-Dynpro programs within the Viewcontainers" to embed another webdynpro component you should have a look at [Cross-Component Programming|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/a7/1d8b412bb5b35fe10000000a1550b0/frameset.htm].
    Regards,
    Alej

  • OS X maverick - I want the swipe function to switch from one full-screen application to another, is it possible?

    Hi everyone,
    I just updated my mid-2010 MacBook Pro to the OS X Maverick. However, a friend of mine has Mountain Lion, and she has this really cool function that lets her swipe the keyboard to change the view from one "screen" to another, so for example she might have word open in one screen and safari in another. Can I do it in OS X Maverick as well? And if it isn't possible in Maverick, can I somehow update it so that I get the function? I've been trying to do the same with mine but it isn't working.. Really keen to get it to work as it would make life so much easier with writing essays and what not. I'm not very good with anything related to software, so forgive me if this seems like a silly question. Also, I'm not a native English speaker so my terminology might not be the best..
    Cheers

    Not a silly question at all.
    The function is called Spaces, which lets you switch between different desktops. You can read about Spaces here: Mac 101: Using Spaces to organize your windows and applications (Mac OS X v10.5, 10.6)
    If you click the symbol with the two opposite arrows, in the upper right corner of the window of an application that supports it, an app will open in full-screen mode.
    Then you can configure the gestures that control Spaces in Applications > System Preferences > Trackpad > more gestures.
    On my mac, for example, if I do a three finger swipe upwards, it opens Mission Control. Mission Control organizes the different desktops in Spaces. I can open a new desktop for Spaces, remove a desktop, or switch apps between desktops.
    It probably doesn't make much sense when this is described in words, but if I were you I'd just jump in and experiment with it a bit. If you have more questions report back here.
    Message was edited by: arthur

  • Transfer from one consolidation sub-group to another

    Hi,
    I wish to transfer a consolidation unit from one sub-group to another. To do this, I know that i need to divest the entity in one sub-group and post first consolidation in another group.
    For this, i change the divestiture period in the master of consolidation unit. What are the further steps for posting first acquisition? Should i change the organizational hierarchy (by dragging the consolidation unit from old sub-group to new??
    Specifically, the organization structure consists of the following Sub - Groups
    CG1
    CU - 1000 - Parent Unit
    CU - 1100
        CG2
        CU- 2200 - Parent Unit
        CU - 2300
        CU - 2400
                CG3
                CU - 3000 Parent Unit
                CU - 2100
    Currently CU 2100 is a 100% subsidiary of CU 3000. .For CG3, consolidation happens at 3000 level and then the results are passed on to CG2. In CG2, the parent unit is 2200 and then the results are passed on to CG1.
    In this month, CU-3000 sold it's investments in CU 2100 to CU 2400 (at a profit). There was no goodwill during acquisition of 2100 by 3000.....
    I wish to know how i can tackle this in BCS..
    Regards,
    Shreepati
    Edited by: Shreepati Shenoy on Mar 21, 2011 7:34 AM

    Thank you for your response!
    I read about this in the forum. But i am unable to understand how consolidation unit 2100 can be part of CG3 (with divestiture period) and CG2 (for new acquisition). I tried doing the following in our system -
    1) Enter a divestiture period (current period) for CU 2100 in CG3
    2) In AFD - I entered First Consolidation data for CU 2400 (which acquired CU 2100 at a profit)u2026
    3) When I execute Consolidation Group Changes u2013 Entries are posted only in CG3 (at PL02, 12, 22)..No impact can be seen in CG2..
    4) When I execute COI, I get an error which says that investment in 2100 exceeds 100% (i.e. it is 200%)
    I tried to drag and drop CU 2100 from CG3 to CG2. However this does not help either (as CU 2100 appears in CG2 only)
    Please help me understand if I am going wrong somewhere..

  • Data transfer from one crm system (Prod) to another crm system ( quality)

    Hi,
      I have a requirement in which i have to transfer a set of data ( BP, Product, Sales Order etc) for a given date range from production system to Quality system. I am more concerned abt the Business documents which move from CRM to ERP.
    I thought of moving those outbond bdocs which are generated in crm system for the passing the data into ERP from Prod to Qty sytem and  try to reprocess them as an inbound bdocs in Qty through some program. But i came to know that bdocs will not contain the full data of the business documents which gets created in CRM system. So if i reprocess those bdocs also i will not get the full data of those businesss documents.
    Any other alternative is there ?
    Regards,
    M Khan

    Hi,
    In the all the data transfer between SAP systems RFC is the best option.
    Just create a source system for the new BW system and it will work.
    Thanks
    Message was edited by:
            Ajeet Singh

Maybe you are looking for

  • Error in Java console with lop.properties file

    Hi, I keep getting this error on my java console when opening XI.  Somebody have an idea why? Thanks Yves NFO: using logging implementation "Dual SAP/AII Logging" INFO: log configuration file "C:\Documents and Settings\berniery\Desktop\log.properties

  • How good is the Collections.shuffle() method?

    Hello I have an ArrayList which I want to bootstrap from. I did not find any method to randomly select an entry from the ArrayList, so I use the shuffle method first, and then get the first entry (which should be random after each shuffle). However,

  • Mis match in BW report

    Hi Experts, I have a report Summary of Sales on 0SD_C03, in this report NET VALUE column is there, this column value is summation of BASICVALUE, BED, CESS, SEC-CESS. in R/3 these 4 values are there,but coming to BW it is showing '0' value for SEC-CES

  • Critical Patch Updates Apr 2007 for Oracle10g Database Express edition

    Hi, When will Oracle10g Express edition which includes Apr 2007 critical patch updates will be available. We use Oracle10 Database Express ed for development purposes and as per Apr 2007 critical patch update Oracle on XP has a security vulnerabiliti

  • PCR to equally distribute amount across WPBP splits

    Hi All Is there a PCR operation I can use to equally distribute an amount across WPBP splits? For example: WT currently processed as below (if a WPBP split occurs): /0Z1 02 50.00 I need to write a PCR which then sets the WT as follows: /0Z1 01 50.00