cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Not Found in Back end

Former Member
0 Kudos

hi ,

I have different back end systems and my WD app will be configured for different systems.

Some of the RFC models are not found on the other back end, so when i choose the aplication it shows big error info to screen for RFC model that are not found.

is there any way to avoid it and show some simple message in the message area.

Regards,

Pavan

Accepted Solutions (1)

Accepted Solutions (1)

former_member214651
Active Contributor
0 Kudos

Hi,

One way to avoid the error being printed on the screen is by using the Logging and Tracing option which will write the error to the trace file and u can just print an error on the screen

In the catch block of your code write the following code:

catch(......e)
{
     wdComponentAPI().getMessageManager.reportException("An Error occured during execution. Please see the Log file for the                                                                                
error description");
     logger.errorT(e.printStackTrace());
}

Hope this helps you.

Regards,

Poojith MV

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks