Skip to Content
avatar image
Former Member

modify Screen

Hi All,

I need small information, I have two radiobutton in view, I have to display only specific fields based on user selection. How to make Input field in Enable & Disable in view? Please if any one has any document, Please send it to would be great help.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 20, 2007 at 12:49 AM

    You have to bind the 'Visible' property of the Input field to a context attribute, of type WDY_BOOLEAN.

    Create Node, say NodeA with a attribute, attr1 of type WDY_BOOLEAN

    Bind the Visible property of inputfield to this attribute

    When the radio button is clicked, to make the inputfield in-visible,

    NodeA = wd_Context->get_shild_node( 'NodeA' ).


    NAME = 'attr1'

    VALUE = abap_false ).

    If , u want the Inputfield Visible but unhighlighted, then bind the ENABLE property of the Inputfield to the attribute as above, in place of Visible property

    Add comment
    10|10000 characters needed characters exceeded