Skip to Content
avatar image
Former Member

grouping select-options fields

Hi,

is there a possibility to group select-options fields in two three parts.

I have used the component WDR_SELECT_OPTIONS technique.

There are 20 fields on the view I would like make three or four groups.

It that possible ?

Inside standard report u can say

SELECTION-SCREEN BEGIN OF SCREEN 100 .

.....

Regard

sas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 31, 2008 at 11:02 AM

    Vikranth can you pls give me a peace of sample code for it ?

    bye

    sas

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      CALL METHOD wd_this->m_handler->add_block

      EXPORTING

      i_id = 'B1'

      i_title = 'Block1' .

      wd_this->m_handler->add_selection_field(

      i_id = item-m_id

      i_within_block = 'B1'

      it_result = lt_range_table

      i_read_only = item-m_read_only

      ).

  • Oct 31, 2008 at 10:41 AM

    Hi Sas,

    Thats quite possible. You can make use of the Group/Tray/TransparentContainer ui elements to group together your desired fields.

    Regards,

    Uday

    Hi Sorry had got your question wrong. Will try check & let you know

    Edited by: Uday Gubbala on Oct 31, 2008 4:12 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 31, 2008 at 10:45 AM

    Hi,

    Yes u can make blocks in WDA , First Create Block using method ADD_BLOCK and use the method ADD_SELECTION_FIELD and pass the Block Name in the within_block parameter there..

    Add comment
    10|10000 characters needed characters exceeded