Skip to Content
avatar image
Former Member

Generating the response XML file in case of any error in FileRFCFile usecas

Hi,

Our scenario is File-RFC-File implemented using BPM in XI3.0 with SP16.

We need to generate an response XML file even in case of any error from end to end.

End to End means from when the XI picks the XML file and uploads to SAP and returns the response XML file. In case of an error in this case, we need to generate the response XML file .

Please suggest all the options which is possible for our case(FileRFCFile using

BPM) and system XI 3.0 with SP16.

Waiting for your precious inputs.

Thanks,

Ramesh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 05, 2007 at 06:28 AM

    Hi Ramesh,

    Normally you can check for error and send a response back in BPM with the help of Exception Handling.

    I guess we can provide more input if u can elaborate a bit on your problem

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 05, 2007 at 06:53 AM

    Hi Ramesh,

    Please have a look at <a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit Seth's Blog</a> dealing with the same scenario as yours.

    For capturing the error structure of the error, you can do one thing:

    Send an erroneous message that will create an exception in the RFC. The corresponding message will show red status in SXMB_MONI. Go to the message contents and you will see the message structure that is used to convey exceptions to XI. You can define a data type according to this structure and use it in message mapping. Then you will be able to capture the error file also.

    The error format that we received while working with a custom RFC is attached below:

    <rfc:ZRFC.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

    <Name>RFC_ERROR_SYSTEM_FAILURE</Name>

    <Text>Syntax error in program SAPLV61A .</Text>

    <Message>

    <ID>RFC_ERROR_SYSTEM_FAILURE</ID>

    <Number>341</Number>

    </Message>

    <Attributes>

    <V1>SYNTAX_ERROR</V1>

    </Attributes>

    </rfc:ZRFC.Exception>

    Hope this helps!

    Regards,

    Amitabha

    P.S: I believe you want to capture the data for error reporting? For functional data inconsistency, you can always report from ABAP side.

    Add comment
    10|10000 characters needed characters exceeded