Skip to Content
0
Dec 13, 2006 at 12:33 PM

SAP to HTTP Scenario : Error when determining the receiver

15 Views

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