Few Mapping Transformations

Hi All,
I have, say, 3 DataStore's. I have to send few fields from DSO1 to DSO3 and rest from DSO2 to DSO3.
There are many other fields on 3 of the DSO's that doesn't feed one another.
Now, when I am trying to map some fields from DSO1 to DSO3 and trying to activate I get an error "Error while activating transformation. Message no. RSTRAN510".
How do I map only the fields that I need?
Thanks,
Pradeep

I asked because of OSS note 905624, you can verify whether it is applicable to you :-
<i>
Symptom
If the transformation contains a start routine or an end routine, you may not be able to activate it. The system issues message RSTRAN 510.
Other terms
Start routine; end routine; RSTRAN510; RSTRAN 510
Reason and Prerequisites
The error occurs if the transformation contains a start routine or an end routine. In these routines, a field of the <SOURCE_FIELDS> structure or the <RESULT_FIELDS> structure is used and this field is not used in a normal rule.
</i>

Similar Messages

  • RuntimeException in Message-Mapping transformation: -- Message Status 14

    Dear ALL Experts
    Messages are failed and showing the "RuntimeException in Message-Mapping transformation: Cannot produce target element "
    also Message Status are showing as 14.  Need to know few details such as,
    1> Where we can check the exact error ?
    2> Where we can check the error log file ?
    3> What will be the possiable reason behind this failer ?
    4> how can we resolve the same ?
    Thanks and Regards
    Machindra Patade

    Messages are failed and showing the "RuntimeException in Message-Mapping transformation:
    Cannot produce target element "
    The mapping logic applied is not able to produce the target element with the sorresponding Source payload.
    Check if the payload (which you see in SXMB_MONI) is able to execute the mapping (Message/ Interface Mapping --> Test) successfully.
    you can even refer page-191 from this guide:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000702797&_OBJECT=011000358700000063822008E
    S-userid required to view the above document....the method is the same for SAP XI/ PI 7.0/ 7.1
    Regards,
    Abhishek.

  • 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

  • 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

  • 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

  • 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

  • Long running mapping when using Mapping Transformations

    Hi,
    I have a source table with 8,000 records which I would like to merge using the update/insert operator into my target table. This simple operation takes 15 sec which I am very happy with. The problem I have is when I try to call a series of Functions using Mapping Transformations - when I do this the performance of the mapping is dire - it now takes longer than 40min!!!
    The strange thing is that when I generate the intermediate result and run the code (not including the Merge in to my Target table) in TOAD, the results come back quickly? So I am not sure if there is a problem with the fact that I am using Mapping Transformations or if I am using a Merge on the Target Table...
    I have taken off Parrallel hints on the target table and applied the relevant indexes.
    I am really lost and any help would be most appreciated.
    Regards
    Mitesh

    If you could let us know what kind of functions you are using? I had experienced the same problem while calling a function using a Mapping Transformation. The functions used a cursor and for every source record these function were getting called and the cursor was opened and closed, which caused a performance bottleneck.
    Better write the functions with direct SQLs and no cursors, if possible or use a temporary table, joiner operator or look up operator to achieve the task.
    This should reduce the execution time considerably.
    Regards
    Arnab

  • Repeate Message after RuntimeException in Message-Mapping transformation

    Hello Experts,
    I have a mapping defined with a UDF. In the mapping editor the tests were successfull but in the reale world - of course not
    Now I have a message in the Integration Server with red flag because of
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /LIST/S_UNB/S_UNH/G_SSG18/S_GID/C_C213/D_7224. The message is: Exception:[java.lang.NumberFormatException: For input string: "__cC_"]
    I've located the error in the UDF and want to repeate the message with the new mapping. But again the same error although the test in the mapping tool (with the original payload) was successfull.
    It must be possible to repeate those messages but how?
    Thanks a lot.
    Christian

    This was a little bit strange. But after the import, the version of the mapping in PROD was different from TEST.
    I've changed the description Field of the Mapping in Test, activated the version and did the export/import again. Now the versions were the same and after repeating the message everything is o.k.
    THANKS ALL FOR YOUR HELP!
    Christian

  • UK E-Filing: Message Mapping Transformation

    Hello Everyone,
    Just curious to know if anyone has seen this error while working on E-Filing for the UK, while trying to send data to the Inland Revenue:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:GovTalkMessage/ns0:Body/ns1:IRenvelope. 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
    Helpful, readable, and easy to understand reponses which provide a resolution to this issue, will be rewarded accordingly.
    Thanks for your help!
    John

    Hi John,
    1) Your problem is related to Message mapping only.
    2) This type of error means in mapping you have context problem. Some where your context is mismatched for IRenvelope node.
    3) Take your runtime xml and check directly in message mapping.
    4) Your output instances for IRenvelope is more than its occurances.
    5) Try by using RemoveContext function before your target node.
    Regards Rohit,
    Reward points if helpful

  • XSLT Mapping, Transformer configuration exception occurred when loading

    Hi,
    My source message is an IDOC HRMD, I need my target message to include exactly
    <EPERSON xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ContextPersonMessage">
    I have therefore suggested to use XSLT mapping.
    Here is the test_mapping.xsl that I Imported as Zip in Imported Archives.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://polyright.com/xi/HR">
         <xsl:template match="/">
              <EPERSON xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ContextPersonMessage">
                          <xsl:for-each select="HRMD_A07/IDOC/E1PLOGI">
                <CONTEXTPERSON personid="" id="">
                      <PERSON action="add">
                               <TITLE></TITLE>
                               <FIRSTNAME><xsl:value-of select="E1PITYP/E1P0002/VORNA"/></FIRSTNAME>
                               <SECONDNAME></SECONDNAME>
                               <NAME><xsl:value-of select="E1PITYP/E1P0002/NACHN"/></NAME>
                               <ADDRESS1></ADDRESS1>
                               <ADDRESS2></ADDRESS2>
                               <POSTALCODE></POSTALCODE>
                               <CITY></CITY>
                               <COUNTRY></COUNTRY>
                               <COUNTRYID></COUNTRYID>
                               <PROFESSION></PROFESSION>
                               <LANGUAGE></LANGUAGE>
                               <LANGUAGEID></LANGUAGEID>
                               <PERSONTYPEID></PERSONTYPEID>
                               <CREATIONDATE></CREATIONDATE>
                               <BIRTHDATE></BIRTHDATE>
                               <CATEGORY></CATEGORY>
                             </PERSON>
                      </xsl:for-each>
              </EPERSON>
         </xsl:template>
    </xsl:stylesheet>
    When I test the Interface mapping, I get the following error:
    Transformer configuration exception occurred when loading XSLT test_mapping.xsl (http://polyright.com/xi/HR, 783938d1-4463-11dd-b136-e03ac0a80c15, -1)
    Searching through the forum, it is probably an namespace issue, but I have no idea of what needs to be changed. Any suggestions ?

    Try running end-to-end scenario and check if you could get detailed error message.
    Also check if the problem arises from the "ns0" usage.
    Regards,
    Prateek

  • 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

  • Runtime Exception in Message mapping transformation.

    hi Experts,
    i did IDOC(MATMAS05) to File scenario.
    if i tested the mapping in IR (Test tab), its working fine.
    but when i triggered the IDOC from SAP R/3 system, it reaches to SAP PI and showing Mapping falure in SXMB_Moni.
    then i took the payload from the MONI, and tesed with this payload in Mapping test tab in IR.
    there it is showing as java null pointer exception.
    can anybody tell me what is the problem here?
    thanks,
    kumar

    Hi,
    I think the required fields might not be occuring, if it occurs it might not have contianed any values thats the reason why message mapping is failing. For required fields you might have done some transformations which will not work if source required field has no values in it.
    So kindly check and correct.
    Regards,
    Chandra.

  • How can i test after creating Message mapping transformations

    Hi guys,
    How can i test my transformation after creation of message mapping in Integration Repository.
    Pleae expain step by step procedure
    Thanks & Regards.,
    Pushparaju.B

    Hi,
    1. If you just want to test the mapping --In message Mapping there are three tab, the second one being hte Test tAb. So u can pu the values in the left side XML and do test.
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/e3072e65f04445a010847aa970b68b/content.htm
    2. You can do the Testing from Interface mapping also. There is a Test tab there too.
    3. If you have created the whole scnerio then you can do testing from Integration directory:
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/874a4273bb3830e10000000a155106/content.htm
    Regards
    Vijaya

  • Dynamically generating file names for 2 File ( 1: 2 mapping transformation)

    Hi ,
    I have a scenario Proxy to File(FCC) with 1:2 transformation in message mapping ie 1 sender and 2 receiver interface ....
    1 Message mapping
    1 Operation mapping
    1 RD , 1 ID and 2 file receiver channels  and 2 receiver agreements.
    I need to dynamically generate the filename say abc.(first 9 characters of mesg id) and xyz.(first 9 characters of mesg id)
    I used dynamic configurations with ASMA settings, created 2 UDF assigned each of these to header node of r receiver message types.
    Here, I guess the second dynamic configuration is over writing the first dynamic configuration and hence creating only one file with xyz.(first 9 characters of mesg id)
    name .
    Need your valuable inputs
    Thanks and regards,
    Pavithra

    As dynamic configuration doesnot work in case of 1:n mapping what  you need to do is
    Create a field Filename in your source data structure
    Create a1:1 mapping between your source structure and source structure
    In that 1:1 mapping on the target structure assign UDF for file name
    Now this target structure will be used as a source structure in your next 1:2 mapping
    Under operation mapping add first the 1:1 mapping for source and then the multimapping
    regards
    Ninad

Maybe you are looking for

  • Loading issues after upgrading from MacBook to MacBookPro

    I recently updated from a MacBook to a 13 inch MacBookPro 2.53 GHz intel duo processor, 4GB RAM, and about 170GB of free space on my internal hard drive. I am running OS 10.5.7 When I got my MacBookPro I transfered all the data from my MacBook to the

  • To calcuate the accumulated value

    Hello, I would like to write a calc script for the following scenario: I have a series of data value, and would like to calcuate the accumulated value based on the sequence of from the smallest to the largest. The case is like this: The input is as f

  • Edi receive message, UNA Issue.

    Hi All, I have a scenario where a particular party is sending me an edifact message without the UNA segment.   I understand that the default value which I have given in the EDI disassembler pipeline will be taken into consideration. However they are

  • My iphone 4 screen has been frozen (on that rotating circle thing it does right before it turns off) for about 6 hours now!

    This morning it was working fine and then it went to the lock screen and I tried to "slide to unlock" and it wouldn't go. Then it became frozen on the lock screen and I tried everything from holding the lock button to try to shut it down, plugging it

  • Cs5 license info

    am currently using cs5 on a pc and am considering moving to the mac side...can i move my license to the mac side and get a copy of cs5 for the mac Thanks, Mswatz