Skip to Content
avatar image
Former Member

how to get the property's value of the UI elements "table column"

hi,experts..

i am a complete rookie in webdynpro for abap.can anyone show me how to get the property value of table column or give me useful web links.

thanks, plz forgive my ignorance.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    May 13, 2009 at 07:23 AM

    If you are talking about ALV table check this

    https://forums.sdn.sap.com/click.jspa?searchID=26037943&messageID=7121438

    https://forums.sdn.sap.com/click.jspa?searchID=26037943&messageID=7127313

    or if it is a standard table check these classes

    cl_wd_table

    cl_wd_table_column and check where they are used

    Thanks

    Bala Duvvuri

    Add comment
    10|10000 characters needed characters exceeded

  • May 13, 2009 at 06:18 AM

    after u create a view, in the layout u can create some ui elements. now if u create a table, u can bind the the table. jus chk the properties of this, and u will see a property called VALUE . u can bind it here.

    jus check some basic tutorials at this link:

    Web Dynpro for ABAP: Tutorials for Beginners [original link is broken]

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 13, 2009 at 07:30 AM

    ok,i know the solution as follow:

    data wd_input_obj type ref to cl_wd_table_column.

    wd_input_obj ?= view->get_element( 'T_DOCUEMNT_OBJ_NOTE' ).

    max_len = wd_input_obj->get_width( ).

    Add comment
    10|10000 characters needed characters exceeded