Rename alv header text in webdynpro abap

Hi ,
I have created two attribute PART_NUMBER and TERM_CODE in context level with type CHAR10.
AND in ALV header PART_NUMBER and TERM_CODE is displaying, which is coming from context level.
i want to rename the header of ALV to PARTNUMBER and TERMCODE.
could any one send me the sampls code or any solution?
Thanks
Rakshar

First get access to the ALV Model object for your ALV usage:
data: l_ref_cmp_usage type ref to if_wd_component_usage.
  l_ref_cmp_usage =   wd_this->wd_cpuse_alv( ).
  if l_ref_cmp_usage->has_active_component( ) is initial.
    l_ref_cmp_usage->create_component( ).
  endif.
  data l_salv_wd_table type ref to iwci_salv_wd_table.
  l_salv_wd_table = wd_this->wd_cpifc_alv( ).
  data l_table type ref to cl_salv_wd_config_table.
  l_table = l_salv_wd_table->get_model( ).
Then access the column you want to change the header on. In addition to setting the text of the header of the column, you must also force off the data dictionary binding for the field property text.
data l_column type ref to cl_salv_wd_column.
l_column = l_table->if_salv_wd_column_settings~get_column( 'POSTING_DATE' ).
  data l_header type ref to cl_salv_wd_column_header.
  l_header = l_column->get_header( ).
  l_header->set_prop_ddic_binding_field(
    property =  if_salv_wd_c_ddic_binding=>bind_prop_text
    value = if_salv_wd_c_ddic_binding=>ddic_bind_none ).
  l_header->set_text( `Posting Date` ).

