Submit ALV in webdynpro

Hello folks, i need to load the information from the result of a ALV in a webdynpro.
The program aqzzzhr_rc======zhr_rc06====== and the variant CUS&STANDARD.
I am using this:
  DATA list_tab TYPE TABLE OF abaplist.
  SUBMIT aqzzzhr_rc======zhr_rc06======
       USING SELECTION-SET 'CUS&STANDARD'
       EXPORTING LIST TO MEMORY
       AND RETURN.
  CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
      listobject = list_tab
    EXCEPTIONS
      not_found  = 1
      OTHERS     = 2.
  IF sy-subrc EQ 0.
    CALL FUNCTION 'WRITE_LIST'
      TABLES
        listobject = list_tab.
end.
My problem is that i cannot see a real information from ALV inside the table list_tab. The info inside says something like RFCRECORD blah blah blah.
Is there a way to convert this information in real data from ALV?
Is there a way to access the information stored in memory?
Thanks in advance!

Hi Jorge.
Exporting list to memory exports the result as abap list to memory.
To use the result in Wd4A ALV you need the result table structure and
the result itself.
Maybe you can extend the standard programm in order to export the result table to
memory. After submiting the report you import the result table and then bind it to a node for the ALV.
Cheers,
Sascha

Similar Messages

  • How to make cell editable alv in WebDynpro for ABAP?

    I make Column editable ALV.(See under source code)
    But I can't make Cell editable ALV.
    How to make Cell editable ALV in WebDynpro for ABAP?
    and..how to get changed data?
    DATA: l_value TYPE REF TO cl_salv_wd_config_table.
      l_value = l_ref_interfacecontroller->get_model( ).
    * { EDITABLE
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
            lr_input_field     TYPE REF TO cl_salv_wd_uie_input_field,
            lr_column          TYPE REF TO cl_salv_wd_column.
      lr_column_settings ?= l_value.
      lr_column = lr_column_settings->get_column( 'TOTAL_COUNT' ).
      CREATE OBJECT lr_input_field
        EXPORTING
          value_fieldname = 'TOTAL_COUNT'.
      lr_column->set_cell_editor( lr_input_field ).
      DATA: lr_table_settings TYPE REF TO if_salv_wd_table_settings.
      lr_table_settings ?= l_value.
      lr_table_settings->set_read_only( abap_false ).

    the code seems to be correct....but where are you writing it?
    put the code in the wddoinit method and it should work.
    have a look at this article..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1

  • How to restrict the no of rows to be displayes in ALV in webdynpro

    Hi All,
    Can any one suggest how to restrict the no of records to be displayed in the portal in the ALV through webdynpro ABAP.
    Thanks & Regards,
    Sreelatha Gullapalli.

    HI,
    If you want to change the Source (Design time) then you can do that via the alv configuration.
    Something like this in the component SALV_WD_COLUMNS_UI
    lr_available_model->if_salv_wd_table_settings~set_visible_row_count( lc_row_count ).

  • DIfference Between OOPS ALV and WEBDYNPRO FOR ABAP ALV?

    Hi to All,
    i want some information that What is main difference when we develop ALV Report in OOPS and WEBDYNPRO For ABAP.which is good n in what way it is good?
    In the Same way I m also want know that WHICH IS BETTER AMONG WEBDYNPRO FOR JAVA/ABAP.In which way?
    Regards,
    Ravi K

    Thanku for ur valuble Information.
    could u give me information regarding OOPS ALV and WEBDYNPRO FOR ABAP ALV?which is better?is there differences?
    Edited by: ravi k on Mar 26, 2008 12:23 PM

  • How to use traffic lights concept in alv in webdynpro abap

    Hai ,
              How to use traffic lights concept for alv in webdynpro abap. If possible give me some code.

    Hi Ravi,
    You can create ICON  to get traffic light.
    Go through this step by step.. in this example
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1190424a-0801-0010-84b5-ef03fd2d33d9?quicklink=index&overridelayout=true
    Please go through this...
    Re: Display ICON in the ALV table column
    Re: Image in ALV
    cheers,
    Kris.

  • Changing the text and the order of columns in ALV for WebDynpro

    Hello experts, im using ALV in WebDynpro, and i have this code:
    lr_column   = lo_value->if_salv_wd_column_settings~get_column( 'ZNC_MONTO_LIQ' ).
    lr_column_header = lr_column->get_header( )
    lr_column_header->set_text( 'IMPORTE' ).
    but this code, doesn't change the title of the column.
    the same happens when i put the visibility in "none" or when i change the position of the column
    Anyone can tell why this is happening?
    Thanks!

    You can't set the text of the generated header directly.  You have to first delete the standard header and create a new one.  You can then override the header text.
    l_column = l_table->if_salv_wd_column_settings~get_column( 'CREATED_AT' ).
      l_column->delete_header( ).
      l_header = l_column->create_header( ).
      l_header->set_text( `Created At` ).

  • Hierarchical sequential display in ALV for webdynpro ABAP

    Hello,
    I am doing an ALV report WebDynpro for abap. I have a situation where I have to display Open Items and all the partial payments in the ALV report. In short. In summary, I have to display a Hierarchical Table of data which two different structures of data, but linked and displayed together.
    The only information I have to go about this is [Table as Hierarchy|http://help.sap.com/saphelp_nw2004s/helpdata/EN/3e/904b2624534e0db707c7314a5e1e9d/frameset.htm] in SAP Help.
    If you have any pointers for programming a Hierarchical Sequential report in Webdynpro alv that would be great. Any classes, methods etc I can use or , how I can do bindings to the context etc...
    Thank you for all your help.
    Sumit.

    Hello,
    I am doing an ALV report WebDynpro for abap. I have a situation where I have to display Open Items and all the partial payments in the ALV report. In short. In summary, I have to display a Hierarchical Table of data which two different structures of data, but linked and displayed together.
    The only information I have to go about this is [Table as Hierarchy|http://help.sap.com/saphelp_nw2004s/helpdata/EN/3e/904b2624534e0db707c7314a5e1e9d/frameset.htm] in SAP Help.
    If you have any pointers for programming a Hierarchical Sequential report in Webdynpro alv that would be great. Any classes, methods etc I can use or , how I can do bindings to the context etc...
    Thank you for all your help.
    Sumit.

  • Create ALVs in Webdynpro

    Hi
    Does sombedy has some information for create ALVs  in Webdynpro for begginer.
    I searched in forum but i found threads with specific doubts for ALVs already createds, not for create an ALV since begin.
    Any help will be usefull.
    Regards
    Frank

    Hi Frank,
    Pelase check this wiki, step by step ALV Creation.
    http://wiki.sdn.sap.com/wiki/display/WDABAP/CreatinganALVListinWebDynpro+Application
    http://wiki.sdn.sap.com/wiki/display/WDABAP/SAPListViewer-ALV
    http://www.scribd.com/doc/3335981/Creating-a-WebDynpro-ALV-Application
    http://sapient.wordpress.com/2007/06/15/programming-the-alv-configuration-model-in-web-dynpro-for-abap/
    Cheers,
    Kris.

  • Message on clicks on standard button of alv in webdynpro

    Hi experts,
    I want to show message on clicks on standard button of alv in webdynpro.

    Hi Rohit..
    Also check this...
    http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproABAP-ALVControllingStandard+Buttons
    Cheers,
    Kris.

  • How to add views to ALV in webdynpro

    In ALV we are having standard views , if i want to add my own view in alv in webdynpro wrto some condition then what is the procedure for that ?
    Ankesh
    Edited by: Ankesh Jindal on Oct 5, 2010 3:29 PM

    the code seems to be correct....but where are you writing it?
    put the code in the wddoinit method and it should work.
    have a look at this article..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1

  • Submit button in Webdynpro which uses Adobe

    Hi Guys ,
    I have created Webdynpro View with Adobe and then i created UI element Submit button in Webdynpro View which is holding Adobe.
    Than i executed webdynppro application and clicked submit button to read the data from Adobe .
    Iam getting the WAIT Process keep on running and my On action Method did't triggered at all .
    I have done all the setup as per the notes given in the privious thereds for Adobe .
    Please help me to resolve the issue .
    Thanks a lot.
    Regards
    Prabhu

    Hi Prabhu,
    I am running into the same issue and I tried running transaction SFP_ZCI_UPDATE  but still no help. Any more pointers?
    Thansk,
    -Ashwani

  • Submit  ALV report in Background & exporting list to memory and return

    Dear all,
    I created one Z program (ZPROGRAM2). 
    Here i use SUBMIT ZPRORAM1_ALV exporting list to memory and return.
    call function 'LIST_FROM_MEMORY'.
    call function 'TABLE_COMPRESS' .
    ZPRORAM1_ALV output i send mail.
    This all are working in foreground.
    If i schedule ZPROGRAM2 in background. that SUBMIT ZPRORAM1_ALV statement not working.
    Please give me the Solution.
    Thanks,
    Durai.V

    It is because of the ALV output that you are using. Check the condition sy-batch = 'X' (background processing) and then display a classical report. It will work then.
    Thanks,
    Jayant

  • WDA: TreeByNestingTableColumn and ALV in webdynpro for ABAP

    Hi,
    1) I am trying to implement a tree with nested structure and multiple columns. I am using RecursionNode in the context and UI element TreeByNestingTableColumn. I am not able to figure out how to make a distinction between the key and parent key. In TreeByKeyTableColumn, we use key and parent key to differentiate. Is there any link which explains how to implement TreeByNestingTableColumn in Webdynpro for ABAP? (I got a link for webdynpro for java though).
    2) Can ALV be used to implement a tree structure instead of using Table with TreeByNestingTableColumn or TreeByKeyTableColumn? Then I would be readily able to use ALV features like sort etc. If it can be used is there any link which explains how to do it in Webdynpro for ABAP?

    Hi Srinivasa,
    I can answer the first point. If you use a recursive node and TreeByNestingTableColumn, there is no need to have a rowKey and parentRowKey, since the recursion with the context already defines the hierarchy. As far as I know someone posted a blog that explains how to use the TreeByNestingTableColumn in Web Dynpro Java. I don't have the link available, but this blog would be good place to start. The implementation in WDA and WDJ is pretty much the same here.
    Kind regards,
    Thomas

  • How to get layout name of ALV in Webdynpro

    Hi experts,
    Here's the problem I'm facing.
    In webdynpro ALV setting, user create a personal layout and save it. When changing the layout from 'Standard view' to the new layout. The column (dropdown list of ALV table ) display as the key, acturally it was displayed as description originally. Could you help to solve this problem.
    Or could you tell me what the method of class to get the layout variant. Then I'll add logic in the 'WDDOMODIFYVIEW' of view.
    Thanks a lot advance.
    Best Regards,
    Wang

    HI
    if you are making any change in the layout and saving it it changes to key .
    is it happening like that.
    if yes i guess soemthing is wrong in the logic for creating dropdown cell editor.
    here is the code that i am writing for uding dropdown and no matter what i do it always displays descriptions instead of key
    can you paste yours
    DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
    lo_INTERFACECONTROLLER =   wd_this->wd_cpifc_alv( ).
      DATA lo_value TYPE ref to cl_salv_wd_config_table.
      lo_value = lo_interfacecontroller->get_model(
    lo_value->IF_SALV_WD_TABLE_SETTINGS~SET_READ_ONLY( ABAP_FALSE ).
    data col type ref to cl_salv_wd_column.
    data celedi type ref to IF_SALV_WD_TABLE_CELL_EDITOR.
    data dropdown type ref to CL_SALV_WD_UIE_DROPDOWN_BY_KEY.
    create object dropdown
    exporting
      SELECTED_KEY_FIELDNAME = 'NAME'
    col =  lo_value->IF_SALV_WD_COLUMN_SETTINGS~GET_COLUMN( 'NAME' ).
    celedi ?= dropdown.
    col->set_cell_editor( celedi ).
    DATA lo_nd_filter_values TYPE REF TO if_wd_context_node.
      DATA ls_filter_values TYPE REF TO if_wd_context_element.
      lo_nd_filter_values = wd_context->get_child_node( name = wd_this->wdctx_filter_values ).
      ls_filter_values = lo_nd_filter_values->create_element( ).
      ls_filter_values->set_attribute(
        name = `FIELDNAME`
        value = `NAME`    "Attribute name that you want to set filter.
      DATA l_wdy_key_value_table TYPE TABLE OF wdy_key_value.
      DATA l_wdy_key_value TYPE wdy_key_value.
    *Followings are filter values.
      l_wdy_key_value-key = `0`.
      l_wdy_key_value-value = ``.
      APPEND l_wdy_key_value TO l_wdy_key_value_table.
      l_wdy_key_value-key = `1`.
      l_wdy_key_value-value = `AAAA`.
      APPEND l_wdy_key_value TO l_wdy_key_value_table.
      l_wdy_key_value-key = `2`.
      l_wdy_key_value-value = `BBBB`.
      APPEND l_wdy_key_value TO l_wdy_key_value_table.
      l_wdy_key_value-key = `3`.
      l_wdy_key_value-value = `CCCC`.
      APPEND l_wdy_key_value TO l_wdy_key_value_table.
      ls_filter_values->set_attribute(
        name = `T_DROPDOWN_VALUES`
        value = l_wdy_key_value_table
    DATA NFINF TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
    DATA ND1 TYPE REF TO IF_WD_CONTEXT_NODE.
    ND1 = WD_CONTEXT->GET_CHILD_NODE( 'ZDEALER' ).
    NFINF = ND1->GET_NODE_INFO( ).
    NFINF->SET_ATTRIBUTE_VALUE_SET(
    NAME = 'NAME'
    VALUE_SET = l_wdy_key_value_table
    thanks
    sarbjeet singh

  • Not able to select a row in ALV in Webdynpro

    Hi everyone,
    I have developed a webdynpro application and I have declared component usage for SALV_WD_TABLE.
    The data gets displayed in the ALV, but always the first row is selected.
    When I try to select another row,I am not able to select.
    Could anyone please suggest what might be the problem ?
    Thanks in advance.
    Regards,
    Kumudha.

    Hi Manas,
    Thanks for the inputs.
    I am placing the code below for your reference.
    I try to change the below as Display Text as Code...But it is not happening Plz check
    method wddoinit.
      if wd_this->ls_setup is initial.
        select single * from yyua_c_setup into wd_this->ls_setup
          where system_id = sy-sysid.
      endif.
      "adjustments for ALV
      data lo_cmp_usage type ref to if_wd_component_usage.
      lo_cmp_usage =   wd_this->wd_cpuse_alv( ).
      if lo_cmp_usage->has_active_component( ) is initial.
        lo_cmp_usage->create_component( ).
      endif.
      data: l_ref_interfacecontroller type ref to iwci_salv_wd_table .
      l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
      data: l_value type ref to cl_salv_wd_config_table,
            lr_header_t type ref to cl_salv_wd_header,
            lv_text type string.
      l_value = l_ref_interfacecontroller->get_model( ).
      data: lr_column_settings type ref to if_salv_wd_column_settings,
            lr_input_field type ref to cl_salv_wd_uie_input_field,
            lr_column type ref to cl_salv_wd_column.
    Set column title and position
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'CSINSTA' ).
      lr_column->set_position( 1 ).
    lv_text = cl_wd_utilities=>get_otr_text_by_alias( 'Z_REFERENCE/REQUEST_NUMBER' ).
      lr_column->r_header->set_text( 'Installation' ).
      lr_column->r_header->set_ddic_binding_field( '00' ).
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'ERFUNAME' ).
         |
      lr_column->set_position( 18 ).
    lv_text = cl_wd_utilities=>get_otr_text_by_alias( 'Z_REFERENCE/ACTIVITY_DATE' ).
      lr_column->r_header->set_text( 'Job profile ext' ).
      lr_column->r_header->set_ddic_binding_field( '00' ).
    Hide columns
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'ERFTSTMP' ).
      lr_column->set_visible( 0 ).
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'AETSTMP' ).
      lr_column->set_visible( 0 ).
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'STATUS' ).
      lr_column->set_visible( 0 ).
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'PRIO' ).
      lr_column->set_visible( 0 ).
      lr_column = l_value->if_salv_wd_column_settings~get_column( 'ISSUE' ).
      lr_column->set_visible( 0 ).
      data: lr_functions type ref to if_salv_wd_function_settings,
            lr_function type ref to cl_salv_wd_function,
            lr_button_t type ref to cl_salv_wd_fe_button.
    Add self-defined functions in toolbar
      lr_functions ?= l_value.
      lr_function = lr_functions->create_function( 'SELECT' ).
      create object lr_button_t.
    lv_text = cl_wd_utilities=>get_otr_text_by_alias( 'Z_REFERENCE/VIEW' ).
      lr_button_t->set_text( 'Select' ).
      lr_function->set_editor( lr_button_t ).
    data : LR_FUNCTION_SETTINGS TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
    create object LR_FUNCTION_SETTINGS.
    SET row selectable as true
    CALL METHOD LR_FUNCTION_SETTINGS->IF_SALV_WD_TABLE_SETTINGS~SET_ROW_SELECTABLE
    EXPORTING
    VALUE = ABAP_TRUE.
    endmethod
    Regards,
    Kumudha.

