Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

function module for having two radio buttons in a popup

Former Member
0 Kudos

Hi all,

Can any one tell me the name of the function module where it has two radiobuttons and two push buttons

Edited by: kamala boddipalli on Apr 22, 2008 7:28 AM

3 REPLIES 3

Former Member
0 Kudos

hii

check the function module

POPUP_TO_DECIDE_LIST – Provides user with several radio buttons

for push buttons

POPUP_TO_DECIDE – Provides user with several push buttons

cheers,

sharad.

Edited by: sharad narayan on Apr 22, 2008 7:33 AM

0 Kudos

hi,

i need the radiobutton and the pushbutton on the same popup.

Former Member
0 Kudos

Hi,

Check these Func Modules - K_KKB_POPUP_RADIO3 and K_KKB_POPUP_RADIO2

Check this program aswell

DATA: BEGIN OF SPOPLIST OCCURS 15.

INCLUDE STRUCTURE SPOPLI.

DATA: END OF SPOPLIST.

DATA: ANTWORT TYPE C.

SPOPLIST-VAROPTION = 'Creditor'(001).

APPEND SPOPLIST.

SPOPLIST-VAROPTION = 'Material'(002).

APPEND SPOPLIST.

SPOPLIST-VAROPTION = 'Account '(003).

SPOPLIST-SELFLAG = 'X'.

APPEND SPOPLIST.

CALL FUNCTION 'POPUP_TO_DECIDE_LIST'

EXPORTING TITEL = 'Possible entra: Order'(a01)

TEXTLINE1 = 'By which criteria'(b01)

TEXTLINE2 = 'should orders'(b02)

TEXTLINE3 = 'be selected?'(b03)

MARK_MAX = 1

MARK_FLAG = ' '

IMPORTING ANSWER = ANTWORT

TABLES T_SPOPLI = SPOPLIST

EXCEPTIONS TOO_MUCH_ANSWERS = 1

TOO_MUCH_MARKS = 2.

IF SY-SUBRC = 2.

WRITE: 'Too many answers chosen.'.

ENDIF.

IF ANTWORT = 'A'.

WRITE: 'Popup canceled.'.

ELSE.

WRITE: 'Options chosen:'.

LOOP AT SPOPLIst WHERE SELFLAG = 'X'.

WRITE / spoplist-varoption.

ENDLOOP.

ENDIF.

Regards,

Satish