02-22-2010 11:09 AM
Can any body please tell me if we have any function module through which we can pop up error messages in the report.
01-29-2013 9:00 AM
try FM 'C14ALD_BAPIRET2_SHOW'.
CALL FUNCTION 'C14ALD_BAPIRET2_SHOW'
TABLES
I_BAPIRET2_TAB = T_RETURN_MESSAGE. " BAPIRET2
02-22-2010 11:17 AM
Hi,
Check the below FM
HR_BEN_SHOW_ERROR_POPUP
HRPAY99_PE01N_ERROR_POPUP
OIRC_MR_ERROR_POPUP_WITH_TAB
Cheerz
Ram
02-22-2010 11:23 AM
02-22-2010 11:28 AM
Hi,
Please try
POPUP_TO_CONFIRM
POPUP_DISPLAY_TEXT
POPUP_TO_DISPLAY_TEXT
Thanks,
Archana
Edited by: Archana Pawar on Feb 22, 2010 12:29 PM
02-22-2010 12:06 PM
Hi,
Use this,
MESSAGE 'Write your message here' TYPE 'A'.
Hope it helps you,
Regards,
Abhijit G. Borkar
02-22-2010 12:20 PM
Thanks Abhijit, this solution also worked but the problem is that on click of ok it exits that screen.
02-16-2014 7:54 AM
MESSAGE 'Write your message here' TYPE 'E' Display like 'A'. will work as required.
02-16-2014 11:51 AM
Hi sudhahar,
This is very old thread & answered too.
Kindly do not respond this kind of thread.
Thanks
Gourav.
03-03-2014 4:48 AM
Dear,
I assumed that the question deserves a better and clear answer so that anyone in the future can benefit from it. I am not answering here expecting reward points. so, new or old question doesn't make any difference to me.
with regards,
Sudhahar R.
02-22-2010 11:22 AM
You can simply through the messages as below.
Message XXX(Message Class) display like 'E'.
If yow want to displat it with 'Yes'/'No' buttos, use
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
titlebar = text-011 "'Error !'
text_question = text-012 "'Are you sure ? Want to exit ? ' (This will be your message)
text_button_1 = text-013 "'Yes'(001)
text_button_2 = text-014 "'No'(002)
IMPORTING
answer = lv_answer.
You need to take care of lv_answer here..
Regards,
Ganga
02-22-2010 11:22 AM
Why dont you go to the repository in SE80 and search for yourself? entering popup shows enough FMs.
02-22-2010 11:57 AM
hi.
you can use the function module POPUP_display_text.
or you can use the statement
MESSAGE E001(zmm) DISPLAY LIKE 'I'.
it will display the error message as infomation that is in popup.
regards,
sakshi
02-22-2010 12:18 PM
Thanks sakshi it really worked. but will it execute the code that's below it.
11-08-2022 10:03 AM
Hello Sakshi,
I had this requirement (Warning in Popup no matter what the user settings are). DISPLAY LIKE 'I'. does exactly what I want the program to do.
Thank you very much for sharing!
Martin
01-29-2013 9:00 AM
try FM 'C14ALD_BAPIRET2_SHOW'.
CALL FUNCTION 'C14ALD_BAPIRET2_SHOW'
TABLES
I_BAPIRET2_TAB = T_RETURN_MESSAGE. " BAPIRET2
02-16-2014 11:15 AM
02-16-2014 11:50 AM