Skip to Content
avatar image
Former Member

How do I map an RFC Exception in PI 7.0?


I have a scenario SOAP -> PI -> RFC where an RFC in particular have as Input Message the RFC_name, as Output Message the RFC_name.Response but it also have the RFC_name.Exception.

I've added the RFC_name.Exception in the Fault Message Type at the Message Interface, but it doesn't have a tab for it to add an Message Mapping at the Interface Mapping. Is that the right way to add the RFC_name.Exception? I have to create an Fault Message Type for it also?

Here is the structure of the RFC_name.Exception:












The normal execution of the RFC is working as it was expected, but when an RFC exception is raised, the PI returns the error NO_MAPPINGPROGRAM_FOUND to the SOAP message. (For this test I have just added the RFC_name.Exception to the Fault Message Type at the Message Interface an don't create anything else).

What is the right way to map the RFC_name.Exception so that it's returned to the SOAP Adapter also?


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 18, 2012 at 08:44 PM

    In the target structure for RFC you will have request, response and fault message. Similarly you need to have for soap request,response and fault message. You need to do three mappings as follows.

    Sender side you need to create fault message.

    Soap(sender) Req to RFC Req, SOAP(sender) Resp to RFC Resp, SOAP fault message to RFC fault message. 

    After you complete three mappings, in the Interface mapping you will find three mapping programs.

    refer this blog

    Also check this thread

    Hope that helps.

    Add comment
    10|10000 characters needed characters exceeded