Maybe you are looking for

  • How do I erase my computer without an install disk?

    I just got a new macbook, and am looking to give my old one away. I am running OSX 10.5.8, and I want to erase all of my personal data, programs and settings without losing the OS. Is that possible? All of the instructions I've found for wiping the m

  • No value could be determined for variable 0P_FVAEX

    We are on BW 7.0 and BEx7.0 I have activated BI Content of InfoCube  0WBS_C11 and all it's SAP delivered Query elements. The InfoCube is loaded with data already. When I run any of the query in BEx, I got the same error as below: Initial RANGE-LOW fo

  • Using same dimension again and again

    Hi All, I have one problem in which one fact has many wid's and these all fact wid's connect with the single dimension. As per me I can create alias of the dimension and join them with fact to achieve it. scenario Fact1 x1-wid joins with xx1 wid of d

  • Material Master : how maintenance statutes works ?

    Hi, I'm new to Material Master customizing and I would like to understand what maintenance statuses do and how it works. What does it mean exactly if I add for exemple the maintenance status "V" instead of "E" for the screen that correspond to purcha

  • No audio with BMCC CinemaDNG files

    Hi everybody. I'm importing my RAW footage into SpeedGrade in order to export it to an editable file (ProRes) and I have no audio. The Audio window is greyed out as well. The media has audio as I can hear it on other apps.