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

Similar Messages

  • How to use one Web Dynpro DC into another Web Dynpro Dc

    Hi All,
    I am trying to learn the usage of DC but I am unable to find a basic tutorial on this topic. I found a few tutorial and few blogs too, but none of them explains topics like:
    How to call child component methods from parent component and vice versa too if possible?
    Can somebody please provide me with a basic tutorial on this topic.
    Regards
    Sid

    Hi,
    Go through the Componentization tutorials
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/bd0e0401-0801-0010-aaab-d0e1742da383 [original link is broken]
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/751d003a-0b01-0010-8996-afbaa3fd5339 [original link is broken]
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#comp
    Regards,Anilkumar

  • 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

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

  • 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

  • Including gauges, bars, pie-diagram etc in Web Dynpro program

    Hi Experts,
    I am developing one Web Dynpro program. In this program, we have to include fancy features like progress bars, pie-diagram, gauges etc. These items should be related to some R/3 table. For example, if total hours allocated for some work is 50 hours and person has not used his time than the Bar should show that 100% time is unused. If person has used 25 hours, then Bar should show that 50% time is utilized. We have to use multiple colors also.
    Similarlly we have to use pie-diagram and Gauges. Again these should be related to some R/3 table.
    Can you please let me know how we can do so?
    Regards,
    Brian

    Hi Brain,
    Please go throught the following site, in that "UI Elements"-->"Using Business Graphics in Web Dynpro Applications"
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d [original link is broken]
    regards
    Anil
    reward points if useful

  • Itz possible to call one report program into another program

    hi guys,
                i had a doubt that can i call a report program into another report program by declaring their name into the second program like as we calling Includes ,function modules and like class and their methods .
    if  anybody done this or know how to do this,  give me the details and explination about this  friends
    if it possible with screenshots and codings
    Thanks & Regards
    Saigijeo

    Please search before posting, do not ask basic questions here.
    Always do your own work before turning to the community with specific problems.
    Thread locked.
    Thomas
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]

  • Logical database in web dynpro program

    Hi all,
    I want to add LDB (PNP) into my web dynpro program.by which i can get the data from database to the Application server.After Authrization check.
    I also want to use Infotypes 0082 in my program.
    Points will be sured.
    Thanks.

    Sanket,
    Can you explain "add LDB"? Webdynpro gets data and displays data from R/3. So any LDB has to be part of the RFC/BAPI you call.
    Same with infotype. If you want to "use" the structure of an infotype in Webdynpro, this structure needs to be part of the import/export of RFC/BAPI's signature.
    Thanks,
    Rajit

  • Java error while compiling Web Dynpro program

    Hi Experts,
    I am getting following error message while compiling Web Dynpro program. The erring lines are as below:
              Message message = new MimeMessage(session);
              try {
                   message.setFrom(new InternetAddress(fromMailId));
                   message.addRecipient(
                        Message.RecipientType.TO,
                        new InternetAddress(toMailId));
                   message.setSubject(mailSubject);
                   message.setText(mailBody);
                   message.setHeader("X-Mailer", "E-Mail");
                   message.setSentDate(new Date());
                   Transport.send(message);
    The error messages are:
    Message.ReceipientType can not be resolved
    The method send(Message) is undefined for the type Transport
    The method setFrom(InternetAddress) is undefined for the type Message
    The method setHeader(String, String) is undefined for the type MessageThe method setSentDate(Date) is undefined for the type Message
    The method setSubject(String) is undefined for the type Message
    The method setText(String) is undefined for the type Message
    Type mismatch: cannot convert from MimeMessage to Message
    Can you please help me in resolving the issue. It seems that some API is missing. I believe if some one can tell me the name of JAR file / API then I will be able to sort out the issue. I will add these JAR file in my program.
    Thanks,
    S

    Hi,
    Have you imported the required JavaMail jar?
    Please tell me what API you are using for the same.
    Also check Barcode Printing from EP --using barcode4J (Gurus kindly help me) forum to check how to add external jar files into WebDynpro project
    Let me know if you need more help on it.
    Regards,
    Ashutosh

  • Upload excel file to internal table in web dynpro program

    Hi friend's
    In web dynpro program how to upload excel file into  internal table and finally data will be save Y table.

    hi,
    See the properties of File Upload UI element..
    Link: [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/732f0510d83ff6e10000000a42189c/frameset.htm]
    Goto References -> User Interface Elements -> Integration Category -> File upload..
    After creating the 'FILE UPLOAD' element in a view.. Bind a datasource(a context attribute with STRING) with the data property..
    Double click on ONACTION_UPLOAD method. Write a code as given below.
    METHOD onactionon_upload .
    TYPES :   BEGIN OF str_itab,
           name(10) TYPE c,
           age(10) TYPE c,
           END OF str_itab.  DATA : t_table1 TYPE STANDARD TABLE OF str_itab,
             i_data TYPE STANDARD TABLE OF string,
             l_string TYPE string,
             fs_table TYPE str_itab,
             l_xstring TYPE xstring,
             fields TYPE string_table,
             lv_field TYPE string.
    DATA : t_table TYPE if_main=>elements_data_tab,
             data_table TYPE if_main=>elements_data_tab.
    * get single attribute 
    wd_context->get_attribute(  
    EXPORTING    
    name =  `DATASOURCE`  
    IMPORTING    
    value = l_xstring ).
      CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
        EXPORTING
          in_xstring = l_xstring
        IMPORTING
          out_string = l_string. 
    SPLIT l_string  AT cl_abap_char_utilities=>newline INTO TABLE i_data.
    * Bind With table Element.
    LOOP AT i_data INTO l_string.
        SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE fields.
       READ TABLE fields INTO lv_field INDEX 1.
        fs_table-name = lv_field.  
    READ TABLE fields INTO lv_field INDEX 2.
        fs_table-age = lv_field.   
    APPEND fs_table TO t_table1.     "Append to  the internal  table
      ENDLOOP.
    Edited by: Rameshkumar Raamasamy on Feb 9, 2010 9:39 AM

  • Calling ERP Web Dynpro from CRM Opptunity with parameters

    Hi, experts!
    In CRM7.0, I'm calling ERP Web Dynpro from CRM Opptunity.
    We've added a button in Opptunities and the buttom can navigate into ERP Web Dynpro.It works fine.
    Now, I'm trying to move the value of Opptunity ID to a field in ERP Web Dynpro when we push the buttom. That's a problem I want to solve. We're struggling to move the value, but it doesn't work.
    We uses the following settings:
    1) We call Z- Logical Links generated by Transaction Launcher when we push the buttom.
    2) We define Transaction Parameters in a Transaction Launcher Wizard(Step5). We've set "//clipboardBTOrder/BTOrderHeader/OBJECT_ID" or "//datacontextCURRENTBT/BTOrderHeader/OBJECT_ID".
    But both of them doesn't get any value.
    3) If you set SYST data or constants in Transaction Launcher Wizard(Step5), you can find the data in ERP Web Dynpro.
    Does anyone know which parameter gets the value of current opptunity data?
    Or if you have any tips to create URLS using programing, could you please share the information with me?
    BestRgards.
    Miki

    Does anyone have tips??

  • Error while compiling Web Dynpro program due to missing JAR files

    Hi Experts,
    I am getting error message while compiling Web Dynpro program. The erring lines are as below:
              Message message = new MimeMessage(session);
              try {
                   message.setFrom(new InternetAddress(fromMailId));
                   message.addRecipient(
                        Message.RecipientType.TO,
                        new InternetAddress(toMailId));
                   message.setSubject(mailSubject);
                   message.setText(mailBody);
                   message.setHeader("X-Mailer", "E-Mail");
                   message.setSentDate(new Date());
                   Transport.send(message);
    The error messages are:
    Message.ReceipientType can not be resolved
    The method send(Message) is undefined for the type Transport
    The method setFrom(InternetAddress) is undefined for the type Message
    The method setHeader(String, String) is undefined for the type MessageThe method setSentDate(Date) is undefined for the type Message
    The method setSubject(String) is undefined for the type Message
    The method setText(String) is undefined for the type Message
    Type mismatch: cannot convert from MimeMessage to Message
    Can you please help me in resolving the issue. It seems that some API is missing. I believe if some one can tell me the name of JAR file / API then I will be able to sort out the issue. I will add these JAR file in my program.
    Thanks,
    S

    HI Stuart,
    you are missing the jar files required for sending mail in java
    Installing JavaMail
    You will need the latest version of JavaMail (Version 1.2) available here:
    http://java.sun.com/products/javamail/
    Download and unzip the file, in the newly created top level JavaMail directory you will find a number of jar files,
    these need adding to your classpath.
    To do this in Eclipse, right click on your project in the tree view, select properties, select the libraries tab.
    Now click the 'Add external jars' button, navigate to your JavaMail directory and click on the jars.
    The tutorial also makes use of the Java Activation Framework, which is available here:
    http://java.sun.com/products/javabeans/glasgow/jaf.html
    Instalation of JAF is identical to JavaMail
    activation.jar / mail.jar are 2 distinct names i remember rest you will get above
    P.S: close the question to assist other users narrow the search and find solutions
    Message was edited by:
            Armin Reichert

  • Using an other web dynpro application into an actual application

    Hello,
    I have a web dynpro application into a developer component previously developed. I want to import it an another web dynpro application.
    The goal is to click a button, display the window of the other application and then once it is finished, go back to the first application (with some context parameters)
    Is it possible ?
    Thanks
    Quentin

    Hi,
    Solved same issue in this thread Re: Data transfer between two different Web Dynpro components
    PradeeP

  • Testing on Multi-language Web Dynpro program

    Dear all,
    I am trying to create a new translation for my web dynpro program with no luck, checked with the document many times and find no idea what's goind wrong...
    Here my last finding, please let me know anythings I can check:
    1) I tried to add a new xlf for _en and this work
    2) After I switch the language, I find that the text "row x of y" in the table control changed to the language I specific, but the label still using the one in *_en.xlf
    3) I also tried to use the application property to specific the sap.locale, but point 2 still happen
    Thanks in advance
    Regards
    Bill

    Hi Bill,
    You can get the user's locale like this:
    IWDClientUser clientUser = WDClientUser.forceLoggedInClientUser();
    Locale userLocale = clientUser.getLocale();
    Afterwards you can use the Locale's methods getCountry() and getLanguage().
    One thing you have to remember is reloading your WebDynpro project after adding a new language for a xlf file. Rebuilding is not enough, you have to reload your WebDynpro project (right click on the project folder in the WebDynpro Explorer and choose "Reload" in the context menu. Only then will all the property files for the corresponding xlf files generated.
    Cheers Marcel

  • How to call an web dynpro abap application with an particular theme

    Dear friends,
    i have created one web dynpro abap application. i created one theme XYZ in portal with required font size. when i applied this theme on portal all web dynpro application use this theme.
    i want to use current theme for one application not for all.
    is it poosible to call an web dynpro abap appl with the particular theme where as others should not be temper with this theme.
    please guide me by some useful steps.
    regards
    sunil

    Sunil,
    Check if this helps.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7015b1f9-535c-2910-c8b7-e681fe75aaf8?QuickLink=index&overridelayout=true
    Cheers!
    Sandeep Tudumu

Maybe you are looking for

  • Unable to Capture with MiniDV Deck - Strange Problem

    Hello everyone, I apologize if this is a repeat, but I couldn't find an answer among other discussions. I'll try to be as specific as possible.. The problem revolves around capturing a MiniDV tape. We are using a Sony GV-D1000 deck, which is connecte

  • Where can I find the cs6 download? I understand it comes with the CC subscription.

    Where can I find the cs6 download? I understand it comes with the CC subscription.

  • Movie rentals on laptop while traveling??

    Hi all, I rented a movie on my iBook that I intended to watch while traveling. While I know you need an internet connection to iTMS to transfer a rental movie to an iPod, evidently you need a connection to watch a rental movie on your Mac as well (as

  • Row of numbers

    My progam uses to calculate the average of all the numbers. The numbers are entered until it equal 0. This is the code public     class     rowNumber {     public  static  void  main(String  args[])      {     int     n[],i=0,count;           float  

  • CVI 2009 + NIDAQMX ?

    Bonjour, J'ai installé une version d'essai CVI 2009 et lors de la compilation d'un ancien projet (historiquement sous 8.0) j'ai des problème de link sur la bibliothèque NI-DAQMX ... Cela vient-il d'un problème de compatibilité avec mon ancien NI-DAQ