Skip to Content
avatar image
Former Member

Tree in web dynpro

Hello,

I am new to web dynpro.

can anyone provide me a simple alv tree example in web dynpro.

Thanks,

Gunjan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Nov 10, 2009 at 08:17 AM

    Hi,

    Tree in ALV is not possible...You can use the ALV hierarchy conecpt in WDA.

    Refer these links -

    alv-with-kind-of-treebynestingtablecolumn-possible

    What is your requirement.

    Regards,

    Lekha.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 10, 2009 at 08:20 AM

    For examples of all type of UI elements of webdynpro, you can go to package SWDP_DEMO and SWDP_DEMO_TUTORIALS and find various expamle webdynpro components.

    For Table Tree component name is - DEMO_TABLE_WITH_TREE

    Hope this helps

    Regards

    Manas Dua

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 10, 2009 at 08:51 AM

    hi Gunjan ,

    refer this article "ALV and Standard Table as Hierarchy in Web Dynpro ABAP" :

    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c060fcb4-2c62-2b10-d2b2-f32407a5cc6f&overridelayout=true

    also check the standard WD component salv_wd_demo_table_tree

    also keep these steps in mind , quoted in SDN thread :

    Following 2 things are the most important steps

    "A) identify the table as hierarchy table:

    wd_this->go_table->if_salv_wd_table_settings~set_display_type( if_salv_wd_c_table_settings=>display_type_hierarchy).

    (wd_this->go_table is the reference to wd alv object:)

    "B) mark the columns you want to have as nodes with following statement:

    ls_col-r_column->if_salv_wd_column_hierarchy~set_hierarchy_column( value = abap_true ).

    (ls_col is reference to the column)

    regards,

    amit

    Add comment
    10|10000 characters needed characters exceeded