BW reports from ASP

Hello,
Is it possible to call BW reports from ASP and display on an html page?
Regards,
Suraj

hi Suraj,
yes, it's possible, we have done this, you will need MDX knowledge and you can use ADOMD, there is sample code in VB
Connecting to SAP BW Using Visual Basic and ADO MD
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee19e9c7-0301-0010-8f84-97e3f6d7b5a6
also take a look
OLE DB for OLAP
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fe3bd290-0201-0010-2287-943e25d21a5c
Access SAP BW OLAP BAPI Using C-Sharp and SAP .NET Connector 2.0
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a2899090-0201-0010-a6b9-fbab56e37c11
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7ffba2ec-0c01-0010-2e81-988e48e3ca43
hope this helps.

Similar Messages

  • Accessing Crystal Reports XI from ASP

    Post Author: cutedude43
    CA Forum: General
    I need to access Crystal reports from ASP. The catch is Crstal Reports XI is not installed on the web server where the ASP application is hosted. However there is another machine where Crystal Reports XI is installed. Can you please let me know, in detail, how I could view crystal reports through the ASP application under this scenario. If this is possible please also detail the required run time files that needs to be deployed on the web server where the ASP application is hosted.
    If this is not possible, please detail the other ways through which I can invoke the crystal report from my ASP application page.
    Thanks
    Vaidyanathan

    The only code you will find on this web site is for VB 6. I have a few C++ apps. Not knowing a thing about flex, I am not sure if either of those will be of any use to you(?). Other than that, see if you can find some flex forum and ask there...
    Ludek

  • Not able to Preview Crystal Report from Portal

    Hi
    Not able to view the Report designed using Crystal Report.
    It can be viewed when access directly in BOBJ System.
    It show the following error
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)
    Timestamp: Thu, 4 Aug 2011 08:09:45 UTC
    Message: Access is denied.
    Line: 10
    Char: 1
    Code: 0
    URI: http://bobjdev.hclinsys.com:8080/OpenDocument/appService.do?service=error
    Please guide
    Thanks

    Hi Prashantroy
    This is IE Problem. Try installing IE 8 fresh and try ;
    Please refer this document http://answers.microsoft.com/en-us/ie/forum/ie8-windows_7/webpage-error-detailsuser-agent-mozilla40/9a1ad6a9-7085-4676-aa5c-ab5ce4fdb7d2
    [Freeze after exporting the report from asp.net app to eg Excel|Freeze after exporting the report from asp.net app to eg Excel;
    [Please look  at this forum|'Organizational Assignments' link in MSS>Team>General Information;
    I hope this is help full for you,
    Regards
    Vijay

  • Crystal report run from ASP code significantly slower than when run in CRS

    We have CRS XI R2.  I developed a report that contains several on-demand sub-reports.  The report and sub-reports are very fast when run directly from CRS.  However, when I run from ASP (users run a link from the intranet), it takes 4 times longer (1 second on CRS, vs. 5-10 seconds on intranet).  The report takes longer, bringing up a sub-report takes longer and paging through sub-reports take longer.  What can be done to improve the speed of the report that is using the ASP code?  I used a sample program provided at this support site to develop the report and it is pretty basic code.  The only time I have a problem is when I have many sub-reports.  Since they are on-demand, I do not know why this would matter.

    This has been created as an incident with SAP support.  Things that you will want to check is making sure that you handle the postback to the code as you do not need to run your entire code on every postback.  This will help performance after the original load. 
    One other thing is to compare performance with the viewer within Infoview that uses the same backend server as your application, ie PSReportFactory uses the page server, so you'll want to test with the DHTML viewer.  RAS code (reportclientdocument) uses the Report Application Server so you will want to test with the Advanced DHTML viewer.

  • How to change Crystal Reports XI database name at run time from ASP code using ADO

    Dear All,
    I need advises regarding to my problem below
    I have two database in same SQL 2005 SERVER for TEST01 and LIVE01 Environtment, and I've created more than 100 reports with Crystal Reports 11 and call it from ASP classic page.
    The problem is how can I change a database from TEST01 to LIVE01 at the run time from ASP code as I already using TEST01 database on Crystal Reports and I do not want to set a new database location inside crystal for each reports
    Thanks and wait for your reply soon.
    Below is my code, which has no effect to crystal reports although I've change the database from TEST01 to LIVE01:
    <%
    Dim oADOConnection, oRptTable, oADORecordset, sql
    Dim struser, strpwd, strdriver, dblocation, dbname, strConnect
    struser = "sa"
    strpwd = ""     
    strdriver = "{SQL SERVER}" 
    dblocation = "SQL200501"     
    dbname = "LIVE01"    ' Changed from TEST01 to LIVE01
    strConnect = "User Id=" & strUser & ";"
    strConnect = strConnect & "PWD=" & strPwd & ";"
    strConnect = strConnect & "DRIVER=" & StrDriver & ";"
    strConnect = strConnect & "SERVER=" & DBLocation & ";"
    strConnect = strConnect & "DATABASE=" & dbName
    sql="Select * from Employee"
    Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.11")
    Set session("oRpt") = session("oApp").OpenReport("C:\REPORTS\RPT01.RPT", 1) 'USING TEST01 DATABASE
    session("oRpt").MorePrintEngineErrorMessages = False
    session("oRpt").EnableParameterPrompting = False
    session("oRpt").DiscardSavedData
    Set oADOConnection = Server.CreateObject("ADODB.Connection")
    oADOConnection.Open (strConnect)
    Set oADORecordset = Server.CreateObject("ADODB.Recordset")
    Set oRptTable = session("oRpt").Database.Tables.Item(1)
    oRptTable.SetDataSource oADORecordset, 3
    session("oRpt").SQLQueryString = CStr(sql)
    session("oRpt").ReadRecords
    %>

    Did you ever find a solution to this problem?  I have the same problem when moving reports from development to Test to Production environments.  If the DBName is not the same the report ignores the name provided at runtime.

  • How to consuming reports from OBIEE using web services?

    I need know if there are a forum for post about consuming reports from Oracle Business Intelligence Enterprise Edition using web services for deploy on ASP.Net web application.
    Kind Regards.
    deniscuba

    I would start with the BI forums http://forums.oracle.com/forums/category.jspa?categoryID=145
    If no answer in a reasonable time, I would post an update in the question indicating that I would cross-post in the http://forums.oracle.com/forums/category.jspa?categoryID=44 (.Net related) or the http://forums.oracle.com/forums/category.jspa?categoryID=10 (Technology > Web Services) forums.

  • Upgradation of Crystal reports from 7.0 to 11.0

    <p><strong><font face="verdana,geneva">Upgradation of Crystal reports from 7.0 to 11.0</font></strong></p><p><font face="verdana,geneva">I have reports created in CR 7.0 which need to upgraded to CR XI. These upgraded reports are accessed though an application developed in VC++. To view the report created in CR 7.0, i have used <strong>PDSODBC.DLL</strong> and <strong>CRPE32.DLL</strong>. What DLLs should be used for the upgraded reports.</font></p><p>Thanks in advance</p><p>Rajkumar S</p>

    It will take more than just the .dll files - there are MAJOR changes in the object model when you move to XI. You'll want to check the samples in the Developer Library (the link is in the menu above...)Â
    Click on "Viewers SDK", "Developer Guides and API Reference", and "COM developer guide and API reference" for documentation. There is also a "Samples" link. I haven't found specific C++ examples, but there are ASP and Java examples that you can work from.
    -Dell
    - A computer only does what you told it to, not what you thought you told it to!</p>

  • Create a report from scratch, add Table and Datasource Problem

    Hi,
    I'm using the latest Crystal Reports Runtime supplied for eclipse.
    I want to create a report from scratch, add a Table and then add a ArrayList of Pojos as the Datasource.
    But unfortunately depending on the ConnectionInfo I supply to the Table I get different errors.
    I looked through the samples and see that I have to supply properties
    like
      "Database DLL", "crdb_javabeans.dll" and ConnectionInfo.setUserName("");
         ConnectionInfo.setPassword(null)
    I looked through the forums and find different set of properties.
    Actually because I am just working with Pojos I would have thougth that something like the following
    would be sufficient:
    ReportClientDocument  doc = new ReportClientDocument();
                doc.setReportAppServer(ReportClientDocument.inprocConnectionString);
                doc.newDocument();
    Table table = new Table();
    table.setAlias("reportTable");
    table.setName("reportTable");
    doc.getDatabaseController().addTable(oTable, null);
    doc.getDatabaseController().setDataSource(myCoolection, myClass, "reportTable", "reportTable");
    So could someone tell me the right/minimum Set of  Properties to make a Table get connected to Pojos?
    Edited by: jack mann on Aug 31, 2010 3:25 PM

    With XI Release 2, you can come quite close to creating from scratch:
    http://technicalsupport.businessobjects.com/KanisaSupportSite
    /search.do?cmd=displayKC&docType=kc&externalId=5074668
    You need Service Pack 2:
    http://support.businessobjects.com/downloads
    /service_packs/crystal_reports_en.asp
    Sincerely,
    Ted Ueda

  • Error publishing reports from BW

    Hi,
    I am facing some issues while publishing reports from BW system. I have taken care of all the settings mentioned in Integration Kit guide. We are using BOXI 3.1 SP3  OS:windows 2008 (64-bit)
    The error that we are getting is:
    "0000000001 An error occurred when retrieving the role metadata for YBW_BO_CONTENT_PUBLISHER. Returned with RFC code 18 and message: See RFC trace file or SAP system log for more details"
    I have enabled the trace also, still not able to find the root cause.
    Need help urgently. Thanks.
    Amit Tewatia

    Hi Startos,
    I have matched the auth. as per the admin guide, everything is fine with the role. I have checked the trace file logs, part of which is below:
    "Starting up callback server at 10.239.30.2 sapgw00 with prog-id SEGIDC8BBB5A3
    GetRfcHandle() returned with handle 0
    Connection cloning failed. Message: See RFC trace file or SAP system log for more details
    ERROR: .\job_defs.cpp 52: l_rfcDownloadRoleMdata failed with return code l_rcRfc = 18 Exception:
    Leaving job processor CPubJobGetRoleMetaData(YBW_BO_CONTENT_PUBLISHER)"
    No idea why it calling this IP. This is not the IP of our BW server. please suggest where to check for this.
    Regards,
    Amit

  • Discoverer report from OLAP

    Hi,
    We are trying to run a doscoverer OLAP PLUS report therough a URL. The help says that we need to use the workbook ID, but in the workbook property we cannot find identifier field. The URL we are forming is as shown. Please help
    http://itlinuxdevblade18.hq.emirates.com:7778/discoverer/plus?%20%20%20&us=S243191%20%20&pw=S243191%20%20&db=itlinuxdevblade18:1521:cvu10gd%20&lm=OLAP&wb=root\Users\S243191\A1

    As regards the Forms 6i.....
    Re: Calling a Disco Report from Forms
    Greetings....
    Sim

  • Calling report from form. Need PDF output

    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

    Thanks for the response. The first part worked. I am able to get the output in PDF format. In the 2nd part where I want to open acrobat and display the output, I am having some trouble with the code. When I compile, it says
    win_api_environment.read_registry must be declared. Is there some package I need to attach?
    Also, in the After reports trigger, how do I pass vFile (I am assuming this is the PDF file name)?
    Thanks
    The first thing you'll want to do is pass parameters to the report IE DESTYPE, DESNAME and DESFORMAT where these could be FILE, 'c:\temp\report' and PDF.
    Then, you can try this piece of code I wrote (with some help from other people at Metalink and here) sometime back. Now, I call it from forms, but in your case, you'd have to run it in the after report trigger. Since with RUN_PRODUCT you don't know when the report is finished, if you did it from the form, it wouldn't work correctly.
    PROCEDURE OPEN_PDF(vFile IN VARCHAR2)
    IS
    vcServerApp varchar2(40);
    vcServerTag varchar2(600);
    vcCommand varchar2(2000);
    iArgPos pls_integer;
    dummy NUMBER;
    BEGIN
    -- 1 get the Server App for .PDF files
    vcServerApp := win_api_environment.read_registry('HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\.PDF','',true);
    -- 2 get the executable
    vcServerTag := 'HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\'||
    vcServerApp||'\SHELL\OPEN\COMMAND';
    vcCommand:= win_api_environment.read_registry(vcServerTag,'',true);
    -- 3 Sort out how to specify the Filename
    iArgPos:= instr(vcCommand,'%1');
    if iArgPos = 0 then --no substitution Var on the command line
    vcCommand := vcCommand||' '||vFile;
    else
    vcCommand := substr(vcCommand,1,(iArgPos-1))||
    vFile||substr(vcCommand,(iArgPos+2));
    end if;
    -- 4 Run using Winexec (or Host if preferred).
    win_api_shell.winexec(vcCommand);
    EXCEPTION
    when no_data_found then
    abortt('Acrobat Reader was not found! Please consult with your help desk to install it and try again.','N');
    END;
    Chad
    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

  • Stop the report from firing until the user clicks the Go button?

    Hi All,
    Is there a way to stop the report from firing until the user clicks the Go button? At the moment it is populating when I open the dashboard page. I found something online that said i could use the Page Options>Save Current Settings> For Others.. but even though i am signed in as an administrator i only see a For Me.. option. Also, even after setting this option i would like to be able to hit the 'Go' button to run the report and have it uncollapse the section. Is this possible?
    Thanks

    Thanks for the replies,
    In my report i am trying to constrain the report to todays data only. However the only prompt i have is for another column. If i place a filter on the date column with Year=0000 it will not change with the prompt selection and so will never return any results. Is there any other way?
    It seems wasteful to fire a request to the database onload of the page. Is there an option to only fire a request what the prompts are entered? I will be using a stored proc which needs parameters to run the request so it would be good to be able to set the report to not run until it has parameters entered
    Thanks

  • Print a report from Application Express direct to a CUPS Printer

    Hi all, I'm new to this technology, is it possible to print a report from Application Express directly to a CUPS Printer? Can someone tell me in laymans terms how to do it? I find the terminology and documentation less than helpful.

    Jeremy,
    BI Publisher handles submitting reports directly to a CUPS printer. However, the APEX integration doesn't currently integrate with that portion of BI Publisher.
    Here's an options:
    Use the Java API of BI Publisher to build a custom Java program that would do this for you. Delivering to CUPS is part of the Java API.
    Bryan

  • Print Message Report from Mobile

    Hello...
    We need modify standard mobile infrastructure java code...
    We need print some report from Mobile Front-end.
    Is possible to print all MESSAGE data that we can see from front-end of mobile infrastructure 2.5 ???
    thank you very much
    Stefano

    I haven't really done much enhancements on MAM 2.5, but Im sure sami will let you know where to add the code, or you can review the MAM enhancement guide on the CD.
    In regards to printing the PIOS API is pretty simple. If you are using a laptop to print to a normal printer then you can just use the Win32 Drivers..(installed via driver addon from web sap console.)If you are using the handheld you will need to find the appropriate drivers.
    Here is some code I used in one of my applications:
                   <i>Connector conn = Connector.getInstance();
                   DriverInfo[] driverInfo = conn.listDrivers(ConnectionType.PRINTER);
                   PrinterParameters params = new PrinterParameters(driverInfo[0]);
                   params.setPrinterMode(PrinterParameters.GRAPHIC_MODE);
                   GraphicPrinter gp = (GraphicPrinter) conn.open(params);
                   File myImage = new File("c:
    smalllogo.bmp");
                   if (myImage.exists()) {
                        float x = 0;
                        float y = 50;
                        try {
                             String[] sFonts =
                                  gp.getFontConfigurationManager().listFontNames();
                             PrinterFont pf = gp.getFont(sFonts[0]);
                             gp.drawText(
                                  pf,
                                  25,
                                  25,
                                  "TO For Delivery # = "
                                       + dbAccess.getItemFieldValue(arrayItems[0], "VBELN"),
                                  GraphicPrinter.NO_ROTATION);
                             for (i = 0; i < arrayItems.length; i++) {
                                  gp.drawText(
                                       pf,
                                       25,
                                       y,
                                       "Delivery Item # = "
                                            + dbAccess.getItemFieldValue(
                                                 arrayItems<i>,
                                                 "POSNR"),
                                       GraphicPrinter.NO_ROTATION);
                                  y = y + 10;
                                  gp.drawText(
                                       pf,
                                       25,
                                       y,
                                       "Material # = "
                                            + dbAccess.getItemFieldValue(
                                                 arrayItems<i>,
                                                 "MATNR"),
                                       GraphicPrinter.NO_ROTATION);
                                  y = y + 10;
                                  gp.drawText(
                                       pf,
                                       25,
                                       y,
                                       "Quantity to Pick = "
                                            + dbAccess.getItemFieldValue(
                                                 arrayItems<i>,
                                                 "LFIMG"),
                                       GraphicPrinter.NO_ROTATION);
                                  y = y + 25;
                   gp.doPrint(1);
                   gp.close();
              } catch (Throwable tFile) {
                   tFile.printStackTrace();
              }<i>
    This should give you an idea, you should also read through the MDK documentation for the printer API (PIOS). Its quite easy to pick up and as long as you have the driver and connector installed it prints right away.(You could also use the Peripheral emulator in
    NWDS to test the code first)
    Hope this helps,
    Wael..
    Dont forget the rewards
    Message was edited by: wael aoudi

  • Error while opening a report from worskpace

    I have created a report in WebAnalysis (http://server:19000/WebAnalysis) using analytical connection.
    When I try to open the same report from http://server:45000/worskpace following error is given
    'getContent' is null or not an object. click ok
    Required application module analyzer.reportview is not configured. Please contact your administrator.click ok
    http://server:45000/WebAnalysis/conf/AnalyzerConfig.xml
    Please can anybody help me out in this regard.
    Thanks,
    -Shantanu

    Hi,
    You can't access workspace directly through that port if you want to use other functionality, you should workspace through http://<workspace machine>:19000/workspace/
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • How do I disable the Symantics TouchPad on my HP Envy 14t notebook?

    I have tried to modify the sensitivity of the touchpad on my laptop, but it's still so touchy it's driving me crazy. The other issues I looked at here in the Community forum don't pertain to the machine or utilities I have. I want to COMPLETELY DISAB

  • Why doesn't the not interested button in genius in the app store do anything?

    I just updated to iOS 6.  One of the first things I tried was the new App Store.  So I checked out Genius. Neat. Except.. when you tap the button to install, the "Install Now" button looks ATTROCIOUS! What were you thinking Apple? With a reputation f

  • Password expiry option for sql server logins

    Hi Experts, Can we set 'password expiry option' at a time for sqlserver logins as in sybase. Thanks Shashikala

  • Dynamically changing provider

    I need to dynamically change provider for pop3s. I have a class (in jar) from a pop3s vendor of type STORE. I've tried to use Provider provider = new Provider (....); session.setProvider(provider); and everything worked fine in desktop environment (j

  • BOFC 7.5 multiserver environment

    Hey experts, i need your help. I'm trying to install SAP BOFC 7.5 on a multiserver environment (database server on a machine, application and webserver on another one). Is there any documentation about this kind of installation for BOFC? The installa