EAS data export in column format question

I am trying to export data in column format and import back to replace 0 with #Missing. I want to see if it will reduce any blocks. When I export I am getting data header members from a different dimension other that Period. It is getting tricky to map these many data rows in rule file as oppose to 12 from Period.
What determines this behavior. I know I have tried in the past (different app) and Period came through as data header record.
Any help is appreciated.

You can't directly control which dimension is selected (at least, not without changing your cube) in a native export.
However, for what you are doing, you do not need a load rule - you could just find-and-replace in the file.
You can also try converting zero to #Missing with a calc script (see Re: BSO Level 0 Block Analysis Advice) although it's going to be slow and you'd need to defrag with a dense restructure afterward.

Similar Messages

  • Export in column format

    Dear Gurus,
    What if i check the option export in column format while export the database?
    Thanks,
    Sekhar

    Hi,
    Adding to the John comments,
    If you export the database in the column format the size of the export file will be much more than the data in the cubes.
    I had an experience where I used to export the data in column format which results in a file which was
    twice the size of the file without the column format.
    If you have a lot of data in essbase cubes, I advice you to export data in non columnar format in order to save the disk space.
    Thanks,
    Sourabh

  • PDF export for  columns formatted as HTML

    Hello,
    I've created a report having some columns formatted as HTML .
    in the PDF file exported from BI Answers dashboard, HTML tags are shown instead of formatted value.
    (for example : "div style="width:100%;background-color:#FF3300">89.12%</div" instead of 89.92%)
    Any ideas how to fix this ?
    BI version : 10.1.3.3.3
    Thank you.

    Hi dragosv,
    I've also encountered similar problems to that. The OBIEE process does not first evaluate the code before it exports to other tools like PDF and Excel.
    Here are two options:
    1) Submit an SR to Oracle and have them declare it a bug
    2) Print to HTML first, then print the HTML to PDF. It adds a step but at least you can download your document the way you want.
    Best regards,
    -Joe

  • Data export(ttbulkcp) Oracle TimesTen Question

    I'm trying to export an Oracle TimesTen(TimesTen Release 11.2.1.5.0) with ttbulkcp(Data export), using SQL Developer Version 2.1.1.64
    All other functions are normal operation. Also ttbulkcp(Data export) in Oracle Table is normal operation. But , I get the following error in ttbulkcp(Data export) in TimesTen Table.
    java.lang.NullPointerException
         at oracle.dbtools.raptor.format.ResultsFormatterWrapper.getColumnCount(ResultsFormatterWrapper.java:67)
         at oracle.dbtools.raptor.format.ResultsFormatter.getColumnCount(ResultsFormatter.java:130)
         at oracle.dbtools.raptor.timesten.format.TimesTenLoaderFormatter.getColumns(TimesTenLoaderFormatter.java:207)
         at oracle.dbtools.raptor.timesten.format.TimesTenLoaderFormatter.printColumnData(TimesTenLoaderFormatter.java:183)
         at oracle.dbtools.raptor.timesten.format.TimesTenLoaderFormatter.start(TimesTenLoaderFormatter.java:73)
         at oracle.dbtools.raptor.format.ResultSetFormatterWrapper.print(ResultSetFormatterWrapper.java:150)
         at oracle.dbtools.raptor.format.ResultsFormatter.print(ResultsFormatter.java:200)
         at oracle.dbtools.raptor.format.ResultsFormatter.doPrint(ResultsFormatter.java:416)
         at oracle.dbtools.raptor.dialogs.actions.TableExportAction$5.doWork(TableExportAction.java:637)
         at oracle.dbtools.raptor.dialogs.actions.TableExportAction$5.doWork(TableExportAction.java:634)
         at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:492)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)
    Driver not capable
    Thank you.
    GooGyum

    If you have a DB support contract, I suggest you open a SR on Metalink/MOS, to get official response and follow-up, else you can hope someone from development picks it up here.
    Regards,
    K.

  • Excel dates export with wrong format.

    When I exported an Excel Spreadsheet with several date columns, they displayed correctly but because of wrong formatting, they didn't sort right. The cell display was, for example, 2/7/2013 but Excel treated it as 7/2/2013 because it was assigning another country's formatting. some of the cells were formatted correctly, but about half of them were wrong and they were wrong in different ways. some were Argentinian, some Carribean, some European. Any ideas how to prevent this from happening?

    Go to Sequence>Settings and in the lower left use load presets.
    Anything that's in the HD in the sequence will have to be reset using the remove attributes function. If you have mixed media, strange things will happen.
    Also use easy setup to change your preset so any future sequences you create will be in the correct format.

  • Issues with data exported in CSV format

    Hi,
    I'm wondering if anyone else is having problems with exporting system data as a CSV? I can successfully run an export, however many of the CSV files contain superfluous line breaks resulting in the comma delimiting not working properly when viewing the records in Excel.
    Does this sound familiar to anyone else?
    Cheers,
    Cameron

    Are you talking about the case where you export some records and when you open using microsoft excel everything looks as if in a text file? If so,then yes. Infact yesterday I was exporting and having the issue. Donot remember having the issue before the upgrade. What I did is opened a blank microsoft excel sheet.Then File>Open and chose the csv file.Then modified in the text import wizard to get it in the right format.

  • Data Export in XML format

    Dear SAP Gurus;
    I had developed a <b><u>HR Data Extract Report</u></b> to export data in CSV format, but one of our vender application needs data in XML format - any assistance in writing code will be highly <b>appreciated</b> and reward points are <b><i>assured</i></b>.
    Best Regards,
    Aslam Riaz

    Hi We are also in version 4.7.
    Use the code below as refefence.  It works.  Please close the issue with appropriate points if helps.  Good luck.
    Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK selscr WITH FRAME TITLE text-s01.
    PARAMETER:p_file TYPE rlgrap-filename MODIF ID fil." Output File Name
    SELECTION-SCREEN END OF BLOCK selscr.
    Data Declaratiion
    TYPES: BEGIN OF address,
            street(20) TYPE c,
            apt(10)    TYPE c,
            city(20)   TYPE c,
            state(2)   TYPE c,
            zip(10)    TYPE c,
           END OF address.
    TYPES: BEGIN OF person,
            name(20) TYPE c,
            ssn(11) TYPE c,
            dob(12) TYPE c,
            address TYPE address,
           END OF person.
    DATA: BEGIN OF employee OCCURS 0,
           person TYPE person,
          END OF employee.
    Data for xml conversion
    DATA: l_dom TYPE REF TO if_ixml_element,
                  m_document TYPE REF TO if_ixml_document,
                  g_ixml TYPE REF TO if_ixml,
                  w_string TYPE xstring,
                  w_size TYPE i,
                  w_result TYPE i,
                  w_line TYPE string,
                  it_xml TYPE dcxmllines,
                  s_xml LIKE LINE OF it_xml,
                  w_rc LIKE sy-subrc.
    DATA: xml TYPE dcxmllines.
    DATA: rc TYPE sy-subrc,
    BEGIN OF xml_tab OCCURS 0,
                  d LIKE LINE OF xml,
    END OF xml_tab.
    Initialization
    INITIALIZATION.
    At Selection-Screen On Value Request
    AT SELECTION-SCREEN.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Validating file
      PERFORM get_local_file_name USING p_file.
    Start-of-selection
    START-OF-SELECTION.
    Populate the internal table
      PERFORM populate_data.
    Create xml file
      PERFORM create_xml.
    END-OF-SELECTION.
    Down load the xml file
      PERFORM download_xml.
    *&      Form  populate_data
          text
    -->  p1        text
    <--  p2        text
    FORM populate_data .
      REFRESH employee.
      CLEAR employee.
      MOVE:   'Venu Test One'        TO employee-person-name,
              '111-11-1111'          TO employee-person-ssn,
              '01/01/1900'           TO employee-person-dob,
              '1111 Sanzo road'      TO employee-person-address-street,
              '111 A1'               TO employee-person-address-apt,
              'BALTIMORE'            TO employee-person-address-city,
              'MD'                   TO employee-person-address-state,
              '21209'                TO employee-person-address-zip.
      APPEND employee.
      CLEAR  employee.
      MOVE:   'John Smith'           TO employee-person-name,
              '222-22-2222'          TO employee-person-ssn,
              '02/02/1888'           TO employee-person-dob,
              '2222 John Smith road' TO employee-person-address-street,
              '222 B2'               TO employee-person-address-apt,
              'SANFRANSISCO'         TO employee-person-address-city,
              'CA'                   TO employee-person-address-state,
              '99999'                TO employee-person-address-zip.
      APPEND employee.
    ENDFORM.                    " populate_data
    *&      Form  create_xml
          text
    -->  p1        text
    <--  p2        text
    FORM create_xml .
      CLASS cl_ixml DEFINITION LOAD.
      g_ixml = cl_ixml=>create( ).
      CHECK NOT g_ixml IS INITIAL.
      m_document = g_ixml->create_document( ).
      CHECK NOT m_document IS INITIAL.
      WRITE: / 'Converting DATA TO DOM 1:'.
      CALL FUNCTION 'SDIXML_DATA_TO_DOM'
        EXPORTING
          name         = 'EMPLOYEE'
          dataobject   = employee[]
        IMPORTING
          data_as_dom  = l_dom
        CHANGING
          document     = m_document
        EXCEPTIONS
          illegal_name = 1
          OTHERS       = 2.
      IF sy-subrc = 0.
        WRITE 'Ok'.
      ELSE.
        WRITE: 'Err =',
        sy-subrc.
      ENDIF.
      CHECK NOT l_dom IS INITIAL.
      w_rc = m_document->append_child( new_child = l_dom ).
      IF w_rc IS INITIAL.
        WRITE 'Ok'.
      ELSE.
        WRITE: 'Err =',
        w_rc.
      ENDIF.
      CALL FUNCTION 'SDIXML_DOM_TO_XML'
        EXPORTING
          document      = m_document
        IMPORTING
          xml_as_string = w_string
          size          = w_size
        TABLES
          xml_as_table  = it_xml
        EXCEPTIONS
          no_document   = 1
          OTHERS        = 2.
      IF sy-subrc = 0.
        WRITE 'Ok'.
      ELSE.
        WRITE: 'Err =',
        sy-subrc.
      ENDIF.
      LOOP AT it_xml INTO xml_tab-d.
        APPEND xml_tab.
      ENDLOOP.
    ENDFORM.                    " create_xml
    *&      Form  get_local_file_name
          text
         -->P_P_FILE  text
    FORM get_local_file_name  USING    p_p_file.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        CHANGING
          file_name     = p_p_file
        EXCEPTIONS
          mask_too_long = 1
          OTHERS        = 2.
      IF sy-subrc <> 0.
        MESSAGE i007(zu).  " 'Error in getting filename'.
      ENDIF.
    ENDFORM.                    " get_local_file_name
    *&      Form  download_xml
          text
    -->  p1        text
    <--  p2        text
    FORM download_xml .
      CALL FUNCTION 'WS_DOWNLOAD'
        EXPORTING
          bin_filesize = w_size
          filename     = p_file
          filetype     = 'BIN'
        TABLES
          data_tab     = xml_tab
        EXCEPTIONS
          OTHERS       = 10.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
       SKIP 5.
       WRITE:(15) 'The ', p_file , 'is created successfully'.
      ENDIF.
    ENDFORM.                    " download_xml

  • Column format export for chosen members only (Essbase 7.1.6)

    Hi,
    I need to pull column-format looking level 0 export from Essbase cube, that:
    * must only contain single month for single year, other months in export file are to be either #Mi (pre) or non-present (post);
    * must only be for chosen account branches (so account->month->year carving);
    Main database must stay untouched by this, so if clearing/restructure is needed it must be done on a copy.
    The quest is to find a simple way to set this up to run without any human interaction. My idea is to:
    1) copy of current database structure without data (batch: shutdown both db's, clear copy, copy essbase files, start dbs),
    2) populate it with newest level 0 export (esscmd script),
    3) carve out needed data using calcscripts+variables set up for this occasion (esscmd scripts on top of calc scripts),
    4) export in column format (esscmd script).
    Point one is kind of problematic since I need to copy essbase structure related files (otl and friends). Carving with CLEARBLOCK script takes about 2-3h per run (clearing unwanted months and years, needs to be split into three account sets later on).
    Is there an easier way to do this kind of carving? Column format compliance is a must here, so ,,column format alike'' report script might not be the way to go. Anybody?
    Cheers,
    S.
    Edited by: uEssbaser on 2009-01-28 02:53

    Jason, so far I haven't got the chance to write any usable report scripts and trying to modify one of examples given in man brought me to 10GB of tmp files blowing off servers C: drive. What I need is data at zero level for (chosen accounts -> single chosen frequency -> single chosen time member -> single chosen year member -> all other dimensions). Export must be identical to level 0 column extraction from database in which everything else beyond listed dataset was cleared (so full time dim header, but for 100 in Feb and 200 in Mar you'll get #Mi 100 while extracting Feb, and #Mi #Mi 200 when doing Mar extraction). Any ideas?
    Glenn, I'm still trying to get Jexport function to run over my chosen data, but I'm unsure about essbase column format compliance when extracting single month (header + added #Mi's?). Will retry and get back on this.
    Doug, yeah I could do that, but Outline modifications are done mainly by other people and quite often too, so this may be a single point of failure in the future.
    Anyway I'm half way to fully-automated process of getting outline structure (with OU OE) along with full column format level 0. I think I'm just going to parse this outside Essbase, as part of repacking and uploading to a remote site process. I need this to be ,,fire and forget'' process, so anything coupled too much with essbase (variables, UDAs, minor setting changes in structure) may become a hard to trace breaking point later.
    Still -- any help and suggestions appreciated.
    Cheers,
    S.

  • DataExport in Column Format

    Hi All
    i am exporting BSO cube in column format . how can i change the column . for eg in sample basic when we do export in column format we get header as
    "Sales" "COGS" "Marketing" "Payroll" "Misc" "Opening Inventory" "Additions" "Ending Inventory"
    i want to changes these header to other dimension . can i do that ?
    thanks

    This is a theory, I haven't seen it in writing in any official docs: Essbase seems to pick the smallest dim that is either time or measures for the data column headers. Again, a theory, and like any theory, could be full of holes.
    Ultimately what I think you should strive for is to have the most dense dim in the columns.
    As far as massaging the resulting file into a format you need for another system, you have your choice of a variety of ways, string mangling scripts, ETL tools, etc. Whatever is easier for you based on your skills is probably ok.
    Robb Salzmann

  • Apply conditional formatting when a report is exported to CSV format

    Hello
    OBIEE dasboard has the option to export the report data to CSV format.
    But the problem is that on some columns of the report, it uses various different types of conditional formatting that tells, what to display when data is equal to one of those edge cases. So hence the report on the dashboard page shows accordingly which is fine.
    But when the report is exported to CSV format, no conditional formatting is applied and all the raw data is shown without any formatting.
    Is there any way to make sure that the conditional formatting is applied even in the data exported to CSV format.
    thanks

    CSV is supposed to be a data dump .. i dont think you can have formatting saved when u download csv file.. try downloading it to excel and changing it to CSV

  • EXport Data to Excel with Columns format

    Dear All,
    This may  be a basic question, however, I just need a tip to conclude my issue. 
    I have a Report that displays Financial Budget data (AFE).  I am able to download to the Excel sheet.  However, I need to conclude it with the column formatted at code itself and not given to the user.
    That is I want to set couple of column to Numeric, and Set Colum width defined at Code level itself.
    I am already using the Function module : MS_EXCEL_OLE_STANDARD_DAT
    Regards,
    Venkat

    data: go_excel       type ole2_object,
              Go_CELL        TYPE OLE2_OBJECT,
              go_workbooks   TYPE OLE2_OBJECT,
              go_workbook    TYPE OLE2_OBJECT,
              go_sheet       type OLE2_OBJECT,
              go_application type OLE2_OBJECT,
              go_activesheet type OLE2_OBJECT,
              go_text        type OLE2_OBJECT.
        gv_EXTRD = sy-datum.
        gv_EXTRT = sy-uzeit.
        concatenate pfile gv_EXTRD gv_EXTRT  'check.xls' into gv_file.
        clear: gt_export, gs_export.
    ****INITIATE EXCEL
    Create object Excel
        create object go_excel 'EXCEL.APPLICATION'.
        set property of go_excel 'Visible' = 0.
    Create workbook object
        call method of go_excel 'WORKBOOKS' = go_workbook .
      Add workbook
        call method of go_workbook 'Add' = go_workbook.
        lv_line = 0.
        loop at gt_collect ASSIGNING <collect>.
          lv_line = lv_line + 1.
          move-corresponding <collect> to gs_export.
          clear: gs_export-ZALDT.
          concatenate <collect>-ZALDT4(2) '-' <collect>-ZALDT6(2) '-' <collect>-ZALDT+0(4)
               into gs_export-ZALDT.
    Populate cells
          call method of go_excel 'Cells' = Go_CELL
            EXPORTING
              #1 = lv_line
              #2 = 1.
    **************SET UP PROPERTY WIDTH ****************************
          SET PROPERTY OF GO_CELL 'ColumnWidth' = '11'.
          SET PROPERTY OF GO_CELL 'Value' = gs_export-BANKL.
    ***********SET PROPERTY CELL NUMBER**************************************
          call method of go_excel 'Cells' = Go_CELL
            EXPORTING
              #1 = lv_line
              #2 = 4.
          SET PROPERTY OF go_cell 'NumberFormat' = '@'.     "PROPERTY NUMBER
          SET PROPERTY OF GO_CELL 'ColumnWidth' = '10'.
          SET PROPERTY OF GO_CELL 'Value' = gs_export-ZALDT.
    endloop.
    **CLOSE EXCEL**********
        CALL METHOD OF go_workbook 'SaveAs'
          EXPORTING #1 = gv_file
          #2 = 1.
        "file format
        CALL METHOD OF go_workbook 'close'.                                    "file format
        call method of go_excel 'QUIT'.
    ****OPEN CREATED EXCEL FILE ****************************
        call method of go_excel 'Workbooks' = go_workbooks.
        call method of go_workbooks 'Open'
          EXPORTING
            #1 = gv_file.
        set property of go_excel 'Visible' = 1.

  • Export Of Data In The .CSV Format With Column Headings On Top

    I'm trying to export data in the .csv format from a report (Crystal Reports XI Release 2).  When I export the data, the heading appears in the first few columns on the left hand side (i.e. columns "A" thru "G") for every row, rather as a column heading on top.  These header describe the data beneath it.  I tried various combinations of export options.  The file needs an extension .csv (or .xls) for the tool that uses the data.  Any suggestions how I can accomplish this ?

    Abhishek,
    I tried to apply your solution, but forgot that the Crystal Reports support desk updated my version of Crystal Reports XI to Release 2 for a previous problem.  My CDs are Crystal Reports XI Release 1.  Now I can't export at all until I figure out how to turn on the export option.  I do have access to older version (version unknown) that came with one of business system.  The options it has are "Character", "Tab", and "Delimeter" for "Separated Values (CSV)".  It does not have the option that you mentioned.  Is there a similar option with this older version ?  Lastly, How can I turn on the "Export" for "Crystal Reports XI Release 2" ?  Thanks ! ! !

  • Data Pump Export with Column Encryption

    Hi All-
    I have the following two questions:
    - Can I export encrypted column data to a file, preserving the data encrypted? (ie. I don't want clear text in resulting file)
    - If yes, what would another person need to decrypt the generated file? (ie. I want to give the resulting file to a customer)
    Thanks a lot for your help!
    Juan

    Hi,
    expdp and impdp works only on oracle database. You you need to have oracle database on source and destination to use expdp/impdp. You can also use expdp with ENCRYPTION_PASSWORD option so that password can be passed to client for doing impdp at their end with given password.
    Regards

  • BUG: Jdev 11.1.1.0.0 -- DB table data export column order is not preserved

    Hello,
    I've ran into a problem with Jdeveloper 11g, public release, Build JDEVADF_MAIN.BOXER_GENERIC_081002.2127.5156. Oracle IDE version is 11.1.1.0.31.51.56
    When I connect to Oracle database, get the table list, right click on the table and select 'Export Data'->csv. The dialog box opens with three tabs: Format, Columns, Where. The column order displayed in both tabs Columns and Where is alphabetic. Because alphabetic ordering re-arranges columns from their initial ordering in the table, this screws up the export because columns are not in their intended order. This same problem occurs when I try to export data from views to generate a CSV file with a particular column order for our vendor. Since Jdev scrambles the column order I have to rely on SQLdeveloper to generate CSV exports, since SQLdeveloper has the same functionality but it preserves the column order.
    It would be nice if Jdeveloper preserved the column order on export.
    Thanks!

    Update:
    This bug is now also present in the SQL Developer 1.5.3.
    I've posted a bug report on the appropriate forum: BUG: SQL Developer 1.5.3 CSV export column order broken

  • Change date column format in Microsoft Access db?

    Hi,
    I'm completely new to Java so I'm unsure how easy\hard this my question is...
    A Java application I'm working on creates an Access mdb (through some 3rd party API's) in that mdb there are some columns of type date with values of date-time. The user does not want to see the time when they create reports in Access.
    So two solutions would be to either (a) set the column format to Medium Date or (b) truncate the values in the row.
    Method (b) should be much quicker since it is not altering any values...but is this possible to do in Java? I'm not sure even where to start.
    Also I tried method (b) using sun.jdbc.odbc.JdbcOdbcDriver but have had some issues (just not updating values)...not sure what the cause is so I'll continue to bang away at that (unless someone has some sample code that would be great also).
    Thanks,
    Frank

    You should not change this format. The default date format complies with the "common log format" which is readable by many log analysis tools.
    That said, if you still want to change the date format, you can replace %SYSDATE% with %LOCALEDATE% in your flex-init line. LOCALEDATE will cause the WS to use the date format set by your OS.

Maybe you are looking for

  • Can't connect to itunes with my iPod (touch).

    My IPod is disabled (I haven't used it in quite awhile, don't know why it's disabled) and is asking me to connect to itunes. When I try to, I get an error on itunes saying "iTunes could not connect to the iPod "Nathan's IPod" because it is locked wit

  • Cannot Find File - Convert higher bitrate songs to 128kb AAC on an iPhone??

    I ran out of room on my iPhone 3G, so I checked the "Convert higher bitrate songs to 128kb AAC" option. I had already made an 'iPhone' playlist as the only playlist synched with iTunes, and the playlist reduced its iPhone footprint by roughly 25%. It

  • Blog Archive  pictures are not showing correctly- is it possible to fix?

    I illustrate each of my blog entries with a small cartoon picture. When I originally made my website in .mac it was fine but since I was forced to switch by Apple to iLife in order to continue to edit my webiste, the archive entires of my blog no lon

  • How to create a file links .....

    Hi All! I want to achieve following, using the IFS java apis. How can i do that. what classes - methods i can use from ifs. A code snippet will be really helpful. Here goes my task of creating links to a file from different folders in repository.....

  • Data base

    Hi all : Issue is data base  Please attach see file , copy this file to desktop ,, then run create table  vi ,,, as you see its will save the data in access . Please see  I took the this example from national instrument example directory C:\Program F