POPUP_TO_DECIDE
通過 Function Module 彈出窗口提示信息后返回用戶選擇。
所屬 Function Group : SPO2
所屬 Package : SZP
DATA:answer TYPE c LENGTH 1.
CALL FUNCTION ‘POPUP_TO_DECIDE’
? EXPORTING
?? defaultoption?????????? = ’2′
??? textline1?????????????? = ‘textline1′"max 35 char
?? textline2?????????????? = ‘textline2′
?? textline3?????????????? = ‘textline3′
??? text_option1??????????? = ‘option1 text’
??? text_option2??????????? = ‘option2 text’
?? icon_text_option1?????? = ‘ICON_SYSTEM_SAVE’"ICON-NAME
*?? ICON_TEXT_OPTION2?????? = ‘ ‘
??? titel?????????????????? = ‘title’
?? start_column??????????? = 25
?? start_row?????????????? = 6
?? cancel_display????????? = ‘X’
?IMPORTING
?? answer????????????????? = answer
????????? .
CASE answer.
? WHEN ‘A’.
? WHEN ’1′.
? WHEN ’2′.
ENDCASE.
*The end-user’s decision is returned in ANSWER. ANSWER can contain the
*following values:
"A" = user has chosen Cancel
"1" = user has chosen the first alternative
"2" = user has chosen the second alternative
結(jié)果:
————
注意:
1、該函數(shù)已過期
總結(jié)
以上是生活随笔為你收集整理的POPUP_TO_DECIDE的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: POPUP_TO_CONFIRM_WIT
- 下一篇: POPUP_TO_DECIDE_WITH