Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Search help with Radio buttons

hi Good day,

i have a requirement, where i have Region as a SELECT-OPTION.

In Region i have 3 types

1. OLD

2. NEW

3. PR/B

i want to do something like this...

when the user selects i want to give 3 options to choose from

1. OLD

2. NEW

3. PR/B

if he/she selects OLD - I want to display the OLD values

if he/she selects NEW - I want to display the NEW values

if he/she selects PR/B - I want to display the PR/B values

I would like to know if it is possible, if YES can i kindly know how?

thank you,

J.

Former Member replied

Hi Jacob,

               yeah it is possible...

when user clicks search help we have have to show custom screen which contains three radio buttons.

after pressing continue button we may have to show filtered values.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR: MARKERNO-LOW,MARKERNO-HIGH.


call screen 9000.


   PERFORM MARKERNO.


form markerno.




if new = 'X'.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
     EXPORTING
       RETFIELD        = 'MARKERNO'
       DYNPPROG        = SY-REPID
       DYNPNR          = SY-DYNNR
       DYNPROFIELD     = 'MARKERNO '
       VALUE_ORG       = 'S'
     TABLES
       VALUE_TAB       = ITAB_MARKER1
      RETURN_TAB       = RETVALUE.


elseif old = 'X'.


CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
     EXPORTING
       RETFIELD        = 'MARKERNO'
       DYNPPROG        = SY-REPID
       DYNPNR          = SY-DYNNR
       DYNPROFIELD     = 'MARKERNO '
       VALUE_ORG       = 'S'
     TABLES
       VALUE_TAB       = ITAB_MARKER1
      RETURN_TAB       = RETVALUE.


else.


CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
     EXPORTING
       RETFIELD        = 'MARKERNO'
       DYNPPROG        = SY-REPID
       DYNPNR          = SY-DYNNR
       DYNPROFIELD     = 'MARKERNO '
       VALUE_ORG       = 'S'
     TABLES
       VALUE_TAB       = ITAB_MARKER1
      RETURN_TAB       = RETVALUE.


endif.


endform.

let me know if you face any difficulties.

Regards,

     Thangam.P

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question