N:1 Multimapping

Hi, all
can someone explain me  SAP BPM Pattern BpmPatternCollectMessage?
transformation Step use OM BpmPatternCollectMerge with MM BpmPatternCollectMerge
Mapping source is of occurence 0... unbound  and target ist of occurence 1
But in graphic mapping the source field Pomade has no target field.
in my oppinion i think that only the first message of source will be mapped??
this patter will not collect messages only the first source message will be mapped
regards
ralf

Hi,
Please have a look at link, it might be of help:
http://help.sap.com/saphelp_nw70/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
"The loop finishes when a specific message is received."
Kind Regards,

Similar Messages

  • Error in BPM with multimapping.

    Hi,
    I've got next  error in a transfromation step of bpm with multimapping :
      <?xml version="1.0" encoding="utf-8" ?>
    - <MappingTrace>
      <Trace level="1" type="T">Mapping http://www.miquello.com/C3900 IM_I3934_REPLICA_BBY , Software Component Version 931D4B005DF711DFC0CACC330A640786</Trace>
      <Trace level="1" type="T">Mapping Step 1 , Type JAVA , Program com/sap/xi/tf/_MM_I3934_REPLICA_BBY_</Trace>
      <Trace level="3" type="T">MTOM Attachments Are Written to the Payload</Trace>
      <Trace level="3" type="T">Mapping has exactly one source message</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="3" type="T">Executing multi-mapping</Trace>
      <Trace level="1" type="T">while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'guid' Thrown: java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'guid' at com.sap.guid.GUID.parseHexGUID(GUID.java:1046) at com.sap.guid.GUIDGenerator.parseHexGUID(GUIDGenerator.java:111) at com.sap.aii.utilxi.misc.api.GUIDFactory.parseHexGUID(GUIDFactory.java:127) at com.sap.aii.ibrun.sbeans.mapping.ParametrizationMap.createInputParameter(ParametrizationMap.java:140) at com.sap.aii.ibrun.sbeans.mapping.ParametrizationMap.createElement(ParametrizationMap.java:112) at com.sap.aii.ibrun.sbeans.mapping.ParametrizationMap.createParametrizations(ParametrizationMap.java:57) at com.sap.aii.ibrun.sbeans.mapping.ParametrizationMap.<init>(ParametrizationMap.java:37) at com.sap.aii.ibrun.sbeans.mapping.ParametrizationMap.newInstance(ParametrizationMap.java:65) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:111) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:72) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at sun.reflect.GeneratedMethodAccessor804.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133) at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164) at $Proxy1098.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:592) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:183) at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:267) 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:182) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:280)</Trace>
      </MappingTrace>
    However i've tested with same input message in Operation Mapping ESR, without any error.
    What could be the cause?
    Thanks, in advance.
    Carme.

    Hi,
    Are you using parameterized mapping or RFC lookup in your mapping???? If yes, please make sure that you are passing the parameter in the interface determination instead of null value.
    Also verify whether your cache is updated  with the latest GUID of your mapping program or not.
    Regards,
    Priyanka.

  • Veriable substitution issue in multimapping

    Hi Experts,
    I am working on the requirement where i need to create multiple flat files using multimapping for this. I am working on SAP PI 7.31 SP07, using SFTP adapter and messagetransformbean to create flat files.
    I am going for the variable substitution option as i want file name should be dynamic.(considering limitation of ASMA and dynamic configuration in
    multimapping)
    Getting the error "The variable substitution cannot be parse the message xml: Content is not allowed in prolog"
    Variable name- var1 reference- payload:NotificationAttachments,1,DocumentDetails,1,IncidentNumber,1
    Output struture-
    NotificationAttachments(1)
         ->DocumentDetails(0-n)
                   ->IncidentNumber(1)
                   ->DocNumber(1)
                   ->DocDescription(1)
                   ->Path(1)
    Please note one file can have multiple DocumentDetails.
    When i use reference for header data i.e. message:interface_name this works fine, but i want ot use IncidentNumber in file name from the payload.
    Can some one tell me is there something wrong on configuration, or there is some limitation here.
    Appreciate quick help.
    Thanks,
    Sandip

    Hello,
    May be u can check ur xpath? BTW, few days back i have seen a similar thread hope it's not somekind of bug (will cross check the same once i reach office)
    Variable Substitution in Receiver File Channel. PI 7.3
    Thanks
    Amit Srivastava

  • Usage of Variable Transport Binding(Receiver SOAP adapter) in multimapping

    Hi All,
    Mentioned below is the flow of the scenario that I am facing issues with:
    ECC -> PI (A) -> PI (B) - Receivers(1,2,3..n)
    I am working on PI(A).
    An Idoc containing multiple Plants is triggered which is mapped to an XML in PI(A).
    Depending on the number of Plants in the Idocs, that many XMLs are created in PI(A) using multimapping.
    These XMLs are then sent to PI(B) which would route it to different receivers.
    But PI(A) should send the party name to PI(B) for routing.
    For this I am using dynamic configuration. If there are 'N' party names based on 'N' plants, always the last part name is being sent to PI(B).
    Is it possible to send all the party names associated with each XML(/plant) without overriding?
    As mentioned in the below table, an Idoc is triggered with 3 Plants. 3 XMLs are generated each for a different party. But only the last party i.e. C is being sent to PI(B) using dynamic configuration overriding A and B.
    Plant
    Party Name
    Output
    1
    A
    2
    B
    3
    C
    C
    Please help me to resolve this issue.
    Regards,
    Vishal

    Hello,
    DC is not supported in multimapping.
    But, where exactly u want to send the party name? In the xml file u want that party name to be there?
    If yes, then there are 2 options either use AM as shown below or u can use variable substitution (search SDN u will find quite a few blogs/wiki on the same)
    A new approach: Multi-mapping Dynamic Configuration using a generic custom module
    Thanks
    Amit Srivastava

  • Problem with Multimapping with out using BPM

    Hi All,
    Here i have face a problem when working with multi mapping.
    For example I explain u with the following example.
    <Message1>
      <Employee>
          <Eno>
          <Ename>
    </Employee>
    </Message1>
    <Message2>
      <City>
           <Address>
           <Dno>
      </City>
    </Message2>
    Message1,Employee,Message2,City are mapped with constant("").
    Here my aim is to create 2 different files with the format as xml structure.
    One file with -
    <Message1>
    Second file with ---<Message2>
    this my example... Now I am explaining where i encountered problem in runtime.
    Error: Mapping exception
    Can not produce target element <Employee>....
    Hint: Iam presently using service pack-9.
    can one one assist....

    Hi,
    The problem is in the mapping, you need to check the mapping..
    1) did you change the occurence of the messages for the multimapping.. Go to Mapping-->Messages (Tab) and change the occurence of the messages
    2) Check the all fields,segments are mapped correctly
    3) Test the mapping
    4) Check the occurence of the Interface Mapping, and test it in the integration respository
    5) check the Source Message Structure and make sure that, it is a valid input to your mapping rules..
    Hope this helps,
    Regards,
    Moorthy

  • N:1 Multimapping For Files

    Hi All,
    I am doing N:1 multimapping for files.
    I have 2 senders and 1 receiver.
    I created 2 sender interfaces and 1 receiver interface.
    I did message mapping in which I added 2 sender message types in source and added the target message type.
    I did Interface mapping with 2 sender message interface and 1 receiver interface.
    But i faced problem when creating configurations in ID.
    (a) I am not able to understand how many interface determination/Receiver determinations are required.
    (b) Again I am not getting interface mapping in Interface Determination .
    So can anyone help me to solve this?
    Thanks
    Rabi

    Hi,
    You can use any of the collect message pattern provided. In your case any one of the following can be used:
    1. BpmPatternCollectMessage
    2. BpmPatternCollectTime
    ->There are some patterns in SWC : SAP BASIS --> namespace : http://sap.com/xi/XI/System/Patterns In ESR of your SAP PI System.
    -> please go through this blogs it will help you.
    Correlation – Runtime Behavior of BPM.
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/10526. [original link is broken] [original link is broken]
    In Configuration By using of BPM.
    -> two communication channels one for sender and one for receiver
    -> 2 receiver Determinations
              one for Sender to IP.
                One for IP to Receiver.
    -> 2 Interface Dtermination
             one for Sender to Ip
             one for IP two Receiver
    -> 1 Sender agrement.
    -> 1 receiver agrement for (IP to Receiver)
    regards,
    ganesh.

  • Java Mapping : Multimapping possible or not?

    Hi Experts ,
    Can we use Java Mapping in Case of Multimapping where I am getting 2 messages as Input and I have to sent 1 message O/p.
    Also the reverse case where I am getting I message as I/p and I have to sent 2 messages O/p
    Your suggestions are required .
    Regards

    Hi Amit,
    It is possible using Java Mapping.
    Also, go through the below links to get a better idea.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/09b16006526e72e10000000a422035/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/42/f3ca2529491bc7e10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/42/f3b31d48fb1bc8e10000000a11466f/frameset.htm
    /people/thorsten.nordholmsbirk/blog/2006/08/10/using-jaxp-to-both-parse-and-emit-xml-in-xi-java-mapping-programs
    /people/amol.joshi2/blog/2006/03/10/think-objects-when-creating-java-mappings
    Structure Mapping: suppress multi occurence based on field content
    Hope these help
    Regards
    Kiran..

  • RFC Look Up with MultiMapping in PI 7.1

    Hi All,
    I have created a multimapping with one source & two target messages. I am using a RFC look Up for one of fields inside mapping.
    But, when I used this multimapping in interface determination in PI 7.1, at runtime i got an error.
    Error - is variable (Say XYZ) used while creating parameter for RFC look Up in message mapping doesn't exist.
    If I execute multimapping without RFC look Up, it worked absolutely fine.
    I have used RFC look Up in number of normal message mappings, it worked fine.
    Not sure, if this is a issue with PI 7.1, that multi-mapping with RFC look Up isn't supported at enhanced interface determination.
    Please provide inputs for this or if anybody has hands on experience using this with PI 7.1
    Thanks,
    Venkat

    Hi,
    Please go through the thread:
    Re: Global Variables declaration in PI 7.1
    and check whether its useful.
    Regards,
    Vineetha.

  • Multimapping issue

    Hi Experts,
    Scenario : SOAP -> XI -> RFC
    Source side : One message
    Target side : Two RFCs
    Depends on..one of the source field value I have to trigger the particular RFC.
    IR Objects
    1. Interface mapping - 1
    Source message interface occurance - 1
    Target RFCs 0 to Unbounded occurance
    Mapping
    1. XSLT Step1 - Source rootnode contains namespace. To remove that I have used the XSLT mapping.
    CODE:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
         <xsl:template match="*">
              <xsl:element name="{local-name()}">
                   <xsl:apply-templates select="@* | node()"/>
              </xsl:element>
         </xsl:template>
    </xsl:stylesheet>
    2. XSLT Step2 - To add the Message tags in the starting for multimapping.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
         <xsl:template match="/">
              <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
                   <ns0:Message1>
                        <xsl:apply-templates/>
                   </ns0:Message1>
              </ns0:Messages>
         </xsl:template>
         <xsl:template match="@*|node()">
              <xsl:copy>
                   <xsl:apply-templates select="@*|node()"/>
              </xsl:copy>
         </xsl:template>
    </xsl:stylesheet>
    3. Graphical - Multimapping
    ID objects
    Interface determination - Selected the option enhanced. remaining all similar to normal interface.
    Able to get the required results from MM and IM testing, but not from ID Test Configuration and runtime workbench.
    (For IM testing : I have used the acutal payload)
    Getting the below error from runtime workbench.
    <?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="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">GENERIC</SAP:Code>
      <SAP:P1>Split mapping created no messages</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Split mapping created no messages</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Could you please tell me how to resolve the issue.
    Edited by: Sundari David on Nov 29, 2011 11:52 AM

    Hi,
    if you are going with the option of mapping based message split with you XSLT mapping , you need to include Message and MessageN tags as the top nodes in your target msgs.
    The problem is the Target XML that is produced contains the namespace
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
       </ns0:Message1
    u2026
    This needs to be removed.
    Use this XSLT as post processing after the main message mapping. Save this code as XSLT, zip and then import as external archive and then add this as last step in interface mapping.
    Let me know how it goes - it will fix your namespace issue not sure if you'll have problems with the result it produces.
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" indent="no"/>
    <xsl:template match="/|comment()|processing-instruction()">
        <xsl:copy>
          <xsl:apply-templates/>
        </xsl:copy>
    </xsl:template>
    <xsl:template match="*">
        <xsl:element name="{local-name()}">
          <xsl:apply-templates select="@*|node()"/>
        </xsl:element>
    </xsl:template>
    <xsl:template match="@*">
        <xsl:attribute name="{local-name()}">
          <xsl:value-of select="."/>
        </xsl:attribute>
    </xsl:template>
    </xsl:stylesheet>
    i hope it will helpful.
    regards,
    ganesh.

  • PI 73 sp2 - issue with multimapping

    We are having a strange issue in PI 73 sp2. We recently upgraded from PI 711 to PI 73 and migrated all our development artifacts over to the new instance. We have a multimapping scenario (1:3) which was working fine in the PI 711 instance is not working anymore in the new PI 73 instance.
    It is a
                                       SOAP (AE) -> IE -> JDBC/ABAP Proxy
    scenario.
    We can see the payload in the RWB in Comm Channel monitoring but when it comes to the IE, mapping runtime is receiving an empty payload and the mapping fails.
    Has anyone encountered any such issue ? I am hoping that someone can point me to a OSS note as it doesnt seem like anything is wrong with the interface as such. It was working just fine in the PI 711 instance and no changes were made in the new instance.
    Thanks
    Sridhar

    Gabriel .. we are using the SOAP Adapter, we did update the meta-data to the PI BASIS 7.30 version. We are able to see the payload in the RWB in the SOAP Sender channel.
    On further research, we noticed that the mappings migrated over from the PI 711 box to the PI 730 box are not working as designed as the contexts seem to be messed up. Hence, the sequence of execution is haywire and causing lot of errors. I am not sure if anyone else is facing similar issues.
    Thanks
    Sridhar

  • How to do the multimapping in File to File Scenario

    Hi All,
    I am doing File to File scenario using Multimapping Concept.pls send the procedure how to do the Massege mapping using Multimapping.
    I have a source structure like this.
    <order header>
    order no
    order Description
    </order header>
    <Orderitem>
    matno
    description
    Qty
    UOM
    </Orderitem>
    i need output text file Like
    Ono Oodesc OMatno Odes Oqty OUOM
    1      02    123    Oil  2    L
    1      02    789    Milk 4    L
    How to do the multimapping for this.if any Advanced java functions needed pls send the code.
    Thanks
    Govindu.

    Hello Govind,
    Make the target str as below
    <root>
    <Row>
    <OrderNo></OrderNo>
    <OrderDesc></OrderDesc>
    <Matno></Matno>,
    <Desc></Desc>
    <Qty></Qty>
    <UOM></UOM>
    </Row>
    </root>
    The mapping for elements
    <Matno>,<Desc>,<Qty>,<UOM> is straight-forward. The node <Row> can be mapped to <OrderItem> node in source. For orderNo and OrderDesc you need to use advanced UDF (with entire queue cached) as below.
    public void getOrderNo(String[] a,String[] b,ResultList result, Container container){
    /Declare a vector to store unique Order Numbers  /Order Desc/
    Vector vOno = new Vector();
         for (int i = 0;i<a.length;i++){
         if (a<i>.equals()ResultList.CC) continue;
         /Add distinct Order numbers to the vector/
         if(!vOno.contains(a<i>)) vOno.add(a<i>);
    int headerCounter = 0;
    String value = new String();
    value = (String) vOno.get(headerCounter);
         for (int j = 0;j<b.length;j++){
         /When context changes, move to next order no/
         if (b[j].equals()ResultList.CC){
                       headerCounter++;
                       value = (String) vOno.get(headerCounter);
                      continue;
         /Repeat the current order number/Order Desc until a context change occurs/
         result.addValue(value);
    The mapping for OrderNo can be like below:
    Pass <Order No> from Header to the UDF as array a[] and <OrderItem> from Item as array b[]. Take the output of the function and make it SplitByValue the result of which can be passed to OrderNo. The context of both < Order No> and <OrderItem> has to be one level higher.
    Similar mapping for OrderDesc can be made using the same UDF
    I hope that resolves your problem.
    Regards
    Amit

  • Multimapping???

    In multimapping combination of JAVA mapping,ABAP mapping is posiible????
    correct answer will be  rewarded.
    Anyone please???
    Message was edited by:
            sam kumar

    you are miximg two different terms here.
    <b>multimapping</b> and <b>multiple message mappings under one interface mappings</b>.
    multimapping can be done via any mapping technique available.
    in multiple message mappings under one interface mapping,you can use any combination of mapping technique,only thing you need to make sure is that the first one will be source to target,rest all will be target to target
    for more search SDN for a blog by michal explaining "multiple message mapping"
    Thanx
    Aamir

  • Sender File Adapter with file conversion  Multimapping

    Hello all,
    i have to use multimapping with the file sender adapter
    XML for multimapping ist like this
    ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:KVNR_Senden_MT xmlns:ns1="urn:lsv.de/SENDER">
             <Inhalt>
                <KE/>
                <VF/>
                <BBNRAB/>
                <BBNREP/>
                <VERNR/>
                <ED/>
                <FEKZ/>
    in File adapter
    DocumentName Messages
    RecordsetName  Inhalt
    Recorset Struc Inhalt,20
    Inhalt.fieldFixedLength 4,5,6.....
    Inhalt.fieldNames        KE,VF,.....
    but were can I generate Message1?????
    any Hints?
    regards
    ralf

    sorry but the message tags will not be add dynamically
    i have change an existing message mapping 1:1 with file content conversion
    into a multimapping.
    by changing into multimapping the message was surrounded with
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>.......
    no changing in File Adapter an in the IE there was an error
    com.sap.aii.utilxi.misc.api.BaseRuntimeException geworfen: RuntimeException in Message-Mapping transformatio~.
    if i added the stuct
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>.......
    by hand and it works???
    so i think i had to add
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>.......
    to the file content conversion but i don't know how to do it???
    Ralf

  • Problem with multimapping .

    Hi ,
    I am trying to map a idoc to a falt file using multimapping .
    I have two interfaces ...Header and item respectively.
    the idoc I am using is  DESADV./AFS/DELVRY03.ZASNDELVRY03.
    It has the following kind of structure .
    Single Idoc .
    Multiple headers ...
    Multiple lines items...
    Such that the target looks like
    Messages .
    Message1.....
       header.....
    Message2..
       Item...
    The problem that I am facing is that when I test my mapping ...
    for two headers and there corresponding 2 line items (2 for each header)
    I get  two headers in the target .
    But I get only  line items for the the first header only

    <b>Source</b>
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ZASNDELVRY03>
             <IDOC BEGIN="1">
                <EDI_DC40 SEGMENT="1">
                   <TABNAM>EDI_DC40</TABNAM>
                   <MANDT>100</MANDT>
                   <DOCNUM>0000000002165287</DOCNUM>
                   <DOCREL>640</DOCREL>
                   <STATUS>30</STATUS>
                   <DIRECT>1</DIRECT>
                   <OUTMOD>4</OUTMOD>
                   <IDOCTYP>/AFS/DELVRY03</IDOCTYP>
                   <CIMTYP>ZASNDELVRY03</CIMTYP>
                   <MESTYP>DESADV</MESTYP>
                   <MESCOD>ASN</MESCOD>
                   <SNDPOR>SAPJEP</SNDPOR>
                   <SNDPRT>LS</SNDPRT>
                   <SNDPRN>JEPCLNT100</SNDPRN>
                   <RCVPOR>WM242_ASN</RCVPOR>
                   <RCVPRT>LS</RCVPRT>
                   <RCVPRN>WM242</RCVPRN>
                   <CREDAT>20070130</CREDAT>
                   <CRETIM>160420</CRETIM>
                   <SERIAL>20070130160418</SERIAL>
                </EDI_DC40>
                <E1EDL20 SEGMENT="1">
                   <VBELN>180007392</VBELN>
                   <ZASN_HDR SEGMENT="1">
                      <ASNTY>3</ASNTY>
                      <VBELN>180007392</VBELN>
                      <TOLOC>15</TOLOC>
                      <WHTRF>N</WHTRF>
                      <QCHLD>N</QCHLD>
                      <OUTSF>Y</OUTSF>
                      <BOLNR>NOSU4347279</BOLNR>
                      <LIFNR>0001000088</LIFNR>
                      <CSSHP>0000000</CSSHP>
                      <LFIMG>        275.0000</LFIMG>
                      <SHPDT>000000000</SHPDT>
                      <SSRDT>020070130</SSRDT>
                      <SCODE>10</SCODE>
                      <MISC1>32</MISC1>
                      <MISC3>60</MISC3>
                      <FCODE>1</FCODE>
                   </ZASN_HDR>
                   <E1EDL24 SEGMENT="1">
                      <POSNR>00001</POSNR>
                      <ZASN_ITM SEGMENT="1">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007392</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>11</SZRPO>
                         <SEQNR>00001</SEQNR>
                         <ASIZE>4</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         23.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900001</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                   <E1EDL24 SEGMENT="1">
                      <POSNR>00002</POSNR>
                      <ZASN_ITM SEGMENT="1">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007392</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>12</SZRPO>
                         <SEQNR>00002</SEQNR>
                         <ASIZE>6</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         38.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900002</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                   <E1EDL24 SEGMENT="1">
                      <POSNR>00003</POSNR>
                      <ZASN_ITM SEGMENT="1">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007392</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>13</SZRPO>
                         <SEQNR>00003</SEQNR>
                         <ASIZE>8</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         42.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900003</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                   <E1EDL24 SEGMENT="1">
                      <POSNR>00004</POSNR>
                      <ZASN_ITM SEGMENT="1">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007392</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>02</SZRPO>
                         <SEQNR>00004</SEQNR>
                         <ASIZE>10</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         62.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900004</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                   <E1EDL24 SEGMENT="1">
                      <POSNR>00005</POSNR>
                      <ZASN_ITM SEGMENT="1">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007392</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>03</SZRPO>
                         <SEQNR>00005</SEQNR>
                         <ASIZE>12</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         50.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900005</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                   <E1EDL24 SEGMENT="1">
                      <POSNR>00006</POSNR>
                      <ZASN_ITM SEGMENT="1">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007392</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>04</SZRPO>
                         <SEQNR>00006</SEQNR>
                         <ASIZE>14</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         34.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900006</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                   <E1EDL24 SEGMENT="1">
                      <POSNR>00007</POSNR>
                      <ZASN_ITM SEGMENT="1">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007392</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>05</SZRPO>
                         <SEQNR>00007</SEQNR>
                         <ASIZE>16</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         26.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900007</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                </E1EDL20>
                <E1EDL20 SEGMENT="2">
                   <VBELN>180007393</VBELN>
                   <ZASN_HDR SEGMENT="2">
                      <ASNTY>3</ASNTY>
                      <VBELN>180007393</VBELN>
                      <TOLOC>15</TOLOC>
                      <WHTRF>N</WHTRF>
                      <QCHLD>N</QCHLD>
                      <OUTSF>Y</OUTSF>
                      <BOLNR>NOSU4347279</BOLNR>
                      <LIFNR>0001000088</LIFNR>
                      <CSSHP>0000000</CSSHP>
                      <LFIMG>        275.0000</LFIMG>
                      <SHPDT>000000000</SHPDT>
                      <SSRDT>020070130</SSRDT>
                      <SCODE>10</SCODE>
                      <MISC1>32</MISC1>
                      <MISC3>60</MISC3>
                      <FCODE>1</FCODE>
                   </ZASN_HDR>
                   <E1EDL24 SEGMENT="2">
                      <POSNR>00001</POSNR>
                      <ZASN_ITM SEGMENT="1">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007393</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>11</SZRPO>
                         <SEQNR>00001</SEQNR>
                         <ASIZE>4</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         23.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900001</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                   <E1EDL24 SEGMENT="2">
                      <POSNR>00002</POSNR>
                      <ZASN_ITM SEGMENT="2">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007393</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>12</SZRPO>
                         <SEQNR>00002</SEQNR>
                         <ASIZE>6</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         38.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900002</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                   <E1EDL24 SEGMENT="2">
                      <POSNR>00003</POSNR>
                      <ZASN_ITM SEGMENT="2">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007393</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>13</SZRPO>
                         <SEQNR>00003</SEQNR>
                         <ASIZE>8</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         42.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900003</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                   <E1EDL24 SEGMENT="2">
                      <POSNR>00004</POSNR>
                      <ZASN_ITM SEGMENT="1">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007393</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>02</SZRPO>
                         <SEQNR>00004</SEQNR>
                         <ASIZE>10</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         62.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900004</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                   <E1EDL24 SEGMENT="2">
                      <POSNR>00005</POSNR>
                      <ZASN_ITM SEGMENT="2">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007393</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>03</SZRPO>
                         <SEQNR>00005</SEQNR>
                         <ASIZE>12</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         50.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900005</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                   <E1EDL24 SEGMENT="2">
                      <POSNR>00006</POSNR>
                      <ZASN_ITM SEGMENT="2">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007393</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>04</SZRPO>
                         <SEQNR>00006</SEQNR>
                         <ASIZE>14</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         34.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900006</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                   <E1EDL24 SEGMENT="2">
                      <POSNR>00007</POSNR>
                      <ZASN_ITM SEGMENT="2">
                         <ASNTY>3</ASNTY>
                         <VBELN>180007393</VBELN>
                         <VGBEL>AW2026121</VGBEL>
                         <VGPOS>000010</VGPOS>
                         <CMPNY>01</CMPNY>
                         <DIVSN>01</DIVSN>
                         <STYLE>60000769</STYLE>
                         <COLOR>358</COLOR>
                         <SZRCD>M-1</SZRCD>
                         <SZRPO>05</SZRPO>
                         <SEQNR>00007</SEQNR>
                         <ASIZE>16</ASIZE>
                         <INVTY>F</INVTY>
                         <IPQTY>     25.0000</IPQTY>
                         <CSSHP>0000000</CSSHP>
                         <LFIMG>         26.0000</LFIMG>
                         <SCQTY>      0.0000</SCQTY>
                         <IMIND>Y</IMIND>
                         <SCODE>10</SCODE>
                         <REFR1>900007</REFR1>
                         <MISC1>32</MISC1>
                         <MISC2>01</MISC2>
                         <MISC3>60</MISC3>
                         <MISCN>       0.00000</MISCN>
                         <FCODE>1</FCODE>
                      </ZASN_ITM>
                   </E1EDL24>
                </E1EDL20>
             </IDOC>
          </ZASNDELVRY03>
       </ns0:Message1>
    </ns0:Messages>
    <b>Target</b>
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:Mt_inboundelv_header xmlns:ns1="urn:jag.com.inbounddelv.test01">
             <AHPRDT>000000000</AHPRDT>
             <AHPRTM>0000000</AHPRTM>
             <ADBCTN>0000000002165287</ADBCTN>
             <AHASTP>3</AHASTP>
             <ADSHMT>180007392</ADSHMT>
             <AHTLOC>15</AHTLOC>
             <AHTLOC>00</AHTLOC>
             <AHTLOC>00</AHTLOC>
             <AHTLOC>00</AHTLOC>
             <AHTLOC>00</AHTLOC>
             <AHTLOC>00</AHTLOC>
             <AHTLOC>00</AHTLOC>
             <AHTLOC>15</AHTLOC>
             <AHTLOC>15</AHTLOC>
             <AHTLOC>15</AHTLOC>
             <AHTLOC>15</AHTLOC>
             <AHTLOC>15</AHTLOC>
             <AHTLOC>15</AHTLOC>
             <AHTLOC>15</AHTLOC>
             <AHWHTF>N</AHWHTF>
             <AHQCHD>N</AHQCHD>
             <AHOSRC>Y</AHOSRC>
             <AHSVIA>0000</AHSVIA>
             <AHMANI>0000000000</AHMANI>
             <AHBLAD>00000000000000000000</AHBLAD>
             <AHTRLN>000000000000</AHTRLN>
             <AHPRON>00000000000000000000</AHPRON>
             <AHWKON>000000000000</AHWKON>
             <AHRCFR>0001000088</AHRCFR>
             <AHCSSH>0000000</AHCSSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHUNSH>000000000000000</AHUNSH>
             <AHSHDT>000000000</AHSHDT>
             <AHSSRD>000000000</AHSSRD>
             <AHSSRT>0000000</AHSSRT>
             <AHSTAT>10</AHSTAT>
             <AHMIS1>00000000000000000000</AHMIS1>
             <AHMIS2>00000000000000000000</AHMIS2>
             <AHMIS3>00000000000000000000</AHMIS3>
             <AHMIS3>00000000000000000000</AHMIS3>
             <AHMIS3>00000000000000000000</AHMIS3>
             <AHMIS3>00000000000000000000</AHMIS3>
             <AHMIS3>00000000000000000000</AHMIS3>
             <AHMIS3>00000000000000000000</AHMIS3>
             <AHFUNC>1</AHFUNC>
          </ns1:Mt_inboundelv_header>
          <ns1:Mt_inboundelv_header xmlns:ns1="urn:jag.com.inbounddelv.test01">
             <AHPRDT>000000000</AHPRDT>
             <AHPRTM>0000000</AHPRTM>
             <ADBCTN>0000000002165287</ADBCTN>
             <AHASTP>3</AHASTP>
             <ADSHMT>180007393</ADSHMT>
             <AHWHTF>N</AHWHTF>
             <AHQCHD>N</AHQCHD>
             <AHOSRC>Y</AHOSRC>
             <AHSVIA>0000</AHSVIA>
             <AHMANI>0000000000</AHMANI>
             <AHBLAD>00000000000000000000</AHBLAD>
             <AHTRLN>000000000000</AHTRLN>
             <AHPRON>00000000000000000000</AHPRON>
             <AHWKON>000000000000</AHWKON>
             <AHRCFR>0001000088</AHRCFR>
             <AHCSSH>0000000</AHCSSH>
             <AHSHDT>000000000</AHSHDT>
             <AHSSRD>000000000</AHSSRD>
             <AHSSRT>0000000</AHSSRT>
             <AHSTAT>10</AHSTAT>
             <AHMIS1>00000000000000000000</AHMIS1>
             <AHMIS2>00000000000000000000</AHMIS2>
             <AHFUNC>1</AHFUNC>
          </ns1:Mt_inboundelv_header>
       </ns0:Message1>
       <ns0:Message2>
          <ns1:Mt_inboundelv_item xmlns:ns1="urn:jag.com.inbounddelv.test01">
             <ADBCTN>0000000002165287</ADBCTN>
             <ADASTP>3</ADASTP>
             <ADSHMT>180007392</ADSHMT>
             <ADPON>AW2026121</ADPON>
             <ADPOLN>000010</ADPOLN>
             <ADCO>01</ADCO>
             <ADDIV>01</ADDIV>
             <ADCOLR>0000</ADCOLR>
             <ADSDIM>000</ADSDIM>
             <ADSZCD>M-1</ADSZCD>
             <ADSZPO>11</ADSZPO>
             <ADSEQN>00001</ADSEQN>
             <ADSZDS>4</ADSZDS>
             <ADINVT>F</ADINVT>
             <ADBCHN>000000000000000</ADBCHN>
             <ADIPQT>     25.0000</ADIPQT>
             <ADCSSH>0000000</ADCSSH>
             <ADUNSH>000000000000000</ADUNSH>
             <ADIMND> N</ADIMND>
             <ADSTAT>00</ADSTAT>
             <ADREF1>0000000000</ADREF1>
             <ADSC1>00</ADSC1>
             <ADNUM4>0000000000000</ADNUM4>
             <ADFUNC>1</ADFUNC>
          </ns1:Mt_inboundelv_item>
          <ns1:Mt_inboundelv_item xmlns:ns1="urn:jag.com.inbounddelv.test01">
             <ADBCTN>0000000002165287</ADBCTN>
             <ADASTP>3</ADASTP>
             <ADSHMT>180007392</ADSHMT>
             <ADPON>AW2026121</ADPON>
             <ADPOLN>000010</ADPOLN>
             <ADCO>01</ADCO>
             <ADDIV>01</ADDIV>
             <ADCOLR>0000</ADCOLR>
             <ADSDIM>000</ADSDIM>
             <ADSZCD>M-1</ADSZCD>
             <ADSZPO>12</ADSZPO>
             <ADSEQN>00002</ADSEQN>
             <ADSZDS>6</ADSZDS>
             <ADINVT>F</ADINVT>
             <ADBCHN>000000000000000</ADBCHN>
             <ADIPQT>     25.0000</ADIPQT>
             <ADCSSH>0000000</ADCSSH>
             <ADUNSH>000000000000000</ADUNSH>
             <ADIMND> N</ADIMND>
             <ADSTAT>00</ADSTAT>
             <ADREF1>0000000000</ADREF1>
             <ADSC1>00</ADSC1>
             <ADNUM4>0000000000000</ADNUM4>
             <ADFUNC>1</ADFUNC>
          </ns1:Mt_inboundelv_item>
          <ns1:Mt_inboundelv_item xmlns:ns1="urn:jag.com.inbounddelv.test01">
             <ADBCTN>0000000002165287</ADBCTN>
             <ADASTP>3</ADASTP>
             <ADSHMT>180007392</ADSHMT>
             <ADPON>AW2026121</ADPON>
             <ADPOLN>000010</ADPOLN>
             <ADCO>01</ADCO>
             <ADDIV>01</ADDIV>
             <ADCOLR>0000</ADCOLR>
             <ADSDIM>000</ADSDIM>
             <ADSZCD>M-1</ADSZCD>
             <ADSZPO>13</ADSZPO>
             <ADSEQN>00003</ADSEQN>
             <ADSZDS>8</ADSZDS>
             <ADINVT>F</ADINVT>
             <ADBCHN>000000000000000</ADBCHN>
             <ADIPQT>     25.0000</ADIPQT>
             <ADCSSH>0000000</ADCSSH>
             <ADUNSH>000000000000000</ADUNSH>
             <ADIMND> N</ADIMND>
             <ADSTAT>00</ADSTAT>
             <ADREF1>0000000000</ADREF1>
             <ADSC1>00</ADSC1>
             <ADNUM4>0000000000000</ADNUM4>
             <ADFUNC>1</ADFUNC>
          </ns1:Mt_inboundelv_item>
          <ns1:Mt_inboundelv_item xmlns:ns1="urn:jag.com.inbounddelv.test01">
             <ADBCTN>0000000002165287</ADBCTN>
             <ADASTP>3</ADASTP>
             <ADSHMT>180007392</ADSHMT>
             <ADPON>AW2026121</ADPON>
             <ADPOLN>000010</ADPOLN>
             <ADCO>01</ADCO>
             <ADDIV>01</ADDIV>
             <ADCOLR>0000</ADCOLR>
             <ADSDIM>000</ADSDIM>
             <ADSZCD>M-1</ADSZCD>
             <ADSZPO>02</ADSZPO>
             <ADSEQN>00004</ADSEQN>
             <ADSZDS>10</ADSZDS>
             <ADINVT>F</ADINVT>
             <ADBCHN>000000000000000</ADBCHN>
             <ADIPQT>     25.0000</ADIPQT>
             <ADCSSH>0000000</ADCSSH>
             <ADUNSH>000000000000000</ADUNSH>
             <ADIMND> N</ADIMND>
             <ADSTAT>00</ADSTAT>
             <ADREF1>0000000000</ADREF1>
             <ADSC1>00</ADSC1>
             <ADNUM4>0000000000000</ADNUM4>
             <ADFUNC>1</ADFUNC>
          </ns1:Mt_inboundelv_item>
          <ns1:Mt_inboundelv_item xmlns:ns1="urn:jag.com.inbounddelv.test01">
             <ADBCTN>0000000002165287</ADBCTN>
             <ADASTP>3</ADASTP>
             <ADSHMT>180007392</ADSHMT>
             <ADPON>AW2026121</ADPON>
             <ADPOLN>000010</ADPOLN>
             <ADCO>01</ADCO>
             <ADDIV>01</ADDIV>
             <ADCOLR>0000</ADCOLR>
             <ADSDIM>000</ADSDIM>
             <ADSZCD>M-1</ADSZCD>
             <ADSZPO>03</ADSZPO>
             <ADSEQN>00005</ADSEQN>
             <ADSZDS>12</ADSZDS>
             <ADINVT>F</ADINVT>
             <ADBCHN>000000000000000</ADBCHN>
             <ADIPQT>     25.0000</ADIPQT>
             <ADCSSH>0000000</ADCSSH>
             <ADUNSH>000000000000000</ADUNSH>
             <ADIMND> N</ADIMND>
             <ADSTAT>00</ADSTAT>
             <ADREF1>0000000000</ADREF1>
             <ADSC1>00</ADSC1>
             <ADNUM4>0000000000000</ADNUM4>
             <ADFUNC>1</ADFUNC>
          </ns1:Mt_inboundelv_item>
          <ns1:Mt_inboundelv_item xmlns:ns1="urn:jag.com.inbounddelv.test01">
             <ADBCTN>0000000002165287</ADBCTN>
             <ADASTP>3</ADASTP>
             <ADSHMT>180007392</ADSHMT>
             <ADPON>AW2026121</ADPON>
             <ADPOLN>000010</ADPOLN>
             <ADCO>01</ADCO>
             <ADDIV>01</ADDIV>
             <ADCOLR>0000</ADCOLR>
             <ADSDIM>000</ADSDIM>
             <ADSZCD>M-1</ADSZCD>
             <ADSZPO>04</ADSZPO>
             <ADSEQN>00006</ADSEQN>
             <ADSZDS>14</ADSZDS>
             <ADINVT>F</ADINVT>
             <ADBCHN>000000000000000</ADBCHN>
             <ADIPQT>     25.0000</ADIPQT>
             <ADCSSH>0000000</ADCSSH>
             <ADUNSH>000000000000000</ADUNSH>
             <ADIMND> N</ADIMND>
             <ADSTAT>00</ADSTAT>
             <ADREF1>0000000000</ADREF1>
             <ADSC1>00</ADSC1>
             <ADNUM4>0000000000000</ADNUM4>
             <ADFUNC>1</ADFUNC>
          </ns1:Mt_inboundelv_item>
          <ns1:Mt_inboundelv_item xmlns:ns1="urn:jag.com.inbounddelv.test01">
             <ADBCTN>0000000002165287</ADBCTN>
             <ADASTP>3</ADASTP>
             <ADSHMT>180007392</ADSHMT>
             <ADPON>AW2026121</ADPON>
             <ADPOLN>000010</ADPOLN>
             <ADCO>01</ADCO>
             <ADDIV>01</ADDIV>
             <ADCOLR>0000</ADCOLR>
             <ADSDIM>000</ADSDIM>
             <ADSZCD>M-1</ADSZCD>
             <ADSZPO>05</ADSZPO>
             <ADSEQN>00007</ADSEQN>
             <ADSZDS>16</ADSZDS>
             <ADINVT>F</ADINVT>
             <ADBCHN>000000000000000</ADBCHN>
             <ADIPQT>     25.0000</ADIPQT>
             <ADCSSH>0000000</ADCSSH>
             <ADUNSH>000000000000000</ADUNSH>
             <ADIMND> N</ADIMND>
             <ADSTAT>00</ADSTAT>
             <ADREF1>0000000000</ADREF1>
             <ADSC1>00</ADSC1>
             <ADNUM4>0000000000000</ADNUM4>
             <ADFUNC>1</ADFUNC>
          </ns1:Mt_inboundelv_item>
       </ns0:Message2>
    </ns0:Messages>

  • Problem with multimapping in BPM

    Hy,
    I still have a problem with a multimapping in BPM. I add a new message into the input message of the mapping definition. I have now 10 input message mapped to a Idoc. I have the problem that yet the last message is no more treated by the mapping step.
    Anyone can help me.
    Thanks

    Hi,
    After adding the new input file, the cache may not be refreshed properly.
    Please refer to this for Cache Refresh:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290">How to Handle Caches in SAP XI 3.0</a>
    JE

  • Multimapping n:1 (XML to IDOC) Issue - Cannot use map in the scenario

    Hi! I have created a multimapping in the directory. Source message is 0...unbounded and destination message is 1. The intention is to bring a single file into XI that contains mutliple XML messages. I then need to map this into a single IDOC. I have the mapping working. However, when I try and bring this into my integration scenario, XI cannot find the message interface.
    I am not 100% convinced that this will all hang together =) But Cannot even prove that 'cos I cannot set this up in the scenario.
    Any ideas would be greatly appreciate and rewarded.
    Thx
    Duncan

    Apologies for getting all my terminology screwed up. Here is what I have:
    <u>Integration Repository</u>
    Imported Objects - Target IDOC
    Interface Objects : External Definitions - XML schema of source message
    Interface Objects : Message Interface - For source XML; Outbound + Asynch
    Message Objects : Message Mapping - XML (0..unbounded) to IDOC (1) map
    Message Objects : Interface Mapping - XML message interface (0..unbounded) -> XML to IDOC mapping -> IDOC (1)
    <u>Integration Directory</u>
    Interface Determination...
    I select Type of Interface Determination = Extended but when I pull down the dropdown I do not see the multimap.
    I have this working OK for one IDOC to multiple XML messages, doing the same as above. I have checked SCV, namespace etc... and they are correct. I am sure I am missing something very simple.
    Again, any ideas appreciated.
    Thx
    Duncan

Maybe you are looking for

  • XL-Reporter - sales analysis including row discount and document discount

    Hello World! In XLR I want to report all item-sales to customers grouped by item-groups based on invoives. Since I am interested only in net amounts (without tax, freight and other expenses) and discounts I use 'S0_LineTotal' as attribute. 'SO_LineTo

  • How can I transfer song rating, play to my new computer?

    Hi!!!! I am using window 7 on my old laptop right now. I would like to transfer all of my song along with rating and play to my new computer which is also using window 7. Does anyone know how to do it? I have try home sharing but I just transfer only

  • Please, answer me about this AWT problem!!

    Hi everybody, this is the problem: how can I exit from an AWT window without writing System.exit(0); I'm working with JES and it obviously crashes after this command, please, help me !! Thank's in advance, Bye! Stefano Moro Turin, Italy

  • AttachMovie from a loaded SWF

    I'm trying to attach a movie from the library of an SWF I loaded... from what I've read on on the forums, this is possible, however I can't seem to get it to work. My setup for the test files is as follows: CONTAINER.SWF (parent file) - creates empty

  • Stuck on "Updating iPod Software"

    in itunes - progress bar is just below 1/2 and has been there for two hours, the touch screen itself has the apple logo with an empty progress bar on it. How long to wait, what to do?