Skip to Content
avatar image
Former Member

Default Value Select-Options

hi,

I use select-options in my WD4A component. first I create a range_table, second I add the new field to selection-screen.

  lt_range_table =
    wd_this->m_handler->create_range_table(
         i_typename = 'YDM_VORGANG_ID' ).

  wd_this->m_handler->add_selection_field(
                 i_id = 'YDM_VORGANG_ID'
                 it_result = lt_range_table
                 i_read_only = read_only
                 i_tooltip = 'Vorgangsnummer'
                 i_within_block = 'BLOCK1' ).

how can I set a default value to my selection-field?

many thx and best regards.

stefan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 10, 2007 at 07:18 AM

    Hi Stefan.

    Have a look at this thread:

    https://forums.sdn.sap.com/click.jspa?searchID=5122166&messageID=3034028

    If you need more info just serach this forum. This question was already asked a few times.

    Cheers,

    Sascha

    Add comment
    10|10000 characters needed characters exceeded