ALV Table Download Issue

Hi all,
I have a question on the download settings when downloading an ALV table content (e.g. content of PPT).
Sequence:
1. Choose the "Export" button
2. Choose Spreadsheet
3. Choose any format
4. Check on the checkbox "Always Use Selected Format"
5. Download the file
Now, once you do the same thing, it won't give you any format option. Instead it will directly set the file extension for you and it is unchangeable. Makes sense because you already checked the box in step 4. But the simple question is: How do I deselect the option in step 4?
By the way, I'm using SCM 7.0 (just recently upgraded).
Thanks,
Torio.

Torio,
Double check by reviewing the contents of table SALV_BS_ADMIN.  This is the table that should not hold your userid.  Also, look for an  entry against userid "*", which will affect all users that don't have specific entries.
Also, check your user parameter SALV_BS_XML_TYPE in Tcode SU01.  This should be blank.
Basically, there are a number of things that can affect the changeability of this setting.  Look at https://service.sap.com/sap/support/notes/1080608 and all the related notes, and the attached zip file.  In some cases, a correction must be loaded into your system before you can reset this flag. 
If all else fails, raise a message with SAP.
Best Regards,
DB49

Similar Messages

  • Blocked ALV Excel Download Issue

    Hi Experts,
    My customers requirement is to download the output of Quotation Comparison Report with exact alignments as how it displays on Screen.
    When I tried to download from Standard SAP Save options, like List->save.... Export.. Spreadsheet........, I am not getting the same format into the Excel Sheet.
    I went into the program to check and found that it is a Blocked ALV.
    I have 3 Blocks in the Outputs.
    I am missing the alignment of Second Block having "Quoted" "Negotiated" to left side.
    Kindly help me in downloading this as it is.
    Regards,
    G.V.S Praveen Kumar

    Hi Sumeet,
    DATA: lv_exit   TYPE char1,                               "#EC NEEDED
             lwa_exit  TYPE slis_exit_by_user,                   "#EC NEEDED
             lt_excl   TYPE slis_t_extab,
             lwa_event TYPE slis_alv_event.
       DATA: lwa_layout1 TYPE slis_layout_alv,
             lwa_layout2 TYPE slis_layout_alv,
             lwa_layout3 TYPE slis_layout_alv,
             lt_events   TYPE slis_t_event.
    FIELD-SYMBOLS: <t_block1> TYPE STANDARD TABLE,
                    <t_block2> TYPE STANDARD TABLE,
                    <t_block3> TYPE STANDARD TABLE,
                    <w_block>  TYPE any.
    * Initializing the Block List
       CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
         EXPORTING
           i_callback_program       = sy-repid
           i_callback_pf_status_set = 'PF_STATUS'
           i_callback_user_command  = 'USER_COMMAND'
           it_excluding             = lt_excl.
    CONSTANTS:slis_ev_top_of_list TYPE slis_formname VALUE 'TOP_OF_LIST'.
       lwa_event-name = slis_ev_top_of_list.
       lwa_event-form = 'HEADER_TOP_OF_LIST'.
       APPEND lwa_event TO lt_events.
       CLEAR  lwa_event.
       lwa_layout1-no_colhead = 'X'.
       lwa_layout1-zebra = 'X'.
    * Appending the block data for header to the list
       CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
         EXPORTING
           is_layout                  = lwa_layout1
           it_fieldcat                = t_fld1
           i_tabname                  = '<T_BLOCK1>'
           it_events                  = lt_events
         TABLES
           t_outtab                   = <t_block1>
         EXCEPTIONS
           program_error              = 1
           maximum_of_appends_reached = 2
           OTHERS                     = 3.
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.
       REFRESH lt_events.
       lwa_event-name = slis_ev_top_of_list.
       lwa_event-form = 'ITEM_TOP_OF_LIST'.
       APPEND lwa_event TO lt_events.
       CLEAR  lwa_event.
       lwa_layout2-no_colhead = 'X'.
       lwa_layout2-zebra = 'X'.
    * Appending the block data for item to the list
       CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
         EXPORTING
           is_layout                  = lwa_layout2
           it_fieldcat                = t_fld2
           i_tabname                  = '<T_BLOCK2>'
           it_events                  = lt_events
         TABLES
           t_outtab                   = <t_block2>
         EXCEPTIONS
           program_error              = 1
           maximum_of_appends_reached = 2
           OTHERS                     = 3.
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.
       lwa_layout3-no_colhead = 'X'.
       lwa_layout3-zebra = 'X'.
       REFRESH lt_events.
    * Appending the block data for item to the list
       CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
         EXPORTING
           is_layout                  = lwa_layout3
           it_fieldcat                = t_fld3
           i_tabname                  = '<T_BLOCK3>'
           it_events                  = lt_events
         TABLES
           t_outtab                   = <t_block3>
         EXCEPTIONS
           program_error              = 1
           maximum_of_appends_reached = 2
           OTHERS                     = 3.
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ENDIF.
    * Displaying the block list
       CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
         EXPORTING
           i_screen_start_column   = 0
           i_screen_start_line     = 0
           i_screen_end_column     = 0
           i_screen_end_line       = 0
         IMPORTING
           e_exit_caused_by_caller = lv_exit
           es_exit_caused_by_user  = lwa_exit
         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.

  • Download data from ALV to excel issue

    Hi All,
    Could you please tell me if there has any restriction on ALV grid data download to excel? I've a report contains 68 columns and about 500 rows, I want to download the data using the standard menu list->export->save to local file. but after I download them, I found the first 65 columns display in one line and the rest columns display in next line, just like ALV do not allow too many characters in one row and have to switch to new line. I can hide some columns but it's very strange that even after i hide 3 columns to fit the 500 rows download, then if the rows increase, the same problem occurs.
    I searched the forum and in the thread Re: Export ALV in EXCEL Issue Mr. Suvajit provided a solution by using menu List->export->spreadsheet, it looks very good. But I still want to know how this happen and is there a standard way to download data with more than 65 columns to local file with extension .xls so that user can open it directly?
    PS: I'm using FM REUSE_ALV_GRID_DISPLAY and the SAP version is SAP ECC6 with kernal package SAPKB70103.
    Thank you very much.
    Best Regards,
    Jeff
    Edited by: Jeff_liu_2010 on Mar 10, 2011 7:21 AM

    Hi Jeff,
    Please check if following analysis is helpful to you.
    Analysis/Solution:
    When we export ALV data to excel worksheet, as sap notes say the maximum lenght allowed is 1023 charaters and the max no of columns supported is 90.
    (I never faced any issue related to no of columns as it worked fine for columns >90 too)
    Issue occured when row size of exported data gets more than 1023 character.
    Therefore the row data must not exceed 1023 character, otherwise column splits and moves to next row.
    One additional aspect generally missed is that:
    When data in any particular column changes it's length, alv header also changes its lengh (short text, medium text, long text; depending on the length of of the longest cell in the column)
    therefore even if you have total length of row less than 1023 character, there might be cases when your ALV header size exceeds this length.
    Reducing the header size (by forcing to use short text or specifying own header names) should resolve the issue.
    Regards,
    Parveen

  • Wda date picker issue in alv table

    Hi,
    When I use a date picker in a alv table in wda I have got the following issue:
    Select a date, do not press enter and then press a search help in another field in the table. You can test this in web dynpro 'SALV_WD_DEMO_TABLE_F4'.
    When you do this you will see that when pressing a search help like the one of 'currency' the date that you previously selected is gone. Also since on_data_check is not triggered in this scenario I am not sure how to solve this. My guess is that it is a bug. Maybe it can be resolved with an on_click event. That way I can update the date field when a select the currency field (before pressing f4 in the currency field)
    Does anybody know if this is the best way to solve this?
    Regards,
    Raymond Does

    Hi Raymond,
    What you mentions is Correct and What your are doing is correct. It is bug in WD ALV. It's not checking the value after you given correct value.
    Thanks and Regards,
    Vijay

  • Sorting Issue in ALV table

    Hi,
    I have included a ALV table in my application. A column in the table is containing a list of amounts. When i am trying to sort it in ascending or descending order, the values are not listed properly. I am using "PAD_AMT7S" as the data type for the attribute which will accept up to 2 decimals. The issue is,
    if the column is containing values like
    0.00,
    8.75,
    17.00,
    8.50 and
    17.50.
    if i perform ascending type of sorting the values are re-arranged as,
    0.00
    17.00
    17.50
    8.50
    8.75
    and on descending
    8.75
    8.50
    17.50
    17.00
    0.00
    Which are all incorrect. Please provide me your suggestions..
    Thanks,
    Mugundhan

    Hi,
    Are you using the IF_WD_TABLE_METHOD_HNDL for the sort, or you wrote your own code?
    IF_WD_TABLE_METHOD_HNDL worked incorrectly for some special fields, in these cases I had to write the sorting code manually.
    e.g.
    CALL METHOD WDEVENT->GET_STRING
       EXPORTING
         NAME   = 'COL'
       RECEIVING
         VALUE  = lv_col_name.
      CALL METHOD WDEVENT->GET_STRING
       EXPORTING
         NAME   = 'DIRECTION'
       RECEIVING
         VALUE  = lv_direction.
      CASE lv_col_name.
        WHEN 'TABLE_FIELD1'.
          IF lv_direction EQ '00'.
            SORT lt_table BY CURR ASCENDING.
            ELSE.
              SORT lt_table BY CURR  DESCENDING .
          ENDIF.
    Is the table sorted incorrectly here?
    Bye
    N.

  • In webdynpro for ABAP  alv table issue

    hello gurus,
                      i am new for webdynpro for ABAP.i strucked at one point at designing time.anybody  could you suggest me on this.
    thanks in advance.
    let me explain my scenario first.
    in my webdynpro for ABAP developement i have one alv table having ten fields.i am featching the data for eight fields from one Ztabale and updating , for rest of two fields we need to fill after displaying output using the respective F4 help. Right now these two fields are in input editable mode.now i am getting the values successfully from F4 help and at the same time it is allowing MANUAL ENTRIES also but as per my requirement it  should not allow  any manual entries . for this i have made these two fields are in readonly mode as like as rest of fields to avoid the MANUAL ENTRIES  but at this time i didnot get any F4 helpfor those two fields.
    so how can i achive my goal in this thing could any one suggest me.
    my final conclusion is we need to get only F4 help values into those two fields . it should not allow any manual values at any point of time.
    best regards,
    babu

    ya hi  harshit,
          my self also used same code in my action part . here i have one table with four fields  carrid , connid , fldate , price.
    for carrid i have created freely programmed search help.but if it is in display mode there is no F4 help in enable mode.
    in context for attribute carrid
    DATA lo_nd_flight TYPE REF TO if_wd_context_node.
      DATA lo_el_flight TYPE REF TO if_wd_context_element.
      DATA ls_flight TYPE wd_this->element_flight.
      DATA lt_flight TYPE wd_this->elements_flight.
    navigate from <CONTEXT> to <FLIGHT> via lead selection
      lo_nd_flight = wd_context->get_child_node( name = wd_this->wdctx_flight ).
      select connid fldate price from sflight into CORRESPONDING FIELDS OF TABLE
        lt_flight UP TO 20 ROWS.
    @TODO handle non existant child
    IF lo_nd_flight IS INITIAL.
    ENDIF.
    get element via lead selection
    lo_el_flight = lo_nd_flight->get_element( ).
    alternative access  via index
    lo_el_flight = lo_nd_flight->get_element( index = 1 ).
    @TODO handle not set lead selection
    IF lo_el_flight IS INITIAL.
    ENDIF.
    get all declared attributes
    lo_el_flight->get_static_attributes(
       IMPORTING
         static_attributes = ls_flight ).
    CALL METHOD lo_nd_flight->bind_table
      EXPORTING
        new_items            = lt_flight
       set_initial_elements = ABAP_TRUE
       index                =
    DATA: lo_cmp_usage TYPE REF TO if_wd_component_usage.
    DATA: lo_interfacecontroller TYPE REF TO iwci_salv_wd_table.
        instantiate ALV component usage if necessary
      lo_cmp_usage = wd_this->wd_cpuse_alv( ).
      IF lo_cmp_usage->has_active_component( ) IS INITIAL.
        lo_cmp_usage->create_component( ).
      ENDIF.
        pass reference to data node to instance of ALV usage
      lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
      lo_interfacecontroller->set_data( r_node_data = lo_nd_flight ).
    Configure ALV
      DATA lr_config TYPE REF TO cl_salv_wd_config_table.
      lr_config = lo_interfacecontroller->get_model( ).
    **declerations
      DATA: lt_columns TYPE salv_wd_t_column_ref,
            ls_columns TYPE salv_wd_s_column_ref,
            lr_input TYPE REF TO cl_salv_wd_uie_input_field,
            name TYPE string,
            lt_node_info TYPE wdr_context_attr_info_map,
            ls_node_info TYPE wdr_context_attribute_info,
            lv_tabix TYPE sy-tabix,
            lr_info TYPE REF TO if_wd_context_node_info.
      TYPES: BEGIN OF ty_name,
              name TYPE string,
             END OF ty_name.
      DATA: lt_name TYPE TABLE OF ty_name,
            ls_name TYPE ty_name.
    **for getting node info
    *Get the context node information
      lr_info = lo_nd_flight->get_node_info( ).
      lt_node_info = lr_info->get_attributes( ).
      LOOP AT lt_node_info INTO ls_node_info.
        CASE ls_node_info-name.
          WHEN 'CARRID'.
            ls_name-name = ls_node_info-name.
            APPEND ls_name TO lt_name.
         WHEN 'REGIONALOFFICER'.
           ls_name-name = ls_node_info-name.
           APPEND ls_name TO lt_name.
         WHEN 'INSPECTORNAME'.
           ls_name-name = ls_node_info-name.
           APPEND ls_name TO lt_name.
        ENDCASE.
      ENDLOOP.
    *Logic for  Table Horizontal Scrolling
      lr_config->if_salv_wd_table_settings~set_visible_row_count( 13 ).
      "  lr_config->if_salv_wd_table_settings~set_width( '1085' ).
      lr_config->if_salv_wd_table_settings~set_width( '100%' ).
      lr_config->if_salv_wd_table_settings~set_scrollable_col_count( 8 ).
      "  lr_config->if_salv_wd_table_settings~set_fixed_table_layout( abap_true ).
      lr_config->if_salv_wd_table_settings~set_first_visible_scroll_col( 'CARRID' ).
      lr_config->if_salv_wd_table_settings~set_cell_action_event_enabled( abap_true ).
    Set the table editable .
      DATA: lr_table_settings TYPE REF TO if_salv_wd_table_settings.
      lr_table_settings ?= lr_config.
      lr_table_settings->set_read_only( abap_false ).
      lr_table_settings->set_read_only( abap_true ).
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
            lr_column TYPE REF TO cl_salv_wd_column.
    DATA: lt_string TYPE STANDARD TABLE OF string,
            ld_string TYPE string,
            ld_int TYPE i,
            lv_index TYPE i.
    Make few columns editable and attach inputfield, if permitted.
        DATA lr_input_field TYPE REF TO cl_salv_wd_uie_input_field.
        CLEAR lt_string.
        APPEND 'CARRID' TO lt_string.
        LOOP AT lt_string INTO ld_string.
          lr_column_settings ?= lr_config.
          lr_column = lr_column_settings->get_column( ld_string ).
          CREATE OBJECT lr_input_field
            EXPORTING
              value_fieldname = ld_string.
          lr_input_field->set_read_only( abap_true ).
          lr_column->set_cell_editor( lr_input_field ).
        ENDLOOP.
        CLEAR lt_string.

  • ALV GRID download truncates the last digit of invoice

    Hi Experts,
                     I am facing a production issue related to ALV grid download. When we click export to local file -> spread sheet,
    if it is downloaded to Excel file, invoice last digit is truncated.
    Can any body face this problem ?
    Please let me know if any body has clue to solve this strange issue.
    Thanks,
    Balaji.T.

    Hi,
    check the type of field used for invoice list. Make it type vbeln. Also try using EXit_alpha_output FM and modify the table for invoice numbers.
    Thanks,
    Sam.

  • Delete button in ALV Table

    Hi,
    Does any one have a code sample for the ALV Table Delete button? When I hit the DELETE button the selected row gets deleted but how can I save this deletion to the database table so that when I do a refresh the deleted row does not re-appear.
    Thanks. Kim

    Hi Kim,
             i am sorry but I dont have a sample code for this .. but yes i can tell you a very simple logic here that should work fine ..
    When the user clicks on Delete Entry call method say "Delete_entry" and within this you can write code based on this logic..
    1) On_Action_Lead_Select should copy the content of that row to another context node say "Selected_Entry"
    2) Search for this entry in your internal table/database that was bound to the ALVs context node(data source) and remove it using standard functions
    3) again read the database/internal table data and bind it to the context node ..
    Your changes will be reflected in your ALV..
    I hope this helps and if it does please do award points
    Also please close the thread if the issue gets resolved ..
    Regards,
    Anoop

  • WD4A Dynamic ALV Table with dynamic tables

    Hi all,
    first I want give you the information what I try to do.
    I have an another WD4A application for administrative use in which I can assign certain tablefields to a certain user. You can say it's something like a customizing application.
    In the next application (with my issues) I will display the tables for the user, but these tables are not the complete table.
    I have a node in my context of the component controller which is bound to my ALV. I add during the runtime attributes to my node.
    * .... coding ....declaration
    * get the node
      lr_node = wd_context->get_child_node( 'M_TABLE' ).
      lr_node_info ?= lr_node->get_node_info( ).
    * remove the attributes, if exists
      lr_node_info->remove_dynamic_attributes( ).
    * .... coding ....
    *   add attributes
        LOOP AT l_t_m_table INTO l_s_m_table.
          CLEAR ls_attribute.
    *     name of the attribute
          MOVE l_s_m_table-NAME TO ls_attribute-NAME.
    *     DDIC type of the attribute
          MOVE l_s_m_table-TYPE_NAME TO ls_attribute-TYPE_NAME.
    *     If the DDIC has a gen namespace like /B135/ replace the / with _
          REPLACE ALL OCCURRENCES OF '/' IN ls_attribute-NAME WITH '_'.
    *     add the attribute
          lr_node_info->add_attribute( EXPORTING
                                         attribute_info = ls_attribute ).
        ENDLOOP.
    This coding works fine I get the columns in my ALV. Then I tried to fill my ALV table with data from a database table.
    I created dynamicly an internal table with the following coding:
    *   Create dynamic table
        CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
          EXPORTING
            IT_FIELDCATALOG = l_t_FLDCAT
          IMPORTING
            EP_TABLE = l_t_NEW_M_TABLE.
    *   assign the table
        ASSIGN l_t_NEW_M_TABLE->* TO <M_TABLE>.
    *   structure of table
        CREATE DATA l_s_NEW_M_TABLE LIKE LINE OF <M_TABLE>.
        ASSIGN l_s_NEW_M_TABLE->* TO <l_s_m_table>.
    * get data from database
    SELECT * FROM (l_m_table) INTO CORRESPONDING FIELDS OF TABLE <M_table> WHERE OBJVERS = 'A'.
    With this coding I get the data from the database and only the required fields that means I have e.g. an itab with columns1, columns3, columns4 from the database.
    I also added e.g. these columns  (columns1, columns3, columns4 from the database) to the node as attribute. Now it should be possible to bind the table to the structure with this coding:
    lr_comp_usage_m = wd_this->wd_cpuse_usage_alv_M_table( ).
    *   create component if not active
        IF lr_comp_usage_m->has_active_component( ) IS INITIAL.
          lr_comp_usage_m->create_component( ).
        else.
    * set data if node exists
          l_ref_interfacecontroller = wd_this->wd_cpifc_usage_alv_M_table( ).
          l_ref_interfacecontroller->set_data( lr_node ).
        endif.
    *   bind table
        lr_node->bind_table( <M_TABLE> ).
    Now, I get an error, which is caused by the table binding.
    In ST22 I get:
    Short text
        Line types of an internal table and a work area not compatible.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_WDR_CONTEXT_NODE_VAL=======CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        The statement
           "INSERT wa INTO TABLE itab"
        requires the lines of the internal table "TABLE" and the
        work area " wa" to be compatible. Compatibility means
        equivalence in the context of ABAP/4 type checking.
        In this case, the condition is not satisfied because the internal table
        "TABLE" has the line type "u" and the length 28, but the work area " wa"
        has the type "C" and the length 2.
        (If the work area " wa" is the header line of the internal
        table "TABLE", the above inconsistency can arise if an internal
        table t with the line type T1 is passed to a subroutine (FORM or
        FUNCTION) as an actual parameter and the corresponding formal
        parameter p is declared in the subroutine by "TABLES p STRUCTURE T2".
        If then T1 and T2 are incompatible, the header line p
        has the type T2 (specifed by STRUCTURE), but the internal
        table p has the line type T1 (passed from the actual parameter)).
    Source Code Extract
    Line  SourceCde
        1 method if_wd_context_node~get_static_attributes_table .
        2
        3   field-symbols:
        4     <element> like line of me->collection,
        5     <static_attributes> type data,
        6     <table> type index table.
        7
        8 * check whether elements are supllied or not
        9   if me->elements_supplied = abap_false.
       10     me->supply_elements( ).
       11   endif.
       12
       13   clear table.
       14
       15   if me->table_ref is not initial.
       16     assign me->table_ref->* to <table>.
       17     table = <table>.
       18   else.
       19     loop at me->collection assigning <element> from from to to.
       20       assign <element>->static_attributes->* to <static_attributes>.
    error in line 21       insert <static_attributes> into table table.
       22     endloop.
       23   endif.
       24
       25 endmethod.
    Any suggestions? Is it allowed to use bind_table() with a field symbol?
    Another strange thing is that if I try the same with static itab and attributes during runtime it works, but only if the fields of the itab has the same name as the attributes, which means that I can not use itabs with fieldnames like /BI0/S_CUSTOMER and if I can not use them it's difficult to read data from database with SELECT * FROM ... INTO CORRESPONDING FIELDS OF TABLE itab.
    Thanks in advance for your suggestions!
    Best Regards,
    Marcel

    Hi Francois,
    I solve it with the RTTI and the method    
    lr_node_info = lr_node_info->add_new_child_node(
                          name = 'Dynamic_TABLE'
                          IS_MANDATORY = ABAP_false
                          IS_MULTIPLE = ABAP_true
                          STATIC_ELEMENT_RTTI = lr_struct_descr
                          IS_STATIC = ABAP_false
    I don't know why it doesn't work with adding attributes and binding the table after adding the attributes.
    Anyway thanks for your help.
    Best Regards,
    Marcel

  • How to process Line Selection on ALV Table in ABAP WebDynpro

    Hi there,
    I have a view with an ALV table whose context node retrieves its data from a Service Call for a method.
    The method provides certain data of a database table which the ALV displays.
    Now I would like to be able to select one row of that ALV table and after pressing a button or doubleclicking on the row or whatever a different view (as for me it is also ok on the same view) should appear to display the details of that selection.
    I only need to know how to retrieve the selected data.
    Or its index within the internal table.
    I am already looking for hours for a useful thread and actually there is one which obviously is about a similar issue apart from the multiple selection part: 
    How to process multiple row selection in ALV table in Wendynpro ABAP? Help!
    but i am afraid that i don't understand it. Or at least I misunderstand it since it does not work with me.
    The system example mentioned in the thread does not help me either because it somehow does not correspond to my needs, does it?
    It would be GREAT if somebody could help me with that. Please keep it simple for I am not an expert in webdynpro yet (obviously ^^) and also please explain in detail what I have to do with the context nodes since I am not sure whether the selection is stored in my already existing node or whether I need a special one for that.
    Thanks!!
    christina

    Hi Christina,
    If you just want to get one column data of the line that user clicked, use the Web Dynpro Code Wizard to Read Context of attibute you needed, then you will get code as follow:
    * Define data for read attribute
        node_alv TYPE REF TO if_wd_context_node,
        elem_alv TYPE REF TO if_wd_context_element,
        stru_alv TYPE if_view_display=>element_alv ,
        item_column_name  LIKE stru_alv-column_name.
    * navigate from <CONTEXT> to <ALV> via lead selection
      node_alv = wd_context->get_child_node( name = if_view_display=>wdctx_alv ).
    * get element via lead selection
      elem_alv = node_alv->get_element(  ).
    * get single attribute
      elem_alv->get_attribute(
        EXPORTING
          name =  `COLUMN_NAME'
        IMPORTING
          value = item_column_name ).
    The value of column_name is stored in item_column_name.
    If you need the index that the user clicked, try this:
    * Definition of field symbol for index
      FIELD-SYMBOLS : <fs_index> TYPE data.
    * Get the selected index
      ASSIGN r_param->index->* TO <fs_index>.
    The index of clicked line is stored in field symbol <fs_index>.
    Hope it will help.
    Best Regards,
    Stephanie

  • Problem in ALV grid download to excel

    Hello Gurus,
    I have a ALV report which has 40 columns but at a time it will only display 100 records(max). when I am trying to download it into excel (by using standard funcationality) only headings are getting downloaded. I checked out standard table download like MARA,VBAK but they are downloading properly.
    what could be the reason..?
    Thanks in advance.
    Thanks and Regards,
    Saurabh Chhatre

    Hi,
    i am implementing alv by grid method using function module. By my previous experience u do not need to do anything to get the alv in excel format(std. funcationality is provided by SAP itself). But this is not working right now .. apart from headings nothing is coming in file download.
    thanks and regards,
    saurabh chhatre

  • Download issue in a portlet page

    Hi,
    We have the following download issue in the portlet: Download works in an expected way in a standalone application, but fails when trying to do the same from a portlet.
    1. We have a blob column in a table (Oracle 10g db), and we have uploaded files into the blob column through the JSF page using Trinidad my faces application.(using JSF + BC4J) in Jdeveloper 11g
    2. We have an another JSF page which would list files uploaded, with the file names being hyperlinked, so that the user can click on the file name to download the file.
    3. When we try to download the file, it works fine in a standalone OC4J, but fails with the error in a portlet :
    4. We have portletized the download page and deployed the entire application as WSRP provider enabled portlet application onto embedded Webcenter OC4J.
    5. When we tried to download the file, by clicking on the file name link in the download page (which is part of the portlet), we ge the error as given below:
    Is it an issue with the portletization ? Can you please provide pointers to resolve the issue ? Is it the same limitation as any portal application wherein for download, we need to go outside the portal, that means, we have to explicitly call servlet to flush the file content onto the outputstream ? If this is the workaround, then please let us know how this can be accomplished in the above scenario.
    Thanks and Best Regards, nattu

    Please find the stack trace, which was missed in the original post :
    08/02/12 14:42:01 PortletExternalContextImpl.getViewId: found action_id = null
    08/02/12 14:42:01 PortletExternalContextImpl.getViewId: action_id not found, defaulting to: /Incidents.jspx
    08/02/12 14:42:01 ADFPortletExternalContextImpl.<init>: skinId=blafplus-rich.desktop ;stylesheetId=nokqdw
    08/02/12 14:42:01 Received RenderParams:
    08/02/12 14:42:01 logMap completed
    08/02/12 14:42:01 PortletExternalContextImpl.getViewId: found action_id = null
    08/02/12 14:42:01 PortletExternalContextImpl.getViewId: action_id not found, defaulting to: /ListIncidents.jspx
    08/02/12 14:42:01 ADFPortletExternalContextImpl.<init>: skinId=blafplus-rich.desktop ;stylesheetId=nokqdw
    08/02/12 14:42:01 Received RenderParams:
    08/02/12 14:42:01 logMap completed
    08/02/12 14:42:02 PortletExternalContextImpl.getViewId: found action_id = null
    08/02/12 14:42:02 PortletExternalContextImpl.getViewId: action_id not found, defaulting to: /Locations.jspx
    08/02/12 14:42:02 ADFPortletExternalContextImpl.<init>: skinId=blafplus-rich.desktop ;stylesheetId=nokqdw
    08/02/12 14:42:02 Received RenderParams:
    08/02/12 14:42:02 logMap completed
    08/02/12 14:42:02 PortletExternalContextImpl.getViewId: found action_id = /SearchLocationBCDR.jspx
    08/02/12 14:42:02 ADFPortletExternalContextImpl.<init>: skinId=blafplus-rich.desktop ;stylesheetId=nokqdw
    08/02/12 14:42:02 Received RenderParams:
    08/02/12 14:42:02 Map entry: ACTIONID value:/SearchLocationBCDR.jspx
    08/02/12 14:42:02 Map entry: adf.winId   value:10621624244
    08/02/12 14:42:02 Map entry: adf.ctrl-state   value:10621624243
    08/02/12 14:42:02 logMap completed
    08/02/12 14:42:07 PortletExternalContextImpl.getViewId: found action_id = /SearchLocationBCDR.jspx
    08/02/12 14:42:07 ADFPortletExternalContextImpl.<init>: skinId=null ;stylesheetId=null
    08/02/12 14:42:07 Received ActionParams:
    08/02/12 14:42:07 Map entry: ACTIONID value:/SearchLocationBCDR.jspx
    08/02/12 14:42:07 Map entry: adf.winId   value:10621624244
    08/02/12 14:42:07 Map entry: adf.ctrl-state   value:10621624243
    08/02/12 14:42:07 Map entry: adfpportlet_binding_id value:continuitySearchLocationBCDRjspx1_1
    08/02/12 14:42:07 Map entry: table1:rangeStart value:0
    08/02/12 14:42:07 Map entry: adfpiframe_dtd value:loose#
    08/02/12 14:42:07 Map entry: j_id__ctru5 value:
    08/02/12 14:42:07 Map entry: org.apache.myfaces.trinidad.faces.FORM value:form1
    08/02/12 14:42:07 Map entry: javax.faces.ViewState value:!3
    08/02/12 14:42:07 Map entry: adfppage_def_name value:/Flow1.jspx
    08/02/12 14:42:07 Map entry: source value:table1:4:commandLink1
    08/02/12 14:42:07 Map entry: table1:selected value:5
    08/02/12 14:42:07 Map entry: adfpfaces_form_id value:j_id__ctru2
    08/02/12 14:42:07 Map entry: adfpportlet_component_id value:portlet4
    08/02/12 14:42:07 logMap completed
    08/02/12 14:42:07 WARNING: Exception thrown in doFacesRequest:action
    javax.faces.el.EvaluationException: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1212)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:147)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:205)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:621)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:276)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:176)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:218)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:280)
         at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:191)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.processAction(ADFBridgePortlet.java:238)
         at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1296)
         at oracle.portlet.server.containerimpl.ServerImpl.performBlockingInteraction(ServerImpl.java:210)
         at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.performBlockingInteraction(WSRPv2VersionWrapperServer.java:481)
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.performBlockingInteraction(WSRPv2ToServer.java:3141)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.performBlockingInteraction(WSRP_v2_Markup_PortTypeSoapToJaxb.java:624)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_performBlockingInteraction(WSRP_v2_Markup_Binding_SOAP_Tie.java:314)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1443)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:298)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:428)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:540)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:292)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:198)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:149)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:307)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
         at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
         at view.util.FileOperations.downloadFile(FileOperations.java:47)
         at view.backing.SearchLocationBCDR.downloadActionListener(SearchLocationBCDR.java:292)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         ... 52 more
    08/02/12 14:42:07 WARNING: An internal error has occurred in method performBlockingInteraction
    javax.portlet.PortletException: doBridgeDispatch failed: error from Bridge in executing the request
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:284)
         at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:191)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.processAction(ADFBridgePortlet.java:238)
         at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1296)
         at oracle.portlet.server.containerimpl.ServerImpl.performBlockingInteraction(ServerImpl.java:210)
         at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.performBlockingInteraction(WSRPv2VersionWrapperServer.java:481)
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.performBlockingInteraction(WSRPv2ToServer.java:3141)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.performBlockingInteraction(WSRP_v2_Markup_PortTypeSoapToJaxb.java:624)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_performBlockingInteraction(WSRP_v2_Markup_Binding_SOAP_Tie.java:314)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1443)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:298)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:428)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:540)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:292)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:198)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:149)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:307)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
         at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.portlet.faces.BridgeException: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:267)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:280)
         ... 41 more
    Caused by: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
         at view.util.FileOperations.downloadFile(FileOperations.java:47)
         at view.backing.SearchLocationBCDR.downloadActionListener(SearchLocationBCDR.java:292)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1212)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:147)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:205)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:621)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:276)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:176)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:218)
         ... 42 more
    Nested Exception is javax.portlet.faces.BridgeException: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:267)
         at javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:280)
         at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:191)
         at oracle.portlet.bridge.adf.application.ADFBridgePortlet.processAction(ADFBridgePortlet.java:238)
         at oracle.portlet.server.containerimpl.ServerImpl.doRuntimeCall(ServerImpl.java:1296)
         at oracle.portlet.server.containerimpl.ServerImpl.performBlockingInteraction(ServerImpl.java:210)
         at oracle.portlet.wsrp.v2.WSRPv2VersionWrapperServer.performBlockingInteraction(WSRPv2VersionWrapperServer.java:481)
         at oracle.portlet.wsrp.v2.WSRPv2ToServer.performBlockingInteraction(WSRPv2ToServer.java:3141)
         at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeSoapToJaxb.performBlockingInteraction(WSRP_v2_Markup_PortTypeSoapToJaxb.java:624)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.invoke_performBlockingInteraction(WSRP_v2_Markup_Binding_SOAP_Tie.java:314)
         at oasis.names.tc.wsrp.v2.bind.runtime.WSRP_v2_Markup_Binding_SOAP_Tie.processingHook(WSRP_v2_Markup_Binding_SOAP_Tie.java:1443)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:298)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:428)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:540)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:292)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:198)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:149)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:307)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.portlet.server.service.ContextFilter.doFilter(ContextFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
         at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
         at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: oracle.portlet.server.containerimpl.ActionResponseImpl
         at view.util.FileOperations.downloadFile(FileOperations.java:47)
         at view.backing.SearchLocationBCDR.downloadActionListener(SearchLocationBCDR.java:292)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1212)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:147)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:205)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:621)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:276)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:176)
         at org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:218)
         ... 42 more

  • ALV table - cell editor??

    Hi,
      I am facing a strange issue, that my alv table is opening as editable format even i havnt write editable coding in doinit() method. i have written my coding in domodify().
    coding as follows:
    WHEN 'PRIORITY'.
    DATA: lr_column_settings_PRIORITY TYPE REF TO if_salv_wd_column_settings,
            lr_column_PRIORITY    TYPE REF TO cl_salv_wd_column,
            lr_input_field_PRIORITY TYPE REF TO CL_SALV_WD_UIE_DROPDOWN_BY_KEY.
    lr_column_settings_PRIORITY ?= lo_value.
    lr_column_PRIORITY = lr_column_settings_PRIORITY->get_column( 'PRIORITY').
    if MODIFY_PARAM eq ABAP_TRUE.
    *Getting the columns settings.
    CREATE OBJECT lr_input_field_PRIORITY EXPORTING SELECTED_KEY_FIELDNAME = 'PRIORITY'.
    lr_column_PRIORITY->set_cell_editor( lr_input_field_PRIORITY ).
    lr_table_settings->set_read_only( abap_false ).
    else.
        CREATE OBJECT lr_input_field_PRIORITY EXPORTING SELECTED_KEY_FIELDNAME = 'PRIORITY'.
        lr_input_field_PRIORITY->set_enabled( abap_false ).
    lr_column_PRIORITY->set_cell_editor( lr_input_field_PRIORITY ).
    lr_table_settings->set_read_only( abap_false ).
    ENDIF.
    What is wrong in this and how initially table is populating as editable?
    Please help me on this issue.
    Thanks,
    GS

    CREATE OBJECT lr_input_field_PRIORITY EXPORTING SELECTED_KEY_FIELDNAME = 'PRIORITY'.
    lr_column_PRIORITY->set_cell_editor( lr_input_field_PRIORITY ).
    lr_table_settings->set_read_only( abap_false ).
    else.
    CREATE OBJECT lr_input_field_PRIORITY EXPORTING SELECTED_KEY_FIELDNAME = 'PRIORITY'.
    lr_input_field_PRIORITY->set_enabled( abap_false ).
    lr_column_PRIORITY->set_cell_editor( lr_input_field_PRIORITY ).
    lr_table_settings->set_read_only( abap_false ).
    ENDIF.
    Write down the Read only property in your code as ABAP_TRUE.

  • Global Setting for ALV Table in webdynpro

    Hi guys,
    We are in process of upgrading to EHP7 and ABAP-7.4 and we are facing one small issue on default ALV table setting where we are not getting
    Grid line = 'All'  insist we are getting Grid Line = 'Horizontally'.
    I have seen lots of thread suggesting that we can customized it based on application but as we already have lots of webdynpro application and it not a good ideas to go in each and every application and change it.
    I have a feeling there should be some place where we can set the default setting for the same may be System or Global .
    Any idea on the same.
    Atul 

    hi,
    according to what i understood from your explanation you want that inspite of scrolling you need to do so on user clicking some button or some action ....
    i did the same in a scenario...
    what i did was just giving  a input field on the screen.
    and in code i just checked number of records to be less than or equal to the number user puts in the i/p field .
    I chose onactionenter for doing this .
    firstly i used node->invalidate.
    again filled the internal table with number of records matching and displayed the same.
    hope it will help
    Regards,
    Sahai.s

  • ALV table not displayed in Popup

    Hello Experts,
    I have created a view which contains an ALV table. This view is embedded in one window.
    I am opening this window on click of a button. I am reading data from one custom table and displaying it in ALV.
    The problem I am facing is that ALV displays the data the very first time window is opened. After closing the window if we again open the window the ALV table is not displayed.
    I have checked the code in debugging and values are coming in Node but not displayed. There is no visibility property attached to this ALV.
    Every thing was working fine until patching was applied. The same code is working fine in prod but in Dev I am facing this issue.
    Can any one you guys suggest me that why it is happening? Is it because of Patch upgrade  and is there any sap note to resolve this.
    Thanks in Advance
    Amit

    Hi Khandelwala,
    Is the entire ALV table disappearing? as it is a popup, the view will always be destroyed when the popup window is closed. It will be again recreated once the popup window is thrown again.
    However the component controller instance will not be freed and will exist.
    My guess is some plugs are being fired displaying empty view.
    Please let us know if it is only data that is disappearing.
    Just check the stack level of ur dev and production landscapes. If Dev is on higher version, then it might be due to patch.
    Thanks,
    Anand

Maybe you are looking for

  • Questions on using templates [CS3]

    Greetings, I'm trying to figure out the best way to approach an InDesign task, and my rank-novice-level experience isn't cutting it. Normally I'd read through a gazillion help pages and do a bunch of tutorials to try and teach myself enough to answer

  • Viewing a User's Calendar on Windows - Can it Be Done Yet?

    Goodmorning all, I am already sure the answer is still no but has anyone found away to allow Windows users to view a iCal Server user's calendar? The webcal looked like the job but you need to hand over your password. Not very satisfactory solution.

  • Importing from DVD slideshow

    I received two DVDs of old family photos, in a movie/slideshow format. I want to import the individual photos into Iphoto, but when I try to import I get a message that says they are in an unrecognized format. The DVD slide shows play back fine via I

  • SQL query for date & time interval

    Hello everyone, there is my problem I have to make a search for events that are taking place during inserted date & time . There's the table structure: event datefrom dateto timefrom timeto The problem is, when I try: select * from xyz where datefrom

  • How do I re-open the window with downloads?

    How do I access the dialog box containing my previous downloads?