Application Development and Automation 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: 
Read only

function module for popup..??

Former Member
0 Likes
914

Is there a function module to display a popup box with just a tick available for confirmation .??? (m a fresher ..so pls excuse if the terminologies i use are layman type)

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
892

use function module "POPUP_TO_INFORM".

Reward if useful.

8 REPLIES 8
Read only

Former Member
0 Likes
892

Hi,

Use

CALL FUNCTION 'POPUP_TO_CONFIRM'

EXPORTING

text_question = 'here writeyour question'

text_button_1 = 'YES'

text_button_2 = 'NO'

IMPORTING

answer = l_answer

EXCEPTIONS

text_not_found = 1

OTHERS = 2.

IF l_answer NE '1'. -


If yes

ENDIF.

Read only

0 Likes
892

i need a dialog box with ONLY a confirmation tick....

Read only

0 Likes
892

Use function module "POPUP_TO_DISPLAY_TEXT".

reward if useful.

Read only

Former Member
0 Likes
892

HI,

see this example


DATA:w_answer.

call function 'POPUP_TO_CONFIRM'
  exporting
    text_question = 'you want to continue?'
  importing
    answer = w_answer
  exceptions
    text_not_found = 1
  others = 2.
    if sy-subrc <> 0.
    message i000(zmsg).
    stop.
    endif.

  if w_answer ne '1'.
    message i000(zmsg).
    stop.
  endif.

rgds,

bharat.

Read only

Former Member
0 Likes
892

Hi,

Use the function module for POP-UP

POPUP_TO_CONFIRM.

Regards,

Siva chalasani

Read only

Former Member
0 Likes
892

Hi,

Check the following code:

DATA: X_ANS(1) TYPE C.

call function 'POPUP_TO_CONFIRM_STEP'

exporting

  • DEFAULTOPTION = 'Y'

textline1 = 'Do you want to continue'

  • TEXTLINE2 = ' '

titel = 'Please Confirm'

  • START_COLUMN = 25

  • START_ROW = 6

  • CANCEL_DISPLAY = 'X'

IMPORTING

ANSWER = X_ANS.

WRITE: / X_ANS.

Regards,

Bhaskar

Read only

Former Member
0 Likes
893

use function module "POPUP_TO_INFORM".

Reward if useful.

Read only

0 Likes
892

Thanks richa...