WebI report saveAs with DocumentInstance

Hi everyone,
I want to save as webi with Report Engine SDK(Java).But I must save the webi,and then Save As ,or customize the content of the page will be lost.
Is It possible to save as webi directly。
my code:
     DocumentInstance wiDoc = widocRepEngine.openDocument(Integer.parseInt(this.docId));
     DocumentInstance wiDocInstance = widocRepEngine.getDocumentFromStorageToken(wiDoc.getStorageToken());
       wiDocInstance.saveAs(webiTitle, this.parentId, catalogList,personalcataloglist);
thanks

My first impression is that you're doing something wrong.
You're not giving me enough information so I can determine what you're doing wrong.
I dislike guessing, but I'm going to guess here that you're launching the Web Intelligence Java Report Panel to do the modifications.  You're not using the ReportEngine SDK to do the modifications.  So you can't show me code that does the document modifications, since you don't have any.
You're wondering why you have to first "Save" in the Java Report Panel on the client-side, before you can "SaveAs" on the server-side using ReportEngine SDK.  The answer is because you have to "Save" in the Java Report Panel to have the Web Intelligence document store the document from the Report Server to the repository, such that you can open it server-side using ReportEngine SDK. 
Java Report Panel client-side and ReportEngine SDK server-side don't share WebI Sessions.
Sincerely,
Ted Ueda

