IDOC to Mutiple receivers - Serialization

Hi,
I have a requirement that IDOCs from R3 has to sent to multiple receivers..and at the same time IDOC serialization has to be maintained.
For eg: ORDERS.ORDERS01---IDOC1
            ORDCHG.ORDERS01---IDOC2
             ORDERS.ORDERS01---IDOC1
            ORDCHG.ORDERS01---IDOC2
             ORDERS.ORDERS01---IDOC1
            ORDCHG.ORDERS01---IDOC2
As mentioned all IDOC1 should be received by RECV1 and all IDOC2 by RECV2.
and we have to maintain the serialization all over.(FIFO)
1) What actions should have to perform to maintain the serialization at R3 side and PI side.
2) Can i configure this scenario in Integrated Seanrio (AAE).
Regards
Sekhar

@Aashish & Sachin
Thanks for ur reply..
In the mentioned link,it is not for the multiple receivers and can you plz let me know if this scenario can be configured for AAE.
What are the steps to be followed to maintain serialization  at the PI side .
How serialization can be maintained in the case of the multiple receivers?
Thanks for the reply..
Regards
Sekhar

Similar Messages

  • Incoming idocs giving error for  Serialization

    Hi  Friends
    Am getting inbound idocs with this error  :  Serialization  errror for  object  01,S, 34343434,Expected counter 000001<
    and error in details  says,
    The expected serialization counter has the value 000001. However, the serialization counter in the IDoc has the value 000002 and is therefore too big. There are therefore older IDocs with this HR object with the serialization counter values in between. These IDocs have either not yet been posted, or have been posted incorrectly.
    what shd i do for this  few exper said i need to do some thing for Serialization  so automatically system shd take care for this,
    Pls help me on this.
    Regards
    Meeta

    Hello,
              Refer to the SAP Note [65954|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=65954]. It might be of use for you.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Create multiple idoc with multiple receivers based on value mapping table

    Hi,
    Scenario: 
    Step1 : sender sends a finance doc iin the form of an idoc. This idoc will have multiple line items based on profit center. Do determine the value of receiving comp code(header field) n receiving system(logical sys name) value mapping table has to be used.
    Solution so far: I can put an rfc lookup for fetching receiving comp code from mapping table with i/p paraameter as profit center . And split the incoming idoc based on comp code value by using split by value. Now I need your advise 2 take this further.
    Issue 1 : say the incoming idoc has 4  line seg wid 4 diff profit center
    Profit center.       Rec comp code.   Recv sys
    P1.                       C1.                        R1
    P2.                       C2.                        R1
    PS.                       C2.                        R1
    P3.                       C3.                        R2
    Nw using this info, I want 3 diff idocs to be created for each unique comp code.
    Idoc 1 : for C1 wid one line item + 1 for reconsilation ( to be generated additionally)
    Idoc2 : for C2 wid 2 line items + 1 for reconsilation
    Idoc 3: for C3 wid 1 line item + 1 for reconsilation
    Idoc 1 and idoc 2 shud be sent to R1.
    Idoc 3 shud be sent to R2.
    Kindly advise on this

    Hi experts,
    U all r pretty close, but let me put this more clearly.
    Step1: create multiple idocs based on unique comp code - I'm able to do this using rfc lookup n split by value. So I get 3 idocs each for c1, c2 n c3.
    Nw as per the values from value mapping table.
    Idoc for c1 contains 1 line seg.
    Idoc for c2 contains 2 line segs.
    N idoc for c3 contains 1 line seg.
    steps2 n 3,  where I do not have a confirmed solution yet n need ur advise.
    Step 2 : for each idoc generated I need 2 create n additional segment, mapping 4 which will be based on the values in the original segments for that idoc.
    In d above scenario, idoc for c1 contains 1 line seg, nw I want 2 add one more seg to it. The amount and pisting key values in this segment wud be calculated based on the values of the amount and posting key belonging to the original segment in this idoc.
    Similarly for idoc for c2 there are 2 segs, nw I need one more, means 3 in allm
    Hence for idoc for c3, 1 orig already present + 1 more. = total 2.
    Nw I need ur advise on how 2 generate this additional seg in each idocm
    Step 3: when all dese 3 idocs are generated, ( in this case itz 3, in real time it can be n), I need to find their respective receivers using rfc lookup n then based on the receiver send 2 resp recvng systm
    Nw how do I do this?
    Please explain with examples if possible 4 bettr understanding.
    u2020ђąu03B7kўu03C3u03C5 in advance.

  • Handling acknowledgement for sender idoc from multiple receivers

    Hi,
    Problem: Sender IDOC mapped to multiple FILE receivers. So sender system is SAP, receivers are BS_SYS1, BS_SYS2 and BS_SYS3. The partner profile for IDOC is set as BS_SYS. Due to this, I can enter BS_SYS in the Adapter-Specific Identifiers of one of the services say BS_SYS1. But all three will send acknowledgements and the ack messages for BS_SYS2 and BS_SYS3 error out in MONI due to
    'Unable to convert sender service BS_SYS2 to an ALE logical system' and 'Unable to convert sender service BS_SYS3 to an ALE logical system'. How do I solve this since I am not able to set BS_SYS in all three services/adapter-specific identifiers box at the same time.
    Anyone have this issue before? I am guessing one option is to create logical systems BS_SYS2 and BS_SYS3 in SAP and have the aleaud messages routed to these logical systems. But when there are say scores of receivers, it is a clumsy solution.
    Thanks
    JB

    007,
    nice to have here
    You have alternatives:
    1. Just use one business system with different inbound interfaces / receiver agreements / communication channels and conditions at interface determination
    2. Create a Business Process which is doing the split. This could lead to some minus performance but you would be able to handle the acknowledgements in a senseful way (you get 3 ackn for one send msg)
    Regards,
    Udo

  • SOAP Receiver/Sender in IDOC- XI- SOAP receivers?

    hi,
    i have idoc-> xi-> soap receiver.
    1. How can i get a response back from soap receiver?
    2. in the above scenario is SOAP the receiver or agian the sender?
    3. not sure how i can get a response back from the soap receiver?
    any tips would be helpful.
    thanks,
    tirumal

    Hi,
    It should be
    <i>
    Under Target URL, enter the complete address (URL) of the Web service provider that you want to send the message to.</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
    What are you specifying?
    Can you give the entry in Target URL...
    Regards
    Suraj
    Message was edited by: S.R.Suraj

  • IDoc to multiple receivers...

    Hi All,
    (This is an IDoc to IDoc scenario)
    I am working on a scenario where I need to send a mapped IDoc to four local folders. (The local folders are for archived copies of the IDoc and for pick up by third party systems. We are not concerned with the IDocs after deposit in the folders) The key is to have 4 identical copies of the IDoc in 4 different folders after mapping through PI. This is not for xml versions of the IDoc, this is for the flat text version of the IDoc.
    I have already mapped the IDoc and have also taken care of the 1:N issue on the outbound IDoc. What is the best way to get 4 copies of the mapped IDoc to four different folders? Couldn't seem to find a definitive answer anywhere!
    Thanks!
    Don

    Hi Ravi,
    I am sending PAYEXT.PEXR2002.PEXR2002 and the payload confirms this as below:
    <IDOCTYP>PEXR2002</IDOCTYP>
      <CIMTYP>PEXR2002</CIMTYP>
      <MESTYP>PAYEXT</MESTYP>
      <STDMES>PAYEXT</STDMES>
      <SNDPOR>SAPDEV</SNDPOR>
      <SNDPRT>LS</SNDPRT>
      <SNDPRN>DEVCLNT400</SNDPRN>
      <RCVPOR>PIDDEV100</RCVPOR>
      <RCVPRT>LS</RCVPRT>
      <RCVPRN>SAPXI</RCVPRN>
      <CREDAT>20110707</CREDAT>
      <CRETIM>150248</CRETIM>
      <SERIAL>20110420145801</SERIAL>
      </EDI_DC40>
    - <E1IDKU1 SEGMENT="1">
      <BGMTYP>PEX</BGMTYP>
      <BGMNAME>EXTENDED PAYMENT ORDER</BGMNAME>
    I will delete the metadata again in IDX2 and re-load. Is there anything else you can think of or may need from me in order to diagnose/resolve the issue? Thanks in advance for your help thus far!
    Donald

  • Help in BPM: Routing data to mutiple receivers based on field content

    Hi All
    I have a scenario where my source data is from a file. Typically this file is from a DMS application and based on the contents in this file i need to send the data to 2 receivers which might be R/3 and DB or file. Though BPM may not be of use for this scenariuo i want to make use of BPM:
    Q: My file content looks like:
    1200,fombell,12,1200.50,ea,tetra
    1900,fombell wdc,2,200,ea,magneta
    2020,morris,1,12.50,Pc,frp_films
    2020,morris,10,1200,Pc,xr_tutos
    field separator is  ,
    primarily my first field is a plant and based on the plant i need to send the data to R3 and File or DB. If i make use of switch in BPM i'm not able to read the entire list of the message. it checks only for the last record. how to goahead with this and kidnly let me know in details the steps involved.
    Thks
    Prabhu

    Hi Prabhu,
    Just to suggest i guess its always better to avoid BPMs to improve your performance...
    Your requirement can be easily met using the Extended Reciever determination that we have...
    Here actually based on condition from the message in the payload u can assign your receivers..
    Below is the steps to do the same...
    Under Receiver Determination --> Configured Receivers --> Specify the 2 receivers and beside the same you have an option called condition, there you specify the condition on which it has to go to the first system and then the condition on which it has to go to the second system.
    When you click on the codition it will open another window (Condition Editor window) under which you have a Left Operand which when you click will open up another window(Expression Editor window), there for your need you check on the XPath radio button and then click on the field whose value you wanna check from the structure that it displays, when you click on the field it fills in the XPath Expression, then click ok.
    After that it takes you back to the previous window(Condition Editor window) with the Left Operand having the XPath Expression, so all you will have to do is to fill the Right Operand which is nothing but the value you want that field to contain.(For Example if a field "A" that you have selected which comes in the XPath Expression in ur Left Operand,has a value "1" in your Right Operand)
    There you also have an option to put in an "and" or an "or" condition if required(For Example if you wanna check if "A" and "B" is satisfied or it you wanna check if "A" or "B" is satisfied, this can also be done)
    I also suggest u to go through these blogs..
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    If you have any doubts or clarifications on the same, please do ask and i will tell you how to proceed.
    Regards,
    Abhy

  • Regarding BPM for Mutiple Receivers

    Hii,
    I am getting the Input as a File, I want to send this file to multiple File Locations Using BPM. How should I define the BPM.
    Regards,
    Varun

    HI,
    You can send file to multiple receivers with and without BPM.
    If you want to use BPM check this:
    XPath to show the path (Multiple Receivers)
    without BPM:
    You can do it by putting the condition in deciding your receiver business system in your receiver determination. For each business system which is there as a receiver you need to provide individual interface determination also

  • JDBC to mutiple receivers scenario

    Hi experts,
    I have the following scenario.
    Source
    Database1
    Target
    1. SAP R/3
    2. Database2
    3. Database3
    Data from a database needs to be picked and sent across to three receivers by splitting the data
    Assume we have 20 fields retrieved from source. 10 fields would be sent across one SAP R/3 and the other ten fields to both the target databases.
    Failure in one of the target system needs to have a roll back in other target systems where data was committed.
    Do we need to use BPM for the message split?
    Please do provide your valuable inputs
    Regards,
    Kalyan

    >
    > Source
    > Database1
    >
    > Target
    > 1. SAP R/3
    > 2. Database2
    > 3. Database3
    >
    > Data from a database needs to be picked and sent across to three receivers by splitting the data
    Without using BPM only we can split the messages,we can send to SAP R/3 and Data Base Systems.search in SDN to find Multi mapping without BPM blog.
    > Assume we have 20 fields retrieved from source. 10 fields would be sent across one SAP R/3 and the other ten fields to both the target databases.
    >
    > Failure in one of the target system needs to have a roll back in other target systems where data was committed.
    But here your required BPM,Better to use BPM for all cases for spliting and error handling also.
    Regards,
    Raj

  • IDOC to mutiple systems.

    Hi Paulie,
    Yes this can be achieved through enhanced receiver determination. If both the conditions that you provide for the mapping of Service node on the target, the message is send to both the systems.
    But i think you will need enhanced interface determination as well, for your requirement.
    Thanks and Regards,
    Sanjeev.

    Hi,
    If I understood your requirement correctly...then u need to do these:
    create multi mapping in graphical mapping.....
    transform your source to 2 target formats here...
    as you are using multi mapping go for enhanced interface determination...
    use extended receiver determination to route to target systems...
    Regards,
    Chaitanya.

  • Serialization error in inbound idoc

    Hi Friends
    Am getting inbound idocs with this error : Serialization errror for object 01,S, 34343434,Expected counter 000001<
    and error in details says,
    The expected serialization counter has the value 000001. However, the serialization counter in the IDoc has the value 000002 and is therefore too big. There are therefore older IDocs with this HR object with the serialization counter values in between. These IDocs have either not yet been posted, or have been posted incorrectly.
    Intrested Part is   i put check ( Selected ) on  as per client suggestion in ,
    IMG -> Sap Netweaver -> Application server ->Idoc Interface / Application Link Enabling (ALE ) -> Modelling and imple  Business process -> Configure  Predefine  ALE Business Process -> Human Resource -> Master data Distribution ->Serialize HR Master Data  -> ( Serialize HR Master data in ALE inbound processing ) ...   settings  and i was getting this error but when i take back this check ( unselect ) flag   idoc posted successfully    Now am confuse i shd keep this or not because am getting data from diff countries also.
    what shd i do for this few expert said i need to do some thing for Serialization so automatically system shd take care for this,
    Need your support on this .
    Regards
    Meeta

    I have been working with IDocs in a serilization-active HR-ALE system and have learned a few things along the way ....
    - Serialization must be active in both sending/originating and receiving/destination systems.  (Turn on flag in customizing, as you have already done).
    - Both systems maintain a registry of HR objects that includes in each record the object type, object id, and serial counter.  The serial counter is increased by one in the sending system every time the object is sent via ALE and increased by one when the object is correctly processed in the receiving system.  The serial counter is passed in the E1PLOGI record of each object in the IDoc.
    - When a similar serialization error is received (where the counter received is lower than the expected counter), the error message gives a little more detail:   "Decide what to do based on your own particular situation. Responses could range from ignoring or editing the IDoc, to manually adjusting the serialization counter in the registry of the receiving system to the expected value."
    Options are therefore:
      - Edit IDoc - can use IDoc test tool (WE19) to create and edit a copy for processing.
      - Use transaction RE_RHALE_HRMDRGIN to maintain the serial counters
      - Use transaction RE_RHALE_RGIN2IDOC to adjust the serial counters for the offending IDoc
    I strongly recommend, however, that you take some time to further understand the serialization process before updating the counters manually.  If you've turned on, then off, then on the serialization flag(s) through customizing, you might consider initializing the serial counters in both sending and receiving systems and starting from scratch.

  • Serialization of XI's outgoing messages (IDocs)

    Hi guys,
    We have a file->IDoc scenario. Each line of source file produces an IDoc. What values should we put to SERIAL node of target message (IDoc) to ensure correct proessing? Should it be a numeric value? Alfanumeric?
    Thank you, Olian

    Hi,
    My understanding is that, you will provide a timestamp in XI .
    Then module IDOC_SERIALIZATION_CHECK (in inbound process code) update the entry in BDSER table for a key field of IDoc.
    Table BDSER - "Serialization Time: Last Date at Sender for Each Object".
    Set up serialization via tcodes:
    BD57 - assign serialization object to the message type
    BD95 - assign a segment field  to serialization object
    Idocs processed by RRBDAPP01 are sorted by SERIAL (timestamp), then table BDSER is updated.
    Regards,
    Jakub

  • How to enable IDOC serialization at message type level

    Hi,
    I am trying to enable IDOC serialization at message type and i am unable to achieve the desired results.
    SETTINGS DONE:
    I have done the settings required under SALE trsanaction
    ALE IMG (transaction SALE)
       Model and Implement Business Processes
          Configure Master Data Distribution
              Set-Up Data for Sending and Receiving Serialization
                  Serialization by Message Type
    I have done the settings in both the receiving system and the sending system.
    PROBLEM:
    I am trying to send the Material classification first and then followed by Material class and then try to send the material itself to the other system. Since the serialization is enabled in the system, i was expecting that there should not be any errors.
    But since the material classification IDOC is posted first it throws an error saying the Material Class does not exists. Since the serialization is enabled in the system i was expecting that the system would ensure that it post the Matrial class first and then post the material classification. I mean it would post in the order in which i have defined in the serialization.
    Settings at Partner Profile.
        - I have set the trigger in background for all the message types except the SERDAT message type which is set trigger immediately.
    Any idea what i am missing? Any suggestions on what needs to be done to ensure that the idoc is posted in serialization?
    Edited by: Workflow  learner on Jun 4, 2008 1:21 PM

    Hi,
    Create a custom transaction for PO Print & make the necessary changes as per your requirement  In the custom program which you attach to the custom transaction you can put a validation to display the price based on user ID or some other parameters.
    Thanks & Regards,

  • IDOC Serialization & Synchronous Scenarios with AAE

    Hi Folks,
    I have queries reg Advanced Adapter Engine (AAE):
    1) Can we  do the Synchronous scenarios through AAE.
    2) How can i do the IDOC serialization. How AAE helps in that.
    Am using PI 7.3 ...Can you please mention the possibilites for the above queries.
    Thank you!!
    Regards,
    Sekhar

    MDM Learn wrote:
    Hi Folks,
    >
    > I have queries reg Advanced Adapter Engine (AAE):
    >
    > 1) Can we  do the Synchronous scenarios through AAE.
    Already supported as part of 7.1 / 7.11 so dont see any problem here
    >
    > 2) How can i do the IDOC serialization. How AAE helps in that.
    >
    > Am using PI 7.3 ...Can you please mention the possibilites for the above queries.
    >
    > Thank you!!
    >
    > Regards,
    > Sekhar
    the above should be very much supported if you are using the Java IDoc adapter. For serialization use qRFC in SAP partner profile

  • Single file to multiple IDOC's (on Multiple R3 Clients):

    Hi,
    We have a complex Landscape with multiple (4) businesses (multiple R3) instances and most common R3 --> DEV 4 instances with 5 clients each, QAS 4 instances with 2 clients each with some additional clients, PRD 4 instances with a client each and Training 4 instances with 2 clients each in the Landscape along with BW systems.
    We are trying to implement standard MDM - XI - R3 distribution scenario. Only difference being MDM Production will be the Master distribution client and have to be distributing to all the R3 clients. For those who doesn't know SAP MDM - is Master Data Management Engine and within this scenario the output from MDM is standard XML IDOC file.
    To achieve this syndication is being planned as MDM production to distribute files to 4 businesses to 4 file share folders. These files will be picked up by XI production and will be distributing(Creating IDOCs) on multiple receivers (R3 --> DEV, QAS and PRD) clients of the respective instances.
    The one to one scenario is very simple to build MDM XML file from file adapter to R3 IDOC of IDOC adapter, but for our business it becomes one file to multiple R3 clients (IDOCs) on multiple R3 instances;
    My question is: Is there an easy way to configure single file to mutiple R3 client IDOC receivers scenario? Also there might be additions and deletions of the R3 clients based on business requirements. Is there any proposed or already implemented procedure to achieve this complex distribution?
    We have planned on trying to define a business system for each R3 client (DEV/QAS/PRD) and to have the integration directories configuration built for all the 47 clients that the data needs to be distributed. With IDOC Adapter is this the only way to go? Also, in future if there are additions or deletions of clients it becomes maintenance intensive and there won't be a quick way to stop the distribution?
    Your time and input is appreciated.
    Thanks and Regards,
    -Raj.

    Michal,
    Thanks for your answer and FAQ.
    I think I am confusing everyone with my long messages!
    We already have XI DEV, XI QAS, XI PRD.
    But business requirement for the global harmonization MDM scenario is that MDM PRD should be able to distribute the XML files (IDOC fields in GLMAST01 - IDOC format) to all the DEV, QAS and PRD (R3) systems in the landscape. For this distribution XI is used as the integration partner (File adapter picks up the XML file from MDM file share location and IDOC adapter creates an IDOC on the respective R3).
    For this specific scenario though XI-DEV and XI-QAS systems are present they are available only for testing phase. After the scenario is moved into production, XI-PRD should be able to pick up the XML file from MDM and distribute it to all the DEV, QAS, PRD R3 systems.
    Same file needs to be distributed to 20 DEV clients across 4 DEV instances, 27 QAS clients across 4 QAS instances and 12 PRD/TRN(training clients).
    Yes, as you said in your answer earlier deleting a client from the distribution is removing the client from the receiver determination (and removal of corresponding Interface determination, sender agreement and receiver agreement).
    Addition of a client for distribution is adding the client (business system) in receiver determination (and addition of of corresponding Interface determination, sender agreement and receiver agreement).
    Do I have to maintain all the 59 (Clients from different systems) sets of config within the ID and all the systems in SLD of XI - DEV/QAS/PRD? Even if I do so, Is this the right way to go, defining all the DEV/QAS/PRD clients within all the SLD's of XI -  DEV/QAS/PRD?
    I am not finding an easy way to architect this.
    I appreciate your time and patience.
    Thanks and regards,
    Rajani Kanth Yalamanchili.

