One Message, Call multiple IDOCS in PI 7.1

Hello SDN!!
We are trying to implement a scenario and curious if anyone has done this. We are looking to have one message exposed to another system, which will be mapped and sent to four different IDOCS on the same system. From some blogs it seems this really can't be done except by BPM. Is this the case, and if so, are there any good tips to do the most basic BPM to have this scenario complete? (Also all the documentation seems to be in 7.0)
Cheers
Devlin

Hello from the first response mapping without bpm it states it is not possible with IDOC
Messages that result from the split in a mapping-based message split are sent using one AE. So only adapters running on the AE are supported. In particular, this means that target IDOC message splits are not supported since the IDOC adapter is not part of the AE.
The other two blogs are nice, but wrong direction, instead of collecting IDOCs I was hoping to have one message split out to 4 IDOCS,
Cheers
Devlin

Similar Messages

  • One src message to multiple IDocs without BPM?

    Hi guys!
    Is it possible to cerate multiple IDocs from one source incoming message without BPM?
    I tried the scenario, but I get following error:
    <SAP:Code area="OUTBINDING">CO_TXT_MMF_ENGINETYPE</SAP:Code>
    <SAP:Stack>Messages in multi-message format can only be sent to one Adapter Engine</SAP:Stack>
    Any ideas?
    Thanx a lot!
    Olian

    Hi
    Sorry my earlier link was with BPM.
    refer to this blog by Michal
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Regards,
    Kumar

  • One message type different IDoc Types

    Hi All,
    Can we use one message type and different data types based on the requirement in PI mapping.Basically  I want to select mappings based on IDoc ...My requirement is to use different IDoc types for one message type in mapping ...will it work ?
    Thanks ,
    Vinay.

    If you will be wanting to have 1 message producing different IDOCS types  (to be meaning that not just multiple IDOCS of the same type) then this must be done via a BPM as the IDOC adapter will not be able to handle it by itself.  Have a receiver determination step in the BPM for each IDOC type - you'll then be sending each via foreach block.

  • One file for multiple IDOCs

    Hi,
    Need help on IDOC files created on application server.
    For IDOCs of EDI type generally one file is created on application server for one idoc. Is there any way to create a common file for multiple IDOCs that are created in a batch job?
    Thanking in anticipation
    Sudhir Bhate

    Hi Sudhir;
       Yes, it is a setting on the outbound parameters of the partner profile.  In the section for "output mode," select "Collect IDocs."  This link to help.sap.com describes the procedure:
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b812a43d711d1893e0000e8323c4f/content.htm
    Cheers,
    John

  • Message with Multiple IDoc's to be sent to Two FTP locations

    HI All,
    I need your valuable suggestions for the best approach....
    Scenario is IDOC > PI>FILE
    All the Orders's(Orders05) created in SAP for every hour, IDOC's are collected and then a scheduled program sends all these idoc's every hour ... In PI i am using IDOC packaging so all the idocs comes as  one message like the below...
    <?xml version="1.0" encoding="UTF-8"?>
    <ORDERS05>
       +<IDOC>
       +<IDOC>
       +<IDOC>
    </ORDERS05>
    Now in PI based on the plant condition in each idoc, the idoc data should be sent in one file for two FTP servers...
    out of 50 idocs 30 belongs to FTP1 and 20 belongs to FTP2...
    This is going as required... in SXM_MONITOR .. Two messages created (one for FTP1 and one For FTP2)
    But if 50 belongs to FTP1 , then also in SXI_MONITOR two messages being created...
    this is bcz of two mappings and 2 IM's..
    I cannot use the condition in Receiver/Interace determination, as the source has Multipe IDOC's...
    So please suggest if there is any other way where if i can restict the second message in being processed if no data comes from SAP for that FTP...
    Please suggest ....
    Regards,
    sridhar
    Edited by: sridhar reddy kondam on Aug 6, 2009 11:30 PM

    Hello Sridhar,
                 You can achive this using extended receiver determination. In UDF using count direct first 30 to 1st BusinessSystem(ftp) and remaining 20 to 2nd Business System(FTP2).
    You can take help from the following blog:
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    Regards,
    Prasanna

  • Each line of a file to a single Idoc (one file to multiple IDoc)?

    Hi Community,
    I have a flat file with many lines. Each of these lines has the same structure and has to fill a separate IDoc. How can I configure XI that it creates for each line a separate IDoc?
    I already found a blog to such a topic: File to Multiple IDocs (XSLT Mapping)
    But thatu2019s not what I am looking for (or I do not get the Point).
    I also tried to set u201CRecords per Messageu201D to 1. But that is not working to. :/
    Maybe one of you guys has an idea?
    Thanks in advance,
    Udo

    Hi Udo,
    For instance if  file structure is as follows:
    <File>
    <Header>
    </Header>
    <Item>
    </Item>
    <Item>
    </Item>
    </File>
    Now if u want to genarate a new Idoc for each n every <Item> in the file. The Header Information is to be repeated for each IDOC as well.
    Then allu need to do is  import the idoc in XI, then take the idoc xsd and change the occurrence o..unbound and then create the external definition.
    Look into this blog.
    The specified item was not found.
    Now use the external definition in your mapping instead of using the original IDOC. In your mapping map the item to IDOC, and for header data you have to use the useOneAsMany function.
    Reward if found useful
    Regards,
    Vinod.

  • Splitting a message into multiple Idocs

    Hi,
    IDOC adapter does not support MULTIMAPPING.
    You cannot use MultiMapping with the IDOC adapter.
    Instead , use IDOC packaging. Refer to note : 814393.
    Regards,
    Bhavesh

    Thankyou for the reply, but that's the same trick I already found in Michal's blog, so it isn't really an answer to the question!
    I was hoping that someone could direct me to some useful documentation of Integration Processes, as the SAP help is a bit limited in explaining how things actually fit together.
    Message was edited by: Nathan Shepperd

  • Copy one file to multiple IDOCs in XI

    Hi,
    I am having following scenario..
    XI receiving XML file with Sales order and customer information.
    Using this file, first I have to create customer and then create sales order using same file if customer is created successfully.
    Please advice how to solve above scenario
    Thanks in advance,
    Laxman.

    Try BPMPatternMulticastSerial BMP Pattern. You can first create the customer, then receive a response (If Sync) and then send the Sales Order. This uses the ForEach mode.
    Hope this Helps to get you started!

  • Post multiple IDOCs from a single inbound file

    Hi.
    I have an inbound file with a single record structure. Each record has a field "DocumentNumber". There may be multiple records with the same DocumentNumber. The Document Number will increment to 2, 3 etc. Each set of records with the same DocumentNumber relates to a single IDOC that I want to post.
    IE
    1, various fields   <- IDOC 1
    1, various fields   <- IDOC 1
    2, various fields   <- IDOC 2
    2, various fields   <- IDOC 2
    3, etc
    I plan to use the BPM to split (transform) the file message into multiple IDOCs, using a message mapping defined in the Designer. I have done all this, and defined my Source Message as Single Occurrence (1) and my Target Message as 1:Unbounded. I therefore have a mapping within the target "Message1" structure.
    Can anybody tell me how to define my mapping flow to create a new target structure IDOC when the DocumentNumber field increments?   I was wondering about "createif" where DocumentNumber <> a global field set tot he previous value....
    Any help would be very much appreciated.
    JW
    [email protected]

    Hi Tony,
    first you have to change the occurens - look in this Blog:
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Mapping - you need to use node funktions if you use graphical mapping (f.e. SplitByValue, CerateIf and so on)
    Good for that is this blog:
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    If you need more - keep on asking
    Regards Matt

  • File-XI-multiple IDoc Scenario

    Hi there -
       I am working on single File-XI-multiple IDoc Scenario and have following questions:
    (please keep in mind that there is already an existing multiple IDocs-XI-single File scenario between the same systems)
    1. Please provide any detailed step by step documentation from end-to-end.
    2. I am thinking it's compulsory to use BPM, is there any way to aviod?
    3. Is it possible to update existing IDocs in R/3 directly from the data from XI?
    Thanks everyone in advance...
    Pat

    HI,
    Pls go thru following links-
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Single inbound file -> XI -> Multiple IDOCs in SAP
    One file for multiple IDOCs
    Hope this helps..
    Regards,
    Moorthy

  • Multiple Idoc to file without BPM

    Hi All,
    I am using xml [HTTP destination|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b ] in ECC system to collect Idocs(say 100,200 etc) of particular type (say MATMAS05) and sending it as a single message with multiple Idoc noes for same message type to PI 7.1 system, In PI I need to create the single node for each IDoc on target side based on certain validations on the fields of various segments( with unbounded occurences ) occuring at various levels . Node should be created only if all the fields are validated,even if a single field fails validation node for that IDoc should not be created on target side.
    for example:
    >>MATMAS
      >>|_E1MARAM
         >> |_ MATNR
         >>| _E1MAKTM
           >>   |_MAKTX
    If there are 100 MATMAS nodes in the message and if MAKTX field of third E1MAKTM segment in 97 th IDOC node fails validation the node for this IDOC node should not be created on the target side..
    Currently I am trying to do it using UDF but due to performance point of view I do not want to execute Loop across various segments twice, once to validate the fields and second time to generate node.
    Can anybody help me in this ?
    Thanks,
    Amit

    Hi Mughda,
    How would i validate using createif node function as i also need to validate fields of all the segments of the same Idoc. ?
    Thanks,
    Amit

  • Configuration scenario of file to multiple IDOCs in XI

    I have to configure a scenario of file to multiple IDOCs in XI.
          I have XML file in MDM server. And it contains multiple segments. Each Segment is  a combination of DEBMAS and ADRMAS.
    So in XI configuration I have to separate the mapping for DEBMAS and ADRMAS. And my ADRMAS idoc should post first in R3 and then DEBMAS should post.
    These IDOCs are multiple because each segment in XML file will be a IDOC.
    Does BPM process is mandatory here or we can do in any other way.
        Could you please suggest how to do this configuration. If you have any documents pls share with me.
    Regards,
    Venkat

    Hi,
    First you need to split the messages into multiple IDOC types. As you are going to send this to IDOC adapter, it is required to have BPM to split the message.
    These 2 docs may help u:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    Regards,
    Moorthy

  • Combine IDoc and RFC Respone in one Message Type

    Hello,
    I need to have the possibility to store the data of one IDoc and one RFC Response in one Message Type.
    The structure should be something like this:
    IDoc_AND_RFC_RESPONSE (root)
    --item (0..onbounded)
    ID (Attribute, type xsd:string)
    IDOC (Elemtent, type IDOC <--unfortunately not possible in data type definition)
    RFC_Response (Element, type RFC_Response <--unfortunately not possible in data type definition)
    The goal is to merge 2 messages (idoc data and the data of a rfc response) into 1 message with logical connected items.
    e.g.
    IDOC (message 1)
    --ID 01
    IDOC_DATA_01
    --ID 02
    IDOC_DATA_02
    RFC_Response (message 2)
    --ID 01
    RFC_DATA_0101
    RFC_DATA_0102
    --ID 02
    RFC_DATA_0201
    I need this data to be transformed into:
    IDoc_AND_RFC_RESPONSE
    --item
    ID 01
    IDOC
    IDOC_DATA_01
    RFC_RESPONSE
    RFC_DATA_0101
    RFC_DATA_0102
    --item
    ID 02
    IDOC
    IDOC_DATA_02
    RFC_RESPONSE
    RFC_DATA_0201
    The problem ist NOT how to do the mapping, BUT how to define the data type of the target message.
    The IDoc and the RFC have a very complex structure so manually building the structure is not possible.
    Thanks for your help.

    Hi,
    thank you for your hints.
    - How can I define one interface with 2 message types? I work with XI 3.0.
    - Manually manipulatiing the xsd files is what I wanted to avoid (besides that, there is no possibility to get the rfc as xsd, only wsdl). Besides that, I tried to extract the IDoc xsd and imported it as message type, but there is an error message telling me "Schema to be handled does not contain a definition of type <Data Type Name>", whereas <Data Type Name> is the name I give to the Data Type. I tried the name of the IDoc Type here. Importing the xsd as external definition would work, but that would still not solve the problem as I cannot use the message in my data type definition.
    Maybe I should specify the scenario a bit better:
    I have an R3 System sending an IDoc.
    The Idoc contains multiple items.
    The data in the IDoc is NOT sufficient (and due to warranty reasons and company guidelines, it is not possible to add all the needed data to the IDoc).
    Therefore, the IDoc is passed to an Business Process, where an RFC is invoked (input are the item IDs of the IDoc).
    So afterwar the rfc call, I have all neccessary data per item in 2 messages, the IDoc and the RFC response.
    Now I need to merge the data per item into one message.
    This one message than is splitted into the several items and every item has to be sent separately. So I need a possibility to unite the IDoc with the rfc response.
    Any hint?
    Thanks a lot!

  • Multiple Idocs (DEBMAS06) into one single file

    Hi All,
    Multiple Idocs(DEBMAS06) are sent from SAP in bulk to be sent to FTP server via XI...(Cannot use Append the file as The structure is with Header,Detail(all the idoc details) and Trailer)
    I have seen different threads which speaks about the same,
    But Please suggest me the best approach to proceed with this kind of scenario...
    Multiple IDocs -> XI -> Flat file which is speaking about BPM and also Packaging(SAP note 814393)
    and https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b
    (How Tou2026 Send Multiple IDocs Within One XI Message)
    I prefer not to use BPM... but if required then....
    Please suggest me which is the best approach to proceed with it..
    Thanks and Regards,
    Sridhar Reddy

    Hi ,
    I had tried the scenario Multiple IDOC's coming from R/3 and send all of them into a Single File
    But it did not work...
    Of course i changed as Micahel mentioned in
    The specified item was not found.
    (Collect and make pack size to 50) but still the idocs are posting as 50 messages in XI and 50 files are being created ...
    But as per his remarks we need customization which is very difficult...
    And also i checked Michaels blog
    The specified item was not found.
    But this is dicussing reverse of my scenario...
    and finally i am thinking of going with the stefens weblog...
    Collecting IDocs without using BPM
    Can any one please suggest any other best way to handle this...
    Instead of going for BPM i am implementing as Stefen suggested ... This is because we have many such interfaces where SAP sends collective idocs....
    Regards,
    Sridhar Reddy
    Edited by: sridhar reddy kondam on Oct 22, 2008 6:20 AM

  • Multi-Mapping without BPM (Multiples IDoc To one EDI output?)

    Hi all,
    We are currently working for a client that want us to create, based on a multiple IDoc (an idoc that contains data of more than one idoc) only one output
    Meaning that we have to do a mapping that based in this multiple input generates only one output that cointains all that data in only one flat file
    example:
    Idoc: PERX2002.PAYTEXT generates an EDI 820 with this structure:
    LIST
    /S_ISA (first input)
    /S_ISA (second input)
    At this moment we tried to use "Collect IDoc" option in SAP, and as seen in other blogs we changed the ocurrency of the message mapping to "0.unbounded", but when we release several idocs (WE14) we only get multiples output files (3 idoc collected and released give us 3 different edi files) instead only one edi file with all the data gathered together as ISA segments
    In this required process possible???
    Thanks in advance

    As you can see in the following pics..
    http://img201.imageshack.us/img201/8352/process1xz1.jpg
    http://img244.imageshack.us/img244/4954/processvc9.jpg
    i already made those changes, the multi-mapping is set, and also the option for collecting the IDocs and the "enhanced" option in the Integration Directory, but when i release all the idocs i still get multiple outputs (2 files), instead one file with all the gathered data
    Could someone tell me if  i'm missing some step?
    Thanks for your time
    Edited by: Alexis Alanis on Jan 7, 2008 7:24 PM

