Skip to Content
author's profile photo Former Member
Former Member

How to use the exceptions in a RFC ?

I can use XI (through BPM) to call a RFC and get response from the "Export" of a RFC. But could I get the exception from the "exception" of a RFC ?

I tried to write a RFC which will generate a exception and I found it in the XI monitor, but how to use it ? i.e. sometimes I need to get the "export", but sometimes I need to get "exception". Is there any documents or examples for it ? thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2007 at 08:13 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2007 at 08:28 AM

    ps: I can use Fault message to get the exception from RFC, but I just don't know how to use it to reply this exception to other systems.

    This is my scenario:

    AP1 -> MQ -> XI -> SAP R3

    I want to reply the exception to AP1 through MQ.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 08, 2007 at 10:44 AM

    I guess in CCBPM you can handle it through an exception branch of the block and throwing the relevant alert from a control step.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2007 at 07:54 AM

    Thanks all of you, current status is.

    I use a BPM and a "Fault Message Type", it's ok to send the exception of the RFC to the fault message type, but I cannot create a message interface to use the fault message type. Because I need to send a reply message to other system, I think I need to do a transformation in BPM, but I cannot do it. Is there any suggestion ?

    This is my fault message:

    <?xml version="1.0" encoding="UTF-8"?>

    http://com.my/myapp">

    <standard>

    <faultText>PRODUCTION_ORDER_NOT_FIND</faultText>

    <faultUrl>Interface data structure</faultUrl>

    </standard>

    </ns1:MyException>

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.