Multi Mapping   for a simple scenario

Hi,
   i have   a scenario    i.e. from the source I'm getting some 10 fields of data..   like  bellow..
Data:                      0--- Unbounded
    Company_Code   1-1
    Order_No            1-1
    Material              1-1
    Amount              1-1
but my requirement is.. in the receiver side i have two structures.. 
1)Receiver1
Data:                      0--- Unbounded
    Company_Code   1-1
    Order_No            1-1
2)Receiver2
Data:                      0--- Unbounded
    Company_Code   1-1
    Material              1-1
    Amount              1-1
if the Company Code is  1000  then   the data wil goes to First Receiver..   and  if the  Company Code is 2000  then the data will goes to Second Receiver
  This is my requirement..
  for this.  idid IR point of view every thing correctly by using multi  mapping..  even if i test the mapping that is working fine..
but  in the ID(Integration Directory ) i'm not able to see any  Interface mappings .  in the Enhanced  Interface detremination..    It was displaying No Objects Found.. message..
for that what  can i do..   any suggestions.. please..
regards
Jain

Hi jain,
  I think you confused with  occurance.
  For your recurement You created a structure with 0-unbounded in the Source and Receivers.
  There is no need of change the Message type and Interface Name Structure occurances.
  Just Do like belllow.
  1. Mapping:
     select your source structure.
     select your Receiver structures.
     Put the condition for creating Nodes for the Receiver structures.
     There is No need of change occurances.
  2.InterFace Mapping:
     Select Your source message Interface.
     Select your Receiver interfaces.
     Have (1 Mapping) 1 source ,2 Receivers.
     There is No need of change occurances.
Now go to Interface Determination.Choose extened.you will get your mapping.
Regards,
Prakasu

