Webi reports programmatically?

Hi,
     Can u plz give me a code snippet to create a webi report using rebean classes and the jar file to be imported... ll be really helpful
regards,
ksvsivam

Jason... Thanks a lot....  for the code.... really it is a timely help... thanks again...
regards
ksvsivam

Similar Messages

  • Save webi report as pdf programmatically

    Does anyone has any SDK code sample or can point me to the location of code sample on how to save a webi report as PDF file programmatically? Also, is the ReportEngineSDK is sufficient for this task or I need some other SDK?
    We are running XIr2 SP1 on Windows Server 2003, with Tomcat as web container.
    Any help will be very much appreciated.

    Hi,
    I think Using ReportEngine SDK you would not be able to save the webi report in PDF format.However it could be possible if you schedule a webi report to PDF format to unmanaged disk.
    You can refer the following tutorials given in developer library's BusinessObjects Enterprise SDKs. You can either use .NET or Java SDKs.
    How to schedule a report to a destination (FTP, SMTP, Disk, Printer, Inbox)
    How to schedule and view Web Intelligence documents
    Here is the link for developer library:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    Thanks,
    Swati

  • How to pass server/domain credentials when accessing SSRS report through SSRS Web service programmatically?

    I am trying to render SSRS Report located on my remote report server in my ASP.NET MVC 4 app through reporting services web service programmatically.
    how can i send the server (windows/domain credentials) at runtime?
    tried below but no success.
    ReportingService2010 service = new ReportingService();  service.Credentials = new System.Net.NetworkCredential("username", "password");    service.Url = "http://MyReportServer/ReportServer/";

    Why are you using window domain credential ?
    Simply "rs.Credentials =
    System.Net.CredentialCache.DefaultCredentials" should work.
    http://technet.microsoft.com/en-us/library/ms170088(v=sql.110).aspx
    Regards, RSingh

  • How to get analytics reports programmatically in SharePoint 2013?

    In SharePoint 2010 it was possible to obtain data from web analytics programmatically using Microsoft.Office.Server.WebAnalytics.Reporting.AnalyticsReportFunction class.
    How can you get search reports programmatically in SharePoint 2013? Are there new assemblies or classes that can be used to obtain them?
    In my scenario, i am mostly interested in the most searched terms at web application or service application level. 
    In SharePoint 2013 the Web Analytics Service Application was merged into the Search Service Application. It seems now that the old assemblies used for this (Microsoft.Office.Server.WebAnalytics.dll
    and Microsoft.Office.Server.WebAnalytics.UI.dll) are not available any more.
    They are available in the user interface as Excel reports, in CA->Application Management->Manage Service Applications->Search Service Application->Usage Reports , but I am interested to obtain these reports programmatically.
    Is this scenario still supported in SP 2013?

    try this 
    using (SPSite site = new SPSite(MainBUPageUrl))//open root
                            using (SPWeb web = site.OpenWeb())
                                AnalyticsReportFunction AnalyticReport = new AnalyticsReportFunction(); //create object of analyticsReport
                                Thread.CurrentPrincipal = new WindowsPrincipal(WindowsIdentity.GetCurrent());//this is used only
    in timer job if not used then GetWebAnalyticsReportData will not work
                                object[,] result = null;
                                    web.AllowUnsafeUpdates = true;
                                   result = AnalyticReport.GetWebAnalyticsReportData(SiteCollurl, "2", ReportType.TopDestinationForSiteReport.ToString(),
    DateTime.Today.AddDays(-3.0), DateTime.Today); //this gives top visitor for provided site collection by providing time duration(start and end date),report type and url
                                    SPList list = web.Lists.TryGetList("AppreciationsList");//list
                                    for (int counter = 0; counter < 10; counter++) //show top ten pages
                                        Item = list.AddItem();
                                        s_count = result[rcount, 1].ToString(); //code
    to get top vistor usage count
                                        Username = result[rcount++, 0].ToString();//get
    top vistor name
                                        user = null;
                                        try
                                            user = web.EnsureUser(Username);//check
    user available?
                                        catch (Exception)
                                            counter--;
                                            continue;
                                        IfExist = checkUserExistence(user);//call the
    function   // IfExist = false; //this flag is used to check existence of user in insightMember group
                                        if (IfExist == true)//if user is not in the insight2
    group member list
                                            Item["Appreciated Person"]
    = user; 
                                            Item["Title"] = s_count;
                                            Item.Update();
                                        else //if user is in the insight2 group member
    list
                                            counter--;
                                            continue;
                                  web.AllowUnsafeUpdates = false;

  • How to rename OBIEE reports programmatically?

    Hi,
    We have OBIEE webcat of several hundred reports. Recently we have to rename 150 reports according to latest requirement. Instead of doing this manually, is there a way to rename reports programmatically? Is there sample codes I can follow? I'm using OBIEE 10.1.3.4.
    Thanks for your help.
    Wei

    I am not aware of any existing api to do that except webservices api. This one is however flexible enough and well documented
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31769.pdf
    You can code your webservices calls in any language your choice (java,python,any other what you are skilled in) - here is a very basic example in plsql:
    declare
      l_envelope      varchar2(32767);
      l_http_request  utl_http.req;
      l_http_response utl_http.resp;
      l_url           varchar2(1000);
      x_envelope      xmltype;
      l_sessionid     varchar2(1000);
      l_src           varchar2(1000);
      l_tgt           varchar2(1000);
    begin
      -- Get session id
      l_url      := 'http://zajin:7003/analytics01/saw.dll?SoapImpl=nQSessionService';
      l_envelope := '
    <soapenv:Envelope
      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/1999/XMLSchema"
      xmlns:v5="com.siebel.analytics.web/soap/v5" >
       <soapenv:Header/>
       <soapenv:Body>
          <v5:logon>
             <v5:name>Administrator</v5:name>
             <v5:password>Administrator</v5:password>
          </v5:logon>
       </soapenv:Body>
    </soapenv:Envelope>
      l_http_request := utl_http.begin_request(l_url, 'POST', 'HTTP/1.0');
      utl_http.set_header(l_http_request, 'Content-Type', 'text/xml');
      utl_http.set_header(l_http_request, 'Content-Length', length(l_envelope));
      utl_http.write_text(l_http_request, l_envelope);
      l_http_response := utl_http.get_response(l_http_request);
      utl_http.read_text(l_http_response, l_envelope);
      utl_http.end_response(l_http_response);
      x_envelope := xmltype(l_envelope);
      select extractvalue(x_envelope,
                           '/soap:Envelope/soap:Body/sawsoap:logonResult/sawsoap:sessionID',
                           'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:sawsoap="com.siebel.analytics.web/soap/v5"')
        into l_sessionid
        from dual;
      -- Based on the obtained session handler
      -- rename requests i.e. move from l_src to l_tgt
      l_src := '/shared/Sample Sales/01 Ranking and Toppers/Multi-Dims Top Ns';
      l_tgt := '/shared/Sample Sales/01 Ranking and Toppers/Multi-Dims Best Ranked';
      l_url      := 'http://zajin:7003/analytics01/saw.dll?SoapImpl=webCatalogService';
      l_envelope := '
    <soapenv:Envelope
      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/1999/XMLSchema"
      xmlns:v5="com.siebel.analytics.web/soap/v5" >
       <soapenv:Header/>
       <soapenv:Body>
          <v5:moveItem>
             <v5:pathSrc>' || l_src || '</v5:pathSrc>
             <v5:pathDest>' || l_tgt || '</v5:pathDest>
             <v5:sessionID>' || l_sessionid || '</v5:sessionID>
          </v5:moveItem>
       </soapenv:Body>
    </soapenv:Envelope>
      l_http_request := utl_http.begin_request(l_url, 'POST', 'HTTP/1.0');
      utl_http.set_header(l_http_request, 'Content-Type', 'text/xml');
      utl_http.set_header(l_http_request, 'Content-Length', length(l_envelope));
      utl_http.write_text(l_http_request, l_envelope);
      l_http_response := utl_http.get_response(l_http_request);
      utl_http.read_text(l_http_response, l_envelope);
      utl_http.end_response(l_http_response);
    end;With similar calls you can rename any items in your catalog, but you should be aware, if original items are referenced somewhere, those references have to be modified accordingly ( so, a lot of xml parsing may be required), of course, before you try to do it programmatically, you should probably backup your catalog.
    Best regards
    Maxim
    http://comsysto.wordpress.com/

  • Hiding refresh button in Webi Report

    Hello experts,
    I would like to hide 'refresh' button on webi report in XI 3.1. One way to do this is using rights which I don't intend to use at this stage.
    Do we have any other way out to do this task?
    Many thanks in advance
    Regards,
    John

    Options:
    a) roll your own viewer/portal  - probably the safest bet, although a bit unwieldy if Infoview works fine and you only want to make this specific change
    b) make changes to Infoview's javascript files that render the toolbar buttons - entirely unsupported by SAP as well as a maintenance headache during upgrades
    c) ...revisit your reasons for not being able to disable refresh of the report to users - surely there's a security matrix that satisfies your requirement.  If there isn't (meaning that, for whatever reason you need these users to refresh against this content area in normal scenarios but want it disabled for this portion of your workflow) - then there are kludgy "work arounds" like adding/removing the user to/from a "no refresh" group you've created in the CMC,  programmatically, when running the report(s)
    good luck

  • Web report on excel sheet

    hi,
    my scenerio is -
    i have 5 Bex reports to which i am placing them on single web report.
    so in web i will see diferent 5 reports one below another...
      now, i want this web report to be transferred to my excel sheet and that to in to single excel sheet....
    how this could b achieved?
    regards...

    Hi,
      But i had some problem with that code.
      If you Right click and view the BW context menu once and then click the "Download to Excel" Button the Context menu also comes up with the Copy and Paste in the Excel Spreadsheet.
      I event tried to clear the Windows Clipboard before copying but it didn't work.The context menu vaninishes once if you try to refresh the page, but if you try to programmatically refresh the page you will get an Error: Permission Denied.
      Have somebody solved this problem?
    Thank you
    Arun

  • [Help]: Web-Report is refreshed never end.

    Dear Collegues.
    Hi guys ...
    In the web-report,,, i intend to make the report can extend some Info Object automatically & programmatically.
    Hence, i use web-API & javascript to make it happened. How ??
    In the web-designer; especially in HTML part, i create javascript & web-API code:
    <script>
    function test() {
      SAPBWOpenURL("<SAP_BW_URL DATA_PROVIDER='ZCVP_CON' CMD='EXPAND' IOBJNM='ZBRSLSPR' AXIS='Y'>");
    test();
    </script>
    I add this before the row of code : </BODY>
    Virtually, this line of code worked (It can expand the InfoObject/Characteristi/Key Figure that i want to) .. But..
    The report Web-Report is Refreshed never ending.
    <b>Could somebody tell me how to make some function is run only once ??</b>
    Should i check the session/something?? For Example the catche.
    Could somebody give me the clues how to make it happened ??
    If any of you little bit don't understand with my explanation & questions, p/s don't hesitate to ask me to make it clear.
    Kind Regards,
    Niel

    Hi Deepu,
    Basically, we're gonna make the process automatically run therefore i didn't use button/link to make it.
    Do you have any idea how to make the function run once???
    Because if we refer on ASP programming, it has condition to make sure some function is run only once.
    Many Tks Deepu.
    Kind regards,
    Niel.

  • Problems access to a web application (Web Interface or Web report)

    Hi,
    We found problems with the access to web application. Some users have problems with direct links to the web applications(Web Interface or Web reporting), when they click on the link an error message appears, the message displays the following text:
    "Cannot open file Bex?sap-language=ENbsplanguge=ENcmd=idoc_TE.."
    Clicking in details the message is "No Access to specified file"
    For this users the access to excel reporting is correct, the message appears when they click on the direct web links through the browser or directly in BW system, but if they type the URL they can access. Other users can use the direct web link without problems.
    I highly appreciate any help or idea about how to solve this issue.
    Thanks in advance.

    HI,
    please ask to your basis that check the language of every single user on su01 tx.
    This is the problem i think.
    Natalia.

  • How to remove blank pages from WebI Report in view page layout option

    Hi,
             I am working in Business Objects XIR2 environment. I have a WebI report with several sections. I need to show the report as a book with 69 sections (each section on new page). there are 69 sections on cost center and each cost center section has almost 10 sections embedded in it. When i see in regular view - I only see 69 pages but when I try to see in "View Page Lay out" option, there is one blank page added after each results page.
    Please let me know how to remove this blank page. I need to give users the option to download the book as PDF on to their machine. Now, when I download to my machine, I see one blank page after each results page.
    Thanks in advance.

    Jus convert your report in Page Layout mode and see if your first pafe is getting expand in the second page.
    Now check if there are any cell going into second page.
    - if there are any blank cell which is there after table.
    you have to check formating very carefull.

  • Change order of key figure is not working in Web report output (using WAD)

    Hi,
    We are using BI 7.0, release 701 and level 008. We are facing problem in WAD (web report output). When ever we do 'Select filter' for key figures and 'change the order' of key figures, it does not get reflected in new order. Though drag and drop of key figures is working.
    Though same change order is working fine in Bex Analyser.
    Kindly suggest some inputs.
    Thanks.

    Hi,
    On Which Service Pack are you on?WAD has this feature of re arranging the keyfigures in BI 7.0 for SPS 14...
    Regards,
    Bhagyarekha.

  • Analysis Authorization in BO 4.0 Webi report

    Hi All,
    I am using BO 4.0 and creating connection from Information Design tool to a BW query using BICS client. This connection is then published to CMC.
    We are using SAP authentication and importing the roles from BW system. We have added profiles to this role and these profiles have Analysis Authorization set on Company Code. So one user can access data to one company code and vice versa. Now this works well in Bex Analyzer, but if I try to create a report in Webi, the analysis authorization fails. I went through the forum before posting this question and I found that is in 3.1 version and in most cases using SSO in universe connection solved the problem.
    However in 4.0 I am using BICS client and followed the same processes to create a connection but for some reason it doesn't work ? Is this suppose to work differently in 4.0 ?
    I have tried:
    1. To create connection in Information Design tool using SSO, selecting user ID and password. It doesn't work.
    2. Checked the Bex query and it already has Company code as a Characteristic restrictions (I have made it a mandatory variable).
    3. Publish the connection to CMC with my Enterprise and SAP ID and in both cases it doesn't work.
    Please let me know if anyone encountered a similar issue and what is the best method to resolve this.
    (BO 4.0 no service pack or fix pack installed on the system yet)
    Thanks - Appreciate your help !
    Prasad Rasam

    Ingo,
    1. To create connection in Information Design tool using SSO, selecting user ID and password. It doesn't work.
    >> Correct you need to setup you OLAP Connection with SSO.
    >>> What I meant was I created the connections using both the methods, Using SSO it allows me to create a connection. The ID which I am using to create a connection has Admin access to BOBJ system. When I login as a regular user to create a Webi report and select this new connection, it throws an error message 'The DSL Service returned an error: com.businessobjects.dsl.services.workspace.impl.QueryViewAnalyzer$CannotGetCubeFromConnectionException: Cannot get the cube from the connection'
    Using the other method to create a connection with User ID and password, I can create a connection and with the normal user login I can connect to the BW query but Analysis Authorization doesn't work.
    Ingo : Could you be more specific what you mean here with the different users ? When you say "regular" user are you referring to an SAP credentials or SAP BusinessObjects Enteprrise credentials ?
    2. Checked the Bex query and it already has Company code as a Characteristic restrictions (I have made it a mandatory variable).
    >> The variable in the BEx query needs to be an authorization variable.
    >>> This has already been set as Authorization variable. There is still a question here. If I select the variable as Authorization variable, I cannot set the other parameters in the query properties such as Mandatory variable (as this is greyed out).
    Ingo : What other parameters would you like to configure ? Could you perhaps describe the scenario with more details ?
    regards
    Ingo Hilgefort

  • BW Analysis authorizations issue in BO Webi Report

    Dear All,
    I have one webi report which is on BEx Query-universe.
    Query has 6 authorization variables with ready for input(optional).
    User has authorizations for all 6 fields.
    But when we execute the webi report it is throwing error message  like" query do not retrive data"
    One of the  6 authorization fields has only few values , when we give " * " to this field the user can able to execute the report.
    Could  anybody tell me what is need be done here
    regards
    mhreddy

    Hi!
    Probabily the combination of authoriztions funcions are executing considering "and".
    See your configuration to considerer "or".
    Test one by one.
    bye

  • How to add A single row at the middle of the table in a Webi report

    Hi,
         I created a Webi report using Universe(Created universe using bex query).Now i have a requirement to display a row at the middle of a report. Can you please tell me ,how to add a sigle row at the middle of a Webi report.
                                                    Thanks in advance
    Regards
    Monika

    Hi Monika,
    It is not really possible to add a row (I assume you mean of unrelated data) to the middle of a table in a report. You can add a new table with a single row between two tables. For instance you could add a new one row table, or even single cells which are positioned relatively between two tables. Possibly a block on top of another. But this gets tricky.
    Can you explain in more detail what you are trying to do?
    Thanks

  • How to create a event at the time of scheduling a webi report

    if event fires then only it schedules the webi report
    give in a brief steps
    pls its urgent for me.

    Refer to the below blog
    http://scn.sap.com/community/bi-platform/blog/2013/01/07/cmcevents-in-business-objects-and-its-usage
    Thanks,
    Prithvi

Maybe you are looking for

  • How do I find where a Pick Whip Link goes

    I've long ago created a bunch of pick whip relationships in a project, and can no longer find where the links go. If I look at the code it says content("Ellipse 1").transform.scale But I have about 100 Ellipses in this project.  And have no idea whic

  • How could I choose some bytes from HEX string and then convert it to a decimal value?

    Hi I am working with an OMRON E5EN temperature controller using VISA serial to get data, I send the Read from Variable Area command and get this string  in hexa 0230 3130 3030 3030 3130 3130 3030 3030 3030 3030 3041 3203 71 or .01000001010000000000A2

  • Using different locale with date format

    Hi guys, I'm trying to print of the same date represented in its different locale but can't seem to get it right. I want the dates and times to be represented appropriately (e.g., ?Feb? should be represented as ?f?vr.? in a localized for France). I'v

  • BI 4.1 monitoring service disabled

    Hello, An error occurs when I want to go to monitoring part of the CMC : "monitoring service is disabled. Only tests are available". I stop and restart monitoring service without success. We have a BI 4.1 SP04. Do you have an idea to solve this issue

  • Apple tv 1 shows black and white picture???

    i got my atv1 4 yrs back.was using it with my old tv with the 3 component cables,and i used to get only black and white pictures. but after using it for such long time,i finally got a new led-hdtv.but to my surprise still the apple tv shows only blac