cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP to RFC synchronous scenario Issue

Former Member
0 Kudos

Hi Folks,

Currently I'm working on a HTTP to RFC synchronous scenario. Everything went well till i triggered the message. While triggering the message i'M GETTING IS AS BELOW

Result:

http-Status: 500 Internal Server Error

Payload:

<SAP:Error>

<SAP:Category>Application</SAP:Category>

<SAP:Code>MAPPING.EXCEPTION_DURING_EXECUTE</SAP:Code>

<SAP:P1>com/sap/xi/tf/_MM_Comcode_</SAP:P1>

<SAP:P2>java.lang.NullPointerException</SAP:P2>

<SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_MM_Comcode_: </SAP:Stack>

</SAP:Error>

I also tried executting the message testing tool to see the trace and the below result I got

<?xml version="1.0" encoding="iso-8859-1" ?>

- <Top>

<First>BeginTrace</First>

<Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>

<Trace level="2" type="T">......attachment XI_Context not found</Trace>

<Trace level="3" type="T">Mapping is determined</Trace>

<Trace level="1" type="T">Interface Mapping http://www.http-rfc.com IM_Comdet</Trace>

<Trace level="3" type="T">Object ID of Interface Mapping CA9DBC0BCB27311FBAA3C4CE387CEC3B</Trace>

<Trace level="3" type="T">Version ID of Interface Mapping 226C2EB123A711DFC0F4FAEBC0A80020</Trace>

<Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_MM_Comcode_</Trace>

<Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>

<Trace level="2" type="T">Mode 3</Trace>

<Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_Comcode_.</Trace>

<Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_Comcode_</Trace>

<Trace level="2" type="T">Java mapping com/sap/xi/tf/_MM_Comcode_ completed. (executeStep() of com.sap.xi.tf._MM_Comcode_</Trace>

<Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>

<Trace level="1" type="E">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>

</Top>

But still I'm not able resolve this issue kindly help.

Regards,

Santosh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Looks like there is some mapping problems ,may be the RFC connection is not properly configured .Here is the link to configure the connection between ECC and PI :

http://wiki.sdn.sap.com/wiki/display/XI/ConnectionSettingsbetweenECCandPIsystem

May be there is no value retrieved from the ECC system so it is saying null value.

For proper configuration check you can refer the following blog:

/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit

I am a beginner so not the full answer is there but may be this would help you.

Regards

Ravi Anand