Download Saved Report in IR 4.1

Hi,
I have a query regarding saved reports feature in Interactive reports 4.1
I saved a normal report by adding some control breaks etc and make it more readable.
I then saved it. Now if I want to download my saved report - I can't.
It always downloads the default report layout.
Can anyone help how to do this?
Many Thanks,
Jas

Hi Nico,
I'm using Apex 4.1.
The odd thing is that for some reports the download to csv of the 'private' report works OK, others don't work OK -- It's weird. And I'm defining the filter conditions and saving the report in the same way.
A similar post was raised by Robert G. Re: Problem with export from a saved interactive report
I appreciate your comments
Thanks
Boketi

Similar Messages

  • HELP IR Download filtered saved report to CSV

    Hi there
    My enquiry is to do with the saved reports feature in Interactive Reports Apex 4.1
    I create a default IR report and then I subsequently define a filter on this report effectively limiting the displayed output to the rows of data I want to see. I then save the report which is now a 'private' report. If I run the 'saved' (with the filter condition) IR report it displays the data correctly, with the 'saved' report displaying the correct data on the screen I then click Actions->Download and then select CSV - the entire 'primary' report is downloaded -- The filter is ignored!!! Surely the Actions->Download should 'know' that I want download the report that's being displayed (just run) on the screen?
    I think that when you click on the CSV icon the report is re-submitted - How can I get the CSV download to apply the filter that I've defined in the saved report.
    I've searched this forum and found the following similar question being asked
    Re: Problem with export from a saved interactive report
    Interactive Report Download to csv problem
    how to download only filtered data in csv?
    Re: Download Saved Report in IR 4.1
    Thanks in advance
    PS: Is the above an undocumented feature of Apex IR Reports?
    Edited by: boketi on Sep 25, 2012 7:05 AM

    Hi Sathish,
    Thanks for your comment.
    I agree with just a 'default' report the CSV download always gives what is displayed on the screen. If you then define another report with a filter condition and run this 'private' report 'sometimes' the CSV download gives the origional primary report, ignoring the filter condition. Please see the attached links as other people are also getting the same problem.

  • IR Saved Report  - Download to CSV downloads Primary Report

    Hi there
    I'm using Apex 4.1, I login to my Apex application NOT using the developer interface (the developer buttons are not visable at the base of the page) as an end user would see.
    If I run an IR report and then create a filter on the Primary report the report runs OK. I then click Actions -> Download and then Download the report output to a CSV file (correctly filtered) to a Excel spreadsheet. I then Save this report giving the report a Name and Description. I then logoff from the Apex application. So far so good.
    I then login back on to my Apex Application. When I choose and run the Saved Report (described above - not the Primary report) the saved report runs correctly (applying the correct filter condition), HOWEVER when I then click on Actions - Download I seem to get the Primary report downloaded as a CSV file into my Excel spreadsheet - the filter condition that is applied to the saved rerport is ignored for the Downloaded CSV file. The File Downloaded is a new CSV file generated in Apex as reported in my Firefox 'Downloads' list.
    Does anyone know if this is a Bug or have I not set up the IR correctly.
    Thanks in Advance
    Edited by: boketi on Aug 13, 2012 3:18 PM

    boketi wrote:
    Hi Mehabub,
    Many thanks for the quick response.
    Did you test this in version 4.1 of Apex? I logged on to Oracle's 4.2 Early Adopter Beta Site and did the same and the IR works fine! Maybe it's a strange problem in 4.1 although I doubt it as with such a problem there would be a lot more noise on this forum. Could this be related to the 'theme' that I'm using? As the theme I'm using was origionally developed for Apex 3.2 and I don't think IR reports were around in 3.2?There is a good chance that it has to do with the theme or the upgrade from Apex 3.2. Interactive reports existed in 3.2 also user defined reports. But a lot of changes were made to the IR logic since 3.2 (introduction of multple standard reports, etc.).
    I just tested your case in my Apex 4.1.1 version in an application that was also upgraded from 3.2. And the data was stored correctly into a csv file.
    But it is useing one of the standard themes that was also updated.
    Did you set the compatibility mode of your application to 4.1?
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#AEAPI2329
    begin
       apex_util.set_compatibility_mode(<application id>, '4.1');
       commit;
    end; Just because the environment is Apex 4.1 does not mean you application runs in 4.1. mode.

  • Download alv report in excel format in Linux

    Hi All,
    I am working on SAP GUI for Java in Linux PC. I have installed
    Open Office.
    After executing an alv report there is no spreadsheet option
    to download the report in excel format .
    Also, when doing Save as Local File -> Spreadsheet ,
    the report is not downloaded in proper format.
    So, how to download the alv reports in excel format ?

    Hi Vinod ,
    Save as Local File -> Spreadsheet
    It will ask for Directory and file name with .xls format . Give proper name e.g. test.xls and save, and after saving file right click on the file and click on Open with "OpenOffice.org calc".
    It will definetly work.
    Abhijeet

  • How to download a report into CSV file format?.

    Hello all,
    I have a requirement like this.
    I have one custom Report. I need to download this report output into CSV format. In the selection screen, i am giving the pathname where report output need to be saved. Please let me know how to do it..
    Thanks in advance....
    Regards
    Ravi

    TYPE-POOLS: truxs.
    TYPES:
      BEGIN OF ty_Line,
        vbeln LIKE vbap-vbeln,
        posnr LIKE vbap-posnr,
      END OF ty_Line.
      ty_Lines TYPE STANDARD TABLE of ty_Line WITH DEFAULT KEY.
    DATA: itab   TYPE ty_Lines.
    DATA: itab1  TYPE truxs_t_text_data.
    SELECT
      vbeln
      posnr
      UP TO 10 ROWS
      FROM vbap
      INTO TABLE itab.
    CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
      EXPORTING
        i_field_seperator    = ';'
      TABLES
        i_tab_sap_data       = itab
      CHANGING
        i_tab_converted_data = itab1
      EXCEPTIONS
        conversion_failed    = 1
        OTHERS               = 2.
    IF sy-subrc &lt;&gt; 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename = 'C:\TEMP\test.txt'
      TABLES
        data_tab = itab1
      EXCEPTIONS
        OTHERS   = 1.
    I found this in the blogs ....reward if it helps

  • CAN WE DOWNLOAD A REPORT TO PRESENTATION SERVER IN BACKGROUND

    Hi
    1. Can we download a report into presentation server in background mode and it should be saved in excel. If so plz let me know how to do.
    2. When i look into spool SP01 the report is not in proper format because the report output width is more than 255 characters and now how should i solve the problem to make it in correct format. Can we do this or not?. If so how
    Thanks in advance.

    Hi
    when i wrote the
    REPORT z_mm_rep_000047
                           LINE-SIZE 500
                           LINE-COUNT 65
                           MESSAGE-ID zca.
    it is automatically increasing the width in the print settings when i increased to 500 from 255 but stil its not working.

  • Download alv report to excel in linux

    Hi All,
    I am working on SAP GUI for Java in Linux PC. I have installed
    Open Office.
    After executing an alv report there is no spreadsheet option
    to download the report in excel format .
    Also, when doing Save as Local File -> Spreadsheet ,
    the report is not downloaded in proper format.
    So, how to download the alv reports in excel format ?
    Edited by: Vinod Iyer on Jan 8, 2008 11:51 AM

    The problem of course is that you can't actually call up EXCEL on a Linux machine so such XXL functions  as  call function 'ALV_XXL_CALL' will not work.
    I don't think SAP has OPEN OFFICE integration -- and even if you use EXCEL via the Linux Cross Over Office it is unlikely to work.
    You might need to fiddle around with the internal file format yourself before saving it as a local file.
    For EXCEL 2007 you actually have a better chance since if you save in TRUE EXCEL 2007 format the data is saved in a type of XML file.
    You can read about the EXCEL 2007 new file formats on the M$ site. Note however that you will need to download the EXCEL 2007 file viwer to read the file with earlier versions of EXCEL.
    (You can use EXCEL 2007 in "compatability" mode but using an XML file IMO seems a better option).
    If you use a lot of EXCEL functionality probably the best option is to install Windows as a VM on your linux machine (VMWARE/PARALLELS/VMBOX etc) and then run the standard SAPGUI from the Windows VM.
    Probably not the answer you want but it's the best I can do.
    Cheers
    jimbo

  • Report Designer - Error while opening a saved report

    Hi,
    I am not sure if this is an authorization issue or configuration issue.
    When I try to open a saved report on Report designer, I keeping getting an error: Report Version is invalid: "0".
    Has anybody faced similar problem?
    We are on SP09.
    Regards,
    Payal.

    Payal,
    I am afraid, that your report might be corrupted. This might have happened, if in tx SE16 the version is changed. The Report XML displayed in SE16 for table RSERDATA, is limited to ca. 1024 charachters. When editing the version, after pressing the save button, the Report XML is cut off at 1024 charachters and the report is lost.
    Please do not set the report version in tx SE16!
    I will need to configure the program RS_REPORT_MAINTAIN, such that reports with version "0" can be saved with the minimum version 9.0.
    Until then I recommend the following procedure for Reports that are ok, but have the Version "0" bug:
    1) in tx SE38, program: RS_REPORT_MAINTAIN
        open your report with option "DT" (designtime)
    2) Switch to Edit mode.
        Make a backup copy of the report using the "Save As" Button.
        You can copy the Report XML to the clipboard using Ctrl-A, Ctrl-C
    3a) Open a dummy report in RS_REPORT_MAINTAIN created previously with
          Report Desginer ( --> The version is set to 9.0).
          Switch to edit mode and paste the Report XML and Save.
      or
    3b) Debug FUNCTION rs_bex_report_load_rfc.
          Open a report and change the value of E_REPORT_VERSION to "9.0"
          before leaving the function.
    Hope this helps, karim
    P.S.
    I will update note 1016224

  • Handle Link in Download IR Report

    Hi,
    I am using Apex 4.1.1 and Oracle DB 11g.
    I am using below sql query in an Interactive report. Now the issue is why we are downloading the report in csv format through Actions button we are getting the whole link data.
    select
    '<a HREF="f?p=&APP_ID.:2:&SESSION.::::P2_ID:'
      ||ID
      ||'"><img src="#IMAGE_PREFIX#edit.gif" alt=""></a>' "Edit",
    column1,
    column2
    from tablename
    where column1 = 'abc'
    union
    select
    '<a HREF="f?p=&APP_ID.:3:&SESSION.::::P3_ID:'
      ||ID
      ||'"><img src="#IMAGE_PREFIX#edit.gif" alt=""></a>' "Edit",
    column1,
    column2
    from tablename
    where column1 = 'xyz'
    The csv downloaded is in below format,
    Column1
    Column2
    <a HREF="f?p=112:2:1421459908384901::::P2_ID:1"><img src="/i/edit.gif" alt=""></a>
    abc
    1
    <a HREF="f?p=112:3:1421459908384901::::P3_ID:2"><img src="/i/edit.gif" alt=""></a>
    xyz
    2
    Now my issue is I don't want to download the first column (which is the link column) i.e., the downloaded csv should have only column1 and column2. Can anybody help me with this.
    Thanks in advance
    Thanks,
    Shoaib

    Hi,
    Edit column attributes and set condition Request Is NOT Contained within Expression 1.
    Enter to Expression 1
    CSV,XLS,PDF,RTF,XML,HTMLD,EMAIL
    Regards,
    Jari

  • Download classical report to MS word with OLE

    hi experts,
       I have a Classical HR Report that contains profile information of the employee.Now I have to Download the Report to Ms word through OLE . I tried some threads but they were just displaying the static text.I have to download the data for the following format.could some one help me on this?
    WRITE : 'Salary Information '.
    SKIP 1.
    WRITE : 1 SY-ULINE(83).
    WRITE : /1'|',2 'Period Ending On 31ST',25'|',26'Rating(If Any)',42'|',43'Basic Salary',57'|',58'Gpm',70'|',71'CTC',83'|'.
    WRITE : /1 SY-ULINE(83).
    CLEAR YEARSAL.CLEAR CURRENT.
    CLEAR GROSS.CLEAR GROSS1.CLEAR CTC1.
    LOOP AT ISAL INTO WSAL WHERE PERNR = WP01-PERNR AND ENDDA = '99991231' ."AND CURRENT BETWEEN WSAL-BEGDA AND WSAL-ENDDA.
      GROSS = WSAL-BET01 + WSAL-BET02 + WSAL-BET03 + WSAL-BET04.
      GROSS1 = GROSS.CONDENSE GROSS1.
      CTC1 = WSAL-BET10.CONDENSE CTC1.
    WRITE : /1'|',2 'Current' ,25'|',26 WSAL-RTEXT,42'|',43 WSAL-BET01 ,57'|',58 GROSS1,70'|',71 CTC1,83'|'.
    WRITE : /1 SY-ULINE(83).
    ENDLOOP.
    "need to download such information as above to ms word
    "ole format
    CREATE OBJECT gs_word 'WORD.APPLICATION' .
    IF sy-subrc NE 0 .
    MESSAGE s000(su) WITH 'Error while creating OLE object!'.
    LEAVE PROGRAM .
    ENDIF .
    *--Setting object's visibility property
    SET PROPERTY OF gs_word 'Visible' = '1' .
    *--Opening a new document
    GET PROPERTY OF gs_word 'Documents' = gs_documents .
    CALL METHOD OF GS_DOCUMENTS 'ADD' = V_DOCUMENTS.
      CALL METHOD OF gs_selection 'TypeText'
    EXPORTING
    #1 = 'Overview Of The Employee'.
    "the output format would be like this .
    pernr    |   year   |    salary | .......
    Edited by: SYED_ibbu on Feb 23, 2011 11:07 AM
    Edited by: SYED_ibbu on Feb 24, 2011 5:57 AM

    hi experts,
    i Have to display multiple tables in the word document . i am displaying the first table but when i try to display the second table it is getting displayed inside the first table. When i debugged , i found that that the cursor is still in the first row of the first table even after the first table is displayed and the second table is displayed from that cursor position. How to get the cursor position after the end of the table ie outside the table to the main document.could some one help me on this. Below is the code i have used.
    GET PROPERTY OF GS_WORD 'ActiveDocument' = gs_actdoc.
    GET PROPERTY OF gs_actdoc 'Tables' = gs_tables .
    GET PROPERTY OF gs_selection 'Range' = gs_range .
    CALL METHOD OF gs_tables 'Add' = gs_table
    EXPORTING
    #1 = gs_range
    #2 = LINES
    #3 = '7'.
    GET PROPERTY OF gs_table 'Borders' = gs_table_border .
    SET PROPERTY OF gs_table_border 'Enable' = '1' .
    GET PROPERTY OF gs_cell 'Range' = gs_range .
    SET PROPERTY OF gs_range 'Text' = value .
    CALL METHOD OF gs_table 'Cell' = gs_cell
    EXPORTING
    #1 = P_TABIX1
    #2 = CNT.
    GET PROPERTY OF GS_WORD 'ActiveDocument' = gs_actdoc1.
    GET PROPERTY OF gs_actdoc1 'Tables' = gs_tables1 .
    GET PROPERTY OF gs_selection 'Range' = gs_range1 .
    CALL METHOD OF gs_tables1 'Add' = gs_table1
    EXPORTING
    #1 = gs_range1
    #2 = '2'
    #3 = '4'.
    with thanks in advance,
    syed
    Edited by: SYED_ibbu on Feb 25, 2011 5:39 AM

  • Help me to download my report in excel format.

    Here is my code below. On selection screen I am giving three inputs.
    And There are two radio buttons present on my selection screen.
    first one is for display the report.
    second button name is generate(to export the report).
    Clicking on the generate radio button will show the report.
    There should be a standard button on the toolbar called GENERATE.
    Clicking on that button will show a popup window asking to download the report either in .xls format or in .csv format.
    ==========================================================
    My report is being displayed perfectly.But not getting how to downlaod the report in excel and csv format. Would u plz guide me what should I write within the export_report function of my program so that I can download the report. Kindly guide.
    REPORT ZMYREPORT.
    TYPE-POOLS: SLIS.               
    TYPES: BEGIN OF t_afko,
           aufnr type aufnr,        
           gamng type gamng,        
           plnbez type matnr,
           END OF t_afko.
    TYPES: BEGIN OF t_mara,
           matnr TYPE matnr,
           mtart type mtart,         
           pstat type pstat_d,       
           END OF t_mara.
    TYPES: BEGIN OF t_output,
           aufnr type aufnr,              "Production order
           gamng type gamng,         "move number
           mtart type mtart,              "size/fit
           pstat type pstat_d,           "Variant
           quantity type meng8,        "Quantity
           barcode(35) type c,          "barcode
           END OF t_output.
                 INTERNAL TABLES, WORK AREAS AND VARIABLES                      
    *For work area.
    DATA:
          gwa_afko type t_afko,                          "work area for t_afko table
          gwa_mara type t_mara,                          "work area for t_mara table
          gwa_output type t_output,                      "work area for t_output table
          gwa_output1 type t_output,                     "second work area for t_output table
          gwa_fieldcat type slis_fieldcat_alv,           "work area for slis_fieldcat_alv
          gwa_top type slis_listheader,                  "work area for slis_listheader
          wa_variant type disvariant,                    "work area for variant
          wa_Variant1 type disvariant,                   "work area for variant
    *For internal tables.
    gi_afko TYPE STANDARD TABLE OF t_afko,                     
    gi_mara TYPE STANDARD TABLE OF t_mara,               
    gi_output TYPE STANDARD TABLE OF t_output,              
    gi_fieldcat TYPE STANDARD TABLE OF slis_fieldcat_alv,
    gi_top TYPE slis_t_listheader,                        
    gi_download TYPE TABLE OF t_download,
    *Variables for screen-input.
          v_aufnr like caufvd-aufnr,  "for production order
          v_txt04 like tj02t-txt04,   "for production order status
          v_plnbez like afko-plnbez.  "for article
    *For constants.
    CONSTANTS: quantity(1) type c value '1',
               lv_save(01) TYPE c VALUE 'A',
               c_csv TYPE char1 VALUE   '|'.
                           S E L E C TI O N     S C R E E N      *
    SELECTION-SCREEN:
    BEGIN OF block inputpath1 WITH FRAME TITLE TEXT-001.            
    SELECT-OPTIONS: s_aufnr for v_aufnr,                                                                               
    s_txt04 for v_txt04,                                                                               
    s_plnbez for v_plnbez.                                
    SELECTION-SCREEN: END OF block inputpath1.
    SELECTION-SCREEN:
    BEGIN OF block inputpath2 WITH FRAME TITLE TEXT-002.   
    PARAMETERS:   
    p_disp RADIOBUTTON GROUP rb DEFAULT'X',   "Button to display report           
    p_gen RADIOBUTTON GROUP rb.         "button for generate option
    SELECTION-SCREEN: END OF block inputpath2.
    SELECTION-SCREEN:
    BEGIN OF block inputpath3 WITH FRAME TITLE TEXT-003.   
    PARAMETERS:layout TYPE disvariant.                                      
    SELECTION-SCREEN: END OF block inputpath3.
                    I-N-I-T-I-A-L-I-Z-A-T-I-O-N                                   *
    INITIALIZATION.
      DATA: g_repid LIKE sy-repid,
            g_uname LIKE sy-uname.
      g_repid = sy-repid.
               AT SELECTION SCREEN                     *
    *Function module for variant.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR layout.
      wa_variant-username = g_uname.
      wa_variant-report = g_repid.
    *Display all existing variants
      DATA:  lv_exit(1) TYPE c.
    *Code for variant part.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          is_variant    = wa_variant
          i_save        = lv_save
        IMPORTING
          e_exit        = lv_exit
          es_variant    = wa_variant1
        EXCEPTIONS
          not_found     = 1
          program_error = 2
          OTHERS        = 3.
      IF sy-subrc <> 0.
        layout = wa_variant-variant.
      ELSE.
        IF lv_exit = space.
          layout = wa_variant1-variant.
        ENDIF.
      ENDIF.
                           MAIN PROGRAM                              *
    AT SELECTION-SCREEN .
    *For validating the user inputs on selection screen.
      PERFORM  validate_input.
                      START-OF-SELECTION                         *
    START-OF-SELECTION .
      SET PF-STATUS 'ZGUI1'.
      IF p_disp = 'X'.                         "If the display radio button is checked.
       perform zselection.                  "Data is fetched from tables.
      ENDIF.
                     END-OF-SELECTION                              *
    END-OF-SELECTION.
      IF p_disp = 'X'.
       PERFORM buildcat.
       PERFORM display_report.
      ELSEIF p_gen = 'X'.
        PERFORM display_report.
        PERFORM export_report.
      ENDIF.
    *&      Form  validate_input
    Checking input data validation on the display screen.           *
    form validate_input.
    *Local variables for input validation.
    DATA: lv_aufnr type aufnr,
          lv_txt04 type J_TXT04,
          lv_plnbez type matnr.
    IF s_aufnr[] is not initial.
      SELECT aufnr up to 1 rows
      FROM aufk
      INTO lv_aufnr
      WHERE aufnr IN s_aufnr.
      ENDSELECT.
      IF lv_aufnr IS INITIAL.
      MESSAGE e001(zmssg).
      ENDIF.
    ENDIF.
    IF s_txt04[] is not initial.
      SELECT txt04 up to 1 rows
      FROM TJ02T
      INTO lv_txt04
      WHERE txt04 IN s_txt04.
      ENDSELECT.
      IF lv_txt04 IS INITIAL.   "this depicts that if s_txt04 is initial.
      Message e002(zmssg).
      ENDIF.
    ENDIF.
    IF s_plnbez[] is not initial.
      SELECT plnbez up to 1 rows
      FROM afko
      INTO lv_plnbez
      WHERE plnbez IN s_plnbez.
      ENDSELECT.
      IF lv_plnbez IS INITIAL.   "this depicts that if s_plnbez is initial.
      Message e003(zmssg).
      ENDIF.
    ENDIF.
    endform.                    " validate_input
    *&      Form  zselection
          Fetches data                                           *
    form zselection .
    SELECT aufnr  "production order
           gamng  "move number
           plnbez
           FROM afko
           INTO TABLE gi_afko
           WHERE aufnr IN s_aufnr
           AND plnbez IN s_plnbez.
    SELECT matnr
           mtart        "size/fit
           pstat        "variant
           FROM mara
           INTO TABLE gi_mara
           WHERE matnr IN s_plnbez.
              Populating final data                                         *
    LOOP AT gi_afko INTO gwa_afko.
      READ TABLE gi_mara INTO gwa_mara with key matnr = gwa_afko-plnbez.
      IF sy-subrc IS INITIAL.
    *Moving t_mara and t_afko data from their work area to work area of t_output.
        MOVE   gwa_mara-mtart TO gwa_output-mtart.
        MOVE   gwa_mara-pstat TO gwa_output-pstat.
        MOVE  gwa_afko-aufnr TO gwa_output-aufnr.
        MOVE  gwa_afko-gamng TO gwa_output-gamng.
        APPEND gwa_output TO gi_output.
        ENDIF.
    ENDLOOP.
    *Populating the quantity field
      LOOP AT gi_output INTO gwa_output.
        gwa_output-quantity = '1'.
        MODIFY gi_output FROM gwa_output INDEX sy-tabix TRANSPORTING quantity.
    *Concategnating aufnr, pstat into barcode
        CONCATENATE gwa_output-aufnr gwa_output-pstat INTO gwa_output-barcode .
        MODIFY gi_output FROM gwa_output INDEX sy-tabix TRANSPORTING barcode.
      ENDLOOP.
    endform.                    " zselection
    *&      Form  buildcat
          text
    form buildcat.
      CLEAR gwa_fieldcat.
      gwa_fieldcat-fieldname = 'AUFNR'.
      gwa_fieldcat-seltext_l = 'PRODUCTION ORDER'.
      gwa_fieldcat-tabname = 'GI_OUTPUT'.
      gwa_fieldcat-emphasize = 'C201'.
      gwa_fieldcat-col_pos = 1.
      APPEND gwa_fieldcat TO gi_fieldcat.
      CLEAR gwa_fieldcat.
      gwa_fieldcat-fieldname = 'GAMNR'.
      gwa_fieldcat-seltext_l = 'MOVE NUMBER'.
      gwa_fieldcat-tabname = 'GI_OUTPUT'.
      gwa_fieldcat-emphasize = 'C201'.
      gwa_fieldcat-col_pos = 2.
      APPEND gwa_fieldcat TO gi_fieldcat.
      CLEAR gwa_fieldcat.
      gwa_fieldcat-fieldname = 'MTART'.
      gwa_fieldcat-seltext_l = 'SIZE/FIT'.
      gwa_fieldcat-tabname = 'GI_OUTPUT'.
      gwa_fieldcat-emphasize = 'C201'.
      gwa_fieldcat-col_pos = 3.
      APPEND gwa_fieldcat TO gi_fieldcat.
      CLEAR gwa_fieldcat.
      gwa_fieldcat-fieldname = 'PSTAT'.
      gwa_fieldcat-seltext_l = 'VARIANT'.
      gwa_fieldcat-tabname = 'GI_OUTPUT'.
      gwa_fieldcat-emphasize = 'C201'.
      gwa_fieldcat-col_pos = 4.
      APPEND gwa_fieldcat TO gi_fieldcat.
      CLEAR gwa_fieldcat.
      gwa_fieldcat-fieldname = 'QUANTITY'.
      gwa_fieldcat-seltext_l = 'QUANTITY'.
      gwa_fieldcat-tabname = 'GI_OUTPUT'.
      gwa_fieldcat-emphasize = 'C201'.
      gwa_fieldcat-col_pos = 5.
      APPEND gwa_fieldcat TO gi_fieldcat.
      CLEAR gwa_fieldcat.
      gwa_fieldcat-fieldname = 'BARCODE'.
      gwa_fieldcat-seltext_l = 'BARCODE'.
      gwa_fieldcat-tabname = 'GI_OUTPUT'.
      gwa_fieldcat-emphasize = 'C201'.
      gwa_fieldcat-col_pos = 6.
      APPEND gwa_fieldcat TO gi_fieldcat.
    endform.                    " buildcat
    *&      Form  top
          text
    FORM top .
    REFRESH gi_top.
    gwa_top-typ = 'H'.
    gwa_top-info = My alv report'.
    APPEND gwa_top TO gi_top.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
      EXPORTING
        it_list_commentary       = gi_top
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
      I_ALV_FORM               =
    ENDFORM.                "top
    *&      Form  display_report
    form display_report .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
       I_INTERFACE_CHECK                 = ' '
       I_BYPASSING_BUFFER                = ' '
       I_BUFFER_ACTIVE                   = ' '
         I_CALLBACK_PROGRAM                = g_repid
       I_CALLBACK_PF_STATUS_SET          =  'PF-STATUS'
       I_CALLBACK_USER_COMMAND           = ' '
        I_CALLBACK_TOP_OF_PAGE            = 'TOP'
       I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
       I_CALLBACK_HTML_END_OF_LIST       = ' '
       I_STRUCTURE_NAME                  =
       I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      =
       I_GRID_SETTINGS                   =
       IS_LAYOUT                         =
        IT_FIELDCAT                       = gi_fieldcat
       IT_EXCLUDING                      =
       IT_SPECIAL_GROUPS                 =
       IT_SORT                           =
       IT_FILTER                         =
       IS_SEL_HIDE                       =
       I_DEFAULT                         = 'X'
        I_SAVE                            = 'A'
        IS_VARIANT                        = wa_variant1
       IT_EVENTS                         =
       IT_EVENT_EXIT                     =
       IS_PRINT                          =
       IS_REPREP_ID                      =
       I_SCREEN_START_COLUMN             = 0
       I_SCREEN_START_LINE               = 0
       I_SCREEN_END_COLUMN               = 0
       I_SCREEN_END_LINE                 = 0
       I_HTML_HEIGHT_TOP                 = 0
       I_HTML_HEIGHT_END                 = 0
       IT_ALV_GRAPHICS                   =
       IT_HYPERLINK                      =
       IT_ADD_FIELDCAT                   =
       IT_EXCEPT_QINFO                   =
       IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
       E_EXIT_CAUSED_BY_CALLER           =
       ES_EXIT_CAUSED_BY_USER            =
       TABLES
         t_outtab                          = gi_output
      EXCEPTIONS
        PROGRAM_ERROR                     = 1
        OTHERS                            = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform.                    " display_report
    *&      Form  export_report
          text
    form export_report.
    endform.

    Hi Cinthia,
    Check this Link.
    How Can we genarate Excel file without GUI_DOWNLOAD
    Reward points if useful.
    Regards,
    Abhishek

  • Download ALV report to PDF with Lights

    Hi,
    I have a requirement wherein, when i download ALV report to PDF which has Lights in the first column.  My problem is these lights are not displayed instead i get the following in the PDF
    PDF o/p:
    XOO RED SIGNAL
    OXO YELLOW SIGNAL
    OOX GREEN SIGNAL
    Please let me know how to get the lights in the PDF o/p
    Thanks & Regards,
    Sandhya

    Hi Sandhya,
    U can convert any type of display(SF,ALV) to PDF.....
    User Program rstxpdft4 to convert it first the O/P need to be converted into spool.
    cheers,
    Naveen.

  • Data is not converting in XML format in output while download in report

    Hi All,     While downloading the report in XML format value '&' is not changing its XML format '&amp', but showing in debug mode and sam thing while download its not showing in output. showing in debug like; MS NA - DCS Tooling & Automation but in output showing the data like:  MS NA - DCS Tooling & Automation because of this getting issue. Please help me out . Thanks and Regards Sankil

    In that case, it is correct.
    Try replacing & with &amp; before downloading xml in case you want & to appear as &amp; in web browser view.

  • Error message downloading OBIEE Report to Excel "is in a different format"

    Dear experts:
    We just upgraded to 10.1.3.4.1 in our Dev environment and are seeing a pecuiliar behavior when we try to download a report to either "Excel" or "Excel 2000".
    After selecting Excel (or Excel 200) from the Download Link, we get the following message that pops up:
    The file you are trying to open 'Period Summary.xls' is in a different format than specified by the file extension. Verify the file is not corrupted and is from trusted source before opening the file. Do you want to open the file now?
    We are then given the choice of Yes, No, or Help
    When I click Yes, the File does open, but why this message? I can see the users complaining about this message.

    I found the link to MSDN site which states that this is a "known problem" and MS will provide a fix at a future date.
    http://blogs.msdn.com/vsofficedeveloper/pages/Excel-2007-Extension-Warning.aspx
    Also, the following metalink documents address this: 780817.1, 759410.1
    This is the expected behavior due to security restrictions implemented in MS Office 2007
    Solution
    The following is the workaround for this issue:
    Client desktops can change the default behavior of the security check using a registry key. The following registry key can be set to alter the behavior of the Excel 2007 client in the following ways:
    Disclaimer from Microsoft: WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.
    Key: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security
    Value: (DWORD)"ExtensionHardening" = [0 = Disable check; 1 = Enable check and prompt; 2 = Enable check, no prompt deny open]
    I have searched through OBIEE Oracle docs, but didn't find any mention of this issue.
    Has anyone seen any OBIEE workaround for this?

  • IE8 error while downloading a report

    Hi,
    When I download a report to excel or any other format while working on internet explorer 8, following error referring to common.js comes though the report gets downloaded.
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Timestamp: Mon, 25 Apr 2011 11:01:16 UTC
    Message: Object doesn't support this property or method
    Line: 207
    Char: 4
    Code: 0
    URI: http://hostname:9704/analytics/res/b_mozilla/common.js
    Can anybody provide a solution to avoid this error.
    Thanks in advance.

    If the version of OBIEE that you are using to download the report is 10g, then it does not support IE 8.
    Regards,
    -Amith

