Runtime Mapping Transformation Error

Hi Experts,
I am doing a file to idoc scenario in which the sender system is MDM and the Idocs are to be received in the R/3 system.
I have generated XSD from the IDOC itself , that is MATMAS05 and used it as the source structure by importing in External Definition and the targer is of course the Idoc.
In SXMB_MONI i get the Runtime Mapping Transformation error. What can be the reason for this.I read somewhere that the XSD and the xml file that is being picked might have different structures.
But i checked and they are same.
Only the problem can be with the encoding part.
In the XML structure of the Idoc , it is UTF-8 and also after exporting it to file it is UTF-8. But after importing it in the External Definition,it becomes ISO-8859-1 and we are unable to change it.
Also, the xml file that is given from the MDM system has encoding as UTF-8.
Kindly help.
Thanks in Advance.
-Shweta.

Hi,
1) check out imported xsd is correct , valid. Hope while importing you have used Type as "XSD" and then after importing, check out the messages tab to know this
2) In the mapping, did you map all the madatory fields ? like some of the attributes like BEGIN? For this BEGIN attribute map with constant value. also check all the mandatory nodes/fields
3) check the mapping in the mapping editor independently in Repository by picking the input xml from the SXMB_MONI. So that you can test the mapping
Hope this will solve the mapping problem. btw, it is prefer to have exact error posted here.
Regards, Moorthy