Maybe you are looking for

  • Different e-mail alerts for different contacts

    Can I have only certain e-mails alert me with a tone and let all others remain silent in iOS5? I use my phone for work and want to assign e-mails from specific people to audibly alert me and let all the rest remain silent so I'm not bothered by unimp

  • Can't import into Shapes Project Palette

    I'm working through the Apple Pro Series DVDSP 3 and the lesson requires me to import a layered Photoshop file into Palette - Shapes - Project. Initially, I had to import and the file appeared in the Custom tab. I followed the steps to import into th

  • Problem Of Not Changing Current period in Simulation

    Hi Guys, We face a peculiar problem in payrol ,after exiting for a certain month ,In simulation it is not going to next month also it is not releasing the next month Any Idea!!! Thanks Sur Edited by: surajitsurajit on May 7, 2010 10:47 AM

  • USB port not being shown

    I picked up a Toshiba Satellite 325 CDS at a garage sale and plan to use it for Ham radio and electronic hobbyist pursuits. I'm running Windows 98SE. Everything works well except the USB 2.0 port, which is not being recognized in the Windows Explorer

  • Screen flashes black when quitting and starting up applications

    Hi there; I've done a quick look around the internet and these forums to see if I could find any more on this problem, but no such luck. I've bought a new 15" MacBook Pro in June, it's the 2.66 GHz Intel Core i7, 4GB of ram. I'm very happy with it, b