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

pop-up window

Former Member
0 Likes
490

hi experts,

my requirement is,

i have a table control having 40 records in that,if user enter's wrong value then a pop-up window should appear telling that "U enter wrong value".

please help me.

thanks in advance.

hi experts,

my requirement is,

i have a table control having 40 records in that,if user enter's wrong value then a pop-up window should appear telling that "U enter wrong value".

please help me.

thanks in advance.

2 REPLIES 2
Read only

Former Member
0 Likes
473

hi,

data : WF_RES type c.

CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'

EXPORTING

DEFAULTOPTION = 'N'

TEXTLINE1 = 'U enter wrong value'

  • TEXTLINE2 = ' '

TITEL = 'Delete Zone'

  • START_COLUMN = 25

  • START_ROW = 6

  • CANCEL_DISPLAY = 'X'

IMPORTING

ANSWER = WF_RES.

if wf_res = 'J'.

user selected 'YES'.

else.

user selected 'NO'.

endif.

or something like this...

Use the FM 'POPUP_TO_CONFIRM'

call function 'POPUP_TO_CONFIRM'

exporting

titlebar = p_title

text_question = p_msg

text_button_1 = 'Yes'(001)

text_button_2 = 'No'(002)

display_cancel_button = ' '

importing

answer = p_answer

exceptions

text_not_found = 1

others = 2.

if sy-subrc <> 0.

endif.

~~Guduri

Read only

Former Member
0 Likes
473

Try:

CALL FUNCTION 'POPUP_TO_INFORM'
  EXPORTING
    titel = 'Message'
    txt1  = 'Wrong value entered'
    txt2  = 'Please correct'.

Or:

MESSAGE e001 DISPLAY LIKE 'I' WITH 'Wrong value entered'.

Rob

Message was edited by:

Rob Burbank