Similar Messages

  • Runtime Mapping Transformation Eror in SXMB_MONI

    Hi All,
    I am facing a peculiar situation,
    My Scenario is 1:N without Using BPM... File to 3 Files scenario
    source : XSD Delvry
    Targetr : XSD File1, XSD File2, XSD File3 (ALL XSDs imported as External definition)
    I have done all the necessary steps correctly,
    <b>Also i have Tested the mapping part and it was successfull, and even i have taken the xml from SXMB_MONI and tested it, it is also working fine</b>....
    Now when i send the same xml file i am getting <b>RuntimeException in Message-Mapping transformatio</b> and when i checked the namespace and receiver interface namespace and Receiver Interface
    Sender side every thing is fine but at the receiving side the name space is
    <b>htt://sap.com/xi/XI/System</b> ...
    Receiver Interface is shown as Interface Collection
    why the Namespace  is showing differently i dont undertstand , even though it is showing the Receiver service correctly but namespace is not taking properly...
    Does this corresponds the above runtime Error?
    <b>Please give u r valuable suggestions</b>
    Thanks and Regards,
    sridhar

    Hi Bhavesh,
    Thaks for immediate response,
    I have to create target file1, but for the file2 and file3 only one of them will be created, and in mapping i tested it was giving file1 and file3,
    could please give suggestion if any thing further to be done?
    Note: File 2 and File3 occurences are 0...99999
    i have created 3 communication channels for all the files and also three interfaces in Interface determination ... should i do something more in order to stop 2nd or 3rd file in Receiver determination condition editor?
    Thanks and Regards,
    sridhar

  • Mapping transformation error

    I am getting following error in runtime analysis while i am trying to receive data through file adapter :
    com.sap.aii.utilxi.misc.api.BaseRuntimeExceptio
    thrown during application mapping
    com/sap/xi/tf/_abb2_mm_: RuntimeException in
    Message-Mapping transformatio~

    Hi,
    The XML is not well formed... what is the type of mapping that you are usingmake sure it is done properly.. check out the bold below
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:sr_mt xmlns:ns="http://abb2.com">
    - <STUDENTS>
    - <STUDENT>
    <b><NAME><?xml version="1.0" encoding="UTF-8"?></NAME></b>
    </STUDENT>
    - <STUDENT>
    <b><NAME><ns0:sr_mt xmlns:ns0="http://abb2.com"></NAME></b>
    </STUDENT>
    - <STUDENT>
    <b><NAME><source></NAME></b>
    </STUDENT>
    - <STUDENT>
    <NAME><NAME>100</NAME></NAME>
    </STUDENT>
    - <STUDENT>
    <b><NAME><AGE/></NAME></b>
    </STUDENT>
    - <STUDENT>
    <NAME><COURSE>eee</COURSE></NAME>
    </STUDENT>
    - <STUDENT>
    <NAME><FEES>223</FEES></NAME>
    </STUDENT>
    - <STUDENT>
    <b><NAME></source></NAME></b>
    </STUDENT>
    - <STUDENT>
    <b><NAME></ns0:sr_mt></NAME></b>
    </STUDENT>
    </STUDENTS>
    </ns:sr_mt>
    I would say the whole XML is not proper...
    Regards,
    Prakash

  • Message Mapping Transformation error in E-filing GB

    Hi All,
    I am running the E-filing GB interface and at the Message mapping I get Process Error:
    The source structure, target structure, or a function library has been changed or could not be found in the Enterprise Services Repository. The mapping definition contains elements or attributes that do not exist in the changed structure, or functions that were changed in a function library. The relevant entries will be deleted.
    Node with path /ns0:GovTalkMessage/ns0:Body/ns1:IRenvelope/ns1:EndOfYearReturn/ns1:P14/ns1:NICs/ns1:Earn/ns1:ETtoUEL not found in source structure Node with path /ns0:GovTalkMessage/ns0:Body/ns1:IRenvelope/ns1:EndOfYearReturn/ns1:P14/ns1:NICs/ns1:Earn/ns1:ETtoUEL/@Currency not found in source structure
    I have already tested a few steps like:
    1. We have applied the latest patch to E-filing GB. This did not help solve the problem.
    2. Tested the Message Mapping. No error at Message Mapping.
    Is there anything we are missing out on?? Please suggest.
    Thanks,
    Shwetha

    Hi,
    for me its looks cache issue,did you changed structure of source and target ?? check your function liabraris code,it is valid or not.
    Regards,
    Raj

  • Message-Mapping transformation Error(Soap - XI - SAP)

    Hi
    We have a sceanio
    Soap <-> XI <-> SAP
    We could see the RFC return message from SAP but while trasforming that message to SOAP response ,we are getting the following error. We have manually run the response mapping program, it is executing fine.
    <SAP:Stack>During the application mapping com/sap/xi/tf/_MM_GR_GetTODetails_Response_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
    Could anybody please help us.
    Thanks
    Ramesh

    Hi
    Thank you so much for your promt responses. I could get great inputs from your responses.
    It is the problem with the RFC return message structure. In one of the segment it was defined mandatory but the RFC is not populating that segment data.
    Appreciate your help.
    Warm Regards
    Ramesh

  • Message mapping transformation error for RFC calls

    Hi,
    I am having a weird problem. recently client migrated the server and we started getting all possible errors in XI which we are able to fix. Now we have a strange problem in quality system alone where the bapi calls are made from QA11 and MIGO. The bapi call from MIGO is sucessfull but from QA11 it fails with below error
    com.sap.aii.utilxi.misc.api.BaseRuntimeException
    thrown during application mapping
    com/sap/xi/tf/_MP_RFC_PROXY_GOODS_RECEIPT_:
    RuntimeException in Message-Mapping transformatio~
    I checked in development system and production where it is sucessfull but in quality its failing. I checked the cache and refreshed for confirmation and checked the trace and log files but couldt find any solution. The call made from a test report is also sucesfull but only bapi calls from QA11 are failing.
    Note: i am using same bapi in MIGO and QA11 and the integration is same as well. There is no difference in data between 2 transaction just the trigerring point is differenct.
    I tested my message mapping, interface mapping and configuration as well with sample payload and they are working fine.
    I checked SDN and saw that similar issue is faced by others but no solution is provided.
    Regards,
    Jayaram
    Edited by: JAYARAM MAGANTI on Jun 9, 2009 1:14 PM

    Hi all,
    Has anyone ever faced this issue?
    i tried all the options that i think of and as a last attempt even restarted XI engine though it makes no sense. but still i am having the same issue.
    If anyone had come across similar kindly update the solution
    Jayaram

  • MATMAS mapping transformation error

    Scenario: IDOC to File
    Idoc is sent successfully. But in SXMB_MONI am getting this error: RuntimeException in Message-Mapping transformatio
    How can I rectify that.
    Thanks
    Kiran

    below is my XSD which is imported into PI system.
    Please advise now.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="ZEIVR">
              <xs:complexType />
         </xs:element>
         <xs:element name="ZEINR">
              <xs:complexType />
         </xs:element>
         <xs:element name="ZEIFO">
              <xs:complexType />
         </xs:element>
         <xs:element name="ZEIAR">
              <xs:complexType />
         </xs:element>
         <xs:element name="WRKST">
              <xs:complexType />
         </xs:element>
         <xs:element name="WESCH">
              <xs:complexType />
         </xs:element>
         <xs:element name="VPSTA">
              <xs:complexType />
         </xs:element>
         <xs:element name="VOLTO">
              <xs:complexType />
         </xs:element>
         <xs:element name="VHART">
              <xs:complexType />
         </xs:element>
         <xs:element name="TEMPB">
              <xs:complexType />
         </xs:element>
         <xs:element name="STOFF">
              <xs:complexType />
         </xs:element>
         <xs:element name="STFAK">
              <xs:complexType />
         </xs:element>
         <xs:element name="SPRAS_ISO">
              <xs:complexType />
         </xs:element>
         <xs:element name="SPRAS">
              <xs:complexType />
         </xs:element>
         <xs:element name="SLED_BBD">
              <xs:complexType />
         </xs:element>
         <xs:element name="SERLV">
              <xs:complexType />
         </xs:element>
         <xs:element name="SATNR">
              <xs:complexType />
         </xs:element>
         <xs:element name="SAISO">
              <xs:complexType />
         </xs:element>
         <xs:element name="RMATP">
              <xs:complexType />
         </xs:element>
         <xs:element name="RDMHD">
              <xs:complexType />
         </xs:element>
         <xs:element name="RBNRM">
              <xs:complexType />
         </xs:element>
         <xs:element name="RAUBE">
              <xs:complexType />
         </xs:element>
         <xs:element name="QMPUR">
              <xs:complexType />
         </xs:element>
         <xs:element name="PRZUS">
              <xs:complexType />
         </xs:element>
         <xs:element name="PRDHA">
              <xs:complexType />
         </xs:element>
         <xs:element name="NORMT">
              <xs:complexType />
         </xs:element>
         <xs:element name="MSTDV">
              <xs:complexType />
         </xs:element>
         <xs:element name="MSTDE">
              <xs:complexType />
         </xs:element>
         <xs:element name="MSTAV">
              <xs:complexType />
         </xs:element>
         <xs:element name="MSTAE">
              <xs:complexType />
         </xs:element>
         <xs:element name="MSGFN">
              <xs:complexType />
         </xs:element>
         <xs:element name="MPROF">
              <xs:complexType />
         </xs:element>
         <xs:element name="MHDRZ">
              <xs:complexType />
         </xs:element>
         <xs:element name="MHDLP">
              <xs:complexType />
         </xs:element>
         <xs:element name="MHDHB">
              <xs:complexType />
         </xs:element>
         <xs:element name="MFRPN">
              <xs:complexType />
         </xs:element>
         <xs:element name="MFRNR">
              <xs:complexType />
         </xs:element>
         <xs:element name="MATNR">
              <xs:complexType />
         </xs:element>
         <xs:element name="MATMAS05">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="IDOC" />
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="MATFI">
              <xs:complexType />
         </xs:element>
         <xs:element name="MAKTX">
              <xs:complexType />
         </xs:element>
         <xs:element name="MAGRV">
              <xs:complexType />
         </xs:element>
         <xs:element name="LVORM">
              <xs:complexType />
         </xs:element>
         <xs:element name="LAEDA">
              <xs:complexType />
         </xs:element>
         <xs:element name="KZKFG">
              <xs:complexType />
         </xs:element>
         <xs:element name="KZEFF">
              <xs:complexType />
         </xs:element>
         <xs:element name="KUNNR">
              <xs:complexType />
         </xs:element>
         <xs:element name="IPRKZ">
              <xs:complexType />
         </xs:element>
         <xs:element name="IDOC">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="E1MARAM" maxOccurs="unbounded" />
                   </xs:sequence>
                   <xs:attribute name="BEGIN" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:byte">
                                  <xs:enumeration value="1" />
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="GTIN_VARIANT">
              <xs:complexType />
         </xs:element>
         <xs:element name="GEWTO_NEW">
              <xs:complexType />
         </xs:element>
         <xs:element name="GEWTO">
              <xs:complexType />
         </xs:element>
         <xs:element name="GENNR">
              <xs:complexType />
         </xs:element>
         <xs:element name="FUELG">
              <xs:complexType />
         </xs:element>
         <xs:element name="FORMT">
              <xs:complexType />
         </xs:element>
         <xs:element name="ETIFO">
              <xs:complexType />
         </xs:element>
         <xs:element name="ETIAR">
              <xs:complexType />
         </xs:element>
         <xs:element name="ERSDA">
              <xs:complexType />
         </xs:element>
         <xs:element name="ERNAM">
              <xs:complexType />
         </xs:element>
         <xs:element name="ERGEW">
              <xs:complexType />
         </xs:element>
         <xs:element name="ERGEI">
              <xs:complexType />
         </xs:element>
         <xs:element name="EKWSL">
              <xs:complexType />
         </xs:element>
         <xs:element name="E1MARAM">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="MSGFN" />
                        <xs:element ref="MATNR" />
                        <xs:element ref="ERSDA" />
                        <xs:element ref="ERNAM" />
                        <xs:element ref="LAEDA" />
                        <xs:element ref="AENAM" />
                        <xs:element ref="LVORM" />
                        <xs:element ref="ZEINR" />
                        <xs:element ref="ZEIAR" />
                        <xs:element ref="ZEIVR" />
                        <xs:element ref="ZEIFO" />
                        <xs:element ref="AESZN" />
                        <xs:element ref="BLATT" />
                        <xs:element ref="BLANZ" />
                        <xs:element ref="FORMT" />
                        <xs:element ref="WRKST" />
                        <xs:element ref="NORMT" />
                        <xs:element ref="EKWSL" />
                        <xs:element ref="BEHVO" />
                        <xs:element ref="RAUBE" />
                        <xs:element ref="TEMPB" />
                        <xs:element ref="STOFF" />
                        <xs:element ref="KUNNR" />
                        <xs:element ref="WESCH" />
                        <xs:element ref="BWVOR" />
                        <xs:element ref="BWSCL" />
                        <xs:element ref="SAISO" />
                        <xs:element ref="ETIAR" />
                        <xs:element ref="ETIFO" />
                        <xs:element ref="PRDHA" />
                        <xs:element ref="CADKZ" />
                        <xs:element ref="ERGEW" />
                        <xs:element ref="ERGEI" />
                        <xs:element ref="GEWTO" />
                        <xs:element ref="VOLTO" />
                        <xs:element ref="KZKFG" />
                        <xs:element ref="VHART" />
                        <xs:element ref="FUELG" />
                        <xs:element ref="STFAK" />
                        <xs:element ref="MAGRV" />
                        <xs:element ref="BEGRU" />
                        <xs:element ref="QMPUR" />
                        <xs:element ref="RBNRM" />
                        <xs:element ref="MHDRZ" />
                        <xs:element ref="MHDHB" />
                        <xs:element ref="MHDLP" />
                        <xs:element ref="VPSTA" />
                        <xs:element ref="MSTAE" />
                        <xs:element ref="MSTAV" />
                        <xs:element ref="MSTDE" />
                        <xs:element ref="MSTDV" />
                        <xs:element ref="MFRPN" />
                        <xs:element ref="MFRNR" />
                        <xs:element ref="BMATN" />
                        <xs:element ref="MPROF" />
                        <xs:element ref="COMPL" />
                        <xs:element ref="KZEFF" />
                        <xs:element ref="RDMHD" />
                        <xs:element ref="IPRKZ" />
                        <xs:element ref="PRZUS" />
                        <xs:element ref="GEWTO_NEW" />
                        <xs:element ref="AENNR" />
                        <xs:element ref="MATFI" />
                        <xs:element ref="CMREL" />
                        <xs:element ref="SATNR" />
                        <xs:element ref="SLED_BBD" />
                        <xs:element ref="GTIN_VARIANT" />
                        <xs:element ref="GENNR" />
                        <xs:element ref="SERLV" />
                        <xs:element ref="RMATP" />
                        <xs:element ref="E1MAKTM" />
                   </xs:sequence>
                   <xs:attribute name="SEGMENT" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:byte">
                                  <xs:enumeration value="1" />
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="E1MAKTM">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="MSGFN" />
                        <xs:element ref="SPRAS" />
                        <xs:element ref="MAKTX" />
                        <xs:element ref="SPRAS_ISO" />
                   </xs:sequence>
                   <xs:attribute name="SEGMENT" use="required">
                        <xs:simpleType>
                             <xs:restriction base="xs:byte">
                                  <xs:enumeration value="1" />
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:attribute>
              </xs:complexType>
         </xs:element>
         <xs:element name="COMPL">
              <xs:complexType />
         </xs:element>
         <xs:element name="CMREL">
              <xs:complexType />
         </xs:element>
         <xs:element name="CADKZ">
              <xs:complexType />
         </xs:element>
         <xs:element name="BWVOR">
              <xs:complexType />
         </xs:element>
         <xs:element name="BWSCL">
              <xs:complexType />
         </xs:element>
         <xs:element name="BMATN">
              <xs:complexType />
         </xs:element>
         <xs:element name="BLATT">
              <xs:complexType />
         </xs:element>
         <xs:element name="BLANZ">
              <xs:complexType />
         </xs:element>
         <xs:element name="BEHVO">
              <xs:complexType />
         </xs:element>
         <xs:element name="BEGRU">
              <xs:complexType />
         </xs:element>
         <xs:element name="AESZN">
              <xs:complexType />
         </xs:element>
         <xs:element name="AENNR">
              <xs:complexType />
         </xs:element>
         <xs:element name="AENAM">
              <xs:complexType />
         </xs:element>
    </xs:schema>

  • Run time error during message mapping transformation

    Hello,
          i created a scenario and tried to execute . i got this error .
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ZCRM_CRMXIF_ORDER_SAVE_M01/IDOC/BEGIN. The message is: Exception:[java.lang.RuntimeException: Error: Occurred in RFC Look UpPlain exception:Problem when calling an adapter by using communication channel RFC_Lookup_Receiver (Party: , Service: Test_ReceiverSystem, Object ID: 1772b13e46b93b99bca48e278463007d) Check whether the communication channel exists in the Integration Directory; also check the cache notifications for the instance Integration Server (central Adapter-Engine) Channel object with Id Channel:1772b13e46b93b99bca48e278463007d not available in CPA Cache. com.sap.aii.mapping.lookup.LookupException: Problem when calling an adapter by using communication channel RFC_Lookup_Receiver (Party: , Service: Test_ReceiverSystem, Object ID: 1772b13e46b93b99bca48e278463007d) Check whether the communication channel exists in the Integration Directory; also check the cache notifications for the instance Integration Server (central Adapter-Engine) Channel object with Id Channel:1772b13e46b93b99bca48e278463007d not available in CPA Cache. at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.<init>(AdapterProxyLocal.java:61) at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.getProxy(SystemAccessorInternal.java:98) at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.<init>(SystemAccessorInternal.java:38) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.getConnection(SystemAccessorHmiServer.java:270) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:70) at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169) at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:296) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211) at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) ] in class com.sap.xi.tf._XiameterBasicRegistration_MM_ method crmRfcLookUp$[, , , , Test_ReceiverSystem, , com.sap.aii.mappingtool.tf3.rt.Context@26dd0a50]
    can any one tel me wats going wrong ??

    The error shows that you are using business system and comm. channel in UDF for doing some processing. The error is because it is not able to locate the specified comm channel for the business sytem.
    please check if the comm. channel name and business system names are spelled correctly. Also you can try refreshing the CPA cache/ XI cache.

  • RuntimeException in Message-Mapping transformation: Runtime exception durin

    Hi Friends,
    Iam going test Message Mapping, i got the error like
      RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:LeapIndent_R3_MT/Recordset/RowData/QTY_TNS. The message is: Exception:[java.lang.NumberFormatException: empty String] in class com.sap.aii.mappingtool.flib3.Arithm method formatNumber[, com.sap.aii.mappingtool.tf3.rt.Context@27f972cf]
    Pls help me ..
    Thanks & Regards,
    Nvr

    Hi Ravi,
      Thanks for ur reply, the problem is solved, the Date field is Mandaratory, they are not mention the data field, so that way the problem is coming.
    Thanks & Regards,
    NVR

  • Message Mapping error:  RuntimeException in Message-Mapping transformation

    Hi,
    Being new to XI, I am struglling to sort out a basic mapping error. Appreciate if you could help out.
    Its an File->XI->R/3 scenario.
    My FCC successfully reads the File and creates an XML. However this XML is not transferred to the target XML structure which is exactly same except the root element name is different at top.
    I tried various forum tips but I still am getting the error.
    ( When I Test the Message mapping in test mode..it seems fine, however if I copy the XML from SXMB_MONI, it then throws the above error)
    I looked at the MM in text mode: below is the extract
    /ns0:MT_REQUEST_TO_SAP/REQUEST_DETAILS/MSG_HEADER=/ns0:MT_REQUEST/REQUEST_DETAILS/MSG_HEADER=
    /ns0:MT_REQUEST_TO_SAP/REQUEST_DETAILS/MSG_HEADER/SOURCE=/ns0:MT_REQUEST/REQUEST_DETAILS/MSG_HEADER/SOURCE=
    /ns0:MT_REQUEST_TO_SAP/REQUEST_DETAILS/MSG_HEADER/DESTINATION=/ns0:MT_REQUEST/REQUEST_DETAILS/MSG_HEADER/DESTINATION=
    /ns0:MT_REQUEST_TO_SAP/REQUEST_DETAILS/MSG_HEADER/MESSAGE_ID=/ns0:MT_REQUEST/REQUEST_DETAILS/MSG_HEADER/MESSAGE_ID=
    As seen the name space in both starts with nS0 and end of each line has '=' sign. Is that ok.
    I have run out of options and dont know , whats the problem. Please help.
    The target and Source XML structures are exactly same as shown below
    MT_REQUEST                                 MT_REQUEST_TO_SAP
       |__MSG_HEADER                            |__MSG_HEADER  
         |__SOURCE                                |__SOURCE
         |__DESTINATION                           |__DESTINATION
         |__MESSAGE_ID                            |__MESSAGE_ID
    And the SXMB_MONI Trace shows the following error
    <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation:
    Cannot produce target element /ns0:MT_REQUEST_TO_SAP.
    Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at ..
    Thanks
    Shirin
    Edited by: Shirin K on May 29, 2008 10:29 AM

    Hi Prakasu,
    As structure are exactly same, I have done 1:1 mapping. So all the fields in target structure are mapped, so no field has beeen left.
    In this structure, I do not have any 1:n relation. So 1:1 mapping should be fine.
    Apart from this could teher be any other reason.
    Regards
    Rajiv

  • GUID FormatExceptionError in End to End Scenario at runtime, but no error in Message Mapping test

    Hi Friends
    My scenario is Idoc to RFC and , my mapping is working fine and executing successfully in the message map tab but , it is failing in the End to End case at runtime with GUIDFormatException error, can anyone please help on this , I have searched the forum and no proper or concrete answers are available , creating a separate or new channel is not an option.

    Hi,
    Check in which step you are receiving this error
    1st check in SXMB_MONI/trace
    2nd If the above is successful then check in rwb/comm channel monitoring/receiver rfc channel.
    Regards
    Venkat

  • JDBC Sender Error "RuntimeException in Message-Mapping transformation"

    Hi All,
    I have JDBC as sender and i am able to poll the data from the database,which is available in SXMB_MONI but its giving an error "RuntimeException in Message-Mapping transformation".I have tested the mapping in TEST and its working fine but when i tested the same in configuration its throwing an error in Interface mapping(<NOT FOUND>).
    I have also created a node <b>row</b> in my sender data type.
    Expecting your help soon.
    Thanks and regards,
    Zabi.

    Hi,
    Check the data  coming  inside..the XI... that is before mapping..
    Regards
    Agasthuri Doss

  • Runtime Mapping step throws error

    Good Morning All,
    Recently we migrgated our XI server from Windows to Linux environment. after migration,We tried to test our interfaces,
    No Interface are working, XI is getting the messages,In Runtime Mapping step it failed every interfaces due to error called "This program line cannot be accessed".
    We tested four scearnios ,Every interface failed due to error,Kindly please suggest how can I am going approach here.
    for your reference The trace error full description is:
    <Trace level="1" type="T">Interface Mapping SCM001A1_SA_REQSAPLOG_AND_SAPDATAINSERTREQ_to_SIE_PG_1E_SD_SAP_2_SCM_DB</Trace>
      <Trace level="1" type="T">This program line cannot be accessed</Trace>
      <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.UnreachableException: This program line cannot be accessed at com.sap.aii.ibrun.server.mapping.StampPersistor.getCurrentStamp(StampPersistor.java:118) at com.sap.aii.ibrun.server.mapping.StampPersistor.getCurrentStamp(StampPersistor.java:69) at com.sap.aii.ibrun.server.mapping.MappingPool$MappingStamp.getCurrentStamp(MappingPool.java:382) at com.sap.aii.ibrun.server.mapping.pool.SynchronizedGlobalStamp.getCurrentStamp(Pool.java:155) at com.sap.aii.ibrun.server.mapping.pool.Pool.checkOut(Pool.java:50) at com.sap.aii.ibrun.server.mapping.MappingPool.checkOut(MappingPool.java:52) at com.sap.aii.ibrun.server.mapping.JavaMapping.load(JavaMapping.java:91) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:45) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0_0.processFunction(MappingServiceObjectImpl0_0.java:131) at sun.reflect.GeneratedMethodAccessor277.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62) at java.lang.reflect.Method.invoke(Method.java:391) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy199.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62) at java.lang.reflect.Method.invoke(Method.java:391) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:107) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequestInternal(RFCJCOServer.java:113) at com.sap.engine.services.rfcengine.RFCJCOServer$ApplicationRunnable.run(RFCJCOServer.java:157) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:219) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)</Trace>
    Thank you very much,
    Regards,
    Sateesh

    Hi All,
    We raised the SAP call for this issue, They asked for the J2ee engine thread dump. We created the dump and sent to SAP people back. Now we are waiting the response from SAP people.
    Mean while, Here I am sharing you our XI server J2EE engine thread dump below, Please share your ideas about this thread dump.
    Unfortunately, here I am n't provide you the full thread dump. It was very huge.
    Thread Dump:
    stdout/stderr redirect
    node name   : server0
    pid         : 31861
    system name : XQ1
    system nr.  : 10
    started at  : Mon Mar 14 14:40:57 2011
    <?xml version="1.0" ?>
    <verbosegc version="200902_24">
    log4j:ERROR setFile(null,true) call failed.
    java.io.FileNotFoundException: /usr/sap/ccms/wily/logs/IntroscopeAgent.log (Permission denied)
         at java.io.FileOutputStream.openAppend(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:199)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:124)
         at com.wily.org.apache.log4j.FileAppender.setFile(Unknown Source)
         at com.wily.org.apache.log4j.RollingFileAppender.setFile(Unknown Source)
         at com.wily.introscope.agent.AutoNamingRollingFileAppender.setFile(AutoNamingRollingFileAppender.java:179)
         at com.wily.org.apache.log4j.FileAppender.activateOptions(Unknown Source)
         at com.wily.org.apache.log4j.config.PropertySetter.activate(Unknown Source)
         at com.wily.org.apache.log4j.config.PropertySetter.setProperties(Unknown Source)
         at com.wily.org.apache.log4j.config.PropertySetter.setProperties(Unknown Source)
         at com.wily.org.apache.log4j.PropertyConfigurator.parseAppender(Unknown Source)
         at com.wily.org.apache.log4j.PropertyConfigurator.parseCategory(Unknown Source)
         at com.wily.org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(Unknown Source)
         at com.wily.org.apache.log4j.PropertyConfigurator.doConfigure(Unknown Source)
         at com.wily.org.apache.log4j.PropertyConfigurator.configure(Unknown Source)
         at com.wily.util.feedback.backend.log4j.Log4JBackend.configureFromProperties(Log4JBackend.java:97)
         at com.wily.util.feedback.WilyLog4JConfigureAndWatchHelper.onChange(WilyLog4JConfigureAndWatchHelper.java:61)
         at com.wily.util.ConfigurationWatcher.addConfigurationListener(ConfigurationWatcher.java:147)
         at com.wily.util.feedback.AsynchFeedbackChannel.setConfiguration(AsynchFeedbackChannel.java:64)
         at com.wily.introscope.agent.enterprise.EnterpriseAgent.setAgentFeedbackConfiguration(EnterpriseAgent.java:551)
         at com.wily.introscope.agent.enterprise.EnterpriseAgent.loadLogConfiguration(EnterpriseAgent.java:513)
         at com.wily.introscope.agent.enterprise.EnterpriseAgent.doPostConstructionInitialize(EnterpriseAgent.java:201)
         at com.wily.introscope.agent.runtime.java.enterprise.Java2EnterpriseAgent.doPostConstructionInitialize(Java2EnterpriseAgent.java:32)
         at com.wily.introscope.agent.ACommonAgent.postConstructionInitialize(ACommonAgent.java:237)
         at com.wily.introscope.agent.AgentShim.doCreateDelegate(AgentShim.java:590)
         at com.wily.introscope.agent.AgentShim.createDelegate(AgentShim.java:501)
         at com.wily.introscope.agent.AgentShim.getDelegateAgent(AgentShim.java:471)
         at com.wily.introscope.agent.AgentShim.ProbeBuilderEntryPoint_initializeAgentShim(AgentShim.java:711)
         at com.wily.introscope.api.autoprobe.IntroscopeAutoProbeImpl.<init>(IntroscopeAutoProbeImpl.java:35)
         at com.wily.introscope.api.autoprobe.IntroscopeAutoProbeFactory.createIntroscopeAutoProbe(IntroscopeAutoProbeFactory.java:163)
         at com.wily.introscope.autoprobe.connector.AutoProbeConnector.internalLoadAutoProbeAdapter(AutoProbeConnector.java:135)
         at com.wily.introscope.autoprobe.connector.AutoProbeConnector.loadAutoProbeAdapter(AutoProbeConnector.java:155)
         at com.wily.introscope.autoprobe.connector.AutoProbeConnector.getAutoProbeAdapter(AutoProbeConnector.java:173)
         at com.wily.introscope.autoprobe.connector.AutoProbeConnector.addProbes(AutoProbeConnector.java:204)
         at java.lang.ClassLoader.defineClass(ClassLoader.java)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:147)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:477)
         at java.net.URLClassLoader.access$500(URLClassLoader.java:111)
         at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:849)
         at java.security.AccessController.doPrivileged(AccessController.java:279)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:373)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:627)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:593)
    <af type="nursery" id="18" timestamp="Mar 14 14:43:36 2011" intervalms="11997.910">
      <minimum requested_bytes="184" />
      <time exclusiveaccessms="0.107" />
      <nursery freebytes="0" totalbytes="313206784" percent="0" />
      <tenured freebytes="1650623016" totalbytes="1728053248" percent="95" >
        <soa freebytes="1564220968" totalbytes="1641651200" percent="95" />
        <loa freebytes="86402048" totalbytes="86402048" percent="100" />
      </tenured>
      <gc type="scavenger" id="18" totalid="18" intervalms="11999.543">
        <flipped objectcount="902865" bytes="77828496" />
        <tenured objectcount="43204" bytes="2969152" />
        <refs_cleared soft="130" weak="80" phantom="0" />
        <finalization objectsqueued="887" />
        <scavenger tiltratio="75" />
        <nursery freebytes="234315312" totalbytes="315141120" percent="74" tenureage="9" />
        <tenured freebytes="1646084472" totalbytes="1728053248" percent="95" >
          <soa freebytes="1559682424" totalbytes="1641651200" percent="95" />
          <loa freebytes="86402048" totalbytes="86402048" percent="100" />
        </tenured>
        <time totalms="40.434" />
      </gc>
      <nursery freebytes="234313264" totalbytes="315141120" percent="74" />
      <tenured freebytes="1646084472" totalbytes="1728053248" percent="95" >
        <soa freebytes="1559682424" totalbytes="1641651200" percent="95" />
        <loa freebytes="86402048" totalbytes="86402048" percent="100" />
      </tenured>
      <time totalms="42.493" />
    </af>
    ================================================================================
    JVMDUMP006I Processing Dump Event "user", detail "" - Please Wait.
    JVMDUMP032I JVM requested Java dump using '/usr/sap/XQ1/DVEBMGS10/j2ee/cluster/server0/javacore.20110316.130003.32060.0004.txt' in response to an event
    JVMDUMP010I Java Dump written to /usr/sap/XQ1/DVEBMGS10/j2ee/cluster/server0/javacore.20110316.130003.32060.0004.txt
    JVMDUMP013I Processed Dump Event "user", detail "".
    <af type="nursery" id="239" timestamp="Mar 16 13:01:58 2011" intervalms="263309.652">
      <minimum requested_bytes="56" />
      <time exclusiveaccessms="0.168" />
      <nursery freebytes="0" totalbytes="366089216" percent="0" />
      <tenured freebytes="1137630384" totalbytes="1728053248" percent="65" >
        <soa freebytes="1051228336" totalbytes="1641651200" percent="64" />
        <loa freebytes="86402048" totalbytes="86402048" percent="100" />
      </tenured>
      <gc type="scavenger" id="239" totalid="239" intervalms="263310.415">
        <flipped objectcount="328811" bytes="39659864" />
        <tenured objectcount="1662" bytes="236744" />
        <refs_cleared soft="2164" weak="5661" phantom="0" />
        <finalization objectsqueued="6154" />
        <scavenger tiltratio="87" />
        <nursery freebytes="326992280" totalbytes="368861184" percent="88" tenureage="14" />
        <tenured freebytes="1136712880" totalbytes="1728053248" percent="65" >
          <soa freebytes="1050310832" totalbytes="1641651200" percent="63" />
          <loa freebytes="86402048" totalbytes="86402048" percent="100" />
        </tenured>
        <time totalms="37.310" />
      </gc>
      <nursery freebytes="326990232" totalbytes="368861184" percent="88" />
      <tenured freebytes="1136712880" totalbytes="1728053248" percent="65" >
        <soa freebytes="1050310832" totalbytes="1641651200" percent="63" />
        <loa freebytes="86402048" totalbytes="86402048" percent="100" />
      </tenured>
      <time totalms="38.244" />
    </af>
    ================================================================================
    dump stack trace : Wed Mar 16 13:02:44 2011
    ================================================================================
    JVMDUMP006I Processing Dump Event "user", detail "" - Please Wait.
    JVMDUMP032I JVM requested Java dump using '/usr/sap/XQ1/DVEBMGS10/j2ee/cluster/server0/javacore.20110316.130244.32060.0005.txt' in response to an event
    JVMDUMP010I Java Dump written to /usr/sap/XQ1/DVEBMGS10/j2ee/cluster/server0/javacore.20110316.130244.32060.0005.txt
    JVMDUMP013I Processed Dump Event "user", detail "".
    Thank you,
    Sateesh

  • Runtime constant (Filename) errors out in BPM

    Hi,
    I have a BPMCollectTime scenario to collect the Source files. The filename (Message Mapping/Transformation) from the files is captured in TRANSFORM STEP(before sending them out from BPM). The file is sent to SEND step one at a time.
    Question : Filename of the source file is captured through user defined function.
    Following is the code.
    ================
    String  v_result_time;          //test Variable
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key =  DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    if (key == null) { v_result_time= "Create Key Failed";}
    else
    {v_result_time= "Create Key worked";
    String valueOld = conf.get(key);
    v_result_time = valueOld;
    return v_result_time;
    The Mapping gives a runtime error in the BPM. This is a sporadic error. 
    I have selected the Adapter specific attribute(File name).
    The BPM errors out sometimes? I am not sure if I am missing any setting. If I delete the work item and run the same scenario it works.
    Question 1 : What is the cause of the above error?
    Question 2 : Does BPM support Adapter specific attribute such as filename?
    Kindly Advice.
    Thanks,
    Gowri

    Hi Everyone,
    Thanks for all the help.
    DTN will not change the response filename to source filename. This option cannot be used. The correlation id is defined as response file name. Response filename is fixed for invoice file.
    Here is the example.
    For invoice file name HDTN20070430163110.TXT, response file received is nav1_2b5.rsp file. For HDTN20070430163314.TXT , response file is nav1_2b5.rsp
    So my correlation id is dummy fixed value. I have known the fact that it is not possible to use context object filename.
    Bhavesh -  I have defined transform step for accessing filename using dynamic configuration. Following is the code used in mapping.
    ================
    String v_result_time; //test Variable
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    if (key == null) { v_result_time= "Create Key Failed";}
    else
    {v_result_time= "Create Key worked";
    String valueOld = conf.get(key);
    v_result_time = valueOld;
    return v_result_time;
    ====================================
    BPM errors out sometime with following error
    Component mapping has returned error.
    com/sap/xi/tf/_MM_DTNData_2_DTNFilename_java.lang.NullpointerException.
    Error: Exception CX_MERGE_SPLIT occurred (program: CL_MERGE_SPLIT_SERVICE========CP, include: CL_
    If I delete this workitem and repeat the same scenario, it works. I have still not understood, why the scenario works sometime.
    Kindly Advice.
    Thanks,
    Gowri

  • Mapping related errors in SOAP Adapter scenario

    Hello Friends
    I have done this several times and in this particular case I am getting some errors.
    Here is the scenario
    External  --- (SOAP) ---  XI  -
    (RFC) -
    SAP TABLE.
    Program
    I have created an XSD (External definition) to get the data to XI using SOAP Adapter.
    I have done the mapping and everything looks Ok to me. I even restarted my XI server. All other scenarios are working except for this particular scenario in question.
    When I looked at <SXMB_MONI> I see the xml string coming in correctly with proper tags and data as expected.
    However, it is failing with some mapping errors.
    Here is the error message I got in SXMB_MONI
    Any help will be greatly appreciated.
      <Trace level="1" type="T">Interface Mapping http://cincom.com/config AddConfigDNA</Trace>
      <Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_AddConfigDNARequest_</Trace>
      <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:ZBAPI_ADD_CONFIG_DNA. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:403) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy177.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:169) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7701) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2376) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1700) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8061) at com.sap.mw.jco.JCO$Server.work(JCO.java:8181) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8128) at com.sap.mw.jco.JCO$Server.run(JCO.java:8044) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Root Cause: com.sap.aii.mappingtool.tf3.IllegalInstanceException: Cannot produce target element /ns1:ZBAPI_ADD_CONFIG_DNA. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:283) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy177.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:169) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7701) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2376) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1700) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8061) at com.sap.mw.jco.JCO$Server.work(JCO.java:8181) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8128) at com.sap.mw.jco.JCO$Server.run(JCO.java:8044) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</Trace>
      <Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_AddConfigDNARequest_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:ZBAPI_ADD_CONFIG_DNA. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd</Trace>
      <Trace level="1" type="T">com.sap.aii.ibrun.server.mapping.MappingRuntimeException: Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_AddConfigDNARequest_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:ZBAPI_ADD_CONFIG_DNA. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:73) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy177.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:169) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7701) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2376) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1700) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8061) at com.sap.mw.jco.JCO$Server.work(JCO.java:8181) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8128) at com.sap.mw.jco.JCO$Server.run(JCO.java:8044) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Root Cause: com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:ZBAPI_ADD_CONFIG_DNA. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:403) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy177.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:169) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7701) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2376) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1700) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8061) at com.sap.mw.jco.JCO$Server.work(JCO.java:8181) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8128) at com.sap.mw.jco.JCO$Server.run(JCO.java:8044) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Root Cause: com.sap.aii.mappingtool.tf3.IllegalInstanceException: Cannot produce target element /ns1:ZBAPI_ADD_CONFIG_DNA. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:283) at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy177.processFunction(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:169) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7701) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2376) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1700) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8061) at com.sap.mw.jco.JCO$Server.work(JCO.java:8181) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8128) at com.sap.mw.jco.JCO$Server.run(JCO.java:8044) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</Trace>
      <Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      </SAP:Trace>
      </SOAP:Header>
    - <SOAP:Body>
    - <SAP:Manifest xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
    - <SAP:Payload xlink:href="cid:[email protected]">
      <SAP:Name>MainDocument</SAP:Name>
      <SAP:Description>Main XML document</SAP:Description>
      <SAP:Type>Application</SAP:Type>
      </SAP:Payload>
      </SAP:Manifest>
      </SOAP:Body>
      </SOAP:Envelope>

    Hi Ram,
    This error is due to error in message mapping.The map rules you have specified for the Node: "ZBAPI_ADD_CONFIG_DNA" is not getting satisfies due to which it is unable to create the Node who occurance is mandatory.Check if map rule specified for this particular Node.
    Thanks,
    Bhargav.
    Note:Award Points if found useful

Maybe you are looking for