cancel
Showing results for 
Search instead for 
Did you mean: 

SAP to HTTP Scenario : Error when determining the receiver

praveen_pillai3
Explorer
0 Kudos

Hi

We have an SAP to HTTP scenario where the receiver is determined by Java Mapping. We are using user defined functions to access a thirdparty database for identifying the actual receiver. I able able to test the Interface/Message Mapping in the reporistory without any error, however it is not displaying much details as I expected. When we send an IDOC from SAP the Scenario Fails with the following error

 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
- <!--  Receiver Identification 
  --> 
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
  <SAP:Category>XIServer</SAP:Category> 
  <SAP:Code area="RCVR_DETERMINATION">CX_RD_PLSRV</SAP:Code> 
  <SAP:P1>Problem while determining receivers using interface mapping:
 com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application 
mapping com/sap/xi/tf/_USCC_INVOIC_TO_SAP_BASIS_Receivers~: 
RuntimeException in Message-Mapping transformatio~</SAP:P1> 
  <SAP:P2 /> 
  <SAP:P3 /> 
  <SAP:P4 /> 
  <SAP:AdditionalText /> 
  <SAP:ApplicationFaultMessage namespace="" /> 
  <SAP:Stack>Error when determining the receiver: Problem while determining receivers using interface mapping: com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_USCC_INVOIC_TO_SAP_BASIS_Receivers~: RuntimeException in Message-Mapping transformatio~ Problem while determining receivers using interface mapping: com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_USCC_INVOIC_TO_SAP_BASIS_Receivers~: RuntimeException in Message-Mapping transformatio~ com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_USCC_INVOIC_TO_SAP_BASIS_Receivers~: RuntimeException in Message-Mapping transformatio~</SAP:Stack> 
  <SAP:Retry>M</SAP:Retry> 
  </SAP:Error>

I tried testing the mapping with the payload and it says

12:31:33 Start of test

Executed successfully

12:31:33 End of test

I would appreciate if any one could plesae shed some light on this issue and help me figure out what the actual reason for this error is.

Ps: Is there any easy way of tracing the flow of the message through the Mapping?

Help much appreciated.

Thanks and Advance

Prav

Accepted Solutions (0)

Answers (3)

Answers (3)

praveen_pillai3
Explorer
0 Kudos

Hi

Thanks for the response. The trace level was set to all, but still i was getting that message. The screenshot I show is using the values from the QA environment thatswhy its in error.

Is there is setting on the J2EE server for changing the trace level,like a profile or something?

Thanks

Prav

bhavesh_kantilal
Active Contributor
0 Kudos

Hi

Go to SXMb_ADM --> Specific Configuration and then TRACE_LEVEL --> Make it 3 for the highest trace.

Check this blog,

/people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni

Regards,

Bhavesh

praveen_pillai3
Explorer
0 Kudos

Hi Smitha

Thanks for the quick response.. I did try testing the Map using the Payload data, but the result i got was bit different from what I got in a different environment.

When I do the test on Dev environment I get this output.

<a href="http://img227.imageshack.us/my.php?image=x1del6.jpg">Dev Environment</a>

When I do the test on QA environment I get this output.

<a href="http://img86.imageshack.us/my.php?image=x1cvw3.jpg">Test Environment</a>

Is there anything that i need to turn on to see a detailed message like the Dev env?

Thanks

Prav

Former Member
0 Kudos

Hi,

The trace level is set to different values in your dev and qa environment and hence the difference.

In your message mapping editor, go to the test tab. Next to the execute button, you will find a trace entry;set that to All. By default, the trace is set to warning.

Further, the message in your dev box, confirms that you haven't specified proper values(most of the values are null) in the source message, and hence the output is not as expected.

Regards,

Smitha.

Former Member
0 Kudos

Hi,

Are you getting the expected values when you test this mapping in the message mapping editor?

If yes, then try carrying out this mapping in the editor, with the payload from sxi_monitor.

Regards,

Smitha.