Scrolling in html viewer control

hi
I placed a html viewer contol in my tab page.How to enable scrolling  for html viewer control.Can anyone help me out in this ?

It should happen automatically... have a look at the demo program SAPHTML_DEMO1 and try going to, say, www.google.com and execute a search - you should see the scroll bar activate as the results page lenght is greated the control size.
Jonathan

Similar Messages

  • Integrated ITS issues in HTML Viewer Control related to applets

    We are currently running on integrated ITS - WAS 7.0 kernel 90 at level SAPKB70010.  We recently upgraded from a 46C environment that was utilizing external ITS.   We also utilize the standard SAP CIC0 transaction (call center interaction center)  that is essentially running the webgui service inside of html viewer controls inside of the SAPGUI.
    Once we upgraded to the integrated ITS we have lost some functionality.  It appears functions like exporting to spreadsheets from ALV grid, for example, no longer work in the CIC0.
    Through some investigation, I can see that if I run the webgui service in an IE browser, the ALV grid export functionality will work, and makes use of applets.
    If I run the same webgui service in an HTML viewer control  (for example, by running thru program RSDEMO_HTML_VIEWER), I can see that the download will not work.
    I'm aware the HTML viewer control has limitations, however this functionality worked fine for us when using the External ITS, and is important functionality for our CIC0 transaction.  We are using the same version of SAPGUI (640) now we were using before.
    Is anyone aware what has changed with Integrated ITS that would make this functionality no longer work in HTML viewer control?  or possibly settings that might need adjusted?
    Thanks,
    Pam Crissman
    Pam Crissman

    Hi Pam,
    I found something on SAP Notes:
    Check this:
    Note 858959 - ALV export: saving in SAP GUI for HTML as local file
    Regards,
    Siddhesh

  • Problems in using html Viewer control

    Hi,
    I am using a html viewer control .Depending on the organization, I have to display different pages of the same web application in the html viewer control .Now my problem is
    if I display one page in my html viewer control ,its showing the same page again in the html viewer control ,even if i give different url in the show_url method of the html viewer control.
    Any body knows how to solve this problem ?

    Have you tried testing this with the SAPHTML_DEMO1 demo program and just keying in the URLs you want to display?... this demo uses the html_control->show_url method and if you run in debug you'll see it subsequently does a "call method cl_gui_cfw=>dispatch." to trigger the display of the new URL.
    Jonathan

  • Where to create a defalut web page to be displayed in html viewer control.

    Hi ,
    I want to create a default html page to be displayed in html viewer control.Where I should create this html page and how to
    call this in my program.It is mentioned that
    'This page can be designed with the SAP web repository.' How to design this page with SAP web repository.
    Also it is mentioned that COM_PRDCAT_WEB_API(701) can be reused .Where to find this COM_PRDCAT_WEB_API.Can anyone help me out in this ?

    you can create the template using any html editor and store them in transaction SMW0

  • PCUI HTML viewer Scroll bar

    Hi,
    We have a custom HTML viewer as one of the tab in PCUI application.It conntains a vertical scrollbar within it. That means while accessing the page we have two scroll bar one is browser scroll bar and another is within the tab.We don't want the scroll bar within the tab.
    If we check standard html viewer tabs ( configuration tab in orders, Questionaire tab) inside scroll bar is not present.
    How can we remove the additional scroll bar.
    Thanks in advance,
    Abdul Raheem S

    Sorry for bringing up this old topic.. but I did not find any other solution in the forums for my problem:
    Currently we are using the PCUI HTML viewer to display a seperate BSP Application on a tab page. Everything works perfect, exccept the fact that I always get the user authentication pop-up when accessing the tab where the html viewer is embedded. Strange thing is, that we are using SSO. If the user logon fails I get an error page, but after that when selecting the tab again the bsp application is displayed correctly without authentication.
    Has anyone experienced the same behaviour ? Did i miss something to implement in the BSP ?
    Thanks for the help !
    Rgds,
    Axel

  • HTML View - Click to activate and use this control

    Hi, I have an HTML View in my VC App.  When the HTML View is presented it has to be clicked on. There is also a tool tip that states "Click to activate and use this control".   I didn't see any mention of this in the forums. 
    Is there any way to get rid of this? 
    Thanks,
    Ken Murray

    Hi Kenneth,
    maybe you had this issue not before and then you have patched your windows system. This issue comes with a microsoft patch last year I think it was october or november.
    Here on SDN is a how-to available which explains how you can remove this patch, but I think it's not recommend to remove security patches.
    Best Regards,
    Marcel

  • BIP report using HTML view in dashboard printing without scrollbars, parts

    Have created BI Publisher report in the MS Word using Landscape page settings.The report is printing without scrollbars in the OBIEE Dashboard using HTML view.
    Could not see the whole page output...have tried using resolution property settings in the dashboard configuration...havent found any solution.
    Have tried to use MHTML but the logos are missing.
    Any quick solution for the above will be very helpful.
    Thanks
    Baddam

    Hi Venkat,
    Thanks for your quick respond.
    1.) Auto Run is enabled. And the report runs automatically as well. But then it ignores the dashboard prompt (as a regular report would do as well). But when I choose some values in the prompt and then press go. Then it says I have to press on view as well.
    2.) no that is not the case. My report is so big that it always need a scroll bar ;) also adjusting the size settings in the dashboard doesn't help. The only occurs when viewing in HTML, when previewing in excel or RTF it all just work fine.
    3.) true, but ow well this is the least importetant one ;) so if this doesn't work, than it doesn't work ;)
    4.) Ok, I will have a look on that.
    5.) I did enabled HTML and EXCEL outputs in my BIP report. But when the first point is working, then I don't want to see the control bar anymore and I want to have the output on the dashboard in HTML and then I want to build a button, or a link or something that exports the request to excel. Is that possible?

  • Crystal Reports Viewer Control  - Visual Studio 2008 WEB Application

    My question is this:  Has ANYONE on this planet been able to get the ASP .NET CR Viewer control to actually work?
    Why does this editor NOT recognize End-of-line or CR characters or any whitespace??
    I have developed a Crystal Reports "Viewer" web application in VS2008 using C#.
    It's a simple app, in that it's a single page with a treeview control (containing the grouped names of the reports to which the user has access) and the CR Viewer control.
    The report files live on a network share, and permissions to them is controlled via a SQL Server database, which, for each report, stores the UserID and Logion for the oracle database, as well as any required parameter values.
    The reports themselves are all hititng an Oracle 10g database.
    I managed to do this in a Windows desktop applcation using Visual Studio 2005 and VB .net, but now, upon trying to make this a web application in VS2008, I have completely failed. The application works when run locally, but when deployed to the web server, I experience database login prompts when I should not, (the dreaded "Report requires further information" message) even thought the setdatabaselogin has already been set. I have tried saving the reportdocument in viewstate and re-assigning the viewer Datasource property to it, that also fails. However, it only does it on some reports, and not others. (admittedly, the reports may have been created using different CR versions)
    The viewer also displays data it should not be displaying when I attempt to scroll, when I do manage to get a report to run.
    I am setting parameters dynamically at run time, whose values are stored in the SQL database.
    Code Sample:
    protected void ShowReport(int ReportID)
            SQLDataPortal2005.Common sql = new SQLDataPortal2005.Common();
            Hashtable outParms = new Hashtable();
            string sAccess;
            IDataReader dr;
            CrystalDecisions.CrystalReports.Engine.ReportDocument rptDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            System.Security.Principal.WindowsPrincipal p = System.Threading.Thread.CurrentPrincipal as System.Security.Principal.WindowsPrincipal;
            sAccess = p.Identity.Name;
            int j = 0;
            int i = -1;
            if (!IsAdmin())
                sql.ExecNonQuery("CrystalReports", outParms, "proc_CRM_Check_Permissions", sAccess, Convert.ToInt32(TreeView1.SelectedNode.Value));
                if (outParms["@Allow"].ToString() != "True")
                   Response.Redirect("ErrorPage.aspx");  // redirect to  error page
            string sPath = System.Configuration.ConfigurationManager.AppSettings["WareHouse"].ToString();
            sPath = sPath + TreeView1.SelectedNode.Text.Trim() + ".rpt";      
            rptDocument.Load(sPath);
            dr = sql.GetDataReader("CrystalReports", "proc_CRM_Get_Report", Convert.ToInt32(TreeView1.SelectedNode.Value));
            while (dr.Read() == true)
                j += 1;
                if (j < 2)
                    rptDocument.SetDatabaseLogon(dr["DB_Login"].ToString(), dr["DB_Pwd"].ToString(), "PLAW", "LAWDB", true);
                    pList = dr["ParmList"].ToString().Split(',');
            dr.Close();
            dr.Dispose();
            if (pList.Length > 0 && pList[0].ToString().Trim() != "")
                foreach (CrystalDecisions.Shared.ParameterField x in rptDocument.ParameterFields)
                    i++;
                    switch (x.ParameterValueType)
                        case CrystalDecisions.Shared.ParameterValueKind.BooleanParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToBoolean(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.CurrencyParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToDouble(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.DateParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToDateTime(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.DateTimeParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToDateTime(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.NumberParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToInt32(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.StringParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToString(pList<i>));
                            break;
                        case CrystalDecisions.Shared.ParameterValueKind.TimeParameter:
                            rptDocument.SetParameterValue(x.Name, Convert.ToDateTime(pList<i>));
                            break;
            Session["CReport"] = rptDocument;
            CRV1.ReportSource = rptDocument;
            CRV1.DisplayGroupTree = false;
            CRV1.HasRefreshButton = true;
            CRV1.ShowFirstPage();
    Is there a better/different way of accomplishing this very simply process? All I need this application to do is to view a report, while setting it's parmeters (if required) dynamically at run time. I don't EVER want the user to be prompted for DB LOGIN INFO.
    Edited by: RichardK on May 10, 2010 4:14 PM
    Edited by: RichardK on May 10, 2010 4:14 PM
    Edited by: RichardK on May 10, 2010 4:16 PM
    Edited by: RichardK on May 10, 2010 4:18 PM
    Edited by: RichardK on May 10, 2010 4:22 PM
    Edited by: RichardK on May 10, 2010 4:23 PM

    To answer you question; Yes, I suspect that most of the users in this community have managed to successfully create web apps. And this is the tiniest of sampling of the developers out there...
    A few suggestions;
    1) Keep the posts to under 1200 characters. Otherwise, the formatting is lost which makes it difficult to read.
    2) Try out a few sample apps from here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Suggest; csharp_web_simplelogonengine.zip, csharp_web_simplelogonviewer.zip and csharp_web_subreport_logon.zip.
    3) Start simple; one table, one field, no subreports. Hard code the database logon parameters. Convince your self that this does work. Increase the complexity - add fields, tables, subreports. Do not mix connection methods (e.g.; if ODBC for main, than ODBC for sub is a good idea, though not a requirement).
    4) See the article [Troubleshooting Guide to Database Connectivity Issues with Crystal Reports in Visual Studio .NET Applications|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0225775-88c4-2c10-bd80-8298769293de].
    5) See  [this|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/d05b3bb7-0f28-2c10-4ea3-84dbdc4e414e?quicklink=index&overridelayout=true] article.
    6) Consider creating a phone case here:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • SSRS reports are not fitting properly in Report Viewer Control

    Hi All,
    We are using Report Viewer Control to render SSRS reports & show it on SharePoint web page. In .aspx page we are putting Report Viewer Control as follows:
    The zoom percent of Report we are getting from Report Server is 100%. We are making it as 50% to show it on our page. On one page, we are showing 2 reports.
    <rsweb:ReportViewer ID="rpv2Chart1" runat="server" Font-Names="Verdana" Font-Size="8pt" ProcessingMode="Remote" Height="211px" Width="813px" ZoomPercent="50"></rsweb:ReportViewer >
    The reports are coming. But the reports which we are getting inside the control are not readable & 25% of Report Viewer Control on our right hand side is blank.
    As you can see it's not readable. For readability we want to use that white space also & want to utilize full controls's space. But if we try to increase percentage from our report viewer tag, then the graph is zooming in with both, height & width
    so it's going out of control.
    Client don't want scroll bars on Report Viewer control. We just want to utilize the entire Report Viewer Control space.
    Can anyone suggest us how to do that?
    Thanks,
    Sanjay

    Hi Sanjay,
    I'm afraid that it is not the correct forum for this issue.
    If it is the SSRS issue, you could post this issue here:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices
    If it is the VS report control issue, maybe you would get better response here:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=vsreportcontrols
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • RH8--Changes made to HTML not persistent in HTML viewer

    During our pre-release QA, we discovered that many of our topics had lost the line of code that called the ehlpdhtm.js file:
    <?rh-script_start ?><script src="../ehlpdhtm.js" type="text/javascript"
            language="JavaScript1.2"></script><?rh-script_end ?>
    I'd run into this problem before and knew the fix was to add this string in just below the <body> tag. The good news is the fix works.
    The wierd news is, the changes disappears from HTML view when you save &check the topic back in to RSC. Opening the topic in an external editor proves the topic  was modified, and the next build propagates the change as desired, but even clearing the project files an reloading from source control doesn't display the change in the HTML viewer.
    Does RH store that view somewhere? We have the option checked to rebuild the .cpd file every time we get the file out of Source Control. I've also filed this as a bug with Adobe.
    .MW

    You cannot edit messages in place. You need to copy them and send them to the same or another queue.
    JMS != JDBC...
    Regards,
    Colin.
    http://hermesjms.com

  • Display PDF itab in HTML viewer w/o file

    Hello!
    If I download PDF internal table (for example, converted from spool) to file, I can easily display it in a CL_GUI_HTML_VIEWER control. Is there a way to pass PDF data directly to HTML viewer, without using intermediate file?
    Thanks!
    Kind regards,
    Igor Barbaric

    You need to use the following methods of htmlviewer class
    call method l_html_control->load_data
        exporting
          type                 = 'text'
          subtype              = 'html'
        importing
          assigned_url         = l_url
        changing
          data_table           = l_new_html_page
        exceptions
          others               = 4.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                   with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      call method l_html_control->show_data
        exporting
          url                  = l_url
        exceptions
          others                 = 3.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                   with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    l_new_html_page will hold the PDF data and also
    type                 = 'text'
          subtype              = 'html'
    has to maintained for PDF.
    I havent tried this but it should work.
    Regards
    Raja

  • SSRS web based report viewer control rendering issues - text getting clipped chopped off

    Hi,
    I am using web based SSRS report viewer control to display SSRS reports in browsers like Chrome, FF, IE, Safari etc. My issue is some text is getting chopped off (clipped) in all cells of some reports. I investigated on my end by analyzing generated HTML
    and I could see a problem in the HTML that report viewer control is generating. But I am afraid to apply any HTML or Javascript hacks at the moment considering we have hundreds of reports.
    You can see in above image how text got chopped off. The problem in HTML (given below) is the text has been wrapped in a div tag with a fixed height. If I remove the height and also padding on parent TD, the text appears properly.
    <td class="A23dfe7c5f99245f2a0db522a22a6035597c" style="HEIGHT:5.00mm;background-color:#d3d3d3;"><div style="HEIGHT:3.24mm;overflow:hidden;"><table lang="en-US" cellspacing="0"
    cellpadding="0" border="0" class="Pd9776e5f7eaf4df696265b8b49d1da39_1_r17"><tbody><tr><td class="A23dfe7c5f99245f2a0db522a22a6035597" style="word-wrap:break-word;white-space:pre-wrap;">MyType11</td></tr></tbody></table></div></td>
    Please let me know if you have faced a similar scenario before.
    Here is link to stackoverflow thread -
    Stackoverflow thread
    Regards
    Murtaza

    Hi Murtaza,
    According to your description, when you display the report with Report Viewer control, the data within the text is cutoff.
    Based on my research, the issue could cause by that Arial Unicode MS font hasn’t been installed on the server where Reporting Services run. Besides, when we use ReportViewer control to render report, we’d  better set
    AsyncRendering="true" in the Report Viewer control. Also please run the IE with compatibility mode. For more information, please refer to similar threads below:
    Data in column getting cut-off in report viewer control
    SSRS Rendering Issues
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Crystal Report Viewer Control on SAP Form?

    We are using Crystal Report XI to create custom SAP reports.  We have integrated this into our Add-On by adding the Report Viewer Control to a Windows form and setting it's report source at runtime.  This works ok but is a bit cludgy looking and causes some focus and redraw problems with SAP.  I have tried for weeks to figure out how to get the ActiveX control onto an SAP form but with no luck.
    Here is my code sample:
    SAPbouiCOM.Item oItemX;
    SAPbouiCOM.ActiveX oActX;
    CrystalDecisions.Windows.Forms.CrystalReportViewer oCRX;
    oItemX = this.sboForm.Items.Add("U_CRCtl", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X);
    oItemX.Left = 0;
    oItemX.Top = 0;
    oItemX.Height = this.sboForm.Height;
    oItemX.Width = this.sboForm.Width;
    oActX = (SAPbouiCOM.ActiveX) oItemX.Specific;
    oActX.ClassID = "{5E093535-5A5D-4E72-ACCD-F10B6D065BC9}";
    oCRX = (CrystalDecisions.Windows.Forms.CrystalReportViewer) oActX.Object;
    oCRX.ReportSource = @"c:\Test\Test.rpt";
    I am not sure why this will not work.  I always get either 'Specified cast is not valid' or 'Invalid Class ID'.  If anyone has done this successfully or has any suggestions that would be great!  Thanks for your help!
    David

    Hi Ibai,
       Thank you for your interest in CrystalWave. I tried sending this info to the email address you gave but got an undeliverable message.
    The links are as follows:
    (please use Internet Explorer while accessing the download link)
    1. CrystalWave info: http://www.twbs.com/CrystalWave.html
    2. CrystalWave download: http://www.twbs.com/cwrfiv2004.asp (You need to fill in your info and the download will start.)
    Please do let me know if you are not able to access these links and I can setup a temporary link for you to download the program.
    Thanks,
    Gopal Viswanathan

  • Dynamic Image Url html view

    Hi all,
    I am currentyl trying to display an image, which can be accessed by a http-url refering to an external server.
    The problem is, that that the displayed image is linked with the content...that means, that the image url has to be dynamic.
    Does anybody know how to solve this problem. I am currently mapping an url to the url-input of the html-view, but by starting the application the following error occurs:
    com.sap.tc.wd4vc.intapi.info.exception.WD4VCRuntimeException: No parser configuration entry for the tag HtmlView
    Does anybody know how to solve this problem?
    Thank you in advance.
    Kind regards, Patrick

    Hi Patrick,
    Are you still looking for the answer?
    Did you try the expression editor of the image control, where based on expression (ie., your content), image will be displayed.
    Are you storing the data (from where you pass the content to next UI component or next screen) in a data store; and taking the data store value in the expression editor of the image component?
    Let me know if it helps
    Regards,
    Vani

  • SharePoint Report viewer control JavaScript API

    Hi,
    We are using SharePoint report viewer web part to show SSRS reports in SharePoint 2010. We need to perform some HTML manipulation (to avoid scrollbars) after the report has completed loading. 
    - What is the best way to identify report loaded event in client side JS?
    - I have read about client side JS API for report viewer control in ASP .NET. Does SharePoint report viewer webpart have the similat functionality?
    Thanks

    Hello,
    I think this thread will help you:
    https://social.technet.microsoft.com/Forums/en-US/104d59f5-e6db-4933-8c5f-2f06ac116bfe/remove-report-viewer-scrollbars?forum=sharepointgeneralprevious
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for