cancel
Showing results for 
Search instead for 
Did you mean: 

how to handle exceptions of rfc in web dydnpro

Former Member
0 Kudos

hi all,

i want to handle exceptions of Remote function module in webdynpro.how can we do that one.are there any variables in model class for those exceptions.

regards

Naidu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Hope the following snippet answers ur query

IWDMessageManager manager = wdComponentAPI.getMessageManager();

try{

wdContext.currentB_Quotation_Createfromdata_InpElement().modelObject().execute();

wdContext.nodeOutputQuotation().invalidate();

} catch(WDDynamicRFCExecuteException ce) {

manager.reportException(ce.getMessage(), false);

Answers (0)