Similar Messages

  • SAP BO 4.1 Webi report sample with prompts to try Restful api

    I was not able to find, in the report demo samples available in the SAP BO 4.1 installation, a Webi report with prompts.
    I found many Webi reports samples but all are without prompts.
    I need at least one Webi report sample with prompts to try the Restful API http://localhost:6405/biprws/raylight/v1/documents/7090/parameters and http://localhost:6405/biprws/raylight/v1/documents/7090/schedules with parameters body.
    Where can I found such webi sample?
    Thanks,
    Riccardo

    As you have BI 4.1 installed, you could design a sample webi report using Webi Rich Client tool.
    Open Webi rich client, select the sample eFashion universe drag few objects in the query and a filter. Set the filter as a prompt and save the report to Enterprise.
    Now you could now use this sample report for your handson on REST SDK.
    -Bhushan

  • BO Webi report hierarchy with measure values showing more(almost double value) compare to BW Bex report

    Hi,
    In our BO Webi report hierarchy with measure values showing more(almost double value) compare to BW Bex report. Can any one please help on this.
    Is it BW problem or BO problem?
    I checked in some other threads but it's not given solution.
    Thanks,
    Manjunatha

    Hi,
    Is it BW problem or BO problem? : BO
    is it causing problem with hierarchly data only ?  without hierarchies data is matching or not?
    Post same in SAP BusinessObjects Web Intelligence  .
    Thanks.

  • How to run webi report automatically with the current date/system date in webi report

    Hi Friends,
    I have a webi report which has a date prompt now. Based on the selection that user makes while running a report, he will get the related data for that particular date selection. Now I want to make that date prompt automated that is the report should run automatically based on the system date daily on scheduling.
    I want it to run current day automatically without have to go in and pick the date in webi report. I will be scheduling the webi report. Can you please let me know how to achieve this functionality of running a webi report automatically with a system date.
    Please let me know if I couldn't make you understand so that I will write with an example.
    Waiting for your valuable solutions.
    Thanks in advance.
    Regards,
    Bhaskar

    Hello Bhasakar,
    1.Create sysdate object in the universe
    2.Create another query in webi and select only sysdate object
    3.In the original query drag the Day object in the filter pane and choose the "List of values" from another query.and select the sysdate object from the second query.
    So your report always will run for sysdate...
    regards,
    Naveen D

  • Webi reports compatibility with IE8

    Hi All,
    BO 5.1 reports are published as webi reports on web server.Users would view/edit the reports from the webpage. Currently IE6 is installed on web server and it will be upgarding to IE8 on it.
    My question is - Is BO 5.1 version webi reports compatible with IE8 or not ?
    If yes,then can you please tell me what browser based components that has to be tested for BO and the test plan(If any).
    Warm Regards,
    Srinivas
    Edited by: Srinivasulu_Infosys on Feb 4, 2011 9:32 AM

    Hi Denis,
    I came back to work again after long leave. Thanks for your good answer
    Warm Regards,
    Srinivas

  • Provide Edit WebI reports authorization with Save as option.

    Hello Experts,
    I am new to BO authorizations.
    I have a scenario where i need to provide my users Edit rights(not modify) and provide them with Save As access while denying the save access(So that they don't overwrite the original report with their changes).
    I was able to provide my users access to reports (like view & refresh) but they are not able to edit reports(have already provided Edit report access for Webi), also  "save as" come grayed out while Save option is active.
    Can anyone suggest how shall i proceed to give the users required rights.
    Thanking you in anticipation.
    We are on BO 4.0 SP6.
    -Neeraj

    Hello Anurag,
    Thanks for your reply.
    I have already assigned Schedule & VOD access for the folder but that doesn't help. and at Webi Application level i have allowed almost all the formatting options.
    also  the Manage - top level security for folders wont work for me as I have to give the users access to their specific folder "A" only.
    Best Regards
    -Neeraj.

  • Webi report - save as .csv is bringing double the number of rows.

    Hello all,
    I am running a webi report and then saving it as .csv file to my desktop but when I save the file it is giving me double the number of rows. In my report I have employee, employee key, attributes and Org unit and some measures.
    The .csv file has one additional column at the end which does not have any header and that column has "1" in the rows which should be legitimate and "0" in the rows which are so called duplicates, in these duplicate rows there is all data except it is missing the employee key and org unit key.
    If I save as excel I get the right number of rows.
    has any one seen this issue before?
    Thanks in advance,

    Exporting to csv is different from exporting to csv.
    If you have any filter on your crosstab or table and you export it to excel it will show you your data according to this filter.  Let's say in your table you have amount 0 and 1 and you filter that column so it will show only those records where amount = 1.  If you export it to excel you'll get what you see in your WebI report, that's only records with amount = 1.
    But if you export to csv the same Webi report with the same crosstab or table filtered by amount=1, the csv export will ignore this filter and your csv will include amount 0 and amount 1 records.
    I don't know if that's a WebI's  bug, but that's what has happened to me.
    A workaround could be adding your filter directly in the query pane, not filtering your table columns.
    Also check your query pane to see what object is bringing that extra column in your table.

  • Webi Reports - Object with id ... cannot be created because it has no name

    I'm trying to launch a Webi report from our application using openDocument method. When the report is launched it fails with following error -
    30567: Unable to save the document to the repository due to the following error: The object with id number '27731' cannot be created because it has no name. (Error: WIS 30567)
    Before scheduling the report I'm calling setName method to set the name of the report but still it does not work. Any help would be greatly appreciated.
    Thanks
    Manas

    Hi John,
    I will try to give you some more background about this problem.
    From our application we are not directly launching the report. We schedule it to run immediately and then view the instance created (using the instance id returned by the schedule call).
    For scheduling we use the web services API (BIPlatform) and before scheduling we fetch all the prompts (again using a webservice API). The call is something like this -
    WebiProcessingInfo wProcessingInfo = boWebIReport_.getWebiProcessingInfo();
    After that we populate all the prompts with their corresponding values in application and schedule it. However the scheduling fails with the error I mentioned in the start of this thread and when we try to view it we are presented with a screen to enter prompts again.
    From the scheduling error it looks like its failing because the name could not be set but I really doubt if thats the case. We use same calls to schedule and view Crystal reports also and they work perfectly. Only Webi is giving this error.
    Thanks for looking into this.
    Manas
    Edited by: Manas Mandlekar on Sep 10, 2008 7:14 AM

  • Sap Query Web Reporting - Issues with accents

    Hi,
    We was using Web Reporting for Sap Querys, throw this tool we can generate automatically web reports.
    When we go to generated web report, selection screen show us character � instead accent letters.
    In addition to this, generated web report shows two buttons with german text: "report ausf?" and "Werte zur?zen".
    Guaranteed Rewards points.

    Hi Peluka,
    are these web report generate by SAp Query ITS based. If yes this is the right forum to ask, if no I would sugest to ask in the BI forum.
    Best regards,
    Klaus

  • Webi Report Save on Enterprise location

    Hi Experts,
    I am getting following error at the time of saving Webi report on BO Enterprise location.
    Could not save the document to the repository for the following reason: [repo_proxy 30] InfoStore::ObjectExport::commit - (Helpers::InfoStore::ObjectExport::commit) File Repository Server Input is down.(hr=#0x80042a4a)(Error #-2147210678 (WIS 30567)
    Help me to resolve this error.
    Thanks
    Bijendra

    Hi Bijendra,
    Please check that the File Input Server is running and enabled on your BO Enterprise server via the CMS:
    Hope that helps.
    BR,
    Thomas

  • WEBI reports integration with SAP portal

    Hello BO experts-
    Our client is looking to integrate WEBI reports with SAP portal. I found some documents which describe about have an url iview.
    I just want to find out if it is possible to federate webi server with SAP portal.
    Thanks,
    Sharath.

    I don't think you can federate WebI server with SAP portal.
    You can use WebI report IDs and integrate with Portal.
    Bashir Awan

  • Webi report publication with org unit personalization mapping

    Hi everyone,
    I have an HR Webi report whose source is a Bex query and is scheduled (published) weekly. The report is meant for managers so in the dynamic recipient report (another webi report) I have manager's name, email and org unit. Right now the bex query does not restrict by organizational unit, the filtering by unit is done in webi through the 0employee's org unit attribute. This works, each manager only sees data of her own employees.
    However, managers would like to see not only their direct people (employees belonging to her own org unit) but also submanagers, ie, managers of subordinate org units. I tried filtering through the org unit of 0ORGUNIT, not the employee's o.unit attribute, but that doesn't work. The same manager shows up multiple times in the report.
    Has anyone managed to publish a webi report (or Crystal if that's possible) that shows the chief hat's subhierarchy?
    thanks

    Hi Graham,
    The publication should work in the same way for a user or a group.
    Can you please elaborate on u201Cassigning a user to the groupu201D, I believe this is probably where you go wrong. 
    Please test same workflow I suggested yesterady, but instead of user, use the group:
    1. create the profile
    2. add the group to the profile
    3. assign the profile value to the group for that profile
    4. add the group to the publication as Recipient
    Does it work or not?  If so, then do as follow for the user and group:
    1. create the profile
    2. Add user and group to the profile
    3. assign the profile value to the user and group for that profile
    4. add the user and group to the publication as Recipient
    Please note that in the above steps, you donu2019t have to assign the user to the group.
    Regards,
    Jeff

  • Report Bursting with RESTful Web Services SDK

    Hi,
    We are looking to upgrade to BI 4.x from BI 3.1.  We are not sure whether RESTful Web Services SDK is the way to go.  We have a requirement where we need to be able to refresh a report, save the whole report content to a specified forma for a team lead/manager, and then section/burst each report to separate files that each is corresponding to the individual employee.  In other words, for example, we have a team constent of 1 manager and 4 employees.  We want to save one report for the manager with all the content from the 4 employees, and then 4 individual reports that each belong to each employee.  We current have a macro code that does this in BI 31 refreshing Deski reports.  We want to upgrade to BI 4.X, but the Deski and macro are no longer supported.  The macro in BI 3.1 we used to control when to refresh, where to save the reports and update our external datasource that the reports finished refreshing and available for view.  We want to keep the same functionality so that it is not a whole redesign of the system when the upgrade happens.  Thank you so much for your help.  Any sample code, tips and guides are helpful.  I am looking to prototype first before I can confirm this will work when upgrading.  I have a code snippet in macro (VBA) from BI 3.1 in the attached file for reference if you know of the equivalent.

    Hi Raghunath,
    Looking at your macro, most of the functionality would be available with REST SDK. With BI 4.x REST is now only SDK which provides APIs to work with webi report. With .NET or Java SDK we could not eeven schedule a webi doc with prompts.
    With BI 4.1 REST APIs include.
    refresh report, schedule report, save report, export which is done by your macro.
    For detailed tasks, such as saving and modifying the report for specific users and send to schedule, you would need to play around with REST Urls to understand the workflow.
    For starters take a look at the devleopers guide for REST here:
    http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_webi_restful_ws_en.pdf
    Here is the doc which compares the availability of SDK APIs with different BI versions.
    http://scn.sap.com/docs/DOC-53285
    For any Enterprise level tasks, you could always use .NET or Java enterprise SDk and comibe it with your REST app.
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place

  • 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

  • WebI reports with BW Aggregates

    Can someone please explain how do WebI reports work with BW Aggregates? Let's say I create a BW aggregate and create a BeX query on the aggregate and then create a universe on this BeX query and then a WebI report on this universe, now when I run the WebI report, where will the data source from - the aggregate or the actual BW infocube?
    Thanks for your help.
    Ameya Kulkarni

    Thanks Amr for the promt response. I will be creating my universes on query so I think BW will fetch the data from appropriate aggregate when user executes the report in WebI.
    Do I have to create my queries on the aggregate for this to happen? Or will WebI know which aggregate to go to fetch data if I create my BeX query on the actual infocube instead of the aggregate?
    Please let me know.
    Ameya Kulkarni

Maybe you are looking for

  • Replacing Airport Extreme Card in Late 2008 MBP - What to buy??

    I've limped along for about 2 years now with my wifi constantly dropping while everyone else has a strong, constant signal. Doesn't matter where I am, it's always dropping and takes ages to reconnect. I've tried everything advised on the forum etc an

  • Batch file execution

    hi all i need to execute two jsp files from html file, which has two push buttons. on click of button it should do that.how do i do this.

  • Isight just stopped working??

    I have a brand new Macbook Pro and have used Skype with it for the last 2 weeks... I used it today and I now have "No Video Camera Connected" and a black box on the video page?? I have re-installed Skype with latest version and trashed preferences an

  • Can't type on Flash-based site with more than one window open.

    When I try to use certain sites, I think flash, my Macbook will not allow me to type. For example, on the site "Prezi," I can type on my presentation right after I open the file, but as soon as I open a new Safari window and then return to Prezi, I c

  • SRKIM: per_all_people_f  Table 의 global_name 이 null

    PURPOSE per_all_people_f table 의 global_name 이 null 인 이유와 이를 해소하는 solution에 대해 알아 본다. Explanation 특정 workflow 실행 시 approver 의 이름 display 에 문제가 있어 확인 시 per_all_people_f table 의 global_name field 가 null 임을 발견 하였다. 이에 대한 원인은 해당 column 이 HR_PF.K 적용 시 새롭게