cancel
Showing results for 
Search instead for 
Did you mean: 

Error in abap mapping

mrudularane
Explorer
0 Kudos

Hello Experts ,

We are having SOAP to RFC synchronous scenario , in which we are trying abap mapping for the first time . We have created class in PI and used in request of operation mapping . But we are getting below error in SXMB_MONI as missing namespace .

com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.adapter.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declaration(2)

I think abap mapping code is not able to generate required namespace, hence giving error .

Kindly suggest.

Regards ,

Mrudula

Accepted Solutions (0)

Answers (2)

Answers (2)

vinaymittal
Contributor
0 Kudos

Class needs to be created in ECC not in PI

Regarding the namespace it doesnt matter because in response mapping (RFC to SOAP) RFC will poppulate its structure in the Response RFC MT from where you can add the namespace on the target SOAP MT or even in SOAP_response DT

engswee
Active Contributor
0 Kudos

IMHO ABAP mappings should be avoided for new interface developments as SAP's roadmap for PI/PO is heading to Java only. Eventually these ABAP mappings will have to be replaced one day, so better to not create new ones.