SHOW POPUP WINDOW WITH TWO BUTTON

popup to two-button confirm window some time required to confirm take action to a user to approve something that time we show the below text

POPUP_TO_CONFIRM_STEP Create Dialog box to user performs the action yes no and cancel

POPUP_TO_CONFIRM_WITH_MESSAGE
F4_DATE: This function module to option to select date 
POPUP_TO_CONFIRM_WITH_VALUE
POPUP_TO_DECIDE
POPUP_TO_DECIDE_WITH_MESSAGE
POPUP_TO_DISPLAY_TEXT
POPUP_WITH_TABLE_DISPLAY
POPUP_TO_CONFIRM_LOSS_OF_DATA
POPUP_TO_CONFIRM_STEP
POPUP_TO_CONFIRM_WITH_MESSAGE
POPUP_TO_CONFIRM_WITH_VALUE
POPUP_TO_DECIDE


  POPUP_TO_DECIDE_WITH_MESSAGE

POPUP_TO_DISPLAY_TEXT 
POPUP_WITH_TABLE_DISPLAY

DATA lv_answer .

CALL FUNCTION 'POPUP_WITH_2_BUTTONS_TO_CHOOSE'
  EXPORTING
    diagnosetext1 'please choose option'
    textline1     'First test line'
    textline2     'second test lin'
    text_option1  'APPROVED DOCUMENT'
    text_option2  'CANCEL DOCUMENT'
    titel         'APPROVAL WINDOWS'
  IMPORTING
    answer        lv_answer.

CASE lv_answer.
  WHEN '1'.
    WRITE :'yes IS selected, proceeding…'.
    "continue logic
  WHEN '2'.
    WRITE :'no IS selected, retruning …'.
    "return logic
  WHEN OTHERS.
ENDCASE.

Comments

Popular posts from this blog

all user exit mv45afzz (implicit user exit )

MB_MIGO_BADI THIS BADI USED TO POSTING DATA IN MIGO

Long Text in input and output field in module pool