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

Getting information from SOAP call in R/3 using RFC adapter

I have following scenario:

R/3 (RFC) > XI (SOAP) > WebService

I want to know within the R/3 if the call to the webservice fails (Server not available, etc), that there is a problem.

Is there any exception code or way to fill the exception with a return code? I have tried to map a exception, but it will only be created, if the WS-Application creates the exception not if an error occurs in XI or the AF.

Best regards

Helmut

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 09, 2005 at 06:52 PM

    You can capture exception from R/3 and send it to external WebService. You need to add a Module to your SOAP Communication Channel:

    Module Key: SOAP

    Parameter Name: XI.SendMode , value = http

    Module Key: SOAP

    Parameter Name: XI.TargetURL , value = http://XXX(your url to the XI engine)

    Module Key: SOAP

    Parameter Name: XI.User , value = <username>

    Module Key: SOAP

    Parameter Name: XI.Password , value = <password>

    Once you do this you can get R/3 Exceptions passed to your w/s.

    Thanks

    Ashish

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hallo Ashish,

      my problem is different. The caller ist the R/3. Here, a Call Function calls a webservice thru XI. Passing the exceptions, thrown from the webservice back to R/3 should not be the problem, therefor I will you an exception mapping.

      But in case the communication to the Webservice fails, I want to give back the information back to caller, the R/3 and want to get back a sy-subrc <> 0.

      Best regards

      Helmut

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.