Change dataprovider on webi report - SDK

Hello, in a nutshell, is it possible to change the dataprovider of a webi report through the .NET sdk? I have read on the forum it is only possible with the JAVA SDK? I can readout all information of the webi report datasource/dataprovider, but it is readonly.
Can somebody confirm or better tell me how to it with the .net sdk
Regards Ingmar - bilifecycle.com

Very good comments! I have some additional info >>
Web Intelligence wid files references Universes in two ways - by the Universe CUID value (SI_CUID when you query for the Universe InfoObject), or by the Universe short name (SI_SHORTNAME).
Ok
The SI_ID of an Universe changes, but migrating a Universe (not just redeploying to a different Enterprise deployment) keeps the SI_CUID value the same.
Ok
If a Universe with the SI_CUID value is not available on the system, the it picks a Universe with the same SI_SHORTNAME.
Ok, perfect. Tha't solves my problem! In practice, an user sould only be able to access 1 universe at a time avoiding conflicts. Like ZABO in BO 6 couldn't handle access to e.g. acceptance and production universe at a time. It would give an error. The fullclient however gives you at least the option to choose...
You can determine if the Universe is being referenced by CUID or Shortname by querying for the Universe in Query Builder, and seeing if the SI_UNIVERSES property is filled. If that property is empty, then the Shortname is being used. Referencing Universes by shortname is dangerous, since you won't know which Universe is being used.
Like explained above, we always make sure an user has only access to 1 version of an universe and report. Please let me know your thoughs if you have doubts or comments about this construction!
Sincerely,
Ted Ueda
Thank you for explaining how the process works! Regards Ingmar

