Restful sample with Java for getting WebI report info in 4.1

Hi All
Can anyone give me a sample code in JAVA for getting WebI  report information using Restful services in 4.1 SP1 Version
Thanks In Advance

Hi All
Im unable to execute the below URLs and getting error
/documents/{documentId}/reports/{reportId}/elements/{elementId}/properties
/documents/{documentId}/reports/{reportId}/elements/{elementId}/datapaths
/documents/{documentId}/reports/{reportId}/elements/{elementId}/dataset
/documents/{documentId}/reports/{reportId}/elements/{elementId}/axes/
/documents/{documentId}/reports/{reportId}/pages
/documents/{documentId}/reports/{reportId}/inputcontrols
/documents/{documentId}/reports/{reportId}/
Errors:
Not found. (RWS 00056)
Not acceptable, (RWS 00058)
Any Suggestion Please.

Similar Messages

  • "Block EDIT option*" for all WEBI Reports with Administrator Account

    Hi,
    I had opening CMC with Administrator Account.Due to some reasons i want to "Block EDIT option" for all WEBI Reports.Just Viewing is sufficient.In the same way for Universe"Blocking EDIT object option".Instead of Administrator guide reference (chap no 18 &19)option.Could you help in steps resolving issue.Thanks in advance.
    Regards,
    Swapna.

    Hi Swapna,
    You could perform the following steps:
    1. Login to CMC.
    2. Go to Folders >> Manage >> Top Level Security
    3. Click on Add Principal and add the user or group for which you have to set the security.
    4. Click on assign Security >> Advanced tab >> Add/Remove Rights.
    5. Select Content >> Web Intelligence Report
    6. assignt "Edit Object" right as denied and click on apply ok.
    This would help you to block edit option for only webi reports and all the webi reports in your environment.
    Regards,
    Nakul

  • Launch HTML Editor for creating webi reports - Java sdk

    Is there a way to launch HTML editor directly for creating webi reports..I know we can set the preference for HTML report panel in infoview...but thats not the requirement. I have to launch the HTML or Java report panel editor according to the User selection on the fly....its a customized java code for webi reports.
    Any help on this is appreciated!
    Thanks
    Chenthil

    Guys will this link work to launch the HTML editor....
    desktoplaunch/querywizard/jsp/entry.jsp?skin=skin_standard&docname=&docid=&isNew=true&isModified=&doctoken=we00010000b5d263b7d0a6&repotype=&unvname=&unvid=UnivCUID%3DAZu2kpoiudVOk35pUtr6.qQ%3BUnivName%3DKalvin&unvrepoid=&mode=C&decsep=.&unit=in&lang=en&doctype=wid&viewType=H&isModify=yes

  • How to create @prompt filter at universe level for my Webi reports

    Dear all,
    I am using BO XI 3.1 SP3 with SAP BW 7.0.
    I have created an open[big] query based on a multiprovider for my OLAP universe.
    OBJECTIVE: to create LOV prompts for Calender year, for my webi reports, which takes 2010 as input then offsets the input year and then shows Gross sales for the prompt year [2010], 2009 & 2008.
    ISSUE: if 2010 is selected in webi prompt filter, then it doesn't display any data for any other year, lets say gross sales for 2009.
    ALTERNATIVE: i tried to create a prompt filter in the universe with this syntax,
    <FILTER KEY="@Select(Calendar year\Calendar year).[TECH_NAME]"><CONDITION OPERATORCONDITION="InList"><CONSTANT TECH_NAME="@Prompt('Enter year','N',,Mono,Free,Not_Persistent)"/></CONDITION></FILTER>
    it worked fine. but i also want to create a measure or dimension which subtracts 1 from the above filter and return a result with a previous year.
    e.g
    PROMPT: 2010
    PROMPT-1: 2009
    Universe structure
    [TIME]                         class
      [Calender year]        class
         [Calender year]     dimension  ( type:string)
    Please guide me with correct procedure and syntax.

    masood44 ,
    I think you should just prompt for year and capture and use the selection at the webi report  level.
    say you have calendar year(convert it into numeric) prompt at webi level. say user selects 2010 capture it in a variable var1:userresponse('enter year'). then create a variABLE (var2)  with formula :
    if(isPromptAnswered('enter year')='yes';([year] where year inlist(var1;var1-1;var1-2);null)
    build your report with var2 and gross income
    Thanks,
    Karthik
    Edited by: kbharadwaj79 on Jun 2, 2011 5:34 PM

  • Acrobat 9.3.4 (or 9.3.3.177): Save As with Optimize for Fast Web View

    When I do a Save As with Optimize For Fast Web View checked, the saving stops and an Adobe Acrobat dialog displays:
         The document could not be saved. There was a problem reading this document (111).
    If I uncheck Optimize For Fast Web View, the Save As seems to work.
    Is there a way to have Fast Web View work with Save As?
    Acrobat.exe is version 9.3.4 (or 9.3.3.177 in the properties). The Acrobat.DLL version is 9.3.4.218.

    Thanks.  I did submit a report at the site.  I hope somebody reads it as this is a big problem for us.
    Thanks again.

  • Variant for a Web Report

    Hi Guys,
    I was wondering if there was a way of creating a variant for a web report, the way we can create one for a BEx report. I would like to be able to store the variable values in a variant and then select one of the avaialable ones.
    Thanks,
    Doniv

    The save as view functionality does exist in BW 3.x.  The only difference is that it is not available as a web item.  There is a template named 0publishing_template.  This has the save view option available.  The other way is directly from the Web Application Designer.  Go to Tools --> View Definition --> Select either based on a query or based on another query view.  Once this is done you can either create another web template with the view as your dataprovider or you can create a hyperlink in the role menu and use a URL like this:
    http://servername/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=0query_template&data_provider_id=technical name view. 
    One thing to note is that views will save the variable entries.  You can add VARIABLE_SCREEN="X" to force the display of the variable screen.  To change the values in the variable screen add VARIABLES_CLEAR="X". 
    Hope this helps. 
    Jeff

  • Retries for a Webi Report

    Hello,
    last week we discovered the possibility to set an automatically retry for our Webi Reports in the CMC.
    Today we discovered a malfunction.
    The first run of the Webi Report failed but the second one succeeded.
    The Excel Export is wrong. It looks like, that BO is using an old layout to create the Excel Export.
    We will just have this problem, if the first run fail.
    Does anybody know how to fix this?
    Thank you for your help!
    Best
    Jan

    Hi Sathish,
    thank you for the quick answer.
    New Style:
    You can see the beginning of the first sheet and the names of the other sheets.
    We use this format nowadays.
    Old Style:
    Here you can see same things. The beginning of the first sheet and the names of all sheets.
    Everytime the first run failed we get an export in the old format.

  • Combining 2 BEx queries into 1 for 2 WebI reports for different 0CALYEAR

    Hi all,
    I have the following requirement in BEx Query designer:
    I have two queries with 0CALYEAR infoobject in each.
    One query shows me the data of last 5 years and the other does not have any such condition, it shows me full data.
    I need to build a combined query based on these 2 queries.
    This combined query shall be used for 2 WebI reports:
    -     1 report showing the user, data for last 5 years
    -     2nd report showing full data
    Is it possible to handle this, without giving any date selection prompt for the user on the WebI report.
    If so, please let me know how.
    Thanks and Regards,
    Srilakshmi

    You have many options available. You can use structures and/or cells in  your single query to present one set of data for "5 years" and one set of data for "Forever". You can simply create the query using selection columns to limit one column to 5 years and one data to 'full data'.
    However... I always strongly advise my users to never, ever, ever create a query for 'everything'. You have no idea what the future will hold in terms of data volume. Creating an unlimited query will only produce performance issues and sadness. Users NEVER actually need 'all the data'. They just think they do. It's part of your job to keep them from creating requirements that they will regret later on.

  • Common Global Prompt on DashBoard for all WebI Reports

    Common Global Prompt on DashBoard for all WebI Reports
    Is it possible to have a common prompt on the Dashboard. Which passes these variables/prompts to other WEBI reports show on the dashboard
    Most of the financial WEBI reports have common prompt (year and period)
    If I select or enter two common prompt can this be passed to all the webi reports shown on that DashBoard.
    Thanks & Regards
    Ishaq

    Hi,
       You cannot achieve this using WEBI alone. You will have to use Xcelsius with WEBI to achieve this. In XI R3.1 you can use the content linking feature on the dashboard to link a Xcelsius Analytic with multiple WEBi reports. You just need to pass prompts to the Xcelsius Analytic and all the corresonding reports will recieve that value. There are several possibilities with this and i have just stated one. Hope that helps.
    Regards,
    Edited by: Abdul Mughni on May 30, 2010 7:24 PM

  • What tool do we use for BW web report ?

    Hi all:
        What tool do we use for BW web report ? Could you please give some development steps
    for an example ?
    Thank you very much!!

    Hi,
    You can use the Report Designer for creating reports and displaying them on the web.
    You can refer to the below links for more information -
    http://help.sap.com/saphelp_nw70/helpdata/EN/c8/2d1442505d5033e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/43/8a95791b1f22a8e10000000a1553f6/frameset.htm
    Hope this helps!
    Regards,
    Saurabh

  • Can Tivoli (TWS) be used for scheduling WebI reports in BO XI 3.1?

    I am trying to figure out if it is possible to schedule WebI reports to refresh using TWS?
    We are using BO XI 3.1 SP2 deployed on unix and would like to use TWS to refresh WebI reports that are built on SAP BW Bex queries.  Does anyone have any experience scheduling WebI reports using TWS with XI 3.1?  Any information you can provide would be appreciated!
    Thanks,
    Derek

    Hi
    I can think of two options:
    1) You define in BO CMC external events  and schedule your reports to wait for them. In the TWS you can schedule an OS script to create the file that triggers the BO external event. The reports will run only after the file is created.
    2) You write  a java program that uses the BOBJ SDK in order to schedule immediately your reports. In the TWS you create a scedule that starts the java program. (You can find examples how to use the SDK here http://www.sdn.sap.com/irj/boc/samples )
    Regards,
    Stratos

  • Problem with java and flex web service

    Hi,
    I have a basic web service written in java using jax ws 2.1
    ri. I need to call it from Flex using the WebService class
    Annotations for the java web method :
    @WebMethod
    public void Login(
    @WebParam(name="server") String serverURL,
    @WebParam(name=AUTHENTICATE_HEADER,header=true,mode=WebParam.Mode.INOUTHolder<Authenticate Header>
    authHeader)
    When I try and call the service from Flex , it can't find the
    login method and attempts to call it fail. If I set the web service
    to RPC based using @SOAPBinding , the method is found but then
    there are issues with the authentication header.
    What do I need to do to get flex web services communicating
    succesfully with java ?
    Are there are any known compatibility issues ? Or guidelines
    for going about this ?
    Any help would be appreciated

    well Shay,
    i've used JDev's tools to developer and to deploy the web service: the war and ear files are automatically generates you to the end of the process.
    I have included all the files java and the compiled classes, but I do not have files jar.
    But don't works: if i create only one java class with all code inside then it works fine!!
    Daniele

  • Importing a text file with variable values into web reporting

    Hello,
    I'm looking for a possibility to import values from a text file into a variable selection in Web reporting.
    With BEx reporting in Excel this is possible, by clicking on the multiple selection button in the variable popup screen, and subsequently selecting the "Import from Text file" button.
    However, this function seems not to be available for web-reporting...
    It would be great if someone could help me out with this!
    Thanks & regards,
    Arvid

    Hi,
    we could resolve this issue, so i thought it may also be helpful for others:
    In our example we used a file with numbers for materials. This file is stored somewhere in a directory, to which SAP BI must have authorization to read.
    The file looks something like this:
    4711
    4712
    4713
    4714
    The file is named "import.txt" and lays in directory "/usr/sap/EC6/files/bi/"
    *&  Include           ZXRSRU01
    * global variables
    Data: intern_range LIKE LINE OF i_t_var_range,
          l_s_range    TYPE rsr_s_rangesid,
          line(100)    TYPE c,
          p_file(128)  TYPE c,
          length_rangelow  type i,
          tmp_rangelow     like l_s_range-low.
    * internal tables for selection-transfer from transaction
    * Data: BEGIN OF it_file occurs 0,
    *        it_p_file(128) TYPE c,
    *      END of it_file.
    IF i_step = 1.
    ** variables can be changed or set before pop-up appears
      CASE i_vnam.
    * take material from external file to selection-list
         WHEN 'ZSD_UPMA'.
    ** call of transaction, with which the path can be set
    *CALL TRANSACTION 'ZBW_VARIABLE' using it_file
    *MODE 'A'      " call should be visible, so that variable can be set
    *UPDATE 'S'.   " first transaction, then processing
    ** Der Pfad, der in dem Selektionsbild eingegeben wird, wird an die Variable übergeben
    ** Der Set-Parameter ist in Report ZSD_SELECT_VARIABLE
    *  get parameter id 'VAR' field p_file.
    p_file = '/usr/sap/EC6/files/bi/import.txt'.
    * further handling of variable in BI
          OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
          IF sy-subrc = 0.
            READ DATASET p_file INTO line.
            WHILE sy-subrc = 0.
              IF line(2) <> '//'.
                l_s_range-sign = 'I'.
                l_s_range-opt  = 'EQ'.
                l_s_range-low  = line.
    * fill with leading Zeros
    * in variable tmp_rangelow the value from l_s_range-low is taken
        tmp_rangelow    = l_s_range-low.
    * read the length
        length_rangelow = strlen( tmp_rangelow ).
    * in our case: material has 18 characters
        while length_rangelow lt 18.
          CONCATENATE '0' tmp_rangelow INTO tmp_rangelow.
          length_rangelow = length_rangelow + 1.
        endwhile.
    * initialize l_s_range-low
        clear l_s_range-low.
    * set with filled values
        l_s_range-low = tmp_rangelow.
    * transfer to structure
                APPEND l_s_range TO e_t_range.
              ENDIF.
              READ DATASET p_file INTO line.
            ENDWHILE.
          ENDIF.
          CLOSE DATASET p_file.
        ENDCASE.
    ELSEIF i_step = 2.
    ** in step 2 all variable values from pop-up input can be processed or
    ** User Exit variables can be derived
    * UserExit Ende.
    ENDIF.
    Hope i could help!
    Best regards,
    Tobias

  • Retrieving Query Filter conditions for a WebI Report

    I'm developing a Java program using the Business Objects SDK to gather all relevent data from a WebI report and export it to a XML document.  I'm having an issue retrieving the Filters correctly.
    Right now I have a method that retrieves a query from a query container. Then I retrieve a condition container from the query.  After that I use a loop to get the filtercondition nodes in the conditioncontainer and I get their name and ID's.  My goal is to get all the information the object, the dimension, condition, and values seperatly instead of it all printing out together. For example my code prints out this as the filter name : "Period Of Time_Air Date Greater  Enter Start Date:" .  The name contains all the information from the filter but is there a way to get each peice of information for the filter seperately. 
    I'd appreciate any help.
    Edited by: ccmagrane on Feb 28, 2011 8:55 PM
    Edited by: ccmagrane on Mar 3, 2011 2:42 PM

    Please find below a snippet code that shows how to access those objects:
    Query q=oDataProvider.getQuery();
                ConditionContainer condCont=q.getCondition();
                ConditionObject condObj=null;
                FilterConditionNode fcn = null;
                FilterCondition fc = null;
                 FilterConditionValue fcv = null;
                FilterConditionContainer fcc=q.getCondition();
                if(fcc==null)
                        continue;
                int conditionCount=q.getCondition().getChildCount();
           for(int jj=0;jj<conditionCount;jj++)
                  fcn=fcc.getFilterConditionNode(jj);
                  System.out.println(getConditionLabel(fcn));
                  if(fcn==null)
                   continue;
                if(fcn instanceof AdvancedCondition)
                        AdvancedCondition ac=(AdvancedCondition)fcn ;
                        int nDim= ac.getResultObjectCount();
                else if(fcn instanceof ConditionObject)
                   condObj = (ConditionObject) fcn;
                    fc=(FilterCondition)(condObj).getOperand();
                      if(fc!=null)
                          System.out.println("==================================================");
                             System.out.println("Operand Count - " + fc.getOperandCount());
                             for (int k =0; k < fc.getOperandCount(); k ++)
                               fcv=fc.getOperand(k);
                                   System.out.println("Operand Value - " + fcv);
                              System.out.println("==================================================");
                                 System.out.println("==================================================");
                                System.out.println("Condition Name - " + fcn.getName());
                                System.out.println("Condition Data Source Object - " + condObj.getDataSourceObject().getName());
                                System.out.println("Condition Operand - " + condObj.getOperand().toString());
                                System.out.println("Condition Operator - " + fc.getOperator());
                                System.out.println("Condition Operand Count - " + fc.getOperandCount());
                                 System.out.println("==================================================");

  • Problems with rounding keyfigures in Webi report

    Hi,
    we have the next scenario, we have a SAP BI connected to a Universe using XIR3.1 BO version ( with the integration kit).
    When we do a report with totals using the Webi the keyfigures results haven't the expected values, if we check the values in the cube (listcube) or by a SAP BI query we get the correct values.
    We have found that the difference comes from the moment the webi report do the rounding, when we filter the query by a excluding value it seems that the rounding is done at the level of the excluding object
    Example:
    We have the quantity sales (quantity 3 decimals) at the country level displayed without decimals, at that level the totals figures match with the data displayed in the infocube in SAP BI, when we filter excluding a customer of the country the figures don't match, the quantity sales are rounded at the customer level and then are aggregated, the customer is not displayed in the report.
      Report without excluding customer:
    WEBI report                                                             Infocube / SAP BI query 
       Country     Quantity                                                  Country     Quantity
        ES             287574                                                       ES             287574
        AD                1400                                                       AD                1400
    Report excluding customer  157
       Country     Quantity                                                  Country     Quantity
        ES             274456                                                       ES             273106
        AD                1400                                                       AD                1400
    To found were is the difference we have done a query including in the drilldown the customer, rounding at that level and doing the totals as the sum of that values we have the same values in the webi report and in the SAP BI Query and it is equal to 274456 In the other case if we sum the values of the customers without rounding and we round the total the values is the 273106.
    As the diffence it is great for the business, we need to found a way to do the rounding only in the level displayed in the report.
    We have expirience in other BO projects without sap integration and we have not found that issue, it is because that we included it in the forum of the SAP integration kit.
    Many Thanks in advanced.
    Nuria

    Hi experts!
    We have a similar problem to Núria and it persists after applying the instructions given by Stratos.
    Our scenario is BO Enterprise XI 3.1 SP2 and Integration Kit for SAP 3.1 SP2.
    I have a Universe connected to a SAP BW query 7.0. When I execute a report with WebI the results doesn't match.
    We found a problem rounding quantities. The curious thing is that only happens when the quantity is "UN". In this case rounds and truncates all decimals. So, if the Quantity is 0,45 UN in BW, in Webi report is 0.
    If the Quantity is in "KG" or "L" there aren't any problem. I've seen in the BW table SUNIT that the only difference is that the field "UN" its called "ST" in the table, what makes me think that maybe the problem is related to languages. But I have no idea.
    Any suggestions?
    Thanks in advance!
    Isaac

Maybe you are looking for

  • Facetime on 2 ios devices

    trying to use 2 ios devices linked to the same apple id, set up different emails in each but the recipient device just rings once then says "xxxx is busy" does it make any difference being on the same wireless network? wouldnt have thought so, where

  • I need to buy Jdeveloper before using it?

    I have downloaded Jdeveloper from internet and saw many demos on internet on how to use it. I want to develop application using Jdeveloper and deploy on the server, but i think before this I need to buy this. Can anyone clarify me, what I should do?

  • Broadband problem in Aberdeenshire: could it be re...

    I am in Turriff in Aberdeenshire. My broadband has since Wednesday been on a go slow. Have reported the problem to BT, but seemingly getting no where. Complaint was escalated last night to "executive level" whatever that means, but still no resolutio

  • Hi some conceptual questions

    hi all i am new in this forum and a pl/sql developer and some knowledges of storage structure of oracle.Now i want to learn dba portion including backup etc.. my questions are-- 1.what is nomount and mount state of a database. 2.what is rman why we u

  • Phone Jack is Not Working

    Hi. I have Verizon Fios in my home and I just plugged a new phone in my bedroom jack and it is not working. This jack has worked in the past and all of the sudden has stopped. (I'm guessing it's when my Fios was put in) Does anyone know what the prob