Multi Mapping Base Runtime Exception

Hi all
Im getting a Base Runtime Excecption in Multi mapping. My scenario is File to IDocs.
when i test the message is IR its successful. However while testing End to end im getting Base Runtime excception.
Any pointers to this
--Keerthi

Hi Abhishek,
I tested from ID-Tools-Test configuration
Its stopping at the Interface Detarmination&Mapping step. Now the Base Runtime exception is gone. Geeting a new error"Messages in multi-message format can only be sent to one Adapter Engine".
According to the forum i've removed the Messages and Message 1 tag and tested.. But still the same error.
My scenario is File to IDOCs using multi -mapping. I've changes the occurece to unbounded.. Used Enhanced Receiver determination..All my configuration seems perfect Also in SXMB_MONI multiple messages as desired are present under 'Message Branch According to Receiver List'
But the error "Messages in multi-message format can only be sent to one Adapter Engine" is still there
--Keerthi

Similar Messages

  • 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

  • Base runtime exception in message maping transformation

    Hi,
    I am working with 1:N mapping.
    I am making use of BPM.
    But when I execute the entire scenario it gives error in the BPM's transformation step.
    Error says , <b>BaseRuntimeException in message mapping transformation.</b>
    But when I check the same payload in message mapping it works fine.
    Kindly,provide some help regarding it.
    Regards,
    Nilima

    Hi,
    Please check your message mapping and Interface mapping.. correctly working or not..
    BaseRuntimeException in message mapping transformation
    You need not fill all the fields, but atleast all required fields should be filled. I mean if you are mapping a field A from source to field B in the target and if the field B in the target is mandatory then you should fill field B with some value otherwise you will get a mapping error
    Or check your user defined function error ...
    Take the SXMB_MONI sourece xml and come back to MM test ..
    see below threads
    Message Mapping Exception
    Runtime Execption Message Mapping
    /community [original link is broken]://need help in message transformation.
    Message-Mapping transformation Error(Soap <-> XI <-> SAP)
    Regards
    Chilla..

  • Runtime Exception in Message mapping

    Hi Experts,
    I have a scenario of  IDoc to  <third party adapter> cXML.
    The message caught the below error
    RuntimeException in Message-Mapping transformation : Runtime exception during processing target field mapping ......./ShipTo[2]/Address/PostalAddress/DeliverTo (suppressed field). The message is: Exception:[java.lang.ArrayIndexOutOfBoundsException: 7] in class com.sap.xi.tf._M_IDOC_to_cXML_ method getShipToContact$[, , com.sap.aii.mappingtool.tf3.rt.Q2QFunctionWrapper@253fdd8a]
    Please suggest on what went wrong, as everything is working fine before.
    Thanks in advance.
    MK

    Mk:
    Please check if the source fields which are mapped to the target are all generated by the SAP Script and make sure that they have data so that when they are mapped to the target. If they are mapped and source fields don't have data then it may error out. Sometimes SAP Script might not generate a node if there is not data for it, make sure you handle that condition also.
    RuntimeException in Message-Mapping transformation is
    due to the missing TEXT_LINE element in the segment Z1VOBTH for the TEXT_ID 'INVOICE_TO_LOCATION'
    I am not able to understand this. is Text_ID subelement of Text_Line?? Could you please post the complete error message as it is.

  • Runtime exception occurred during execution of application mapping program

    Hi all
    while testing intergase mapping i am getting this error----->
    com/sap/xi/tf/_XI_FI_BAPI_CC_DOCUMENT_POST_REQ_MM:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException;RuntimeException in Message-Mapping transgormation:Runtime exception during processing target field mapping
    /ns1:BAPI_ACC_DOCUMENT_POST/DOCUMENTHEADER/HEADER_TXT. THE message is:Exception:[java.lang.NullPointerException] in class com.sap.aii.mappingtool.flib3.TextFunction s method substring [null,com.sap.aii.mappingtool.tf3.rt.Context@2388897239]
    I had used  in the message mapping two user defined function scan you please look into the user defined functions, getPriviousMounthLastDate and  FileName in the mapping for the target DocDate field
    ihave used even this getPriviousMounthLastDate user defined function before using FileName
    this is  the code of  userdefined function  getPriviousMounthLastDate
    Calendar cal = Calendar.getInstance();
    SimpleDateFormat output = new SimpleDateFormat("yyyyMMdd");
    cal.add(Calendar.MONTH,1);
    cal.set(Calendar.DAY_OF_MONTH,1);
    cal.add(Calendar.MONTH,-1);
    cal.add(Calendar.DATE,-1);
    StringBuffer dateBuffer = new StringBuffer();
    output.format(cal.getTime(),dateBuffer,new FieldPosition(0));
    return dateBuffer;
    this is the code of  userdefined function FileName
    DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(
    "http://sap.com/xi/XI/System/File",
    "FileName");
    String valueOld = conf.get(key);
    return valueOld;
    thanks sandep
    Edited by: sandeep pendyala on Feb 6, 2008 6:52 AM

    Hi Sandeep,
                     please check the trace file in SXMB_MONI,
                     which is avialble in response node.
                      if you analyze the trace, u can find-out....
                     error happend because of ehich field.
                    first copy the inbound xml from MONI and test it at message mapping.
                     then also, u can find-out the error.
    regards
    mahesh.

  • Runtime exception for Date format

    Hi,
    Scenario : RFC to IDOC
    found the error in my payload :
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ZORDERS06/IDOC/E1EDK03/DATUM. The message is: Unparseable date: "2008-05-19" at com.sap.aii.mappingtool.tf3.AMappingProgram.start
    Here i has used DateTransformation from the Date Function.
    How can i give the format for Target side here.
    Regards,
    yeswanth.

    Hello Yeshwanth,
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ZORDERS06/IDOC/E1EDK03/DATUM. The message is: Unparseable date: "2008-05-19" at com.sap.aii.mappingtool.tf3.AMappingProgram.start
    Here i has used DateTransformation from the Date Function.
    In Date Trans Properties:
    In Format Source date u select : yyyy-mm-dd
    In Target Format u select: yyyy/mm/dd
    Thanks,
    Satya

  • SAP PI 7.3 AEX Multi mapping: Mapping failed with exception

    Hi
    I am encountering an issue with the multi mapping in SAP PI 7.3 AEX system.
    Requirement for my interface is to pull a single file which has multiple records from the file directory.
    Interface need to split the single file to multiple files.
    For this I have implemented multi mapping in SAP PI 7.3(Stand alone Java) to split the single file to multiple files just like the way it is done in SAP PI 7.1. Tried this interface in SAP PI 7.1 system and works fine end to end.
    I have done the testing in mapping(Test tab) in operational mapping, I could see response is getting generated successfully.
    But when testing end to end,
    I could see message is getting failed during mapping with the exception "failed to execute: ArrayIndexOutOfBoundsException: 1” .
    Note:
    Occurrence has been changed to 0..unbounded in the Signature tab of the message mapping & same interface works fine in SAP PI 7.1
    Our system is currently on SAP PI 7.31 (AEX) SP05 Patch "0".
    Kindly let me know if someone has any idea on this particular exception in SAP PI 7.31 multi mapping Interface.
    Thanks & Regards
    Ram

    Hi Jegathees,
    Thanks for your reply.
    In PI 7.31:
    As we are doing 1:n mapping, I have maintained the source side occurrence as "1" and target side occurrence as "0..unbounded" in the signature tab of message mapping.
    Even in PI 7.11 Occurrences were maintained in the same way.
    Can you please give me more details of how exactly multimapping in PI 7.31 is different with respect to PI 7.1
    Thanks & Regards
    Ram

  • Exception Handling for Multi Mapping in bpm

    Hello,
    does anybody know a way of catching an error occured in a multi-mapping used in an integration process.
    It seems to me, that when i am using a multi-mapping in an integration process and an error occurs, the message cannot get back to the integration process. In smq2 I can see, that there is the following error:
    CX_MERGE_SPLIT
    Regards
    Günther

    The transformation-step is in an block with an exception branch and it is well configured.
    When I use a 1 to 1 mapping and an error in the mapping occurs, all is correct. The integration process jumps in to the exception branch and finishes  correct. But when use a multi mapping (1 to n; n to 1; n to m) and an error in the mapping occurs, then there is always an error in the bpe inbound queue.
    There must be some problem with the split-and-merge program. I think that the split-and-merge program handles the merging of n messages into 1. You can see this when you test a mapping in the integration builder designer. In a multi-mapping there you can see a xml-structure that envelopes the application messages, f. ex.:
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <myMessage1>data</myMessage1>
       </ns0:Message1>
       <ns0:Message2>
          <myMessage2>data2</myMessage2>
       </ns0:Message2>
    </ns0:Messages>

  • Reg: Runtime exception occurred during application mapping

    Dear SAP Gurus,
    This is Amar Srinivas Eli working currently on SOAP to SOAP Scenario on PI 7.1 Server.
    I Would like to inform you that I have done all steps regarding DESIGN and CONFIG and also regarding SERVICE REGISTRY part successfully.
    While Testing the data in the WS Navigator by giving the input parameters I am getting an error that
    *<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>*
    *- <!--  Request Message Mapping*
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_HRS_LISTReferral_Response_MM_</SAP:P1>
      <SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
      <SAP:P3>on: Cannot create target element /ns1:PI_ListRefer</SAP:P3>
      <SAP:P4>ral_Response_MT. Values missing in queue context.~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_HRS_LISTReferral_Response_MM_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns1:PI_ListReferral_Response_MT. Values missing in queue context.~</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    These are the steps I did while implementing..
    1. Importing the XSD's successfully
    2. Developed the design and config part and also checked nearly 3-4 times regarding both REQ and
        RESPONSE Mappings.
    3. I already checked the link of WSDL once again...
    4. Even I found REsponse Interface once again...
    Still I am not getting where the error was ? Please guide me in detail in a right way in this issue.
    Regards:
    Amar Srinivas Eli
    Edited by: Amar Srinivas Eli on Jan 13, 2009 7:53 AM

    Hello,
    I already checked all those queues and context fields////
    Based on my Observation I found
    1) As I am unable to view the SOAP BODY I increased the RUN TIME Trace Level to 3 and LOG_VAlue to 3
    2) ANother most Important that I found later doing these settings are....
        I found Receiver Pay LOAD and I copied that entire pay load and pasted it in
        REceiver Message Mapping> Test Tab and Code->PASTED...and compared all those parameters
        in the TEST TAB and DEFINITION TAB in Tree View whether all the mandatory receiver mapped
        elements are  coming I mean passing from source or not...
    OBSERVATION::
    I found that for nearly 3 fields there is a difference when I compared on Tree View in DEFINITION TAB and also parallely in the TEST TAB Tree View which I got by copied from MONI,,,,
    see for example ::
    CENTRE <----
    > DISCHARGE DATE..
    For going to CENTRE..here I found that in DEfiniition TAB...
    Control Act Event-->Subject->document-->Component>Structured body> component> Section>Component>PatientCareProvisionEvent->EffectiveTime-->CENTRE
    But immediately I have gone to TEST TAB and TREE VIEW and I found that respective field CENTRE is posting I mean passing any value or parameter to Discharged Date or not...
    But I found that...
    Control Act Event-->Subject->document-->Component>Structured body> component> Section>Component-->_PatientCareProvisionEvent_
    This Implies that Effective Time and Centre are missing in the XML and I mean no values are passing to receiver right..
    In PI XSD 's it is there but in I think after Compiling REQUEST MAPPING and while in returning to RESPONSE MAPPING I mean whenever the Response is posting to SOAP WEBSERVICE it is unable to found those target elements and I think due to this...
    Am I Correct ?
    If that is the case...Let me know where the issue is whether in the data present in the WEBSERVICE created on target side or in PI Side..any issue...
    Regards:
    Amar Srinivas Eli
    Edited by: Amar Srinivas Eli on Jan 13, 2009 10:00 AM

  • Runtime exception occurred during application mapping

    Hi All,
    Please find the error message which we are getting:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--
    Request Message Mapping
      -->
    - <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> 
      <SAP:Category>Application</SAP:Category> 
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code> 
      <SAP:P1>com/sap/xi/tf/_CRM_COD_ProductCategoryHierarchy_R~</SAP:P1> 
      <SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2> 
      <SAP:P3>on: Cannot create target element /ns0:ProductCateg</SAP:P3> 
      <SAP:P4>oryHierarchyMassReplicationRequest/ProductCategor~</SAP:P4> 
      <SAP:AdditionalText /> 
      <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_CRM_COD_ProductCategoryHierarchy_R~; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:ProductCategoryHierarchyMassReplicationRequest/ProductCategor~</SAP:Stack> 
      <SAP:Retry>M</SAP:Retry> 
      </SAP:Error>
    Please give your expert Advice on the same.
    Regards
    RK

    Dear Rableen,
    As Muniyappan and peter told about the mandatory field value is missing for the target element
    "/ns0:ProductCategoryHierarchyMassReplicationRequest/ProductCategor", I am able to see other fields are also not getting input data.
    as below
    "Cannot create target element /ns0:ProductCateg"
    Request you to test with the payload in message mapping and activate the message mapping first and then edit your operation mapping and call the same message mapping in your operation mapping and activate all your objects.
    Thank you!
    Regards
    Hanumantha Rao

  • Runtime exception occurred during application mapping in SAP PI

    Hi Team,
    Please help me regarding this issue is very urgent:
    Runtime Error in configuration part:
    Here i test the XML message in Receiver Determintion:
    Below i am getting error:
    Runtime exception occurred during application mapping com/sap/xi/tf/_MaterialStockUpdate_Multi_AllPlant~; com.sap.aii.utilxi.misc.api.BaseRuntimeException:The processing instruction target matching "[xX][mM][lL]" is not allowed
    SXMB_MONI:
    I am getting below error:
    Runtime exception occurred during application mapping

    Hi,
    Actually my problem is what i am getting,I am trying to test the data in runtime workbench and configuration part copied from inbound payload XML structure .
    I already sent the screenshots of above errors,
    Configuartion:
    Runtime workbench:
    This the error i am getting below in "Runtime Workbench"
    Error While Sending Message: Additional error text from response: com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.CPAObjectNotFoundException: Couldn't retrieve outbound binding for the given P/S/A values: FP=;TP=;FS=MHEPL_Sandbox_100;TS=;AN=MaterialStockUpdate_Multi_AllPlants_N;ANS=http://www.manipalhospitals.com/his/mm; in the current context [Unknown].

  • Runtime exception occurred during application mapping "EXCEPTION_DURING_EX"

    Hi Gurus,
    I am getting following error in MONI:
    SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_MDM_CMS_Backfeed_Group_</SAP:P1>
      <SAP:P2>com.sap.aii.mappingtool.tf7.MessageMappingExceptio</SAP:P2>
      <SAP:P3>n: Runtime exception when processing target-field</SAP:P3>
      <SAP:P4>mapping /ns0:BackfeedGroup/group/MasterId; root m~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_MDM_CMS_Backfeed_Group_; com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-fieldmapping /ns0:BackfeedGroup/group/MasterId; root m~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have tried to refresh the mapping cache and restart the message but stil this message persists.
    For me it seems an issue with a wrong mapping or some wrong value in the inbound scenario.
    Please suggest if any one of you had come across this error before.
    With Reg,
    Vikash

    Hi Vikash
    Whenever you have a problem in your mapping you will get this kind of error in monitoring
    According to your log the problem is in parameter  /ns0:BackfeedGroup/group/MasterId
    First of all check your mapping. If it is fine than check the value of this parameter from your payload.
    Also try to copy your xml and test the mapping in IR. Check wether you are getting same error there .
    If same error comes than try to manipulate the value of that field and try the same test again
    Regards,
    Shradha

  • Mapping Runtime Exception - How to see complete error message?

    Hello,
    we have a mapping runtime exception in SXMB_MONI. However only the first 4 lines are displayed are shown in <SAP:Stack>, the rest of the error message is needed however for trouble shooting.
    Is there any way to display the full error message? Executing a unit-test in ESR is not possible as there are some functions executed which just work during runtime.
    Thank you.

    Resolved: The full error is visible in the trace section of the header.

  • Multi-Mapping runtime issue

    Hi, Friend:
    We are using BPM to collect two type of message (Msg1 and Msg2) and map to target message (Msg3),
                              ------Receive1-------
    Start --Fork(start)                            Fork(stop) ---Transformation--Send
                              ------Receive2-------
    When we created all the messages from scratch, the process works, the process worked.
    After we use external definition (xsd), it always fails on transformation step.
    However,if we put the payload to test in message mapping, it success.
    Any thoughts ?
    Thanks
    Liang

    Hi, Praba:
    We have tested in both multi-mapping, and also interface mapping by using the same payload the causes error in runtime, they are all fine.
    The error happens on tranformation step: some nodes have very simple mapping like one to one, it can not create target node (see attached part of trace).
    Once we change the complained node mapping from a constant value, the next test shows next target node can not be produced.
    If the node is attribute, only required attribute complains, if the node is element, the node with min occurence of 1 complains
    <?xml version="1.0" encoding="utf-8" ?>
    - <MappingTrace>
      <Trace level="1" type="T">Mapping-Namespace:http://xmlfile2xmlfile</Trace>
      <Trace level="1" type="T">Mapping-Name:Im_PBC_Audit</Trace>
      <Trace level="1" type="T">Mapping-SWCV:64968F80768C11DCC184FCEB0A01071F</Trace>
      <Trace level="1" type="T">Mapping-Step:1</Trace>
      <Trace level="1" type="T">Mapping-Type:JAVA</Trace>
      <Trace level="1" type="T">Mapping-Program:com/sap/xi/tf/_PBC_Request_Response_AuditMapping_</Trace>
      <Trace level="3" type="T">Multi mapping required.</Trace>
      <Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_PBC_Request_Response_AuditMapping_.</Trace>
      <Trace level="3" type="T">Load 64968f80-768c-11dc-c184-fceb0a01071f, http://xmlfile2xmlfile, -1, com/sap/xi/tf/_PBC_Request_Response_AuditMapping_.class.</Trace>
      <Trace level="3" type="T">Search com/sap/xi/tf/_PBC_Request_Response_AuditMapping_.class (http://xmlfile2xmlfile, -1) in swcv 64968f80-768c-11dc-c184-fceb0a01071f.</Trace>
      <Trace level="3" type="T">Loaded class com.sap.xi.tf._PBC_Request_Response_AuditMapping_</Trace>
      <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._PBC_Request_Response_AuditMapping_</Trace>
      <Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_PBC_Request_Response_AuditMapping_</Trace>
      <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0:Message1/ns1:BenefitEnrollment. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    Thanks
    Liang

  • Message mapping tab works fine ,runtime exception

    Hi ,
    Need some advice... I get a runtime messge mapping error ( system error) failing the substring logic although when i download the same payload and run in test tab it works fine. Has anyone encountered similar issue ?
    Thank you.

    objects are active.Your second point is good ,but this error only happens when a load test is done , partciular messages throw runtime exception and fail in mapping on substring logic but when the same payload is downloaded and run via message mapping tabl it runs through. i will try disabling the substring logic nodes.
    Secondly when i get a runtime exception ,i try to restart the same message and it goes thorugh successfully. So restarting in moni helps.... but does not explain why....
    Thanks
    Edited by: xi project on May 18, 2010 12:28 AM

Maybe you are looking for

  • Open new Finder windows in full screen mode by default

    I'd like for new finder windows to open full-screen by default. I have found that, if I have no finder windows open, opening a new finder window always defaults to a non-full-screen window. Is there a way to fix this?

  • Not able to download or access account info

    Hi, For the past few days I have not been able to download songs from iTunes.  Furthermore, it seems that I cannot access my account information either, despite the fact that iTunes shows me as being logged in and displays my $$ balance.  When I sele

  • Java.math package does not exist!!!

    hi java experts, i really desperately need some help. ihave been trying to compile a java program i have written that imports the java.math package as i am using the BigInteger class. I am using SUN ONE STUDIO ME 4 and have j2se SDk installed. when i

  • Enormous battery drain after 3.01 upgrade

    guys and gals, anyone of you experiencing a huge spike in battery drain after upgrading to firmware 3.01? On 3.0 my iphone 3gs had no probs but after my upgrade last night he ran out of juice within a few hours while I was sleeping. This morning I re

  • How to Uninstall an OS

    I just installed the new Blackberry OS 10.3.1.1581 on my Blackberry Q10.  I am disliking many features and would like to uninstall this OS and return to the previous one.  Can anyone help me with this? Solved! Go to Solution.