Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to create Fault Message type when developing RFC (se37)

Hi,

I am working on importing a RFC into XI but am seeing only the Request and Response message structures. The Fault Message structure is blank. I need this to trap .Exception errors like when the connection to partner is broken etc. which look like system errors but they appear in XI as Application errors and the RFC_Name.Exception message is sent back to XI.

Question is: what needs to be done in the RFC so that when I import into XI, I get the Fault Message structure as well.

Thanks in advance

ram

replied

The RFC would have a tab called Exceptions. Add a couple of fields in that tab. You dont really have to use those fields in the source code, but make sure you pass it. After the code is activated, re-import the RFC in XI and you would be able to see the fault messge in the RFC now.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question