SAP IDOC to multiple JMS

Hi,
I'm eric. I'm new with XI and I have a requirement that will trigger an IDOC from SAP then XI should output multiple JMS messages depending on the number of items that the IDOC contains. For example. for IDOC  WMMBID02, it has header segment  E1MBXYH and item segment E1MBXYI. If IDOC sent from SAP has 5 items or 5 E1MBXYI segments, there should be 5 JMS messages sent to the 3rd party system. There will be one message sent per item. The messages can be sent in no particular order as long as there are separate JMS messages per item.
Please advise the step by step procedure to be done for the Design and Configuration. Hope someone can help me.
Thanks,
Eric

Hi,
      You can do multimapping for your requirement.
Please refer the below blog for more info.
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Though the blog is for Idoc to file, it will work for Idoc to JMS also. Since you have only one target message type, make th eoccurrence of the target message as 0...unbounded. In the mapping, generate the number of target messages based on the item segment, as per your requirement. Your operation mapping occurrence for target should also be 0.. unbounded.
For ID part, there is no change. Configure like simple Idoc to jms scenario.
Regards

Similar Messages

  • I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sending data to Message borker.(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to save file in SAP fold

    I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sends data to Message borker(thru JMS channel).(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to create file with same data what ever send to Message broker and put the file in SAP folder without touching mapping. Is it possible? Please advise with the steps. We are using the ICO for this senario. Quick response is appriciated.

    Hi Pratik,
         http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
    This link might help.
    regards
    Anupam

  • HR - XI - External System: one IDOC to multiple XML Files

    Hi,
    I have a scenario where I need, out of one HRMD_A07 IDOC send multiple XML files:
    The IDOC and the XML files can the Master data for many employee (IDOC has max of 200 as of SAP, external system, max of 1000).
    The IDOC will be generated with change pointers with all the needed filters (I can add/remove if needed).
    My goal is to generate 3 types of XML files:
    - 1 for the persons (containing basic info like name, firstname, persnr,etc)
    - 1 for the various unit (with basic info of unit like number, description & name)
    - 1 for the links between persons and units (this person is linked with that unit)
    The structures of the 3 XML files are know and can be imported via XSD definition.
    Do I need to use BPM for doing so or is there a way to do that with simple mapping?
    If BPM is needed, as I new to that, if you have a link to a begginer guide, fell free to send it
    Cheers,
    greg

    hi,
      For your scenario there is no need of BPM.
      In message mapping select the message tag.
      In the target add 3 message types.
      Just map the fields.Go to Interface mapping add the 3 message in the target.
      Get the mapping.
      In ID sender agreement,Receiver Determination is same.
      In Interface Determination select extended.Get the mapping.
      Create 3 Receiver agreement for each Receiver.
    Regards,
    Prakasu

  • Multiple IDOC to Multiple IDOC scenario without BPM steps????

    Hi
    Could you please give me the solution for this ???
    I want steps for sending all IDOCs at a time- ---"Multiple IDOC to Multiple IDOC scenario without using BPM".???
    thanks
    3nadh

    Hello,
    Refer the below, for certain details!
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi     ALE configuration for pushing idocs from SAP to XI
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change     XI: IDOC bundling - the "trick" with the occurance change
    Regards,
    Jilan

  • From IDOC to Multiple Oracle tables Structure

    Hi Guys,
    I am doing a one Senario which is Custom idoc and Custom Tables of oracle they both have same fields and Same Sturucte does it possible from to do 1:1 mapping shall i process these in 1:n.Need a sugestion in these  How i can slove these problem. IF some from india will give their cont pho to my mail id [email protected] i can call them and dicuss about these problem..
      the senario is idoc to multiple oracle tables..need to map.
    Regd's
    Raj

    Hi Raj,
    you scenario can be:
    R/3 -> XI -> JDBC
    The flow is asynchronous - so you dont have any responses. If you want to use BPM/acknowledgements to catch errors have a look to <a href="/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements Logical System Name for serveral BPM Acknowledgements</a>
    You can split the IDoc (<a href="/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible without BPM - Yes, it’s possible!</a>) to several JDBC messages or put serveral statements into one message (
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm">Document Formats for the Receiver JDBC Adapter</a>)
    Regards,
    Udo

  • SAP IDoc mapping to Quadrem xCBL 3.0 format?

    Hi there,
    We currently have an XI scenario whereby PO's and RFQ's are sent to a Quadrem system that requires the message to be in xCBL 3.0 format. I have seen that SAP provide some standard XSLT's that can convert the SAP IDoc into xCBL 3.5. (namespace - http://sap.com/xi/EBP)
    To counter this currently we first run the SAP standard XSLT mapping to xCBL 3.5 and then run a Java mapping to convert that result into xCBL 3.0.......
    My question is: Is there a SAP standard XSLT that can convert into the xCBL 3.0 format?
    Would you recommend enhancing the SAP standard XSLT from SAP so that it caters for the xCBL 3.0 format? Obvioulsy I would prefer to just use standard SAP though....
    Any ideas?
    I would appreciate any advise or push in the right direction...thanks
    Regards
    Lynton

    Hi Chris,
    Sorry for the late response....I work at multiple clients.
    What we currently do is use the standard mappings from SAP to get the IDoc into xCBL 3.5 format and use some Java mappings to take out or add in any other fields to that mapping....
    To be honest I would love to have a GRAPHICAL mappings for this, it would be so much easier to maintain.......
    Any ideas on what you think would be the easiest way to get this right?
    Thanks
    Lynton

  • The PO number for cXML invoice mapped to SAP IDoc INVOIC.INVOIC01

    Hey, PI gurus,
    I mapped a cXML invoice to SAP IDoc INVOIC.INVOIC01.
    My problem was that for the multiple line items invoice, the PO number will only show up in  IDoc E1EDP02->BELNR for the first line item and will not show up for the other line items.
    In cXML message, the PO number is in InvoiceDetailOrder->InvoiceDetailOrderInfo->OrderReference->orderID.
    I changed the value in Context for @orderID and it did not help.
    Any advice?
    Thank you in advance!
    Fisher Li

    Hi,
    I understand your scenario is XML to IDOC.
    Now I assume one XML corresponds to One IDOC which corresponds to 1 Invoice.
    In your XML, I think PO Number is coming multiple times but same value. Is my understanding correct?
    If that is the case, use below mapping.
    PO Number --> Remove Context --> Colapse Context--> Target PO Number field
    This will ensure, you will get only one PO number in your IDOC.
    Else, Please provide your source XML sample.
    -Gouri

  • Issues in SAP(Idoc)-XI-File scenario

    Dear All,
    I am working on SAP(Idoc)-XI-File scenario. But in the Receiver agreement i am not able to see the idoc in order to specify some conditions there. 
    Please suggest if I have to do any settings in order to specify some conditions in the idoc.
    Warm Regards,
    N.Jain

    Hi nishu jain  ,
    U can specify the conditions in Reciever Determination.
    1.Go to Scenarios
    2.Choose your business scenario
    3.Click Service without party
    4.Double click Reciever Determination
    5.U wil get  screen in which there is a option called Configured Recievers.
    6.Click there.then u wil get the screen with
         Left Operand  Op Right Operand
    7.There u can specify the condition.
    Reward points if u find this useful.......
    Regards,
    gyanaraj

  • Idoc to Multiple file scenario

    Hi Experts,
    My scenario is IDOC to Multiple files..
    IDOC will be triggered from the ECC system and i have three differient structures and need to drop those 3 files in the ftp server at the target system.
    Here we can use multimapping for such scenario but the problem here is ..
    In my scenario for all the 3 mappings i am using combination of message mapping and xslt mapping as below
    1st case:
    Idoc -
    Message mapping -
      Target First File.
    XSLT Mapping1
    XSLT Mapping2
    XSLT Mapping3
    XSLT Mapping4    -
    The output of the xslt 4th mapping will go to the target ftp server
    In similar for the other 2 mappings also uses the combination of messag mapping and xslt mapping.
    Here as the receiver system is one in the interface determination (PI 7.1-- NO Enhanced determination)when i add these operation mapping in the interface determination when i execute the scenario all the operation mappings are not getting executed.
    For example;; If the first target file has no records then it is not executing the 2nd operaion mapping, does the occurence of the operation mapping needs to changed.
    could anyone suggest on this..
    Thanks,
    sai

    Hi,
    Why cannot you use three mappings when you want to generate the three files for the same input instead of multimapping as the multimapping generates either of the three messages only...
    you can later provide the condition at the interface determination to execute the mappings if not all mappings to be executed..
    if there are no conditions provided by you at the interface determination level then mappings will get executed automatically..
    provided your mapping is working fine..so in your case check /test the message mapping..
    HTH
    Rajesh

  • IDOC to (multiple) file design help

    Hi all,
    i am trying to do a IDOC to multiple file scenario.
    Requirement:
    An outbound idoc has 4 segments.
    now i want the output of first 2 segments in one file and second 2 segments in another file.
    How to approach this design (without BPM).
    Waiting for reply,
    Senthilprakash.

    Hi,
    Use multimapping (use external definition of Idoc in source side) in which target message occurance should be 0..unbounded.
      write one UDF like below
    for(int i=1;i<=4;i++)
         if(i==2||i==4){
         result.addValue("");;
                     so that it will split the target structure 2 time(when i=2 and i=4). so that you map all the source fields to target fields(all one to one mapping except UDF).
    start doing this so that you will get the required output easily.
    thanks,
    madhu

  • One IDOC to multiple XML messages

    Hi! I am using the graphical mapper in XI to map the SHPMNT03 IDOC to an XML message. The IDOC has a shipment node and potentially multiple delivery nodes, for example:
    E1EDT20
      - E1EDL20
      - E1EDL20
      - E1EDL20
    I need to create one XML message per E1EDL20 node. I figured I could do this in the mapper but when I execute the map for an IDOC with multiple E1EDL20 nodes, I get a 'Cannot cast 2 to boolean' error. The map executes fine when there is a single E1EDL20 in the IDOC.
    As always, help is very much appreciated and points awarded.
    Thx, Duncan

    Hi Duncan,
    Can you just check if this is what you have done,
    IR
    1. Message Mapping -- Occurence of the Destination message type ( file ) is unbounded
    2. Interface Mapping -- Occurence of the Destination Interface ( File ) is unbounded
    ID
    1. No sender communication channel , sender agreement
    2. Receiver communcation channel for FIle with appropriate FILE CONSTRUCTION MODE
    3. Receiver Determination  and Interface Determination with Sender Interface as the IDOC interface and Receiver Interface as the FILE INTERFACE.
    I think there is some misunderstanding on this front.
    Multimapping will work if you are trying to  do an IDOC to FILE with a 1:N split
    just check this and let me know if you ve missed something.
    Regards,
    Bhavesh

  • IDOC to multiple header scenario..

    Hi,
    My scenario is Idoc to multiple flle scenario..(CDMA & GSM files needs to routed to differient structures)
    The requirement is Idoc is triggered at R/3 ECC side, at the target end we have 3 structures, the 1st structure is common as it has email details and the 2nd structure (CDMA structure)and the 3rd structure (GSM Structure) is differient which should handle CDMA & GSM.
    so, the IDOC triggers with the following case
    1. Only CDMA files
    2. Only GSM files
    3. Mixed CDMA & GSM files
    4. Sometimes missed data without having anyinformation to differentiate (For this case the records should not be geterated)
    Ouput should be as follows:
    for the first case:
    1. If only CDMA files -
    > In this case the output should be 2 files (one email file , CDMA text file--- so totally 2 files)
    2. If only GSM files  -
    >In this case the output should be 2 files (one email file , GSM text file--- so totally 2 files)
    3. If both CDMA & GSM -
    > Then here totally 3 output files where (One email file, CDMA text file, GSM test file -- totally 3 files)
    Please throw some light for how to proceed with this type of scenario..
    Thanks,
    --Kishore

    Hi Sarvesh,
    The reply was really useful and also can you clarify the below things,
    1. I have to drop the files by using dynamic file naming configuration i mean i have to drop the files with the name as below
    First case: If only CDMA records in the IDOC then i need to drop 2 files (1 email file -- 1 CDMA text file)
    the file names should be as : IDOCNumber_Currentdate.xml -- For email file & IDOCNumber_CurrentDate.txt for CDMA text file
    Second case: If only GSM records in the IDOC then i need to drop 2 files (1 email file -- 1 GSM text file)
    the file names should be as : IDOCNumber_Currentdate.xml -- For email file & IDOCNumber_CurrentDate.txt for CDMA text file
    Third case: If mixed CDMA & GSM records in the IDOC then i need to drop 3 files (1 email file -- 1 CDMA text file & 1 GSM text file)
    the file names should be as : IDOCNumber_Currentdate.xml -- For email file & IDOCNumber_CDMA_CurrentDate.txt for CDMA text file, IDOCNumber_GSM_Currentdate.txt)
    Here the IDOC number and the text GSM is not used in the ouput structure to use variable substitution method, when we use dynamic file naming configuration UDF then the files are getting overwritten with the first UDF.
    Please let me know how to proceed further..
    Thanks,
    --Kishore
    Edited by: Kishore Kumar N.T on Dec 10, 2010 11:33 AM
    Edited by: Kishore Kumar N.T on Dec 10, 2010 11:34 AM

  • How to isolate error with a record/segment in IDOC with multiple records

    I have an IDOC with multiple records/segments (typically 1000 records/segments). Sometime XI can not process the IDOC because of some control characters in data.
    1. How can I pre-processed the IDOC to remove those control characters?
    Can I use XPATH expression/Java class to do it? How can I configure the XPATH expression/Java class in XI to pre-process the file?
    2. Until I have answer to 1st question. I would like to find out the error is exactly for which record? What configuration can I do in XI to isolate the error is with which record/segment in IDOC?
    Thanks in advance.

    Split the IDoc.
    with in the UDF, after the validations if every thing fine, pass as successful records to success_MT and pass it to target system using Branching in BPM.
    if errors found in the record, then store the error records in Hash table with in UDF, get the IDoc number, frame as a string and raise alert.
    U have to do this in the context of IDoc.
    If U wanna get the IDoc Number, Segment Name and field name for every failure, U can pass the expected error field name as constant to UDF, frame the sentence in the UDF like -> <b>IDoc 1234321 segment – SEG001 – field – FLD03 has a special character ‘*’</b>.
    If U wanna pass this string to source/target, U can do in error messages branch in BPM.
    U must use BPM for splitting the IDoc, since it is multi-mapping.
    reg.,
    Yallabandi.

  • Pairing of EDI ASNI X.12 Transactions set with suitalbe SAP IDoc types

    Hello,
    I am looking to pair the following EDI ASNI X.12 Transactions set with suitalbe SAP IDoc types, for our EDI Integration.
    Can some one help me to identify which suitable IDoc type, should I use? Your help is greatly appreciated.
    142
    824
    830
    846
    853
    861
    862
    864
    866
    I am not sure, I am seeking the help in the righr forum -:)
    Thanks in advance.
    Namadev

    Hi namadev
    Please you can check this link.
    http://www.erpgenie.com/sap/sapedi/ansi.htm#Mapping_x12_to_SAP
    thanks.

  • I need a report in SAP which allows multiple Profit centers selection with

    Hi,
        Cany anybody help me with below issue -
    I need a report in SAP which allowing multiple Profit centers selection with :
    - Profit Center #
    - Profit center Name
    - Profit center long text
    - Profit Center group
    - the related PC node showing the BU and the product category group.
    Let me know is there any report which can provide us with all this details.
    With regards.

    Hi,
    I recommend the PCA standard drill-down or interactive reports accessible via the follwoing menu path:
    Accounting --> Enterprise Controlling --> PCA --> Infosystem --> Reports for PCA
    There are several reports which allow entering profitcenter groups or profitcenters.
    Long Text is not possible. Makes also no sense to report on Long Text.
    Best regards,
    Andreas

Maybe you are looking for

  • Unable to use flexfield lexical oracle.apps.fnd.flex.kff.segments_metadata

    EBS 11.5.10.2 XMLP 5.6.3 ARXAGMW.rdf Hello, I am trying to convert an Oracle Report to XML Publisher, and I am having problems getting lexicals in the Data Template to work. I raised an SR for this since both related threads in this forum from two ye

  • How can I get an extension from a file...in JFileChooser

    I have got a problem here. Here I have a JFileChooser, I want to add in a FileFilter, and user could only see some type of file. But as long as I try to get the extension....It wont compile, could any one teach me how to get the extension of a file i

  • Flash chart - Error - No chart data available

    Hi I have a Flash chart that shows the message "Error - No chart data available" (not the no data found message). If I run its query in sql*plus (using the same parameters) I get 4 rows (with url, label and value columns). I am clueless about how to

  • Can't delete items in my calendar

    HI! I'm using the Mozilla Thunderbird calendar on my computer at work and I was previously syncing it with the iPhone calendar using Google calendar, but that didn't work out too well as meetings we're placed at the wrong time and as I couldn't even

  • Resolution of MacBook iSight Camera?

    Was wondering if anyone has found out what the resolution is of the new MacBook iSight. I know that the Air has one that is inferior to the other ones, but can't find any info. on the one in the new MacBook.