cancel
Showing results for 
Search instead for 
Did you mean: 

Exception WDDynamicRFCExecuteException

0 Kudos

Hi,

is there a possibility to get the reason of the excpetion WDDynamicRFCExecuteException. I have tested the following scenario:

I have called method execute() to call a RFC which does not exist in the backend system, the exception WDDynamicRFCExecuteException has been raised.

What I would need is the reason of this exception that the RFC was not found.

Is this possible? can you please give me some tips?

Thanks and regards,

Nada

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hi Nada,

Try to use


public String getMessage()
public BaseType getFault()
public WDDynamicRFC_Fault getWDDynamicRFC_Fault()

methods.

best regards, Maksim Rashchynski.

Answers (2)

Answers (2)

0 Kudos

Thanks for the answers!

i will try the code

Best regards,

Nada

Former Member
0 Kudos

Hi,

What about

.
.
.
}catch(WDDynamicRFCExecuteException e){
    String message = e.getMessage();
}

Have a look at that.

Best regards,

Patrick.