Similar Messages

  • Howtomake part of text as bold or differnt color text edit-webdynpro abap

    Hi
    How to make part of text as bold or differnt color in text edit-webdynpro abap.
    If we can make it bold then it is ok....or else atleast we have make it into some other color of part of text.
    Note:
    I tried with class char utilities and able to solve the issues like new line and carriage return....but could
    not make this bold or different color.
    Also when I use formatedtextview, I can able to solve this bold issue but I cannot solve this newline or carriage return issue...?
    Can any one help on this ?
    Thanks in advance
    regards,
    Pons

    You have to use the FormattedText UI elements for such a thing.  That is their purpose. 
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3b/219141c1d0ae5fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/2772f505605447e10000000a422035/frameset.htm
    Supported Tags:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/08/5696420cc2c56ae10000000a155106/frameset.htm
    What kind of problem did you have with the Formatted Text?  Line breaks?  Did you try using the br tag?

  • Reg exporting ALV to PDF in Webdynpro ABAP

    Hi All,
    I've developed one Webdynpro ABAP portal. There, in one view, I have an ALV for Account Statement. I need to allow this output - as it is -  to be Downloaded and Printed as per given Button-choice in PDF Format.
    How can I do this? I searched SDN Forum for this. Many an articles are there but, they suggest that data from Internal Table can be exported to PDF. How can we get the data from ALV in one view to internal table?
    If there is other way of doing the same, would you please guide me.
    Thanks.
    Kumar Saurav.

    Hi Thomas,
    Thanks for your guidelines.
    In our system, ADS has already been installed. Second, ALV Toolbar is not reqd from Client's side. They need only Print and Download Functionality that too using Button.
    Hence, my case came into picture. Further, I have to add Customer Name with address as Header and Net Balance as Footer in my PDF. Therefore I need to fetch all the data that are already in ALV and present it with changed layout.
    Please guide me.
    Thanks.
    Kumar Saurav.

  • Re:ALV Header Text

    Hi,
    i am using Reuse_alv_grid_display FM to display the output.I want my header-text in the following format.
                                     STORAGE LOCATION      
    Mat no                            L1      L2      L3                    Total Quantity.
    i am giving in the fieldcatalog 4 fields Mat no, L1,L2,L3,,Quantity as seltext_m.
    How can i give the storage location as text above three storage locations.
    is there any option to display two lines for header text fields.
    Please help me..its urgent.
    Thanks

    Hi,
    you can do this using top of page.
    see the following example.
    DATA : tevents TYPE slis_t_event,
             waevents TYPE slis_alv_event .
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 0   "simple list
        IMPORTING
          et_events       = tevents.
      READ TABLE tevents INTO waevents
           WITH KEY name = 'TOP_OF_PAGE'.
      IF sy-subrc EQ 0.
        waevents-form = 'PAGEHEADER'.
        MODIFY tevents FROM waevents INDEX sy-tabix.
      ENDIF.
    *&      Form  PAGEHEADER
       To display heading inoutbuy
    FORM pageheader .
      DATA : theader TYPE slis_t_listheader,
             waheader TYPE slis_listheader.
      waheader-typ = 'H'.
      waheader-info = 'Inoutbuy' .
      APPEND waheader TO theader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = theader.
    ENDFORM.                    "PAGEHEADER
    Regards,
    Ruchika
    Reward if useful...........

  • REG: Set default width of the ALV header Text

    Hi,
    The issue which is reported is .
    We have a Custom Z program which needs to display the ALV Output. And also there is a scope to change the Layout,
    Now in one of the fields, there is
    LOAD_NUMBER.
    The length of this header is set to 11 in the Change Layout screen,
    Now the issue is, If i want to change the layout and set the default width to 15 char and then save it
    1)The ALV layout is saving with the Width as 15 and now i can see
    *|LOAD_NUMBER<space><space><space><space>|*
    |_________________________________________|
    |_________________________________________|
    |_________________________________________|
    But when i re execute the Z Program, the first time when i go to the Change ALV Output screen, then i still see 11 as the default width,
    *EITHER *
    I want to get the default width what i have saved previously
    OR
    I want to set the default width to 15
    Please give me suggestions or clues to handle such situations.
    NOTE The ALV used is Blocked ALV.
    Thanks
    Sri

    Hi SRIKANTH,
    ALV has a very weird feature: The layout is stored in some buffering tables that can not be accessed directly by the user. The buffer is re-generated only once a day when the layout changes.
    Just run report BALVBUFDEL once, this may change it.
    With ALV, I use the column width optimization feature avoiding trouble like this.
    FORM alv_layout  CHANGING ps_layout TYPE lvc_s_layo.
      ps_layout-sel_mode          = 'A'.
      ps_layout-cwidth_opt        =
      ps_layout-zebra             = abap_true.
    ENDFORM.                    " ALV_LAYOUT
    Regards,
    Clemens

  • ALV Header Text

    Hellow experts,
    I have one ALV GRid  and i need to put the Headeing , I ned Out Put Like Below   * this is heading i want
    Student Marit Report From Date1 To Date 2
    StdudentID      Day1   day2
    112              20     23
    I m using Fiekld catalog and below is my alv code
    DATA: alv_container  TYPE REF TO cl_gui_docking_container.
    DATA : CDINUM TYPE KDPOS.
    DATA : gr_aggr    TYPE REF TO cl_salv_aggregations.
    *SET_COL_HEADER_STYLE
    DATA: alv_grid       TYPE REF TO cl_gui_alv_grid.
    DATA:alv_grid_ref type ref to CL_GUI_ALV_GRID.
    DATA: layout    TYPE lvc_s_layo.
    DATA: fieldcat  TYPE lvc_t_fcat.
    DATA : w_repid LIKE sy-repid.
    this is ALV Exporting data
    DATA: variant TYPE  disvariant.
      DATA: repid TYPE sy-repid.
        repid = sy-repid.
          variant-report = sy-repid.
      variant-username = sy-uname.  layout-zebra = 'X'.
    *BREAK-POINT.
      layout-edit_mode = 'X'.  CHECK alv_container IS INITIAL.
    CREATE OBJECT alv_container
                  EXPORTING repid     = repid
                            dynnr     = sy-dynnr
                            side      = alv_container->dock_at_left
                            extension = 1500.
      CREATE OBJECT alv_grid
        EXPORTING
          i_parent = alv_container.
      PERFORM get_fieldcatalog.
      CALL METHOD alv_grid->set_table_for_first_display
        EXPORTING
    is_layout        = layout
          is_variant       = variant
          i_structure_name = 'I_ALV2'
        CHANGING
          it_outtab        = i_alv2[]
          it_fieldcatalog  = fieldcat[].
    ENDMODULE.  
    As per my above code i m not using 'REUSE_ALV_GRID_DISPLAY function.
    PLz advoice me within my code.
    Edited by: Neha.Servade on Dec 19, 2011 10:40 AM

    Thanks To All ,
    My Issue is Solved
    I wrote the below code only
    layout-grid_title = 'Production Report From'
    Thats it

  • How to create a context menu in ALV table cell editor(Webdynpro abap )

    Hello Experts,
    I am having a problem in creating a context menu in a table cell editor in the ALV table output.I have assigned a 'lta' as the cell editor.But befor assigning the lta as cell editor I have assigned the menu to the lta.But when the view is rendered I can see the lta with the actioned assigned to it.But I cannot see the context menu.
    The code snippet below:
      "Create menu for each coloumn
      create OBJECT lo_menu_actions type CL_SALV_WD_VE_MENU EXPORTING
          id = 'MITM_ACTIONS'.
      lo_menu_actions->set_visible( value = abap_true ). 
      lo_menu_actions->set_visible_fieldname( value = 'ACTIONS' ).
      "ADd menu items
      CREATE OBJECT lo_menu_item_create type CL_SALV_WD_VE_MENU
      exporting
        id = 'MITM_CREATE_EXPRESSION'.
      lo_menu_item_create->set_visible( value = abap_true ).
      lo_menu_item_create->set_visible_fieldname( value = 'Create' ).
      "Add item 1
      lo_menu_actions->ADD_ITEM( VALUE = lo_menu_item_create ). 
      "  Set the cell editor for each column cell(link to an action)
      LOOP AT lt_node_dec_tab_cols INTO ls_node_dec_tab_cols .
        lv_column_name = ls_node_dec_tab_cols-object_name.
        lr_column = lr_column_settings->get_column( lv_column_name ).
       "Create 'lta' Ui item
        CREATE OBJECT lo_lta TYPE cl_salv_wd_uie_link_to_action.
        lo_lta->set_menu( value = lo_menu_actions ).
        lo_lta->set_text_fieldname( lv_column_name ).
        lr_column->set_cell_editor( lo_lta ).
        IF ls_node_dec_tab_cols-is_result EQ abap_true.
          lr_column->set_cell_design( value =
                      cl_wd_table_column=>e_cell_design-key_medium ).
        ENDIF.
      ENDLOOP.

    Hi Prakash,
    I have not come across this requirement till now to have context menu in a cell editor of alv.
    Unfortunately  the implementation of method SET_MENU of alv ui elements ( ex: cl_salv_wd_uie_text_view ) is not updating alv configurable table, instead it just stores in a global attribute as string. Hence has no effect on context menu.
    If your user is very particular about this requirement of having context menu in cell editor, you can go for a normal table. Because, normal table's cell editor has the property to set the menuID as we do it for other ui elements.
    Regards,
    Rama

  • How to display standard ALV toolbar function in Webdynpro ABAP

    Hi All,
    Could any one please let me know that how to display the standard ALV functions. What I tried is as follows:
    data :lr_config_table type ref to cl_salv_wd_config_table.
    data lr_function type ref to cl_salv_wd_function_std
    Got the reference by calling the get_model().
    Now tried to display a standard button say :
      CALL METHOD lr_config_table ->if_salv_wd_function_settings~get_function_std
        EXPORTING
          id    = 'SALV_WD_INPUT_INSERT_ROW'
        RECEIVING
          value = lr_function.
      CALL METHOD lr_function->set_visible
        EXPORTING
          value = cl_wd_uielement=>e_visible-visible.
    But I can't see the button added to my ALV toolbar! Could any one please help me out on this if I am missing something.
    Many Thanks!
    Somnath

    Hi..
    ALV report which when displayed normally allows users to insert and delete rows using the methods below from class Cl_Salv_Wd_Config_Table:
    I think add these lines to your code and check..
    IF_SALV_WD_TABLE_SETTINGS~SET_READ_ONLY (false)
    IF_SALV_WD_STD_FUNCTIONS~SET_EDIT_INSERT_ROW_ALLOWED (true).
    DATA: l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_alv_basic( ).
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
        l_ref_cmp_usage->create_component( ).
      ENDIF.
      DATA l_salv_wd_table TYPE REF TO iwci_salv_wd_table.
      l_salv_wd_table = wd_this->wd_cpifc_alv_basic( ).
      DATA l_table TYPE REF TO cl_salv_wd_config_table.
      l_table = l_salv_wd_table->get_model( ).
      l_table->if_salv_wd_table_settings~set_read_only( abap_false ). 
      l_table->if_salv_wd_std_functions~set_edit_append_row_allowed( abap_false ).
      l_table->if_salv_wd_std_functions~set_edit_insert_row_allowed( abap_false ).
      l_table->if_salv_wd_std_functions~set_edit_delete_row_allowed( abap_false ).
    Cheers,
    Kris.

  • Setting ALV Header text doesn't work

    I'm trying to set different titles on my headers of the ALV table. To do this I do the following during the WDDOINIT of the COMPONENTCONTROLLER.
      CALL METHOD WD_THIS->GO_ALV_EINSTELL->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMNS
        RECEIVING
          VALUE  = lt_columns
      LOOP AT lt_columns INTO ls_column.
        CASE ls_column-ID.
          WHEN 'SETTING_ID'.
            CALL METHOD LS_COLUMN-R_COLUMN->SET_FIXED_POSITION
               EXPORTING
                 VALUE  = CL_WD_ABSTR_TABLE_COLUMN=>E_FIXED_POSITION-LEFT
            CALL METHOD LS_COLUMN-R_COLUMN->SET_POSITION
              EXPORTING
                VALUE  = '2'
            CALL METHOD LS_COLUMN-R_COLUMN->GET_HEADER
              RECEIVING
                VALUE  = lo_header
            IF NOT ( lo_header IS BOUND ).
              CALL METHOD LS_COLUMN-R_COLUMN->CREATE_HEADER
                RECEIVING
                  VALUE  = lo_header
            ENDIF.
            CALL METHOD LO_HEADER->SET_TEXT
              EXPORTING
                VALUE  = 'Einstellung'
          WHEN 'EVENT_TYPE'.
        ENDCASE.
      ENDLOOP.
    The debugger shows me that the different titles are updated but when it gets displayed I see the old DDIC titles. Any ideas on how to fix this?

    I hope you want to change the name of ALV column in the display.
    Try following code for the same:
      DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table .
      l_ref_interfacecontroller =   wd_this->wd_cpifc_alv_table( ). " Value from the prop tab of the view
      DATA: l_value TYPE REF TO cl_salv_wd_config_table.
      l_value = l_ref_interfacecontroller->get_model( ).
      DATA l_column TYPE REF TO cl_salv_wd_column.
      DATA l_header TYPE REF TO cl_salv_wd_column_header.
      l_column = l_value->if_salv_wd_column_settings~get_column( 'MATNR' ). " Name of column you want to change
      l_header = l_column->get_header( ).
      l_header->set_ddic_binding_field( ).
      l_header->set_text( `Material Nuber` ).  " Name that is to be displayed
    Regards,
    Saket.
    Edited by: Saket  Abhyankar on Jan 13, 2010 3:32 PM
    Edited by: Saket  Abhyankar on Jan 13, 2010 3:48 PM

  • Vertical text in ALV header (WD4A)

    HI,
    Can anybody tell me how I can display ALV header text in WD4A as vertical text ?
    Cheers, John

    Hi,
    DATA:
    lr_alv_header  TYPE REF TO cl_salv_wd_column_header.
    Get the column reference of the ALV column.
           CALL METHOD lr_column->set_width
              EXPORTING
                value = '70'.
            lr_alv_header = lr_column->get_header( ).
            lr_alv_header->set_text( 'Header' ).
            lr_column->set_resizable( abap_true ).
            lr_alv_header->set_header_text_wrapping( abap_true ).

  • ALV Tree in WebDynpro ABAP

    Hi,
    In my present project we have requirement for developing ALV tree output using ALV configuration model in WD4A. Please provide sample code or tutorial related to ALV Tree development in WebDynpro ABAP.
    Best regards,
    Alleiah

    There is no hierarchy of nodes when building an ALV or Table Tree in WDA.  You still provide a flat structure of a single node.  What you do is specify certain columns to be hierarchy columns.  The framework then builds a sorting/grouping around these columns and turns them into the "pesudo nodes" of the tree. 
    This can be done via configuration or via coding:
    http://www.flickr.com/photos/tjung/2802287945/
    For instanace, taking the same flat SFLIGHT structure I can just define certain columns and create two different hierarchies:
    http://www.flickr.com/photos/tjung/2802287971/
    http://www.flickr.com/photos/tjung/2802287989

  • How can I change column name in ALV table in WebDynpro ABAP?

    Hi Everyone,
    I have created an ALV table in WebDynpro ABAP. I have created a context node and added the required attributes there - for the ALV display.
    Now I want to change one columnn name of the ALV table.... Currently it is showing the description of the data element, which I don't want to show. I cannot create a new DE only for this purpose.
    Please let me know how can I change the name of the column.
    Regards

    Hi,
    This may help you to define your own column text in the ALV Table of webdynpro.
    see the below code.
    Here 'STATUS_ICON' is the column of the the output display of the ALV Table of webdynpro.
    "change the label of the report.
    DATA: lr_weeknum TYPE REF TO cl_salv_wd_column.
    CALL METHOD l_value->if_salv_wd_column_settings~get_column
    EXPORTING
    id = 'STATUS_ICON'
    RECEIVING
    value = lr_weeknum.
    SET THE LABEL OF THE COLUMN
    DATA: hr_weeknum TYPE REF TO cl_salv_wd_column_header.
    CALL METHOD lr_weeknum->get_header
    RECEIVING
    value = hr_weeknum.
    CALL METHOD lr_weeknum->set_resizable
    EXPORTING
    value = abap_false.
    hr_weeknum->set_prop_ddic_binding_field(
    property = if_salv_wd_c_ddic_binding=>bind_prop_text
    value = if_salv_wd_c_ddic_binding=>ddic_bind_none ).
    set the text of the column
    CALL METHOD hr_weeknum->set_text
    EXPORTING
    value = 'C Form'.
    regarads,
    balu

  • Hierarchical ALV Report in webdynpro abap

    Hi Experts,
    I'm facing the trouble with requirement as below. Please help me to resolve this issue.
    Output as:
    Material Number                         Description               Created Date
    - 10001(Header data)                      abc                         09-09-2013  
              1001 (item level data)            abc                         10-09-2013
              1002                                   xyz                          11-09-2013
              1003                                   xyz                          11-09-2013    
    - 10002(Header data)                      abc                         09-09-2013  
              2001 (item level data)            abc                         10-09-2013
              2002                                   xyz                          11-09-2013
              2003                                   xyz                          11-09-2013    
    - 10003(Header data)                      abc                         09-09-2013  
              3001 (item level data)            abc                         10-09-2013
              3002                                   xyz                          11-09-2013
              3003                                   xyz                          11-09-2013    
    .... and so on...
    - when I expand on header Materail number, it has to be display with item level data with   in alv report in webdynpro abap.
    Looking forward your valuable comments.
    Regards,
    Venkat

    Hi Venkat,
    We can achieve the  HIERARCHY through the following code.In this case I have used  CARRID as the drill down column.
    data lo_cmp_usage type ref to if_wd_component_usage.
    lo_cmp_usage =   wd_this->wd_cpuse_flight_tree( ).
    if lo_cmp_usage->has_active_component( ) is initial.
       lo_cmp_usage->create_component( ).
    endif.
    DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
    lo_INTERFACECONTROLLER =   wd_this->wd_cpifc_flight_tree( ).
       DATA lv_value TYPE ref to cl_salv_wd_config_table.
       lv_value = lo_interfacecontroller->get_model(
    lv_value->IF_SALV_WD_TABLE_SETTINGS~SET_DISPLAY_TYPE(  IF_SALV_WD_C_TABLE_SETTINGS=>DISPLAY_TYPE_HIERARCHY ).
    "Enable HIERARCHY structure
    data lr_col type ref to CL_SALV_WD_COLUMN.
    lr_col = lv_value->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'CARRID' )." Enable HIERARCHY for the col. specified
    lr_col->IF_SALV_WD_COLUMN_HIERARCHY~SET_HIERARCHY_COLUMN( ABAP_TRUE ).
    Regards,
    Harsha

  • Webdynpro ABAP ALV tutorial - simple update or use changelog ?

    I was working through the alv tutorials for webdynpro abap, and while trying to complete the
    "Editing ALV in Web Dynpro for ABAP", I got to page 8 of the pdf document where it explains how to do the ONDATACHECK event handler, and it comments out the portion for updating/saving the data (as noted below), and does not explain anything further about the save.
    * save data to database
    {* update... => only simlate, to not change the flight data model
    * content!
    Now, I am new to webdynpro abap, and don't know if I am supposed to utlize the changelog for this, or if a simple update will work.
    Any Ideas ?

    Thank you for your answer - I am guessing from your response that a method would need to be built - similar to one which I found in the SWDP_DEMO_TUTORIALS for a webdynpro called WDT_TABLE (see below) - where a check of the table changes would need to be made before an update to the table - rather than a simple one line update statement placed at that point in the code.
    METHOD save_changes.
      DATA: table_node           TYPE REF TO if_wd_context_node,
            read_sbook           TYPE
    if_componentcontroller=>elements_sbook_node,
            aux_read_sbook       TYPE
    if_componentcontroller=>elements_sbook_node,
            wa_read_sbook        TYPE LINE OF
    if_componentcontroller=>elements_sbook_node,
            context              TYPE REF TO if_wd_context,
            change_line          TYPE LINE OF wdr_context_change_list,
            changes              TYPE wdr_context_change_list,
            aux_changes          TYPE wdr_context_change,
            lv_change_tab_size   TYPE sy-tfill,
            aux_string           TYPE string,
            lv_node_size         TYPE sy-tfill,
            aux_div              TYPE int4,
            aux_index            TYPE i,
            l_current_controller TYPE REF TO if_wd_controller,
            l_message_manager    TYPE REF TO if_wd_message_manager,
            text                 TYPE string,
            it_int TYPE STANDARD TABLE OF i WITH KEY table_line.
    * check whether context has changed
      context = wd_context->get_context( ).
      changes = context->get_context_change_log( ).
      LOOP AT changes INTO aux_changes.
        IF aux_changes-change_kind = 'A' AND aux_changes-node_name = 'SBOOK_NODE'.
          INSERT aux_changes INTO TABLE wd_this->sbook_delta.
        ENDIF.
      ENDLOOP.
    * get the complete context in 'read_sbook' table
      table_node = wd_context->get_child_node( name = 'MY_BOOKING_NODE' ).
      table_node = table_node->get_child_node( name = 'SBOOK_NODE' ).
      table_node->get_static_attributes_table( IMPORTING table = read_sbook
    * get the size of table and changes
      DESCRIBE TABLE read_sbook LINES lv_node_size.
      LOOP AT wd_this->sbook_delta INTO change_line.
        APPEND change_line-element_index TO it_int.
      ENDLOOP.
      SORT it_int.
      DELETE ADJACENT DUPLICATES FROM it_int.
      DESCRIBE TABLE it_int LINES lv_change_tab_size.
    * get message manager
      l_current_controller ?= wd_this->wd_get_api( ).
      CALL METHOD l_current_controller->get_message_manager
        RECEIVING
          message_manager = l_message_manager.
    * decide which way to update databse
      IF lv_change_tab_size <> 0.
        aux_div = lv_node_size / lv_change_tab_size.
        IF aux_div <= 3.
    * write complete table to database
          lv_change_tab_size = lv_node_size.
          CL_WDT_FLIGHT_MODEL=>write_sbook_complete( read_sbook ).
        ELSE.
    * write only the changed records to database
          LOOP AT it_int INTO aux_index.
            READ TABLE read_sbook INDEX aux_index INTO wa_read_sbook.
            APPEND wa_read_sbook TO aux_read_sbook.
          ENDLOOP.
          CL_WDT_FLIGHT_MODEL=>write_sbook_records_changed( aux_read_sbook )
        ENDIF.
        REFRESH wd_this->sbook_delta.
        REFRESH it_int.
        wd_this->sbook_changed = abap_false.
    * report message
        aux_string = lv_change_tab_size .
        IF lv_change_tab_size = 1.
          CONCATENATE aux_string 'record written to database' INTO text.
        ELSE.
          CONCATENATE aux_string 'records written to database' INTO text.
        ENDIF.
        CALL METHOD l_message_manager->report_success
          EXPORTING
            message_text = text.
      ELSE.
    *  report message
        CALL METHOD l_message_manager->report_success
          EXPORTING
            message_text = 'there are no changes to be written to database'.
      ENDIF.
    ENDMETHOD.

  • Webdynpro abap ALV export to excel with images problem

    Hello experts,
    I'm having problems with standard excel export functionality in webdynpro abap ALV.
    In my table i have images taken from content server (employee photos) linked with URL to a table_cell Image, when i export the table to excel using standard function the images is showed as a broken picture with the following text:
    "The linked image cannot displayed. The file may have been moved, or deleted. Verify that the link points to the correct file and location."
    I'm running on sap basis 7.02 SP13 and implemented the notes 1975765 and 1985288 but not resolved this issue.
    Do you have any ideas?
    Thank you.

    Hi Jorge,
    Are you able to download the ICONs from alv table? try to use some icon source '~Icon/Add' and check out if you can download it to excel successfully.
    FYR:
    Regards,
    Rama

Maybe you are looking for