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

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • How to use the catalog in our own Web Dynpro program?

    Hi Expert,
    How to access MDM catalog and bring the product data back to a our own Web Dynpro program?

    Hi  Masa,
    The Catalog Search UI of SRM that is referred to as UI as aforementioned is a page which is capable of the selection of catalog items is linked from the shopping cart creation.
    Our biz requirement content two scenarioes to processing the purchase requirement.
    A.  Create shopping cart via the catalog (PR) --> SRM PO Process --> SUS(PO and Invoice) 
    This is the standard SRM purchase scenario and we have already implemented that.
    B. Create a requirement document via the catalog (This document is same with the SC but very simple, and we create this function by the own web dynpro program) --> transfer the requirement document to other purchasing system(none SAP)  in our intranet.
    So the key problems we faced are below:
    1. How to connect to the catalog search UI from our own web dynpro program.
    ( If we connect the catalog via the MDM ABAP API, that will make the catalog serach UI could not be used;
    Also  it has been failed to simulate the function of SC's connection to the catalog;
    So we decide to link the catalog serach UI via the URL, the linkage is "http://<J2EEserver:J2EEport>/SRM-MDM/SRM_MDM?sap-locale=EN&HOOK_URL=&mask=&namedSearch=General&username=&password=&catalog=<Repository Name>&server=&datalanguage=EN". )
    2. How to transfer the catalog item data to our own web dynpro program.
    If we link the catalog search UI by URL, we can not find any good method to transfer the catalog item data to our own program.

  • 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

  • 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

  • Conversion of SAP Internet services / ITS programs to Web Dynpro programs

    Hi,
    I am new to Web Dynpro. The basic information in I need to know is, what are all the ways we can convert the exisitng Internet (ITS) services to Web Dynpro programs.
    Is there any tool available to convert them directly or does it involve any programming.
    Regards
    Satya

    I dont think that there is any tool available to do the conversion. you have to recode them
    Regards
    Raja

  • Display documents (jpg,doc,tff,ppt,pps,xls,pdf etc) in web dynpro

    Hi experts,
                    I have a requirement to upload the document of any type (jpg,doc,tff,ppt,pps,xls,pdf etc)  to a Z table (may be in a binary format) in a web dynpro application.
    I think this can be achieved through Fileupload view element.
    In another  window, I need to display the document based on what is selected in the table row. Which control or method can display any type of document?  As far as I know, the office control view element can only display documents of type (.doc and .xls).
    Please provide pointers on this or any example will help me.
    Thanks,
    AmitJain

    Abhimanyu,
                  Thanks for the reply. Wonderful it worked like a miracle.
    Awarded full points.
    Thanks
    Code I used in the action:  onactionclick
    METHOD onactionclick .
      DATA: content TYPE xstring.
      DATA:  lr_context_view_node          TYPE REF TO if_wd_context_node.
      wd_context->get_attribute(
          EXPORTING
            name =  `PDF`
          IMPORTING
            value = content ).
      CALL METHOD cl_wd_runtime_services=>attach_file_to_response
        EXPORTING
          i_filename      = 'Default_pdf.pdf'
          i_content       =   content
          i_mime_type     =   'pdf'
         i_in_new_window = ABAP_FALSE
         i_inplace       = ABAP_FALSE
    ENDMETHOD.
    Edited by: Amit Jain on Apr 2, 2009 5:46 PM

  • Error when Deploying Web Dynpro program

    Hello,
    I am new to Web Dynpro. Today I have written my first program and when I tried to deploy it, I got the following error
    "Deployment aborted
    Deployment exception : Cannot determine sdm host (is empty). Please configure your engine/sdm correctly !"
    Can anybody please tell me how to catch or resolve this exception or problem.
    Priya

    HI
    GOOD
    GO THROUGH THE FOLLOWING LINKS, WHICH WILL HELP YOU TO GIVE THE IDEA ABOUT THE CATCHING EXCEPTION IN WEBDYNPRO.
    http://help.sap.com/saphelp_nw04/helpdata/en/59/e8e95d1eba48dfa86ae91ad8816f5d/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/e085d6421a4d9de10000000a155369/content.htm
    /people/balaramnaidu.bankuru/blog/2006/04/23/importing-complex-javabean-model-into-webdynpro-by-creating-relationships-for-the-model-classes
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3795 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    THANKS
    MRUTYUN

  • Basic Steps to create a web dynpro program

    Hi Gurus,
    I am an Abaper and i am very much interesting in Webdynpro... i don't have basic knowledge on Web Dynpro...
    So can any one of you provide me the basic steps to create a program or If you have any docs then kindly share with me
    Regards
    Sameer([email protected])

    Hi
    This link will help you
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    you can also search sdn for more helps and examples
    Also check this thread
    https://forums.sdn.sap.com/click.jspa?searchID=9213934&messageID=4627099
    Regards
    Sarath

  • STAD + Getting Web Dynpro program names with FM SAPWL_READ_STATISTIC_FILES

    Hi, does anyone knows why I can't seem to get the report-names of a web dynrpo app with this FM?
    Is there maybe an other FM with which I can get the results of transaction STAD?

    Hi,
    they use different fields for web dynpro applications. Check note 1261535.
    Cheers

  • How to Include Java sourcecode into EAR File in Web Dynpro

    Hi Everyone,
    There should be a setting in the developer studio , where in which we can include the source code into a EAR File after we build the source code.
    I am unable to get this settings.
    Please help me out
    Regards,
    Raj

    Hi,
    Well i don't think any of the source codes comes under the ear file when you deploy your application. You can see this.
    First open your project folder, here you will find the ear file.
    Open the command prompt, change the location to the place where ear file is located and then enter :
    jar xvf myearfile.ear
    This will give the extract of the ear file.
    thanks & regards,
    Manoj

  • How to Include Java sourcecode into ER File in Web Dynpro

    Hi Everyone,
    There should be a setting in the developer studio , where in which we can include the source code into a ER File after we build the source code.
    I am unable to get this settings.
    Please help me out
    Regards,
    Raj

    Hi,
    Well i don't think any of the source codes comes under the ear file when you deploy your application. You can see this.
    First open your project folder, here you will find the ear file.
    Open the command prompt, change the location to the place where ear file is located and then enter :
    jar xvf myearfile.ear
    This will give the extract of the ear file.
    thanks & regards,
    Manoj

Maybe you are looking for

  • Invalid Oracle URL specified: OracleDataSource.makeURL in Arquillian ITest

    I asked this on Stackoverflow but haven't received any feedback.  oracle11g - Invalid Oracle URL specified: OracleDataSource.makeURL in Arquillian ITest - Stack Overflow   I'm hoping for a response here. I work hard to resolve any and every error I g

  • Business area and profit centre field to make mandatory in all transactions

    Dear Team, My client wants to make the above mentioned fields mandatory while entering any business transactions. viz. MM,FI / SD transactions. He wants to capture the details Business area wise as well as Profit Centre wise. Please let me know wheth

  • Sales person assigned to an account?

    On which screen of the WEB UI can i see a sales person assigned to an account?

  • Having multiple query windows open at once.

    I wasn't sure how to phrase it so after some digging I'm resorting to asking on here. I've been working out of the 'Joes2Pros' series and I work within SMMS with SQL standard installed locally for playing. Most of the time I like to have multiple que

  • IDOC's

    Hi Experts I am nwe to XI. Please clarify me on the following issues. Q1)What are the  IDOC's there in XI and for what they are used for? Q2)How to trigger an idoc from R3 system? Q3)From where can i know the idoc no i.e is created in a file to idoc