POPUP_TO_DECIDE_WITH_MESSAGE
通過 Function Module 彈出窗口,35char×6行提示用戶信息,返回用戶選擇。
所屬 Function Group : SPO2
所屬 Package : SZP
DATA:answer TYPE c LENGTH 1.
CALL FUNCTION ‘POPUP_TO_DECIDE_WITH_MESSAGE’
? EXPORTING
?? defaultoption?????????? = ’1′
??? diagnosetext1?????????? = ‘diagnose text1′"max 35 char
?? diagnosetext2?????????? = ‘diagnose text2 ‘
?? diagnosetext3?????????? = ‘diagnose text3′
??? textline1?????????????? = ‘text line1′"max 35 char
?? textline2?????????????? = ‘text line2′
?? textline3?????????????? = ‘text line2′
??? text_option1??????????? = ‘option1 text’
??? text_option2??????????? = ‘option2 text’
?? icon_text_option1?????? = ‘ICON_SYSTEM_SAVE’
*?? 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
結果:
————
注意:
1、該函數已過期
總結
以上是生活随笔為你收集整理的POPUP_TO_DECIDE_WITH_MESSAGE的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: POPUP_TO_DECIDE
- 下一篇: POPUP_GET_VALUES