cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Lookup Error

Former Member
0 Kudos

Hi Team,

we have configured the RFC lookup in my scenario idoc--> file in PI  731 single stack and while execute the interafce, it shows follwoing error

Transmitting the message to endpoint <local> using connection IDoc_AAE_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.service.mapping.MappingException: Runtime Exception when executing application mapping program com/sap/xi/tf/_IDOC2FILE_; Details: com.sap.aii.mappingtool.tf7.MessageMappingException; Runtime exception when processing target-field mapping /ns0:Data_Update; root message: Exception:[java.lang.NullPointerException: while trying to invoke the method com.sap.aii.mapping.lookup.Payload.getContent() of an object loaded from local variable '<18>'] in class com.sap.xi.tf._IDOC2FILE_ method get_SequenceNo[ERPPI, com.sap.aii.mappingtool.tf7.rt.Context@4123a456]

we have configured RFC receiver channel for look up and is green.

can you please help me to solve this issue.

Regards,

prasanth

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Prasanth,

That seems like a data issue in the mapping. It seems to be returning a null value.

Get the xml and test it in the mapping. Maybe also debug it in ABAP.

Regards,

Jannus Botha

iaki_vila
Active Contributor
0 Kudos

Hi Prasanth,

The error seems to be in the mapping itself. Check first in the monitoring that the payload is the expected. Take this payload and try to check in the Message Mapping test tab.

Have you a UDF called get_SequenceNo?, check it as well.

Regards.