2008 Jul 10 1:14 PM
Hi,
I need a pop up just similar to the POPUP_TO_CONFIRM,
but the required pop up should contain radio buttons to choose one option out of two.
Is any such popup is available by use of any function module.
2008 Jul 10 1:17 PM
2008 Jul 10 1:19 PM
Hi
POPUP_TO_DECIDE_INFO
HR_99S_POPUP_TO_DECIDE_LIST
Regards
Pavan
2008 Jul 10 1:23 PM
Hi,
Plz try this way.
A centered Popup allowing the choice of up to two of three possible answers is to be created (Creditor, Material, Account). The third option is to be chosen by default.
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'.
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 = 2
MARK_FLAG = 'X'
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 SPOPLI WHERE SELFLAG = 'X'.
WRITE /SPOPLI-VAROPTION.
ENDLOOP.
ENDIF.
Hope this helps you.
plz reward if useful.
thanks,
dhanashri
2008 Oct 15 7:24 AM
Hello,
Even i have a similar requirement of getting a radio button against a particular value in a pop-up.
Is your query solved,if so kindly share it.
Thanks in advance.
Regards
Rithwika