Skip to Content
author's profile photo Former Member
Former Member

Table Display In webdynpro

Hi All,

In web dynpro, I have an tree structure and a table control. I should make that table to be displayed adjacent to tree. I used matrix layout but the table is displayed in the footer of that tree (i.e) neat the last node of that tree.

Can you suggest me any other layout / how to make the table display in this same layout.



Moderator message : Post the question in Web dynpro forum, thread locked.

Edited by: Vinod Kumar on Feb 9, 2012 3:19 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2012 at 05:23 AM

    hi have tried this

    data lo_cmp_usage type ref to if_wd_component_usage.

    lo_cmp_usage = wd_this->wd_cpuse_alv_output( ).

    if lo_cmp_usage->has_active_component( ) is initial.

    lo_cmp_usage->create_component( ).


    data lo_interfacecontroller type ref to iwci_salv_wd_table .

    lo_interfacecontroller = wd_this->wd_cpifc_alv_output( ).

    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_visible_row_count( '15' ).

    lv_value->if_salv_wd_table_settings~SET_SCROLLABLE_COL_COUNT( '8' ).


    abap_true ).


    abap_true ).


    abap_true ).


    abap_false ).


    abap_false ).


    abap_false ).


    abap_false ).

    lv_value->if_salv_wd_std_functions~set_edit_check_available( abap_false


    lv_value->if_salv_wd_std_functions~set_export_allowed( abap_TRUE ).

    lv_value->if_salv_wd_std_functions~set_pdf_allowed( abap_false ).


    abap_false ).

    lv_value->if_salv_wd_std_functions~set_edit_undo_allowed( abap_false ).

    lv_value->if_salv_wd_std_functions~set_view_list_allowed( abap_false ).

    lv_value->if_salv_wd_table_settings~set_first_visible_row( '0' ).

    data: lr_column_settings type ref to if_salv_wd_column_settings,

    lr_header type ref to cl_salv_wd_column_header,

    lr_input_field type ref to cl_salv_wd_uie_input_field,

    lr_checkbox type ref to cl_salv_wd_uie_checkbox,

    lr_column type ref to cl_salv_wd_column.

    lr_column_settings ?= lv_value.


    lr_column = lr_column_settings->get_column( 'DEALER_CODE' ).

    lr_header = lr_column->get_header( ).

    lr_column->set_position( '1' ).

    lr_header->set_text( 'CUSTOMER NO' ).

    lr_header->set_tooltip( 'CUSTOMER NO' ).

    lr_header->set_ddic_binding_field( ).

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2012 at 07:52 AM

    Hi Mano,

    change vAlign property to 'Top' (You probably have 'Bottom' value).

    It is in LayoutData part.

    If You want adjacent elements, that GridLayout is preffered one (use MatrixLayout for forms).

    In case of GridLayout also change vAlign property.




    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2012 at 09:48 AM


    If both are a part of the ROOT or same container, then click on container and set to GRID Layout and change column count to 2

    Just curious...did you set them to Matrix head data and Matirx row data

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.