Maybe you are looking for

  • Cannot see my external hard drive on the desktop

    Hi, I am at the tail end of a large documentary project on FCP. Suddenly, this evening my external hard drive (Maxtor One Touch III, Turbo Edition, 1.5TB) becomes sluggish. I shut down (all properly) and restart and the external hard drive is no long

  • In a Quiz the Correct Answer Buttons are too close to the answer letter. How to give more space?

    When creating a quiz and previewing, the Buttons to select the correct answer are too close to the letter for the answer. How do I add space between them. Suggestions?

  • Keyboard layout

    We are testing a java application under web start on a machine with two keyboard layouts (windows 2000). it seems that web start switches the selected keyboard layout arbitrary, sometimes english and sometimes german. Does anybody have experiences wi

  • Macbook Pro annoying wireless

    I've got a Macbook Pro (2011) running OS X 10.6.8. At my home I have an ATT wireless hotspot for my internet, and a wireless router set up for printing. Every time I turn my laptop on or open the lid, it always connects to the router instead of the w

  • Decision on File system management in Oracle+SAP

    Hi All, In my production system we use to have /oracle/SID/sapdata1 and oracle/SID/sapdata2. Initially there was many datafiles assigned to the table sapce PSAPSR3, few as autoextend on and few as autoextend off. As per my understanding DB02 shows yo