Skip to Content
Former Member
Feb 26, 2015 at 11:35 AM

Exception message handling in sapui5 ?


Hi all,

I have an input field in the frontend which gets some records and displays them .Now if the respective record is not found due to some issue or if bapi is failed i want to raise the message in the frontend .

if i just raise the below exception code in my method in sap gateway is it going to take care of message handling or i have do anything in the font end too?

raise exception type /iwbep/cx_mgw_busi_exception


textid = /iwbep/cx_mgw_busi_exception=>business_error

message = message.

Thanks for support help me out..

I searched the prior articles and found the the above code i could not find if anything needs to be done in frontend apart from backend exception call.