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

Similar Messages

  • 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

  • BPM Mapping error in SXI_MONITOR  Message scheduled on outbound side.

    When I try to process this message i get an error.
    Message scheduled on outbound side.
    I am using a BPM.
    MI_Source -> MI_Receive_BPM -> MI_TRANS1_BPM -> MI_TRANS2_BPM -> MI_TARGET
    Using EOIO in the send step Queue Name: cases
    If I remove MI_TRANS2_BPM the message reaches the bpm, but with both transformation in the BPM the message gets an error in the queue where I get a green flag 'Message Scheduled on the outbound side"
    This BPM was working on Friday but hasn't worked since. There have been no changes to the my development XI environment.  
    Some things that i have tried: Clearing the Queues (smq2), Redoing the entire scenario, clearing cpa cache.
    Please help.
    Thanks
    Chirag

    Hi,
    MI_Source -> MI_Receive_BPM -> MI_TRANS1_BPM -> MI_TRANS2_BPM -> MI_TARGET
    Any specific need to have the above design pattern....you can also try:
    MI_Receive_BPM -> MI_TRANS_BPM -> MI_TARGET
    You can use the message that you initially receive and apply all the necessary transformation on it and the map it to the target structure....
    As you mentioned that if you remove MI_TRANS2_BPM your message is executed successfully...it means that the BPM transformation 2 is waiting for some event / Message....
    If you need to go by the same design then you can follow the below steps to resolve the problem:
    1) Check the return code of BPM in SXI_CACHE...it should be 0
    2) Check for any errored instance of your BPM in SWWL (as mentioned in above posts)
    3) Open the corresponding Queue and see for the messages stuck in the Queue....your Queue may be blocked....your BPM will be using a particular Queue and if any message is stuck in the Queue then all the messages that follow will get stuck in the Queue....
    Now if it is only your BPM that is using this particular Queue then Delete the Queue (applicable to development environment....do not try in QA or Production environment)
    4) In SXMB_MONI click on "PE" and open the Graphic Flow to see where actually your BPM has failed (possible only if the message has entered the BPM.
    Regards,
    Abhishek.

  • Mapping Error - Dump source message to file adapter comm channel

    Hi
    Does anyone know of a way to dump the source message to a file adapter comm channel if - and only if - the message fails during mapping. For example, we receive a message from a trading partner that lacks an element that is mandatory during the mapping. When the mapping fails, the source message is sent - as is - to a file adapter comm channel.
    I don't need anything more than the source message i.e. no need for any errors etc... to be included.
    The kicker.. I would like to do this without using BPM if at all possible.
    Any ideas greatly appreciated. Thx, Duncan

    Hey Ram,
    Go to Integration Directory and open the Receiver Determination for your scenario.
    Check the configured receiver services. They are in a table-like area in the middle of the screen.
    In this table of configured receiver services for that particular Sender Service/Interface, you should have the system that normally receives that message (your ERP or any other application system) and the service that contains the receiver file comm channel that will receive the message in case of error.
    Check help.sap.com for help on condition editor on receiver determinations.
    Now, the issue. You can only check whether a field exists, you can't check whether it doesn't exist (There's only a "EXIST" operator, and no negative operator). Thus, you can only do the following: always send messages to File, but you can avoid messages that dont have field from being sent to App System. Yeah, that sucks...
    But don't fear, young padawan! There is a possible workaround. =D
    In your message mapping, do the following for that particular field:
    If field exists (check with Exist and IF standard functions) just bypass the field. Else, map the field with an impossible value (like string "$CREATED$"). Then, in your receiver determination, you will do the following conditions:
    for App System: If field =/= $CREATED$
    for File Receiver: If field = $CREATED$
    Now, if the field doesnt exist, it will have value $CREATED$, thus the message will be sent to File and not to App System. If the field exists, the message will be sent to App and not to File.
    Try that out.
    Regards,
    Henrique.

  • Mapping  error for larger messages

    HI,
    My senario is File to File with some conditions ( Conditions are written in UDF )
    When i am executing the payload with small size mapping executes correctly .
    But when i am executing with larger payload Mapping executes but not taking any conditions in UDF , It executes as one-one mapping.
    thanks in advance

    HI
    This should not be the case... if your UDF is working fine for smaller payload then it should work for larger payload also..
    - test mapping by using payload and after that in mapping use display queue wherever you have used UDF and try to to see what is input and what is the output.. and this will give you clear idea about what exactly is going on..
    - I guess something wrong with logic which you have used in UDF or is input payload dependent, so try to use display queue to get clear idea about UDF working.,.
    Thanks,
    Bhupesh

  • Mapping error for file scenario.

    Hi ,
    I am working with the help of this scenario to pick only selected files.
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    I am getting error in mapping . Everything i have checked its correct . Mapping is correct . but still its giving error . how can i solve it .
    Error : RuntimeException in Message-Mapping transformatio~
    Thanks ,
    Syed.

    Dear Syed Kumar
    Based on the blog you are executing the scenario I guess. The scenario is clearly focusing on the picking up the files using the mask attribute in File Access Parameters.
    As you mentioned clearly, that you are getting mapping error plz concentrate on how to rectify the mapping errors.
    will guide to do so.
    1. Go to SXMB_MONI and in the integration server and check for the message you are trying send.( I hope you did this)
    2. As it is giving you mapping error, Double click onthe message Flag showing red.
    3.Plz check the Payload XML content copy that content and paste in the message mapping Test section of IR.
    4. Execute the Test. If you get the message at the receiver side there shouldn't be any error.
    If you still get the error let me know.
    Best of Luck
    Reward Points If found use ful.
    Edited by: Praveen Kurni on Jun 13, 2008 7:43 AM
    Do the Interface mapping test as well if you are successful in message mapping.

  • HTTP to RFC Mapping error:com.sap.aii.utilxi.misc.api.BaseRuntimeException:

    hi all,
              I am doin a http to rfc scenario.In moni it is showing a mapping error in the request mapping and showing this error.In IR my mapping is working fine but in payload runtime i found the error is because it is showing <?xml version="1.0" encoding="UTF-8" ?> twice.Below is the payload message
    <i><?xml version="1.0" encoding="UTF-8" ?>
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Lspm_Request_SampledueGrid_MT xmlns:ns0="http://satyam.com/xi/LSPM">
      <KUNNR>100000</KUNNR>
      <FROM_DATE>15.11.2006</FROM_DATE>
      <TO_DATE>10.12.2006</TO_DATE>
    - <EQUIPMENTID>
    - <item>
      <EQUIPID>wb</EQUIPID>
      </item>
      </EQUIPMENTID>
    + <LOCATIONID>
    - <item>
      <LOCID>1</LOCID>
      </item>
      </LOCATIONID>
    - <OILID>
    - <item>
      <OILID>BP260</OILID>
      </item>
      BP260
      </OILID>
      </ns0:Lspm_Request_SampledueGrid_MT></i>
    I tested using view source code and removing the extra ]<?xml version="1.0" encoding="UTF-8" ?> in IR and it is working fine.
    Now my problem is how to rectify this error can anyone help me out please??
    thanks,
    Nisheeta

    hi,
         I tried to post the XML in the http page without the header and now it it showing a new error
    Result:
    <SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon)</SAP:AdditionalText></SAP:Error>
    http://cgnsap27:8000/sap/xi/adapter_plain?namespace=http%3A//satyam.com/xi/LSPM&interface=Lspm_SampledueGrid_Syn_MI&service=SATYAM_LSPM_BS&party=&agency=&scheme=&QOS=BE&sap-user=shailesh&sap-password=shailesh&sap-client=100&sap-language=EN
    wat does this mean??
    nisheeta

  • MAPI Errors

    Hi,
    I'm trying to get ZfH 7 SP1 working with BlackBerry support and am running into an issue with MAPI mail login. The documentation is not too clear on the requirements, and I've exhausted the Knowledgebase....I hope to get some help here.
    The MAPI profile for Exchange has been created...and I can log into the account with Outlook (on the ZfH server)...but the ZENworks for Handhelds Server can't connect. What I find strange is when I selected the Mail Profile during the ZfH installation it didn't ask me for a password to use. I'm assuming that's what is failing. Can a password be set for this?
    This is the message in ConsoleOne / ZfHService / Events:
    Error: APP-12 Application Message (1 of 4)
    January 16, 2008 5:44:03 PM
    The service is unable to communicate with the mail system.
    EXPLANATION:
    The service will try to re-establish communications
    periodically. This condition can occur for a number of reasons:
    - The settings configured during installation are
    incorrect or have become invalid.
    - The mail system or network is down or inaccessible.
    - The service user account is not properly configured.
    SUGGESTION:
    Check any other linked errors to attempt to determine the cause.
    If necessary, reconfigure the service communication settings
    with ZENworks Handheld Management. If the mail system was
    temporarily unavailable you may simply ignore this message.
    Error: MSGQ-18 Message Queue Message (2 of 4)
    January 16, 2008 5:44:03 PM
    A mail communications related error has occurred.
    EXPLANATION:
    An error has occurred which is forcing the shutdown of mail
    communications. More information about the cause of the error
    should be linked to this error.
    Error: MAIL-63 Mail Session Message (3 of 4)
    January 16, 2008 5:44:03 PM
    An error has occurred when trying to open the MAPI Message Store
    <Mailbox - Blackberry Management>.
    EXPLANATION:
    The Message Store is the storage where outgoing mail is
    submitted to and incoming mail is read from.
    SUGGESTION:
    Verify that you are able to open your normal mail program
    successfully using the currently configured profile. Verify the
    MAPI profile is configured correctly.
    Alternatively, this may be indicative of an underlying MAPI
    subsystem problem. Shutting down and re-starting your system may
    resolve the problem.
    Error: MAIL-50 Mail Session Message (4 of 4)
    January 16, 2008 5:44:03 PM
    System Error Code: 2147746077(0x8004011d)
    A MAPI subsystem error has occurred.
    Error String: <The Microsoft Exchange Server computer is not
    To be on the safe side I set the mail password to be the same as the ZfH Service user....but it made no difference.
    Any help would be much appreciated!
    Thanks,
    Jim.

    Jim,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Error in Local Message System: Error when opening an RFC connection Message

    Hi Gurus,
    We are not able to create support messages in our ECC production system but it can created in Development and Quality. Support message created appears in solution manager system. ECC System displays error message as
    Error in Local Message System: Error when opening
    an RFC connection Message was Not Created
    I have checked RFC connection between ECC and Solution Manager which displays following message
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: partner "local:sapgw00' not reached
    Error Details     LOCATION: SAP-Gateway on host local / sapgw05
    Error Details     DETAIL: NiPConnect2
    Error Details     CALL: connect
    Error Details     COMPONENT: NI (network interface)
    Error Details     COUNTER: 40142
    Error Details     ERROR NUMBER: 10060
    Error Details     ERROR TEXT: WSAETIMEDOUT: Connection timed out
    Error Details     MODULE: nixxi.cpp
    Error Details     LINE: 2835
    Error Details     RETURN CODE: -10
    Error Details     SUBRC: 0
    Error Details     RELEASE: 701
    Error Details     TIME: Wed Jan 11 23:26:54 2012
    Error Details     VERSION: 38
    Kindly Help.....

    Hi
    Based on the instance number of the servers, you can determine the gateway to be used.
    IF your ECC instance number is , 01 then gateway would be , sapgw01 (in ECC system)
    So check and change the settings accordingly, in the RFC connection. Also check, if this entry sapgw01 is made in /etc/service file. Also check, in transaction smgw for gateway parameters.
    Hope this info helps,
    ~ Raj

  • Error in Local Message System: Partner function RP is not defined

    Hi Team,
    I have configured Service Desk in solution manager 4.0 and When I create message from Development server I am able to see in Solution manager. Every thing works fine in Developement server.But in Quality i am not able to create mesage.
    I have maintained BCOS_CUST table and defind BACK RFC (SM_SRSCLNT100_BACK)in quality server but When I try to create mesage using Help--> Cretae Support message I am getting error message as " Error in Local Message System: Partner function RP is not defined for notificatio Message was Not Created"
    and not able to create message from Quality server.
    Please let me know solution to fix this isssue.
    Thanks in advance
    Regards
    Venu

    Hi Venu,
    This can be related to a configuration on table ( DNOC_USERCFGT ). You can use SM30 or go through IMG (
    SAP Solution Manager -> Scenario specific settings -> service desk -> Partner Determination Procedure -> Use of own partner functions )
    The parameter NO_USER_CHECK has to be set to 1 which means : No Existence Check for User.
    Other point you need to check is wheater the user you are logged on in the QAS has the external identification correctly maintained in the respective BP on the Solution Manager side.
    Regards,
    Valdecir

  • Error when sending message: 404 not found

    Hi,
    New to XI, practicing file to jdbc scenario. File is pickedup from the source folder but nothing appearing on the receiver end ms access database.
    In the Component Monitoring, tried sending message manually with all the right info in Integration engine, getting an error message saying:
    "Error when sending message : 404 not found"
    Also tried in Adapter Engine and the result same.
    Before doing this scenario, I tried file - file scenario then also the sender file pickedup from source folder but nothing happend at the receiver end.
    Any idea's?? what might be the issue????
    Thanks,
    Venu.

    Hi Venu,
    "404 is a not found error", plz make a check of  your URL you're using is correct? do you use the right port? Normally the port is 80<SystemNo>, so rather 8001 than 7001.
    Also check in transaction SICF, if the node /sap/xi/adapter_plain has been activated, if not, activate it and try again.
    If you are testing sending the message to the Adapter Engine, then the Send Message URL should be like this:
    http://<server>:<J2EEport>/MessagingSystem/receive/AFW/XI
    For your error, refer to the following threads:
    Unable to find an associated SLD element
    Unable to refresh cache contents in XI.
    Unable to find an associated SLD element
    Also check that the Adapter Engine is successfully registered in the SLD. To do this, call the Content Maintenance function in the SLD as follows:
    http://<sld-host>:<sld-j2ee-port>/sld u2192 Administration u2192 Content Maintenance.
    Select XI Adapter Framework.
    Thirteen associations have to be registered.
    (Source: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2498bf90-0201-0010-4884-83568752a857)
    If you can't find all the associations, then you will have to create the associations manually.
    This is a very good blog which answers ur question:
    check this weblog
    https://weblogs.sdn.sap.com/pub/wlg/4061?page=last&x-showcontent=off [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Vinod.

  • Oracle Error code: 1116, message: ORA-01116: error in opening database file

    Hi ,
    Please advise on this error message
    Oracle Error code: 1116, message: ORA-01116: error in opening database file 202 ORA-01110: data file 202: '/u02/app/oracle/oradata/ubidev12/dbf/temp02.dbf'
    All these while, the dashboard working well in my local computer application with server database.
    Just discovered this error when I refresh the data.
    Kindly advise.
    Thanks,
    Kim Yoke

    the more detail error is
    Oracle Error code: 1116, message: ORA-01116: error in opening database file 203 ORA-01110: data file 203: '/u02/app/oracle/oradata/ubidev12/dbf/temp03.dbf' ORA-27041: unable to open file SVR4 Error: 2: No such file or directory Additional information

  • AOL Instant Message PW Error

    Since updating to 10.7.2, I'm getting this annoying pop up error message about AOL instant messaging password error.  The message states: iChat can’t log in to @mac.com because your login ID or password is incorrect.  I don't use ichat and want the message to stop, so what do I do?

    Hi,
    In iChat go to the iChat Menu > Preferences > Accounts
    In here go to the Server Setting tab/Button for your @mac.com name
    Disable (Untick) the SSL option.
    Make sure the NON SSL server reads login.oscar.aol.com
    This is the most common issue if the name worked before.
    The other issue is having a @Mac.com name with a password that is longer than 16 characters.
    If you are just getting around to using the @Mac.com in ICHat you will need to shorten the Password due to the Limit AIM has on checking passwords.
    8:12 PM      Saturday; October 22, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Error creating voice message greeting

    I tested my Skype number by calling myself and it only rang and rang. I just verified my settings which have voice messaging enabled. I haven't recorded a greeting and when I try I get "error creating voice message greeting" pop up. 
    Is the lack of a recorded greeting what is keeping voice messaging from working? 
    How do I fix the error to record my greeting? 
    I'm using Windows 8 and Chrome browser. 
    Thanks. 

    djloum wrote:
    Since the last "update", (screw-up?), I get "voice message upload error" and "voice message playback error" incessantly.  ONCE it allowed a custom message upload, but, for a 10-sec greeting it loaded a 3 MINUTE silence.  Returning to the "default" greeting causes the same errors.  Yes, I checked all my drivers and YES, I "tried turning it off and on again".
    Please, run the DirectX diagnostics tool (32-bit). Run dxdiag.exe (Start - Run or Win key +R) then press enter or click "OK". Once the diagnostics completes, "Save All information..." to a text file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.
    (i.e. compress DxDiag.txt ---> DxDiag.zip)
    Even it the log says everything is "OK" it will still help me determine any possible solutions.

  • "Voice Message Upload Error" - creating a personal...

    HI Again!
    Just a note to ask if anyone at Skype can help with a tech issues. Just set up my shiny new number ( which isn't working yet!!) and then tried to set up Voicemail. Sometime I can record a VM but not play it back or save it and I'm getting messages like;
    "Voice Message Upload Error" and "Voice Message Playback Error"
    Seems Skype and I have got off on a bad start!!!!!!! Help appreciated and I've been trying this for an hour and no luck at all!
    Thanks
    Sarah

    I had the exact same problem, and I was looking for help, but couldn't find any.
    It was very frustrating not being able to record a personalized voicemail greeting because the default greeting sounds very unfriendly. (A stern sounding woman declares: "The party you are trying to reach is NOT available!") It doesn't even tell callers what number they reached so they might be left wondering if they reached the right number.
    Anyway...I hit on an idea and tried it out, and it worked!
    One of the buttons has two sets of arrows going round and round. That's the button to reset the voicemail to the default greeting. You wouldn't think to click that to record a personalized greeting, but I went ahead and clicked that button, and it asked me if I was sure I wanted to reset it to the default greeting. On a hunch, I selected the option for yes. After I did that, suddenly I was able to record a voicemail greeting! (Press the red circle to record, press it again to stop the recording, and press the green arrow to play it back and see how it sounds.)
    I hope this helps someone out there.

Maybe you are looking for