2007 Sep 13 4:56 PM
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.
2007 Sep 13 5:08 PM
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
2007 Sep 13 5:16 PM
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