Skip to Content
avatar image
Former Member

Error during Mapping

Hello,

My XI 2.0 scenario :

Flat file => File adapter => XI => IDoc adapter => SAP 4.7

The File adapter reads the file successfully & passes to the Integration Server. In XI XML message monitor (SXMB_MONI), I'm getting the following error ...

====================

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Request Message Mapping

-->

- http://sap.com/exchange/MessageFormat">

<SAP:Context />

<SAP:Code p1="Error during mapping" p2="--- Creating Java mapping com.sap.xi.tf._R_MsgMap_1_ --- Using MappingResolver with context URL /sapmnt/XID/global/xi/mapping/http%3A%2F%2FABCXYZ%2Ecom%2Fxi%2FDev%2F/bc52cef0be3411d8b277cade640701c6/ --- Load of com/sap/xi/tf/_MsgMap_1_.class from /sapmnt/XID/global/xi/mapping/http%3A%2F%2FABCXYZ%2Ecom%2Fxi%2FDev%2F/bc52cef0be3411d8b277cade640701c6/ failed. --- Class not found: com.sap.xi.tf._MsgMap_1_ --- java.lang.ClassNotFoundException at RUMappingJava.load(): Could not load class: com.sap.xi.tf._MsgMap_1_ Class not found: com.sap.xi.tf._MsgMap_1_ --- com.sap.aii.ibrun.server.map.MappingRuntimeException: at com.sap.aii.ibrun.server.map.MappingRuntimeException.code_STYLESHEET_OR_CLASS_NOT_FOUND(MappingRuntimeException.java:91) at com.sap.aii.ibrun.server.map.RUMappingJava.load(RUMappingJava.java:119) at com.sap.aii.ibrun.server.map.RUMappingJava.execute(RUMappingJava.java:40) at com.sap.aii.ibrun.server.map.RURunner.run(RURunner.java:58) at com.sap.aii.ibrun.server.map.RUManager.run(RUManager.java:66) at com.sap.aii.ibrun.sbeans.map.MappingRequestHandler.handleRequest(MappingRequestHandler.java:62) at com.sap.aii.ibrun.sbeans.map.MappingServiceImpl.processFunction(MappingServiceImpl.java:72) at com.sap.aii.ibrun.sbeans.map.XMappingServiceObjectImpl0.processFunction(XMappingServiceObjectImpl0.java:24) at com.sap.aii.ibrun.sbeans.map.MappingServiceKey.processFunction(MappingServiceKey.java:10) at java.lang.reflect.Method.invoke(Native Method) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.invokeBean(RFCDefaultRequestHandler.java:73) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:47) at com.inqmy.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:69) at com.sap.mw.jco.JCO$Server.dispatchRequest(Unknown Source) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(Unknown Source) at com.sap.mw.jco.JCO$Server.listen(Unknown Source) at com.sap.mw.jco.JCO$Server.run(Unknown Source) at java.lang.Thread.run(Thread.java:479) ---" p3="" p4="">MAPPING.GENERIC</SAP:Code>

<SAP:Text language="EN">Error during mapping</SAP:Text>

</SAP:ErrorHeader>

====================

MsgMap_1 is the Message Mapping defined - mapping the flat file structure to the IDoc structure.

Do I have to do more than just create the Message Mapping in the Integration Repository ? In the Integration Directory, the Interface Mapping (from Repository) is used.

Any help is greatly appreciated.

Regards,

Homiar.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 08, 2004 at 11:23 PM

    Hi Homiar,

    Need a little more detail.

    The directory points to the interface mapping.

    The Interface mapping points to the message mapping.

    What type of message mapping are you using?

    - Graphical mapping.

    - XSLT.

    - Java.

    - Abap.

    The main problem is "java.lang.ClassNotFoundException"

    Do other mappings work in your system?

    Jason

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Jason,

      Appreciate your help.

      The Message Mapping is Graphical.

      There was a problem with the flat file (outbound into XI) structure. After I corrected the structure (flat file format in Data Type), the error disappeared.

      Thanx & Regards,

      Homiar.