Displaying reports in web dynpro view

Hai all,
          Iam working on a project in webdynpro which is used for the newly joined employees to fill their personal info.After they do that I need to display the reports to the Admin to Process the request for generating employee id.I have never worked with reports in web dynpro.All I need toknow is
--->Coding for getting the reports containing the requests and displaying them in the view.
Also this project is done using SAP HR---IS there any change in coding to retieve data from backend when using SAP HR.
Any help and answers will be appreciated.
Thanks n Regards
Sharanya.R

Hi,
You can try using UI element Iframe.
URL can be mentioned in source property of Iframe as http://www.google.com.
Re: How to Add URL in a view .
Regards
Manas Dua

Similar Messages

  • ABAP Web Dynpro View Display

    I have a Web Dynpro application with multiple views and components.  Some views have embedded views.  When the browswer is not full or the view cannot fit, the scroll bar is displayed.  The user scrolls down, performs some task data and clicks enter.  The view jumps back to the top and the user has to scroll back down to continue.  Does anyone know how to prevent this.  Also this app is not using the floorplan manager.

    Hi Sureshbabu,
    There are different ways to do display the PDF from as WebDynpro View.
    The simple which i followed was:
    Run the report in background mode (using submit statement, dn't forget to give printer as LOCL), get the spool id programatically. Use the FM's CONVERT_OTFSPOOLJOB_2_PDF or CONVERT_ABAPSPOOLJOB_2_PDF.
    Which returns the ouput of table tline, convert this to xtring and bind it to xtring attribute.
    In view add a interactive form and bind the xstring attribute to the Interactive form.
    By following the above steps, we can display the result in the PDF in WD ABAP.
    Also look inthe thread Re: How to call standard report in web dynpro abap.
    Best regards,
    Suresh

  • Display HTML in Web DynPro Java View

    Hi,
    I have a data in HTML code. It is a full HTML code with the body, head, html.... Now in my Web DynPro i have a section whereby it displayed the message that store in the database table. In that column store all the HTML code. So now in my Web DynPro im using a TextEdit to display the message. It will showed all the HTML code in the TextEdit.
    For example
    <html>
    <head>
    </head>
    <body>
    <p>Testing</p>
    </body>
    </html>
    Is it possible in Web DynPro to display the HTML just like a webpage? As it will convert the HTML code to a readable format.
    Thanks.

    Hi Adrian,
    In case you have formatted text that you wish to be rendered on a Web Dynpro view (but not shown as is) then you should use the FormattedTextView UI element.
    Follow these steps:
    1. Insert a FormattedTextView element in your view.
    2. To define the content of the FormattedTextView, select the text property of your FormattedTextView element and bind the text property to the context attribute which has your HTML content
    When the application is run,  the HTML will be shown as a web page.
    Event onAction is triggered when the user clicks on a link (<a> tag) inside the FormattedTextView. The parameter contains the href attribute of the triggered link.
    The TextEdit UI element will not serve your pupose. Hope this helps.
    Best Regards,
    Supriya

  • Calling an ABAP report from a web-dynpro view

    Hi,
    I have a web dynpro view that i would like to call an ABAP program from.  Any ideas how i can do this?  Thanks,
    Samir
    Edited by: Samir Vora on Feb 18, 2008 11:12 AM

    Hello Samir,
    that would mean mixing two different ui technologies and hence it not possible. You can start the report in background though. Please refer to [this list of restrictions and limitations|http://help.sap.com/saphelp_nw70/helpdata/en/46/82091e304559dbe10000000a1553f6/content.htm] regarding the usage of certain ABAP statements.
    Best regards,
    Thomas

  • Incorporating web service in an ABAP web dynpro view

    Hi,
    I am trying to call an external web service to have its results displayed in an ABAP web dynpro view. I've seen various threads that are dealing with the same issue, but none of them seemed to have helped me (I am quite new at this so maybe I'm just having a slow beginning, please bear with me)
    I'm interested in extracting information from a simple web service online. To this end, I went on www.xmethods.net and found a "quote of the day" service, which is practical because it doesn't even need input.
    I am writing down all the steps I've taken, even if they seem trivial, because maybe my problem is the result of a silly mistake I'm not yet capable of noticing...
    I am mostly following the instruction from here:
    <a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap:///people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    The SAP I use is the one on the SC7 system, seems to be ECC 6.0
    After I created my package, I go on to create a Proxy Object, and when prompted for a WSDL source, I give the URL destination I got from xmethods.net: <a href="http://www.swanandmokashi.com/HomePage/WebServices/QuoteOfTheDay.asmx?WSDL">http://www.swanandmokashi.com/HomePage/WebServices/QuoteOfTheDay.asmx?WSDL</a>
    Doing this I get an HTTP error (return code 400, message "ICM_HTTP_CONNECTION_FAILED") (others have had this problem, e.g. Calling Web Services from ABAP, but the answers offered haven't been much help to me)
    and having no idea what to change or not change in SICF and other settings, I decided to save the file locally, and so I then created a Proxy Object by choosing the WSDL source as the local file I saved.
    Telling me that multiple port types exist (SOAP, httpGet and httpPost) I picked SOAP. I can then see the properties of my Client Proxy Object, its structure with the classes and methods etc.
    Then, following Thomas Jung's procedure, I went to create a logial port which I named QUOTE_PORT. When I do the F8 test he suggests to do, I get an error: SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED") which was predictable since I still haven't resolved that same problem above.
    I then proceed to create a Web Dynpro Component. In that component, in the component controller's context, I created a simple node into which I added attributes which I created using the wizard -> Attributes from components of structure, and there I picked the structures that had just been created in my proxy object, each in its own node
    I have three proxy structures generated: GET_QUOTE_SOAP_IN, GET_QUOTE_SOAP_OUT and QUOTES. This last one has two attributes which are STRINGs, the quote of the day and its author.
    I then create a rather trivial view, whose context I have mapped to the component controller's context so as to have access to those "quote" and "author" attributes I just mentioned. The layout is simplistic at best, containing only two textviews, each one bound to its respective attribute.
    Once the application has been done and tested, the output is a blank page. I'm hoping that this is only because of that ICM_HTTP_CONNECTION_FAILED error. Has anyone else had these problems when calling external web services? Is this the right procedure for displaying output?
    Thanks and Regards,
    Micol

    Hi, sorry for the long reply time.
    from work I do have proxy settings:
        automatic configuration script: http://proxy:8083
        proxy server for LAN: proxy / 8080
    from home it's a proxy free connection.
    In both cases I tried changing the settings in the SICF transaction, but it hasn't changed much.
    With the HTTP error that I get, I get a long text on how to maybe solve it,
    <b>No connection to Integration Builder (only generic data visible)
    Message no. SPRX081</b>
    In this long text, I have four tests to do in order to check the connection (as far as I can understand)
    1. The address of the Integration Builder must be stored in the SAP system
    =>Check/maintain with report SPROX_CHECK_IFR_ADDRESS
    2. The HTTP connection of the ERP application server must function correctly
    =>Check with report SPROX_CHECK_HTTP_COMMUNICATION
    3. The Integration Builder server must be running correctly
    =>Check with report SPROX_CHECK_IFR_RESPONSE
    4. Proxy generation must interpret the data of the Integration Builder correctly
    ==>Check with report SPROX_CHECK_IFR_CONNECTION
    The checks for 1&2 work okay, but I get errors for checks 3&4
    "Integration Builder data not understood"
    How can I go on from here?
    Thx

  • BI Reports in Web Dynpro iView

    Hi Experts,
    I need a favour from you in estimating small requirement with BI reports & Web Dynpro iView.
    My first query, is it possible to build horizontal drilldown menus
    Second query, is it possible link the BI Reports from Web Dynpro application
    third query, is it possible to put both Web Dynpro iView & BI Reports view in one Portal iView.
    If all the above are possible, I have a requirement that should fulfil the below
    In a portl iView, I have several  BI Reports displays based on called report. But at the moment links to the report are in simple hyper link. Instead of hyperlinks, I want a horizontal menus as hierarchical/child structure. To acomplish this I chose, Web Dynpro as the best solution.
    I have some development exeperience in Web Dynpro, but never encounterd such a requirement.
    If any one can help me out in estimation, posibilites of the solution that would be a great help for me.
    Your help will be highly appreciated.
    Thanks in Advance,
    Chinna.

    Hi Chinna,
    Check the following threads:
    Show BI report in a Web Dynpro App
    BI data in Web Dynpro
    Re: How to create a Report from WebDympro
    Re: BW server details from webdynpro
    /community [original link is broken]://Bi,Portal Webdynpro
    And a How To Guide:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a303e745-0d01-0010-b280-802bca844b8f
    *Second query, is it possible link the BI Reports from Web Dynpro application
    third query, is it possible to put both Web Dynpro iView & BI Reports view in one Portal iView.*
    You can not assign two types of app in a single iview but you can have multiple iviews assigned to a page.
    This will guide you.
    Regards.
    Rajat

  • Double Click in ALV Report in Web dynpro ABAP4

    Hi All,
    I am very much new to WDA4 , can anybody plz guide me how to enable double click in ALV Report in Web dynpro ..
    Plz help it is urgent .....
    Thnks
    Sahil

    Hi All,
    I am very much new to WDA4 , can anybody plz guide me how to enable double click in ALV Report in Web dynpro ..
    Plz help it is urgent .....
    Thnks
    Sahil

  • Creating a report in Web dynpro using OOPS concept

    Hi all,
             Iam new to web Dynpro, i need to create a report in Web Dynpro  using oops concept. can any one guide me regarding it.
    Regads,
    Easter

    Hi,
    Please refer to these links -
    DEMO_COMMON_ASSISTANCE1 -Example for standard component
    http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/43/1f6442a3d9e72ce10000000a1550b0/content.htm
    Regards,
    Lekha.

  • Is it possible to change the background of Web Dynpro Views in MDE apps ?

    Hi Team,
    Is it possible to change the Background color of Web Dynpro Views in Mobile Device applications ?
    I have been able to change the cellBackgroundDesign from Transparent o fill1 etc and this change is visible in the desktop application.
    But whenever; I am running this application in Mobile Device, the color change is not visible.
    Also, there is an earlier post given by me for changing the color of rows in Table UI in SAP SRS Mobile Device Enabled.
    Color code logic not feasible in Pocket Browser
    Our Mobile Devices are:
    http://emobilescan.co.uk/downloads/manuals/ppt8800.pdf
    The OS is: Windows 2003
    and the Browser is: Pocket Browser.
    Please give me in any suggestion which I can implement to see the background color change w.r.t, Mobile Devices.
    Thanks & Regards
    Kaushik Banerjee
    SAP Portal

    Hi,
    Have you uploaded your Photobook to Kodak Gallery or Shutterfly?

  • Embed website in Web Dynpro View

    Hi all,
    I am trying to embed a website in a Web Dynpro View. I am not sure about it how to get this.
    I have created a ViewContainerUIElement on the view and the website should be placed in this element.
    My code for creating the website looks like following:
    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 = 'http://www.google.de'.
      CALL METHOD lo_window_manager->create_external_window
        EXPORTING
          url    = ld_url
        RECEIVING
          window = lo_window.
      lo_window->open( ).
    But how can I integrated the website in my ViewContainerUIElement or isn't it possible?
    Thanks for you help
    Peter

    Hi,
    You can try using UI element Iframe.
    URL can be mentioned in source property of Iframe as http://www.google.com.
    Re: How to Add URL in a view .
    Regards
    Manas Dua

  • Display data in Web DynPro table from database via EJB

    I have a JavaBeans model which has a method populateDataToTable()to retrieve data from database via Session bean (calling entity bean, returning ArrayList of data) and the data needed to be display in the Web DynPro table.
    User Interface (Web DynPro) <-> JavaBeans Model <-> Busineess Logic (session bean) <-> Persistence (Entity Bean)<-> DB table.
    The context bindiing and table part is ok. How do i load the data to the table ? what the coding to put in wdDoInit() ?
    Any help would be appreciated.

    in wdinit(),
    Collection col = new ArrayList();
    try{                    
      MyCommandBean bean = new MyCommandBean();
      col = bean.getDataFromDbViaEJB();
      wdContext.nodeMyCommandBean().bind(col);
    } catch (Exception ex) {
       ex.printStackTrace(ex); 
    in your JavaBean model class, MyCommandBean getDatafromDbViaEJB() method:
    Collection col = new ArrayList();
    Collection newcol = new ArrayList();
    //include your own context initialization etc...
    col = local.getDataViaSessionBean(param);
    // if your returned result also a bean class, reassigned it to current MyCommandBean
    for (Iterator iterator = col.iterator(); iterator.hasNext();) {
        MyOtherBean otherBean=(MyOtherBean)iterator.next();
        MyCommmandBean bean = new MyCommandBean();
        bean.attribute1 = outBean.getAttirbute1();
        // get other attibutes
        newcol.add(bean);
    return newcol;

  • Displaying Report in Web layout

    Hello All,
    Can anyone please tell me how to display reports in web layout during runtime. I've created a report in month_report.jsp, having both Web Layout & Paper Layouts. At runtime when I call the report the Paper Layout version is getting displayed. Is there any extra parameter I've to pass.
    For Example if I give the following address
    http://host-110:7778/reports/rwservlet?&report=month_report.jsp&destype=cache&desformat=htmlcss&userid=admin/test@testing&p_month=JANUARY
    I get to see the Paper Layout version of the report. What I want is the Web layout. Is there any thing or any setting I've change in the Reports server. Kindly help me out on this.
    Regards,
    Arun.V

    Thanks Frank,
    No one seems to giving me a reply in the reports forums. They are hard to come by. Could you please direct me to some post which might be helpfull. I just want to know whether there's something wrong with the way I'm calling the report... May be thats the reason that I'm getting the Paper Layout as output instead of Web Layout.
    Regards,
    Arun.V

  • Web Dynpro Views As Callable Objects in GP

    I would like to know how to setup a sequence web dynpro views off a common WD component as a callable object.  In particular, my GP will use View1, View2, .. View n all based on a common web dynpro DC and same single WD component.  How  should this be configured in GP that each View refers to the same WD instance?  Where is state stored in such a scenario?  Does the GP framework instantiated the WD component and maintain it for the entire lifecycle of the process?  Thanks.

    hi
    check out this link. Refer page 14
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9">Defining Several iViews based on one Web Dynpro application</a>
    Other link that can be helpful is
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9cfb445b814
    Thanks & Regards
    Harsimran

  • Web dynpro view 的背景色.

    请问: 怎么改web dynpro  view 的背景色。

    推荐几个有关的资料:
    Note: 1088717
    SAP Library:
    http://help.sap.com/saphelp_nw04s/helpdata/en/46/89af7fbe4d429ee10000000a1553f7/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/79/affe402a5ff223e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/e86de5008b4d9ae10000000a155369/content.htm

  • ADT: Web Dynpro view/window error "Failed to create the part's controls"

    Hi, all
    Most of the things in my ADT work fine (e.g. programs, structures, domains), even the Web Dynpro Componentcontroller can be edited.
    However, with Web Dynpro view and window I get this error message: "Failed to create the part's controls".
    In SAP GUI everything works fine.
    Why could this happen and what can I do?
    My system details:
    32-bit Windows 7
    Eclipse Luna Release (4.4.0)
    ADT from https://tools.hana.ondemand.com/kepler, according to these instructions:  SAP Development Tools for Eclipse.
    SAP GUI 7.30, patch level 9.
    SAP_ALL authorizations
    Java: SE, version 7 update 60
    Activated services (SICF): wdy_aie_vd_preview, toolsdocu, docu
    The Java error log in Eclipse is quite long. It starts with:
    java.lang.IllegalStateException: java.lang.IllegalArgumentException: No enum constant com.sap.adt.wda.controller.semanticfs.common.ControllerFileServices.ControllerObjectTypeEnum.WDYNWZ
        at com.sap.adt.tools.core.ui.editors.AdtFormEditor.addPages(AdtFormEditor.java:222)
        at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEditor.java:138)
        at com.sap.adt.tools.core.ui.editors.AdtFormEditor.createPages(AdtFormEditor.java:1251)
        at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:362)
        at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:140)
        at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:99)
        at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:321)
        at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
    As it is not popular to post long logs unnecessarily, I will skip the rest of it for the moment - let me know if it could help and I will post it.
    Thanks for help!
    KR,
    Igor

    Hi Ponraj,
    note applied without any problem.
    I'm still facing some difficulties accessing a WD component, maybe you could suggest me how to solve/proceed:
    in Eclipse Luna, I can access now a WD but "Layout" tab doesn't work - HTTP 403 Forbidden - Service cannot be reached. I guess it's a missing configuration, could you help me out on this?
    EDIT: This one is solved; I just missed to activate a service in SICF (WDY_AIE_VD_PREVIEW).
    That Eclipse module however seems not to be very stable; I tried to open a standard SRM WD view (wd component /SAPSRM/WDC_DO_SOCO_GAF_1, view V_AO_SOCO_GAF_1) and that resulted in the message:
    500 SAP Internal Server Error
    ERROR: Conversion of type C LENGTH 255 to type TABLE OF DEEP_STRUCTURE not supported. (termination: RABAX_STATE)"
    is there a way, from the Methods tab, to access directly to a particular method's implementation? The only way I found is going manually under the IMPLEMENTATION tab and CTRL+F with the method's name.
    is there any way to access to a particular enhancement made on the WD? Using SapGUI, there's a special "vortex" button to switch on a specific enhancement, but under Eclipse I can't find the alternative command.
    I know we're getting a bit OT with respect to the topic, anyway if there's a guide that could help clarifying my doubts please, share that documentation
    BR,
    M.

Maybe you are looking for

  • How do I get my old Itunes on my new computer when the old one is broken?

    Hi. I have got a new computer because my old one broke down. How do I get everything that I have already bought on Itunes on the new one?

  • PPC iDVD project give error on INTEL iDVD

    Ok, So here is the deal. I created a DVD-DL project on a PPC 15" Powerbook, project works and burns fine. If I open the project on my new Mac Mini Core Duo INTEL machine I get an error that the project is too large and its size is some large negative

  • Best Practice to Mothball Library against future need

    we have a StorageTek L20 library with an Ultrium 3 drive We've basically stopped using it, because we're using Backup-to-Disk now, but of course we have a lot of history on tape, which we may need to restore some time in the future. What's the best t

  • MacBook Pro and new AirPort Extreme issue

    Hi All: I just bought a new MacBook Pro and Airport. other computers and a wii in my house seem to keep the the connection, but with the MacBook Pro i need to set up the connection every time, as I have the SSID broadcast0 turned off. Has anyone seen

  • How do you invite or challenge someone in Game Center?

    It might sound stupid but I have Real Racing and Flight Control and there compatible with Game Center but I can't figure out how to challenge someone or invite someone to the game. I looked all over the app and that's there is play but it just opens