NW7 BI csv export analysis item

Is it possible to create an output format with Tab (x09) as separator and no field delimiters at all by using the export parameters (those tiny 2 fields for CSV_SEPARATOR and CSV_DELIMITER)
Default csv format:   "valuea";"valueb"
Desired output:  valuea ->Tab seperator-> valueb

Dear Klaus,
I would like to help you regarding your question,
For to import data from BI 7.0 you have different way one of those are Open Hub Destination, through this component you can import data to csv file tcode RSA1 path Modeling  Open Hub Destination, this component allow you to create a flat file to application server or local pc.
I hope this comment can help you,
Luis

Similar Messages

  • PDF Export with fixed column widths ignores page break on Analysis item

    Hi experts,
    we use the column width modification to define fixed column width in a analysis item. On the same Web template we want to export the whole template including the analysis item to PDF format. First of all everything worked properly, but the fixed widths have not been applied to the PDF. According to [SAP Support Note 1336188|https://service.sap.com/sap/support/notes/1336188] and additional explainations from [SDN Thread 1558536|Column Width Modification not working in Print Version; we solved the problem.
    Unfortunately another problem arises. Our Analysis item delivers a big number of rows which extent multiple pages. By applying the export fix width parameter all page breaks are ignored, meaning that the analysis item is never shown completely in the PDF. We tried all parameter options of the Export Function without success. It seems that the EXPORT_FIX_WIDTH is just working for analysis items, which fit on one single page by length.
    Any ideas how to solve this?
    FYI, our XHTML code (Version SAP BW 7.0 SP 19):
    <bi:ANALYSIS_ITEM name="ANALYSIS_ITEM_1">
    <bi:DATA_PROVIDER_REF value="DP_1" />
    <bi:MODIFICATION type="CHOICE" value="MOD_SINGLE_MODULE" >
      <bi:MOD_SINGLE_MODULE type="COMPOSITE" index="1" >
      <bi:ACTIVE value="X" />
      <bi:MOD_SELECT type="CHOICE" value="MOD_GENERIC_MODULE" >
      <bi:MOD_GENERIC_MODULE type="COMPOSITE" >
      <bi:MOD_REFERENCE value="com.sap.ip.bi.rig.ColumnWidth" />
      <bi:MOD_PARAMETER_LIST type="ORDEREDLIST" >
        <bi:MOD_PARAMETER type="COMPOSITE" index="1" >
          <bi:MOD_PARAM_NAME value="COLUMN_DEFAULT" />
          <bi:MOD_PARAM_VALUE type="CHOICE" value="INTEGER" >
            <bi:INTEGER value="50" />
          </bi:MOD_PARAM_VALUE>
        </bi:MOD_PARAMETER>
        <bi:MOD_PARAMETER type="COMPOSITE" index="2" >
          <bi:MOD_PARAM_NAME value="EXPORT_FIX_WIDTH" />
          <bi:MOD_PARAM_VALUE type="CHOICE" value="BOOLEAN" >
            <bi:BOOLEAN value="X" />
          </bi:MOD_PARAM_VALUE>
        </bi:MOD_PARAMETER>
      </bi:MOD_PARAMETER_LIST>
      </bi:MOD_GENERIC_MODULE>
      </bi:MOD_SELECT>
      </bi:MOD_SINGLE_MODULE>
    </bi:MODIFICATION>
    </bi:ANALYSIS_ITEM>
    Any help and comments will be appreciated. Thank you!
    Best regards,
    Sebastian

    Thank you!
    Unfortunately I didn't find any work around.
    Thanks,
    Federico

  • Ssrs 2008 r2 csv export

    In an existing ssrs 2008 r2 report, I have a question about the csv export.
    When the report was originally written, I only expected the users to export the data to excel.
    Basically the issue is, based on the states where the customers exist. If the customers exists on the east coast, I version of the report is displayed. If the users exist in the Midwest, another version of the report is displayed. if the users exist on the
    west coast a third version of the report is displayed.
    However now if the users want to export the data to csv (comma delimited), all 3 versions are appearing in the csv file.
    I do know that when I hide a tablix, that does not export the data to a csv file. However when I pick the option to show or hide a tablix based upon the expression, the tablix is exported to a csv file.
    Is there a way to export the columns and data that actually apply to the particular customer. I do not want all the data columns for east coast, Midwest, and west coast to appear on the csv export?
    If there is a way to not display the extra data columns and rows, can you tell me how to accomplish this goal? Showing me code and/or a url would also be helpful.

    Hi Wendy,
    When exporting a report to CSV format in Reporting Services, the visibility of a report item/object is only controlled by the Property DataElementOutput. If the DataElementOutput property of a report item is set to Auto or Output, it will be exported to
    the CSV file, otherwise, the report item won’t be exported to CSV. Currently, the DataElementOutput property is hard-coded which doesn’t allow us to set the property based on an expression. In this way, it is impossible for different users to have different
    exported CSV files in your scenario.
    Here, I would suggest you submitting a wish at
    https://connect.microsoft.com/sql.
    Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute to exciting projects.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Calling the CSV Export link in a Report Template

    I'm trying to have our "download" link appear on the bottom left rather then the default which is to the far right in Look 4.
    When I look at the source code, I can see how look 3 and 4 differ - different HTML table set-up and "align=right" for the link.
    Unfortunately, looking at the source gives me the direct source for that specific report file not the command to include the csv export file, so I can't include it in a new report template design.
    Is there code I can use to include a CSV link in my report template?
    If not, how can I place the report download/csv export into my Nav bar region, or some other region?

    Michelle,
    Typically you'll find the substitution strings documented in the popup help when clicking on the item label. But this one doesn't seem to be listed there. It's documented in the online help though. Click in the help icon in the upper right corner of your page and search for CSV.
    Marc

  • Want to count the number of rows of analysis item in WAD Template

    HI all,
    Detail Description:
    In my WAD report, i have a Export to Excel Option. But I want when I click on this button, one pop up will come only if no of rows of the Analysis Item is Greater than 10,000 ask for Do you want to proceed or not.
    Means 1st i want to count the no of rows in the Analysis Item, after that it will check, if the no of rows is greater that 10,000. then the pop up will come.
    Question:
    Does anyone know, "how to count the no of rows of the analysis Item ?" . It will be better if you know you to implement this with the help of java script.
    Means there must be some varible, which counts the no of rows. If you know then please help me

    Hi,
    Please find the below link which helps you to get solution of your question.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0bbb20f-2d7e-2e10-258f-8655daa41fab?QuickLink=index&overridelayout=true
    It is mainly used to automate queries, web templates, and reports in different output formats like PDF, Excel,
    XML, XHTML, and HTML
    How to see WAD reports on browser:
    The BEx Web Application Designer is a desktop application for creating Web applications with BW-specific contents. Using the BEx Web Application Designer, you can create an HTML page that contains contents such as various tables, charts or maps. This HTML page (Web application) provides the basis for not only Web applications with complex interaction, but also for Web cockpits and iViews.
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm
    Web Application Designer for Beginners
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22
    Web Application Solutions: A Designer's Guide
    http://www.lukew.com/resources/webapplicationsolutions.pdf
    http://sap.ittoolbox.com/groups/technical-functional/sap-solution-manager/bw-web-application-designer-1955944
    Feautures of WAD in 7.0
    http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6
    Regards
    Sudheer

  • Multiple CSV exports from the one button or pl/sql procedure?

    I need to have multiple csv exports from the one press of a button. The easiest way I found to do this is it to use javascript to popup three windows, each as a CSV link. This is a bit ugly though, and leaves the browser popup windows open when the file has been downloaded.
    I guess I could also make a solution based on branching, but I think that would be difficult to maintain and reeks of bad design (im not a fan of this spagetti GOTO style code!).
    I implemented Scott's custom CSV as found here: http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html
    However I would like to know if its possible to download more than one file using this method. I could not work out how to do this .
    Has anyone got any ideas? Simply repeating the code puts the second table into the original csv file. Is there a way to 'reset' the htp writer or smoething?
    Any help greatly appreciated,
    Alex

    Sorry for the confusion - I guess I mean its easy in .NET because you can simply compress files together and then send 1 zip file down as the response. See http://www.developer.com/net/net/article.php/11087_3510026_2 for details.
    I guess I could ask how to do this in APEX - but it seems to me that my original wording addresses the concept at a much more abstract level. I may not find the best solution for my problem if I just asked 'how can I dynamically zip together three tables as seperate files and send them to the client?'. I also suspect that this method is not possible in APEX without custom packages. Please prove me wrong!
    I guess even if I could find some kind of javascript that didnt open a new window, but was a direct download to the CSV, that would be a good compromise. At the moment when you click on the link, three windows come up and stay blank until the files are ready for downloading. Then after the files have been downloaded the windows must be shut manually. Yes, I could use javascript to make the windows 1x1 pixel perhaps, and then shut them after a predetermined timeframe - but this is hardly an elegant solution!
    Thanks for your responses.

  • High performance CSV export

    Hi,
    I have been looking for a way to export huge datasets to CSV format for import with MySql.
    As sqlplus SPOOL turned out to be slow and difficult to use, I ended up coding my own importer using the OCCI library.
    I successfully compiled my code under Red Hat Enterprise Linux 6, 64 bit, and Oracle Instant Client 12.1. But as it only uses C++ STL and OCCI, it should as well build under other environments (e.g. Windows).
    Here's the code:
    * ociexport.cpp - High performance ORACLE to CSV export (using OCCI and STL)
    * This program takes the ORACLE connection information from the following
    * environment variables:
    * ORACLE_USER, ORACLE_PASS, ORACLE_CONN
    * Fields are exported in a CSV with delimiter ';'. Semicola within the fields
    * are escaped with '\;'. Newlines and tabs in the fields are replaced by blanks.
    * Empty fields and NULL values are exported as '\N' for easy MySQL import.
    * CLOBS are exported as well. BLOBS and BFILES are not supported atm.
    * Don't forget to set the LD_LIBRARY_PATH to your Oracle Client libs when
    * building and running this program.
    * @param $1 Select-Statement
    * @param $2 Output file (optional - if empty, output goes to stdout)
    * @author Bert Klauninger
    * @version 0.1.0
    * @changelog
    *    2013-12-13 - Created
    *    2013-12-16 - Added CLOB streaming support
    #include <cstdlib>
    #include <cstring>
    #include <fstream>
    #include <iostream>
    #include <string>
    #include <vector>
    #include "occi.h"
    using namespace oracle::occi;
    using namespace std;
    #define BUFFER_SIZE        1024                        // Maximal characters of a LOB to be exported
    * Escape all occurrences of ';' and convert newlines and tabs to blanks
    string csv_escape(string src) {
        string result;
        const int imax = src.length();
        for (int i = 0; i < imax; ++i) {
            switch (src[i]) {
                case '\n':
                case '\r':
                case '\t':
                    result += ' ';
                    break;
                case ';':
                    result += '\\';
                    result += ';';
                    break;
                default:
                    result += src[i];
        return result;
    * Execute a query and write CSV to the given file.
    *    NB: Empty fields are exported as NULL values!
    void select_into(Connection *con, string sql, string file) {
        if (! con) {
            return;
        bool fo = ! file.empty();
        ofstream o;
        if (fo) o.open(file.c_str(), ofstream::out);
        Statement *s = con->createStatement(sql);
        ResultSet *r = s->executeQuery();
        vector<MetaData> m = r->getColumnListMetaData();
        const int cols = m.size();
        if (fo) cout << "Result has " << cols << " cols" << endl;
        int cnt = 0;
        while (r->next()) {
            string line;
            ++cnt;
            /* Stupid ORACLE starts numbering at 1, not 0 */
            for (int i = 1; i <= cols; ++i) {
                string col;
                /* ...but: Metadata vector starts at 0 */
                int t = m[i - 1].getInt(MetaData::ATTR_DATA_TYPE);
                if (t == OCCI_SQLT_CLOB) {
                    /* Get the CLOB object via stream */
                    Clob clob = r->getClob(i);
                    if (! clob.isNull()) {
                        clob.open(OCCI_LOB_READONLY);
                        int len = clob.length();
                        Stream *instream = clob.getStream();
                        char *buffer = new char[BUFFER_SIZE];
                        memset(buffer, 0, BUFFER_SIZE);
                        int r = 0;
                        do {
                            r = instream->readBuffer(buffer, len);
                            for (int i = 0; i < r; ++i) {
                                col += (char) buffer[i];
                        } while (r != -1);
                        delete[] buffer;
                        clob.closeStream(instream);
                        clob.close();
                } else if (! r->isNull(i)) {
                    /* Try to get field value as string */
                    col = r->getString(i);
                if (col.empty()) {
                    line += "\\N";
                } else {
                    line += csv_escape(col);
                if (i < cols) {
                    line += ';';
            if (fo) {
                o << line << endl;
            } else {
                cout << line << endl;
        s->closeResultSet(r);
        con->terminateStatement(s);
        if (fo) cout << cnt << " rows exported" << endl;
    /*** MAIN ***/
    int main (int argc, char* argv[]) {
        if (! (argc == 2 || argc == 3)) {
            cerr << "Usage: " << argv[0] << " sql-statement [output-file.csv]" << endl << endl;
            cerr << "Output file uses column separator ';'. Semicola are escaped using '\\;'." << endl;
            cerr << "NULL values and empty fields are exported as '\\N'." << endl;
            cerr << "If no output file is specified, quieted output is sent to stdout." << endl;
            cerr << "Login credentials can be set via the following environment variabes:" << endl;
            cerr << "ORACLE_USER, ORACLE_PASS, ORACLE_CONN" << endl << endl;
            return 1;
        const string user = getenv("ORACLE_USER");
        const string pass = getenv("ORACLE_PASS");
        const string osid = getenv("ORACLE_CONN");
        const string sql = argv[1];
        const string outfile = (argc == 3) ? argv[2] : "";
        bool fo = ! outfile.empty();
        Environment* env = Environment::createEnvironment(Environment::DEFAULT);
        int ret = 0;
        try {
            if (fo) cout << "Connecting as " << user << "@" << osid << endl;
            Connection* const con = env->createConnection(user, pass, osid);
            if (fo) {
                cout << "Executing query " << sql << endl;
                cout << "Writing results to " << outfile << endl;
            select_into(con, sql, outfile);
            if (fo) cout << "Closing connection" << endl;
            env->terminateConnection(con);
        } catch (SQLException ea) {
            cerr << "Error: " << ea.what();
            ret = 1;
        Environment::terminateEnvironment(env);
        return ret;
    My Makefile:
    ociexport: ociexport.cpp
            LD_LIBRARY_PATH=/usr/lib/oracle/12.1/client64/lib \
                    gcc -Wall -g -I /usr/include/oracle/12.1/client64 \
                    -L /usr/lib/oracle/12.1/client64/lib \
                    -o bin/ociexport ociexport.cpp \
                    -lclntsh -lnnz12 -locci
    Program call:
    $ export LD_LIBRARY_PATH=/usr/lib/oracle/12.1/client64/lib
    $ export ORACLE_USER=your_user
    $ export ORACLE_PASS=your_pass
    $ export ORACLE_CONN=your_connection_string
    $ ./ociexport "SELECT * FROM applications" > export.csv
    Best regards
    Bert

    Hi
    Give a look to the following book. You'll find the answer for some questions...
    http://www.theserverside.com/books/masteringEJB/index.jsp
    Chris

  • Manually closed DN appear with value 0 on sales analysis - items

    Hello everyone,
    When i manually close a Delivery Note (DN) using Data->Close that DN still appears on my sales analysis -> customer. (using the filter -> Delivery Notes)
    However when i use sales analysis -> items i only get the list of items contained on that DN. All the columns (quantity, sales amount, gross profit, etc) are with zero values.
    Is there any way of showing those values on the sales report? Or any other report? Is this standard system behavior? Shouldn't the items disappear completely then? What is the purpose of showing them without any further information?
    Looking forward to be hearing from you.
    Regards,
    Sérgio Romã

    Hello Gordon,
    Thanks for the quick reply.
    The business process requires me to close the DN manually:
    The customer has something like 4000 employees that are created as customers. Each of those employees has a pre-defined creditline amount. DNotes can be created for each employee until that amount. On the second week of every month i need to close all these DNotes (i am doing this using an addon that runs based on schedule defined in a user table and that closes all DN that meet certain conditions) so that i can add more DNotes to each employee. At the end of every month i have another addon that totals all DN added that month (closed and open) and creates a single service invoice for a customer (defined in each employee).
    So i need to close them manually because i cannot copy them to a consolidation partner (release of employee creditline and invoicing occur at the different moments during the month).
    My disagreament with the system behavior is the following:
    - I get the correct the results if i create a sales analysis -> customer. If they don't result in a sales transaction they shoudn't appear on this report either. (according to the logic you presented)
    - Sales analysis -> Item. The item lines appear with zero. Once again, if it is not a sales transaction they shoudn't appear at all (according to the same logic). The system is doing the same thing as if the DN has been copied to an invoice which is a wrong behavior. This is a different situation and the item detail should be visible on the sales analysis report.
    What do you think?
    Regards,
    Sérgio Romã

  • Sales Analysis Item Tab Function Not Showing Orders Dollars

    Hello Gurus of SAP B1.
    This pertains to SAP B1 SP 00 PL 16 Version 8.8. 
    While doing the Sales Analysis function under Sales A/R > Sales Reports > Sales Analysis > Item Tab, the system does not report on the dollars for the day when I select "Orders" or "Delivery Notes'.  The system does display the proper dollars when I select "Invoices" on the "Item" Tab. 
    And the "Invoices" and "Orders" and "Delivery Notes" buttons display correct dollars on the other tabs for Customer and Sales Employee...so why not on the "Items" tab???
    Does anyone know why this might be happening and/or how to fix this???
    Thanks in Advnace - Zal

    Thanks for the quick reply Gordon - hope things are continuing to go well in your new endeavors &;-D
    Well that is really strange that items is handled that way - I have created SQL to get the results but I always like to balance out to what SAP B1 is reporting.  My SQL detail and grand totals are fine by Customer and I have been able to reconcile in that manner, but wanted to reconcile by items also.  I am certain I have done it before in SAP 2007A...
    Has there been a change to the item/sales order table in Version 8.8???
    Take care my FFF - Zal

  • Sales Analysis Item Tab Displays Zero Dollars for "Orders"

    This pertains to SAP B1 SP 00 PL 16 Version 8.8.
    While doing the Sales Analysis function under Sales A/R > Sales Reports > Sales Analysis > Item Tab, the system does not report on the dollars for the day when I select "Orders" or "Delivery Notes'. The system does display the proper dollars when I select "Invoices" on the "Item" Tab.
    And the "Invoices" and "Orders" and "Delivery Notes" buttons display correct dollars on the other tabs for Customer and Sales Employee...so why not on the "Items" tab???  Strange that a button would be displayed which does not work...
    Does anyone know why this might be happening and/or how to fix this???
    Does SAP plan on fixing this in any upcoming patch levels???
    Regards - Zal
    Responses received from SAP B1 Core Forum:
    Sales Analysis Item Tab Function Not Showing Orders Dollars

    Thanks for the quick reply Gordon - hope things are continuing to go well in your new endeavors &;-D
    Well that is really strange that items is handled that way - I have created SQL to get the results but I always like to balance out to what SAP B1 is reporting.  My SQL detail and grand totals are fine by Customer and I have been able to reconcile in that manner, but wanted to reconcile by items also.  I am certain I have done it before in SAP 2007A...
    Has there been a change to the item/sales order table in Version 8.8???
    Take care my FFF - Zal

  • How to export related items

    Hi All,
    I couldn't find any information about exporting related item list, is it possible to export related items?
    For example, how can i export Opportunity Product Revunues of an Opportunity record?

    Hi,
    One option to to create an Analytics Report on the Opportunity Product Revenues subject Area and then export from there.
    This is when you want the Related Item together with the header.
    Hope this helps

  • How to set dynamic column width for analysis item

    Dear Experts,
    I have a query view which is added in the web template as an analysis item. The web item properties on width is not working - I tried entering a value in the width but when I execute the template, the query view's width still stays the same.
    Module com.sap.ip.bi.rig.ColumnWidth don't seem correct because I don't want the column width to be static. As my number of columns may change, I wanted the overall width of my query view to stay the same.
    Appreciate any ideas which can solve this issue
    Thanks and Regards,
    huimin
    BW newbie

    Hi Huimin,
    I don't think it is possible to fix the width of the Analysis webitem since it dynamically adjusts its width based on the text maxlength within its cells. Unless you use com.sap.ip.bi.rig.ColumnWidth where the cols are static, you cannot achieve this.
    Even if you do override the css settings using a cell padding or something, the portal settings would override the same. How about using a Report webitem to insert tables/charts & check if the width can be adjusted here - just a thought.
    --Priya

  • Report + Jquery + CSV export = jquery result lost

    We have some IR reports with breaks. We put these next to eachother on specific headers with jquery code in the report. But when we do an export i want the same results as shown in the report. The changes made in Jquery get lost when i do a CSV export. Is there some way to get the same columns next to each other like in the report on the screen? or is there some other way to get the same result using something other than jquery? We are now want to making a function in DB using dynamic sql that returns a query to apex report but there should be some easier way in Apex than this no?
    Thanks in advance

    @ TexasApexDeveloper i asked this question on linkedin Apex group before. But not here. So there no way to show the breaks next to eachother in the CSV file? with or without use of Jquery?
    @ Tyson: no sample app.
    Standard behavier of IR report:
    department :1
    col1 col2 col3 col4
    BREAK
    col1 col2 col3 col4
    BREAK
    col1 col2 col3 col4
    BREAK
    col1 col2 col3 col4
    BREAK
    department :2
    col1 col2 col3 col4
    BREAK
    col1 col2 col3 col4
    BREAK
    With Jquery made it look like this
    department 1
    col1 col2 col3 col4 BREAK col1 col2 col3 col4 BREAK col1 col2 col3 col4 BREAK col1 col2 col3 col4 BREAK
    department 2
    col1 col2 col3 col4 BREAK col1 col2 col3 col4 BREAK col1 col2 col3 col4 BREAK col1 col2 col3 col4 BREAK
    i want the data like this in CSV, so that then user opens this in excel the data is presented horizontaly per department:
    department 1
    col1 col2 col3 col4 BREAK col1 col2 col3 col4 BREAK col1 col2 col3 col4 BREAK col1 col2 col3 col4 BREAK
    department 2
    col1 col2 col3 col4 BREAK col1 col2 col3 col4 BREAK col1 col2 col3 col4 BREAK col1 col2 col3 col4 BREAK

  • Need Calendar Year as a Variable in the Caption of an Analysis Item WAD 7

    I am using Web Application Designer 7.X for the first time.
    I am modifying a template that has the following Analysis Item in it:
               <bi:ANALYSIS_ITEM name="TABLE_4" designheight="300" designwidth="966" >
                    <bi:WIDTH value="966" />
                    <bi:WITH_TRAY value="X" type="CHOICE" text="" >
                        <bi:TRAY_SETTINGS type="COMPOSITE" >
                            <bi:CAPTION value="Employee Information" >
                                <bi:text localkey="1" />
                            </bi:CAPTION>
                            <bi:CAPTION_VISIBLE value="X" />
                        </bi:TRAY_SETTINGS>
                    </bi:WITH_TRAY>
                    <bi:DATA_PROVIDER_REF value="DATAPROVIDER_5" />
                    <bi:LINKED_DATA_PROVIDER_REF_LIST type="ORDEREDLIST" />
                    <bi:ROW_HEADER_VISIBLE value="X" />
                </bi:ANALYSIS_ITEM>
    The Caption of the table is currently set to "Employee Information". I need the Caption of the table to say "2007 Employee Information" where the year is the previous year. In other words, if the web application is executed in 2008, the title would say "2007 Employee Information". If the web application is executed in 2009, the tilte would say "2008 Employee Information".
    I am very new to BW and WAD so a detailed explanation would be greatly appreciated.
    Points will be awarded.

    I am trying to change the caption of the Analysis Item using Javascript, but the caption is showing up blank.  This is my first attempt at writing Javascript so a detailed answer would be greatly appreciated. 
    I would like the caption to read "HR Data 2007" if the function is called in 2008.  I would like the caption to read "HR Data 2008" if the function is called in 2009.  So always use the previous year in the caption.
    I took the following steps: 
    1.  In Web Application Designer, I created a Script item in my Web template.
    2.  I created the function executeJS_SET_ITEM_PARAMTERS_R using the Script Editing Wizard.
    3.  I made modifications to the function to add the year into the caption.
    4.  I modified the XHTML by adding the function to the body onload.  I am not sure if I need to do this part or if my syntax is correct here.  I can't post how I formatted the body onload because this causes 500 errors when I try to post the message.
    Here is the part of the function that I modified using the Script Editing Wizard. 
                    // Create parameter CAPTION
                    var d = new Date();
                    d.getFullYear();
                    var newCaption = "HR Data " + d;
         var paramCAPTION = new sapbi_Parameter( "CAPTION", newCaption );
         paramListTRAY_SETTINGS.addParameter( paramCAPTION );
         // End parameter CAPTION!     
    Here is the XHTML for the Analysis Item showing that the caption is set to be visible.:
               <bi:ANALYSIS_ITEM name="TABLE_4" designheight="300" designwidth="966" >
                    <bi:WIDTH value="966" />
                    <bi:WITH_TRAY value="X" type="CHOICE" text="" >
                        <bi:TRAY_SETTINGS type="COMPOSITE" >
                            <bi:CAPTION />
                            <bi:CAPTION_VISIBLE value="X" />
                        </bi:TRAY_SETTINGS>
                    </bi:WITH_TRAY>
                    <bi:DATA_PROVIDER_REF value="DATAPROVIDER_5" />
                </bi:ANALYSIS_ITEM>
    Here is the XHTML for the Script Item:
                <bi:SCRIPT_ITEM name="SCRIPT_ITEM_1" designwidth="300" designheight="70" >
                    <bi:SCRIPT_CONTENT_TYPE_LIST value="JAVASCRIPT" />
                    <bi:SCRIPT value="biLargeData:9CG1G0CWFS76DYKR0YY9GYHEM" />
                </bi:SCRIPT_ITEM>
    Edited by: Karen Thompson on Apr 10, 2008 5:34 PM
    Edited by: Karen Thompson on Apr 11, 2008 6:21 PM

  • ORA-20876 in csv export from interactive report = Possibly a bug?

    Hi Apex team,
    yesterday i tried to download data to csv from an interactive report. The resulting csv file contained a "ORA-20876: Stop APEX Engine" only and no other data. I played around with other reports in my application and had no problems with exports.
    After some investigation i found out that the buggy report contains a column of display type "Display as text (based on a LOV, escape special characters)". When I changed this column type to "Standard Report Column" for example, the error didn't appear anymore and the csv export contained complete data.
    Maybe this is a bug? The environment is Apex 4.1.1.00.23 on 11g (UTF-8). Is there a workaround available?
    Regards,
    Jens
    Edited by: j.gauger on 06.02.2013 14:10
    Additional Information
    The problem seems to occur only if a Shared Components LOV of type "Static" is referenced in the IR column.

    Hi,
    what happens if you take the query from IR report and create a new classic report?
    On this report enable csv export and then try the export.
    Maybe that (format) data are causing export to fail.
    Try to export just one row in your IR report (and classic report), so that you add where rownum < 2.
    Regards,
    Aljaz
    Edited by: Aljaz on 6.3.2012 23:11
    Edited by: Aljaz on 6.3.2012 23:29

Maybe you are looking for

  • PS5 crashes when loading an image to edit from LR3

    I'm using LR3 and PS5 in my workflow.  When in LR3 I try to "edit in Adobe Photoshop CS5" (CTRL +e) CS5 launches, I then get the "reading camera RAW format" dialogue, and when it finishes I get the Windows "Adobe Photoshop CS5 has encountered a probl

  • Cisco ISE with multiple Network interface

    Hello, I am deploying Cisco ISE 1.2 in a distributed deployment and the requirement is to use external Radius proxy feature. ISE PSNs are designed to have 2 L3 NIC's, Eth0 for administration and Eth1 as client side facing NIC for Radius requests. I a

  • Original photo files and metadata - PSE10 mac

    I just copied some .jpg files that were previously imported into a PSE8 organizer on my pc to my mac.  Previously, the photos within the organizer were tagged in PSE8 on the pc. I imported the .jpg files onto my mac for use within PSE10.  Upon import

  • SWING or AWT

    Hi, i'm new in Java. I need to develop an application and i need to make some forms. What API should i use? AWT or SWING. What are the differences betwen these two? I would appreciate if somebody could give me more info or a link about this topic. Re

  • Does anyone know of an Imposition plug-in for InDesign CC (on a Mac)?

    I used to use 'BusinessCards CE 1.33.jsx' - Javascript. But it doesn't work on CC. I want to lay business cards 21up. Any ideas peeps?