Similar Messages

  • "Unspecified Error" is displayed when running a webi report 10 minutes

    We are in BOXI R2.  I run a long running WebI report.  After 10 minutes, I receive a popup that says "Unspecified Error".  We have changed the CMC Webi Report Server Setting but we are still having the issue.  Any help is appreciated.

    Good afternoon Ann,
    We are experiencing the same problem. Would you able to disclose what value that you have changed to?
    Regards,
    Jos

  • 4.0 Webi Report Author name change

    Hi Gurus,
    I want to change the Intial Report author name to new report Developer name in SAP BO 4.0. I have tried with Save as option but this couldn't help me.
    Can you please let me know, how we can change the Webi Report author name ?
    Best Regards,
    Sai

    Hi Mahi,
    Thank you for your kind information.
    I’m not sure how I can implement this Java script since I have never worked on the JAVA sdk.
    Could you please let me know step by step how I can implement this ?
    Best Regards,
    Saidi Reddy

  • Retrieving Webi report size using BO XI SDK

    Hi,
    How do I retrieve the size of the BO Webi report using BO XI SDK? I am migrating a java application from BO 6 to BO XI, and in the existing code WIDocument.getDocSize() is used to retrieve the report size. What is the equivalent of this in BO XI?
    Thanks,
    Subham

    Hi Subham,
    If you are looking for the size of the WID file, you can get this through the InfoObject.
    Please note that this WID file only changes if the WebI document was actually saved.
    Below is a sample code snippet that will retrieve the file size from an InfoObject:
    IInfoStore boInfoStore = (IInfoStore) boEnterpriseSession.getService("InfoStore");
    String query = "SELECT SI_FILES FROM CI_INFOOBJECTS WHERE SI_INSTANCE='false' AND SI_NAME='" + webiDoc + "'";
    IInfoObjects boInfoObjects = boInfoStore.query(query);
    if (boInfoObjects.size() > 0) {
         IInfoObject boInfoObject = (IInfoObject) boInfoObjects.get(0);
         IFiles boFiles = boInfoObject.getFiles();
         IFile boFile = null;
         for (int i=0; i<boFiles.size(); i++) {
             boFile = (IFile) boFiles.get(i);
             out.print(boFile.getName() + ": " + boFile.getSize() + "<BR>");
    } else {
          out.print("No WebI document found!");
    Hope this helps.
    Regards,
    Dan

  • How to update the Query of an existing WEBI document's dataprovider, through the RESTful Web service SDK.

    Hi,
    I am trying to update the Query of an existing WEBI document's dataprovider, through the RESTful Web service SDK.
    For this, first i will get the Dataprovider information,
    Example:
    URI: http://localhost:6405/biprws/raylight/v1/documents/11111/dataproviders/DP0
    Expected result;
    <dataprovider>
         <id>DP0</id>
         <name>Query 1</name>
         <dataSourceId>1234</dataSourceId>
         <updated>2014-04-18T11:55:21.000-08:00</updated>
         <duration>1</duration>
         <isPartial>false</isPartial>
         <rowCount>113</rowCount>
         <flowCount>11</flowCount>
         <dictionary>
              <expression qualification="Dimension" dataType="String">
                   <id>DP0.DO1</id>
                    <name>EmpID</name>
                   <description>Employee ID.</description>
                    <dataSourceObjectId>DS0.DO1</dataSourceObjectId>
              </expression>
              <expression qualification="Dimension" dataType="String">
                   <id>DP0.DO2</id>
                   <name>EmpName</name>
                   <description>Employee Name.</description>
                   <dataSourceObjectId>DS0.DO2</dataSourceObjectId>
              </expression>
         </dictionary>
         <query>SELECT Employee.EmpID, Employee.EmpName FROM Employee</query>
    </dataprovider>
    Then Changing the above dataprovider's Query to some thing like below,
    <query>SELECT Employee.EmpID, Employee.EmpName FROM Employee where Upper(Employee.EmpName)='RAJ'</query>
    Please let me know the RESTful Call required to do this.
    Thanks in advance.
    Thanks,
    Mahendra.

    FYI, the output of this call returns something like:
    <?xml version="1.0" encoding="UTF-8"?> 
    <queryplan>
        <union>
            <fullOuterJoin>
                <statement index="1">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="2">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.nb_guests) FROM SALES, INVOICE_LINE, SERVICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) AND ( SERVICE.SL_ID=SERVICE_LINE.SL_ID ) AND ( SERVICE_LINE.service_line = 'Accommodation' ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
            <fullOuterJoin>
                <statement index="3">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="4">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.days * INVOICE_LINE.nb_guests * SERVICE.price) FROM SALES, INVOICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
        </union>
    </queryplan>

  • Database change - Web services sdk

    Can you change the server and database of a crystal report at schedule time via the web services sdk?  These reports have subreports and linked parameters if that makes a difference.  We'd make copies of the report and change them via the CMC's custom database logon but that doesn't seem to work either.

    Wrapping a stored proc in a command object.
    One of the most common issues that prevent changing the Custom Logon database and server fields to point to another data source is this:
    Crystal fully qualifies table and stored proc references.  This is to ensure certainty in where the data comes from, rather than leaving it up to the database default schema.  This causes issues where changes to the full schema name is different between servers.
    There's a configuration setting for the data location "Override qualified table names" that can be used for some data source types to change the naming from fully-qualified. 
    I'm assuming you're doing something similar by wrapping the stored proc in a command object.
    Sincerely,
    Ted Ueda

  • 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.

  • WebI report not refreshed after BW pwd change - SAP EP-KM asPoint of entry

    Config:
    BOXI3.1 SP3 FP3
    INTG. KIT SP3 FP3
    BW 7.01 SP5
    SAP EP 6.0
    Imported all transports
    Configured BW Publisher
    Configured SAP Authentication in CMC
    Imported required roles in CMC
    Imported KM Par file in Portal
    Issue:
    Users logon to EP with SAP BW credentials and clicks on a webi report within KM with Infoview structure -> report is executed and can be refreshed successfully.
    User forgets his pwd and the security team reset his pwd
    User logon to SAP EP with reset initial pwd and gets a prompt to enter new pwd -> new pwd chosen and logon successful -> clicks on a report within KM with Infoview structure -> report pops up but can not be refreshed as an error msg below pops up
    A database error occured.
    The database error text is: Unable to connect to SAP BW server Name or password is incorrect (repeat logon). (WIS 10901)
    Temporary solution:
    Logon to Infoview directly and login with SAP account -> report executed and refreshed successfully -> Logout
    Then go back to EP to execute report and since then works fine but issue occurs again if pwd is changed and logon to Infoview directly process have to be done to move on.
    Has anybody had these issues or have an idea what config might be missing?
    Please note that SNC was not configured as we are not using AD for logon or report bursting for now. All docs read have specified that SNC is not required for my scenario.
    Also certificates have been established btw BW and EP and SSO works well with BEX queries deployed thru EP.
    Any ideas will be appreciated.
    Thanks,
    Norita

    More info -
    If I clear the error msg and continue to click on refresh values in prompt screen multiple times then the bw account gets locked in SAP BW backend.
    Please note that the universe was created to use SSO authentication and no user credentials hardcoded.
    FQDN are also used for all the configs.
    Has anybody encountered these issues before? Please let me know if you have any ideas or pointers.
    Thanks,
    Norita

  • How to change the format of a cell in a web report

    Hello experts,
    Is it possible to implement this in a Web Report/BEx query?
    We have a list of products grouped into Company A and Company B. One key figure is for example Net Cost Price.
    We need to highlight the lowest net cost price in every company but with a different colour depending on the company assuming prices are sorted in ascending order.
    We have been recommended to use Web Design Api for Tables but we understand that in order to format a cell content we need to know the axis position of the cell but we don't know how many rows the query will display for every company. Is this kind of requirements only possible with "static" reports where we know exactly the number of rows and columns that are going to be displayed?
    This is an example.
    COMPANY      PRODUCTS    NET COST PRICE
    Company A    Product 1    <b>5€</b>
                 Product 2    10€
    Company B    Product 1    <b>10€</b>
                 Product 2    20€
    Any help would be very much appreciated.
    Thanks in advance,
    Inma

    Hi Inma,
      If you have already not solved your problem , you can try the following solution with table interface class.
    Table interface class generates HTML table row by row so it first process the charecterstics and then KFs .
    You define a  attribute(type public) in class and set that attribute to X (In CHARECTERSTIC menthod)when ever the company code changes.
    Then make use of that flag in DATA method to change the format of cell (Assuming you sorted by Ascending).
    hope this helps.
    Regards
    Madhukar

  • Change the colour of a cell text depending on the value Web Reports (NW04s)

    Hi all,
    does anyone know how to change the color of the text of a cell depending on its value on Web Reports? For example red text for values smaller than zero and blue for values bigger than zero?
    I know you can create exceptions, but that changes the background color of the cell and not the text color
    I have tried modifying the theme but the property "negative text" doesn't related to cell values.
    Thanks
    C
    PD: Point will be awarded!
    Message was edited by:
            Carles Prunera

    This function changes all numeric fields to blue if no css style is set.
    [code]
    function turnblue(){
      var cells =document.getElementsByTagName('a');
      for ( i=0; i<cells.length; i++){
        if ( cells<i>.className == '' ){
          var changeColor = checknumber(cells<i>.innerHTML);
    // additional condition on value
          if (changeColor) {
            cells<i>.style.color = '#0000FF'
    function checknumber(cNumber){
      var x= cNumber
      var anum=/(\d+$)|(\d\.\d$)/
      if (anum.test(x))
        testresult=true
      else{
        testresult=false
    return (testresult)
    [/code]
    hope it helps

  • Unable to change the background color of a webi report in the infoview

    Hi,
    Can someone please me help me with the below issue.
    Environment Details:
    BusinessObjects XI3.1 SP1SP2SP3                                                                               
    BusinessObjects XIR2 SP5                                                                               
    .Net infoview                                                                               
    IE 7                                                                               
    JRE versions used as;                                                                               
    On BOXI3.1 SP3 Server -1.6.0_03                                                                               
    On BOXIR2 SP5 Server -1.4.2_02                                                                               
    On the client machine   -1.6.0_14      
    Issue Description:
    -Open an existing webi report in the infoview.                                                                               
    -In the report,I am not able to change the background and the font color for the column headings from the properties tab in the left navigation panel.                                                                               
    -I can change the color after hitting the color tab for multiple times.Also the color was getting changed when the color code was manually changed.                                                                               
    -The reports background color was getting changed,but not the font color.                                                                               
    -I tried to create a test report,where I was able to change the color.                                                          
    I have;
    -Installed the Java update 14 on BOXI3.1 server machine,here I was  able to change the background and font color.
    -However on the client machine,with the same Java update 14,the background and the font color for the column headings was not getting changed.
    -Same behaviour is observed on BOE XIR2 SP5 machine.
    Is there any limitations for using Java update 14 or am I required to do any other settings.
    Regards,
    Pankaj

    Hi Pankaj,
    It is a strange behavior. You also stated that when you create a test report it works fine.
    Can you create a copy of this report and then try on the new copy?
    One thing you can do as a test to refresh the universe and then try it. And change some columns - add some column and then save and ten remove and save and make changes like this and trying changing color.
    I think there is a problem with this report this is why it is behaving like this on all machine.
    Regards,
    Bashir Awan

  • How to schedule the webi report based on data changes in the report data

    Hello,
    I want  to schedule a webi report based on data change in a column in the report.
    The scenario is something like below:
    1. If a data of a particular column changes from 2 to 3 than I would like to schedule this report and sent it to users mail box.
    I know how to apply alerts or schedule a report or data tracking for capturing changes in the report but I dont know how to schedule the report only for data changes.
    Anybody done this before.
    Thanks
    Gaurav

    Hi,
    May be these links can help you:
    http://devnet.magicsoftware.com/en/library?book=en/iBOLT/&page=SAP_R_3_Master_Data_Distribution_Defining_Change_Pointers.htm
    SEM-BCS: Load from data stream schedule
    Attribute Change Run

  • How to change the folder name in the web report.

    hi experts,
    can anybody give me the solution, how to change the folder name in the web report. any help is appreciated.
    waiting for ur favourable response.
    thanks
    suri

    Hi Tony,
    Yes, the business requires, only to change in the webreport only not in bex and roles. any suggestions will be helpful to me.
    thanks
    surendra

  • How can I change the color of chart in webi report

    Hi :
      I create one Webi report including one table and chart  In BO 4.0.
    The chart  display  the relationship between sales-amount and profit amount . I do not want to use the default color but want to specify the red color for sales-amount and yellow color for profit amount . How can I do it ??
    Thanks Very Much
    Emily MA

    Hi,
    You can change the color very easily. It's simple & straight forward which I found it couple of days back. (Sometimes simple things are hard to find :-p )
    Select the area in the Chart that you want to change color, then go to Format > Style > Background color. Now select the color that you want. In the attached picture, I have selected Yellow color for a piece of pie chart.

  • Scheduling webi reports via Java SDK in BI 4.1

    Hi,
    Has anyone been able to schedule a Webi report containing date prompts via Java SDK in BI 4.1? I have tried doing so but it doesn't work when date prompts are involved, I get the exception raised: java.lang.NullPointerException error. Though the scheduled instance is created and the date prompt appears to be correctly populated the report fails with the above mentioned error message. The code is working for other text prompts but fails when I have a date prompt in the report. I am using the populateWebiPrompts() method to populate the prompts.
    CF

    Hi Christopher,
    Try adding the following line in your code before scheduling:
    iWebi.setUserInputLocaleName(documentInstance.getProperties().getProperty(PropertiesType.BASE_LOCALE));
    Also as an FYI, please refer below details.
    For scheduling webi reports with prompts, the only supported way is to use Restful webservices SDKs.
    The feature of scheduling a webi report with prompts were deprected from release BI 4.x and introduced in the new restfull webservices. Restful is the future which SAP is focussing and would be great to have your application on supported terms with SAP.
    You can get details about the restful webservices from the documents and blogs available at below forum
    http://scn.sap.com/community/restful-sdk
    Thanks,
    Prithvi

Maybe you are looking for

  • JSF 1.2 app is deployed only in exploded archive mode if JSF 2.0 facet used

    Hi. I'm developing JSF 1.2 + facelets application. The only way to configure eclipse WTP editors to properly handle xhtml pages is to install JSF 2.0 facet (there was facelets plugin before, but it was superseded by JSF 2.0 facet if I'm not mistaken)

  • Report Execution from within Java application

    I am currently running my Oracle reports through a Java application where I just create a HttpURLConnection to the reports server and push in my report request, and then read the connection input stream in order to obtain the generated report. This i

  • Error on Mac: An error occurred when attempting to change modules.

    Installed the trial successfully. Tried to launch the application, and this error message came up. When I click on OK, only minimal parts of the Lightroom interface show up. If I log in as another user, the application functions normally. I've delete

  • Wrong full-sized photos show up in "Publish to Folder" web site

    I just tried to add a new album to an iWeb-created photo albums site (hosted on my own server), but when I "Publish to a Folder...", the resulting site has some bugs. In particular, the newly-added album has two (of 16) photos in which the thumbnails

  • Question about methods in a class that implements Runnable

    I have a class that contains methods that are called by other classes. I wanted it to run in its own thread (to free up the SWT GUI thread because it appeared to be blocking the GUI thread). So, I had it implement Runnable, made a run method that jus