Similar Messages

  • Multi-mapping for ibound IDOC

    Hi! All
    It would be of great help if you provide your suggestions on:
    Mapping one XML source file to 6 IDOC receivers, 2 of them are of the same type and 4 are distinct idoc types.
    I tried multi-mapping and received the following error:
    "Messages in multi-message format can only be sent to one Adapter Engine"
    Looks like IDOC adapter does not support multi mapping...
    Can you please suggest any other option apart from using BPM(since it consumes lot of resources).
    Thanks a lot!!
    Regards,
    Patrick

    Hey
    its not possible to do Multimapping over IDOC's without BPM.
    other way around can be to do a single -single scenario,suppose u have 6 IDOC's to post then u need to design 6 different scenarios for them.
    without BPM you cant do multimapping for IDOC or HTTP
    Thanx
    Aamir
    Message was edited by:
            Aamir Suhail

  • Multi Mapping for JDBC Receiver JDBC Adapter

    Hi All,
        I'm trying an IDoc to JDBC (canonical XML) scenario using multi mapping (single IDoc as source and two different JDBC messages in receiver end). But, this is failing in RWB with some parser error. So, am not sure whether multi mapping is allowed for JDBC Canonical XML format. Please clarify.
    Thanks,
    Hussain.

    Hi ,
    JDBC Adapter supports multi mapping,so you can implement the same,but what do you mean by Canonical XML format??
    Regards,
    Raj

  • Question with multi-mapping 1:n split scenario

    Hi
        I have a scenario with the following requirement
    R3 --> XI --> Multiple files
    I used a multi-mapping scenario  using message mapping. to get the following output
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <Transaction> </Transaction>
    <Transaction> </Transaction>
    </ns0:Message1>
    <ns0:Messages>
    Each  <Transaction> </Transaction>  produces a file in runtime. So far so good.
    Now, there was a new requirement to introduce a dtd line as the first line  in each of the target files created  - that looks like follows :
    <!DOCTYPE Transaction PUBLIC \"-//XXXXX//DTD BatchReceiptAuthorization//EN\" \"http://dtd.XXXXX.com/dtds/ReceiptAuthorization.dtd\">
    How do I go about introducing this header line above the <Transaction> node in each and every target file - that is created by multi-mapping  ? This header line is not a part of the target schema and hence cannot be mapped to as an constant element in the target.
    Any suggestions/ideas as to how this can be done ?

    Hi Gautam
        I did use a java mapping , as a second step after the message mapping - so that the dtd line can be introduced as a header for each target message/file written by the muti-mapping in the first step.
         In my scenario, I sent the inputstream that is being passed to the Java execute method  - to trace and I see that the whole of the xml file - as shown below - which is the output of message mapping ( from the first mapping step ) in sent to the execute method of the java mapping a single call
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <Transaction> </Transaction>
    <Transaction> </Transaction>
    </ns0:Message1>
    <ns0:Messages>
    So, I modified Java mapping program to look for multiple occurences of <Transaction> tag and prefix them with my constant DTD Literal - which is the primary reason , why I had to use Java mappings after the message mapping.
    Now, I get an error is XI- SXMB_MONI
    - <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" />
    <SAP:P1>unexpected symbol; expected '<'</', entity refe</SAP:P1>
    <SAP:P2>rence, character data, CDATA section, processing i</SAP:P2>
    <SAP:P3>0</SAP:P3>
    <SAP:P4>113</SAP:P4>
    <SAP:AdditionalText />
    <SAP:ApplicationFaultMessage namespace="" />
    <SAP:Stack>The exception occurred (program: CL_XMS_MAIN===================CP, include CL_XMS_MAIN===================CM00A, line: 609)</SAP:Stack>
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    Can you help me out here ?

  • Multi mapping for n:1 transformation

    Hi Friends,
    I have to implement a multi mapping in which I have n:1 transformation,i.e
    2 MT in Source and 1 MT in Destination,but the constraint is - without using BPM....
    Is there any way to implement this Message Mapping without using BPM.
    Please suggest....
    Regards
    Pravesh

    Hi Pravesh,
    N:1 without BPM is not possible.
    However there is a nice way to collect multiple idocs without BPM
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    Dont know weather it suits ur scenario, but still it is a workaround.
    Regards,
    Prateek

  • How to do Mapping for the following Scenario

    Hi All,
    I am doing File 2 File Multimapping Scenario with out using BPM Concept but, My result was Struck at Message Mapping.
    Source                          Target
    Message                       Message1     Details                                Details
             Name                            Name
             ID                                  ID                                                                               
    Message2        
                                                    Details
                                                        Name
                                                        ID
    I am getting Runtime Exception at Message Transfermation error if i do the one 2 one direct mapping....
    so, How to do the Mapping for thei Scenario?
    WIth Regards,
    Mahesh

    Hi Farooq,
    I am using Split and Merge.
    Source XML
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge" targetNamespace="http://sap.com/xi/XI/SplitAndMerge">
    <xsd:import namespace="http://tcs.com/Demo" />
    <xsd:element xmlns:p0="http://tcs.com/Demo" name="Messages">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Message1" form="qualified">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="p0:BPM_In_MT" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Target XML
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge" targetNamespace="http://sap.com/xi/XI/SplitAndMerge">
    <xsd:import namespace="http://tcs.com/Demo" />
    <xsd:element xmlns:p0="http://tcs.com/Demo" name="Messages">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Message1" form="qualified">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="p0:BPM_Out_MT" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="Message2" form="qualified">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element ref="p0:BPM_Out1_MT" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Thanks
    Mahesh

  • Multi-mapping for EDI 810 Interface

    Hi,
    I am building EDI 810 interface. We have following requirements.
    Source system is SAP. Target systems is AAFES and COSTCO.
    1 Source system and 2 target System.
    For example: Can i have Interface mapping as shown below?
    Invoice IDoc -> MM_EDI_810_AAFES  -> EDI_810
                    MM_EDI_810_COSTCO
    Based on DUNS number can i re-direct the interface to choose one of the mapping and accordingly choose the communication channel?
    Thanks,
    Gowri

    Hi,
    You can do this in any of the following ways:
    Content based routing in XI can be done during
    1) Receiver Determinations (Integration Directory) --- Used for entering a condition for
    forwarding a message to one or more receivers
    http://help.sap.com/saphelp_nw04/helpdata/en/26/5ccd3bb4560f01e10000000a11402f/content.htm
    2)Interface Determinations (Integration Directory) --- Used for entering a condition for forwarding a message to multiple inbound interfaces
    3) Designing Integration Processes (ccBPM) (Integration Repository) --- Used for entering a condition for processing process steps (see Step Types)
    At all the 3 places u will use the Condition editor,
    http://help.sap.com/saphelp_nw04/helpdata/en/67/49767669963545a071a190b77a9a23/content.htm
    Hope this helps you.
    Regards,
    Abhy

  • Multi mapping for Synchronous Interface (RFC)

    Is it posssible to define synch multimapping (RFC)?
    For exmaple my structure is
    request
    <items>
    <item>
    </item>
    <item>
    </item>
    </items>
    I want  to invoke RFC for each <item> and to get response like
    <responseitems>
    <item>
    </item>
    <item>
    </item>
    </responseitems>
    Do I need synch BPM or it is possible without?

    Hi,
    u can do these buy settin the rfc to rfc to unbounded and map the items with the rfc so for every item u will get a rfc.
    u can use <b>packaging</b> to perform the multimapping where u can avoid bpm.just create a external defnition for ur rfc and change the occurance of the rfc to 0..unbounded and use the external definition for mapping.
    so for each <b>item tag a rfc will be generated</b>.
    To get the response give ur inbound interface as synchronous.
    regards
    jithesh
    Message was edited by: jithesh balakrishnan

  • Multi Mapping - Receiver IDOC & Mail with BPM

    Hi,
    Is it possible to use BPM with Multi Mapping for IDOC & Mail receivers sent parallely..
    Appreciate your help ..
    Thanks,
    vasanth.

    Hi Michal,
    Thanks Michal,
    We are using PI 7.1, Our Scope to do File to IDOC & Mail scenario in between we have to do RFC Lookups..
    Could you pls guide me thru the steps fo BPM,
    1 SA -> OB to AA
    2 ID  -> OB to AA & AA to Recv
    3.RD -> OB to AA & AA to Recv
    4.RA -> AA to IB & AA to IB
    Correct me if i'm wrong..
    Clarification : Is there is any way out to implement this scenario with out BPM.
    We already implemented this scenario with 2 MM & 2 OM, Scenario works fine...but we have to use 1 Mapping..
    Appreciate your help in advance..
    Thanks,
    vasanth.

  • Multi-Mapping Message Split 1:n

    Hi experts,
    I have a few questions regarding a multi-mapping for a 1:n message split. I have a business process which collects IDOCs from a specific IDOC type (ZHINVOIC01).
    I have a 1-to-1 Mapping for collecting the IDOCs.
    After this 1-to-1 Mapping the IDOC has the following structure:
    xdoc has the occurrence 0..unbounded
    For every IDOC in the source structure one xdoc in the target structure should be created. My Mapping works very fine, but I have one question. If there are more IDOC-Elements in the source structure, I have more xdoc-Elements in the target structure. But I do not want to have one target-message. the mapping should create one file with the element xdoc for every IDOC element in the source structure.
    I want to send a xml-file for each xdoc-element to a ftp-server. is that possible?
    Thanks and best regards
    Christopher Kühn

    Hi Udo,
    look at my example above:
    for the source structure
    <Messages>
       <Message1>
          <ZHINVOIC01>
             <IDOC/>
             <IDOC/>
             <IDOC/>
          </ZHINVOIC01>
       </Message1>
    </Messages>
    I have the following target structure:
    <Messages>
       <Message1>
          <xdoc/>
          <xdoc/>
          <xdoc/>
       <Message1>
    <Messages>
    now the target structure is only one message, isn't it?
    But I want to have for this case 3 Messages each with only one xdoc-element.
    I hope that we are not talking at cross-purposes
    Thanks and best regards
    Christopher

  • Error: 1:n multi-mapping using BPM for file to file scenario

    Hi. Iu2019m trying to do 1:n multi-mapping using bpm scenario. I use file to file. Input file consists of many records and then I want many record to be transformed into many file at target system. I follow step in http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/. However, I have a problem when file is retrieved in to XI. It doesnu2019t create any output file.
    When I look at SXMB_MONI, it shows u201CNo object type found for the message Check that the corresponding process is activated.u201D Besides, it shows error message "Unable to perform action for selected message" when i clikc at PE in SXMB_MONI.
    I have check at many previous posts with the same error message but still couldnu2019t solve it. I already activate my BPM and check that status in SXI_CACHE = 0. There is noting left in change list of my IR and ID.
    Here is my design and configuration.
    IR
    Data Type: DT_file_split -> for both input and output file
    Message Type: MT_file_split_sender, MT_file_split_receiver
    Message Interface: SI_file_split_in, SI_file_split_out, SI_file_abs_source, SI_file_abs_target
    Message mapping: MM_file_split for mapping MT_file_split_sender with MT_file_split_receiver
    Interface mapping: OM_file_split
    u2022     Source = SI_file_split_out
    u2022     Target = SI_file_split_in
    u2022     Mapping Program = MM_file_split
    BPM following this link http://www.riyaz.net/blog/xipi-1n-multi-mapping-using-bpm/.
    ID
    Import my Integration process
    2 Communication Channel for getting input file (CC_File_split_sender) and creating output file (CC_File_split)
    2 Receiver determination:
    u2022     Source system to BPM using interface SI_File_Abs_source
    u2022     BPM to target system using interface SI_File_Abs_target
    1 Interface determination:
    u2022     from source system to BPM
    u2022     Sender interface: SI_File_Split_Out
    u2022     Receiver interface: SI_file_abs_source
    1 Sender Agreement
    u2022     Commu. Component: Source System
    u2022     Using interface: SI_File_Abs_source
    u2022     Sender Communication Channel: CC_File_Split_Sender
    1 Receiver Agreement
    u2022     Sender Communication Component: BPM
    u2022     Receiver Communication Component: Target System
    u2022     Receiver Interface: SI_File_Split_In
    u2022     Receiver Communication Channel: CC_File_Split
    Anyone know how to fix this?
    Thanks,
    Pavin

    Hi,
    Yes, thats the problem.
    You are creating file from test tab of  1..N mapping .
    In case of 1..N mappping in mapping Extra tags of messages are addded to the data.As shown here:-
    Messages
          Message1
               MessageType
    When you use this mapping to generate xml message then it will add additional tags for <Messages> and <Message1>, which is not correct. it should only have structure of you MT.
    So remove start and end tag of <Messages> and <Message1> from your data file. Mentioned below in bold.
    <xml......>
    <Messages>
    <Message1>
    <MT_...>
    </MT_...>
    </Message1>
    </Messages>
    This should solve your problem.
    Regards,
    Sami.

  • Multi-mapping scenario with multiple receivers

    Hello all,
    I have an interface using multi-mapping to generate to different files types from one source; works great.
    JDBC --> XI --> (1) XML (2) CSV
    I now need to have the XML file go to one receiver and the CSV file needs to go to a second receiver.  I've looked at the blog:
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    This blog shows how to configure dynamic receiver determination based on the source data.  In my case the output files are identical (as far as mapping), the only difference is the output format.  Has any one seen a "How to" document or blog more in line to my scenario?
    Regards,
    Jose

    Hi,
    You can also do this way
    You can define as many number of Business system you need. Say for eg you need to send XML to one BS and CSV to another BS.
    Instead of doing Extended interface determination... Goto to Receiver Determination and when you are adding the Receiver service you have the option to add one more Service... There you give both the Business Service and hence you will have two inbound interface and you can different interface mapping and so on..
    Regards,
    Prakash

  • Issue with java mapping in a multi-mapping scenario

    Hi
        We have  a 1:n multiple mapping scenario in XI and the source is R3 proxy and target side is files. So, creating multiple file from a single message from R3 .
    R3 --> XI --> Multiple files
    Structure of the output of the multi-mapping is
    - <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    - <ns0:Message1>
    <Transaction>
    </Transaction>
    <Transaction>
    </Transaction></ns0:Message1>
    </ns0:Messages>
    wherein each Transaction node represents a file.
    Now, we need to introduce a constant /string like
    <!DOCTYPE Transaction PUBLIC \"-//XXXXXX//DTD BatchReceiptAuthorization//EN\" \"http://dtd.XXXXXXX.com/dtds/ReceiptAuthorization.dtd\">
    on each of the files at the very beginning - i.e within each transaction node , in the above structure, we need the above DTD string to be written.  To do this, we added a java mapping as the second mapping after the message mapping that creates this string. Is this the right approach and would it produce what we are expecting ?
    import java.io.BufferedReader;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.util.Map;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    import com.sap.aii.mapping.api.DynamicConfiguration;
    import com.sap.aii.mapping.api.AbstractTrace;
    public class ModifyRootAndDelay implements StreamTransformation {
         AbstractTrace myTrace;
    public void execute(InputStream input, OutputStream output) throws StreamTransformationException {
              try{
                   BufferedReader reader = new BufferedReader(new InputStreamReader(input));
                   String NameSpacePrefix = "<!DOCTYPE Transaction PUBLIC \"-//innotrac//DTD BatchReceiptAuthorization//EN\" \"http://dtd.innotrac.com/dtds/ReceiptAuthorization.dtd\">";
                   String sLine = null;
                   StringBuffer XmlMsg= new StringBuffer();
                   String Result,PayloadBody;
                   int indexOfFirst;
                   while ((sLine = reader.readLine()) != null) {
                        XmlMsg.append(sLine);
                   String StartingTag = XmlMsg.toString();
                   indexOfFirst = StartingTag.indexOf("<MerchantID>") ;
                   PayloadBody=new String(XmlMsg.substring(indexOfFirst));
                   Result=NameSpacePrefix.concat(PayloadBody);
                   output.write(Result.getBytes());
              /*     Thread.sleep(200000); */
              }catch(Exception e){
                   myTrace.addWarning("Exception raised in the JavaMapping:modifyNamespace.java""\n The Exception Message: " e.getMessage());
                   throw new RuntimeException(e.getMessage()) ;
            }     public void setParameter(Map param) {
              myTrace = (AbstractTrace) param
                        .get(StreamTransformationConstants.MAPPING_TRACE);

    Hi XI Gurus
                       In my scenario, I sent the inputstream that is being passed to the Java execute method - to trace and I see that the whole of the xml file - as shown below  - which is the output of message mapping ( from the first mapping step ) in sent to the execute method of the java mapping a single call
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <Transaction> </Transaction>
    <Transaction> </Transaction>
    </ns0:Message1>
    <ns0:Messages>
    So, I modified Java mapping program to look for multiple occurences of <Transaction> tag and prefix them with my constant DTD Literal - which is the primary reason , why I had to use Java mappings after the message mapping.
    Now, I get an error is XI- SXMB_MONI
    - <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" />
      <SAP:P1>unexpected symbol; expected '<', '</', entity refe</SAP:P1>
      <SAP:P2>rence, character data, CDATA section, processing i</SAP:P2>
      <SAP:P3>0</SAP:P3>
      <SAP:P4>113</SAP:P4>
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>The exception occurred (program: CL_XMS_MAIN===================CP, include CL_XMS_MAIN===================CM00A, line: 609)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Should I create multiple outputs - as many as the numberof target split files ( of type outputstream ) from the execute method in the java program ?

  • Multi-Keys for Maps

    Is there a recommended way of storing values that depend on two keys? I need to get a value associated with (not calculated from) two parameters. For a simple example, I have a matrix of values like so:
    \| A | B | C | D
    -+---------------
    &#945;| 2 | 5 | 7 | 9
    -+---+---+---+---
    &#946;| 5 | 8 | 1 | 4
    -+---+---+---+---
    &#947;| 3 | 7 | 9 | 2
    -+---+---+---+---
    &#948;| 6 | 0 | 5 | 1 In my case, the headers A-D and &#945;-&#948; are enums. For a given RomanLetter (A-D) and GreekLetter (&#945;-&#948;), I need the value. I have a set of data like this for each of a few thousand objects, though it could easily be a million some time in the future.
    I could create a class which has three attributes: an int, a RomanLetter, and a GreekLetter, create a collection of these objects, and then iterate over the collection until I find the one that matches, but I'd like to do something a little more elegant than that for performance reasons as well as for uniqueness (there should never be more than one number for any given pair).
    What would be the recommended way of doing this? A HashMap of HashMaps comes to mind, like so:
    HashMap<RomanLetter, HashMap<GreekLetter, Integer>> But that seems awfully confusing and not very scalable.
    I also thought of some kind of database-like data structure that I could query, but don't think this use case justifies using one of those fairly heavy-weight third-party solutions.
    Any ideas?

    JavaJason wrote:
    Yes, I could do either of those. I didn't use the correct term in my original post. I said it that approach wasn't very "scalable". What I meant to say is that in the future if, say, I need a value based on three or four or more attributes, the code will become an unmaintainable mess. So while I technically could do that, I'd like to do something a bit easier to maintain.This will work perfectly:
    Map<Pair<RomanLetter, GreekLetter>, Integer>Or rather,
    Map<YourKey, Integer>Now, you would define your key using RomanLetter and GreekLetter. If you need to add another attribute you would tweak the definition of YourKey. Seems very reasonable to me.
    >
    The other possibility I thought of was creating a multi-dimensional array. So in the case of my example, the multi-dimensional array would look much like the matrix I listed. I tend to shy away from using the index of arrays to represent a particular association, because I feel that the association is often not obvious and when things get changed down the road, the association will be broken. However, I suppose if I create the matrix based on the ordinal of the enum, if and when the enum changes, the matrix will as well.That's equivalent to the nested Maps you first suggested.

  • Questions to a Mapping for IDOC-to-File Scenario

    Hi all,
    I want do develop a Message-Mapping for an IDOC-to-File Scenario. A SAP System sends an IDOC to the XI-System and the XI-System should make a mapping an send a XML-File to a FTP-Server. The Strukture of the target message is very easy:
    <xdoc>
       <Invoice>
          @purno
          <HeaderInfo>
             <invno/>
             <shipdate/>
             <extvalue/>
          </HeaderInfo>
          <DetailInfo>
             <LineItem>
                @lineno
                <vpartno/>
                <descrip/>
                <qtyord/>
                <cost/>
                <vendmemo/>
             </LineItem>
          </DetailInfo>
       </Invoice>
    </xdoc>
    The source message is an IDOC. This IDOC can contain one or more positions (E1EDP01). Those different positions should be mapped into different LineItem's (see target structure) -> so in the target file one or more LineItems can appear.
    Is it possible to implement this process with a common message-mapping or have I to implement a business process?
    Thanks
    with best regards
    Christopher

    Hi Christopher,
    <i>Is it possible to implement this process with a common message-mapping or have I to implement a business process?</i> - This thing is possible with common message mapping......you dont need business proces for it.......in msg mapping after taking the source IDOC and target xml struc, map the E1EDP01 field to LineItem field.......just check the occurance of these nodes.....it should be 0..unbounded.........so as many E1EDP01 nodes will be there in idoc, that many LineItem nodes in target will be created.......
    Thanks,
    Rajeev Gupta

Maybe you are looking for

  • New folder is not visible inside my project but shows in Windows Explorer.

    I created a new folder under another folder.  The new folder is not visible inside my project but shows in Windows Explorer.  Also, if I try to add another folder of that same name, it denies the action since the folder (although invisible) already e

  • How to add addresses to groups in iPad? How to send to group?

    Address book has not synced properly from my computer to Mobile Me for ages, well before I added my iPad to my stable of products. I've gone through all the advice here and traveled unsuccessful loops to push it or force it to sync again. I deleted e

  • Application Items - is there a better way?

    My application is using few global items but if a user opens another browser session and opens different record, global items are overwriten. What would you suggest? Robert

  • Configure DPS based on Etime or for unindexed searches

    Hi all, can anyone help me how to configure Proxy server, in order to route traffic based on etime & also for unindexed searches (Notes=U). I am doing sample tests using connection handlers but no luck. For ex; I have created 2 data views & want all

  • APPS DO NOT RESPOND

    I bought my iphone this week, installed applications, and now want to open a reader and neither of them responds, already reset the settings, rebooted and nothing. What do I do?