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

Property Types

Hi Experts, How can i find the property field types. Because i want to bind some properties of table and table column in context variable. but i am not able to find the type of the property values. so i am getting type mismatch while binding. It would be better u tell me how to find data type of all properties for an UI element.

Thanks a lot in advance!!!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 04:36 AM

    hi senthil.......

    you can make use of the class: cl_wd_table.

    methods:

    to get the design : get_design

    data source : get_data_source

    you can make use of many methods like above to get teh desired property.

    ---regards,

    alex b justin

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 06:15 AM

    Hi Senthil,

    You can see the attributes of the class CL_WD_UIELEMENT to find the associated type for various layout elements.

    For Ex.

    You can use varriables of type ABAP_BOOL for enable & disable,

    of type WDUI_VISIBILITY for visible & not visible property

    etc.

    Regards

    Amol Deshmukh

    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.