Maybe you are looking for

  • Open dialog box issue

    When invoking the "open" command on AI or any of the CS3 app for that matter, on its window I get my 3 drives, network (wife's system) and MY OWN computer's name on the sidebar. What I mean is that Marcos' G5 appears too, when clicked it shows to the

  • Can't boot Arch from USB on Acer Aspire One...

    Hi All, New to the forums, relatively new to Linux. I've tried several distros including #!, U/K/Xubuntu, Mint, Kuki, Puppy and Wolvix. However none of them, except maybe Mint, have played very nicely with my Acer Aspire One netbook. Even Kuki was a

  • 5200 : Error in executing  query -- Hyperion Financial Reporting

    Problem in accessing the Hyperion Financial Reports.User is having full access and able to access all the folders except one folder(Legal Folder reports). We are getting 5200: Error Executing the query error. Recently we have upgraded Hyperion to 11.

  • Ipod Nano 4th or 5th generation won't recognize Itunes and shows loading constantly when I am on Nike plus

    My Ipod Nano all of a sudden won't show up on my Imac computer nor will it show up in Itunes.  I use it for running and I use the Nike + software, at the same time the recognition problem occurred when I click on the Nike + on my Ipod Nano it shows t

  • ADF Application Deployment Failing in Upgraded Web logic Server

    Hi, We have recently upgraded our weblogic server from *10.3.3* to *10.3.5* and also migrated ADF application from JDev *11.1.1.3* to *11.1.2.1* . Finally deployed migrated ADF application which was running fine on * Weblogic 10.3.3* to Weblogic 10.3