IDOCs sequence is mixed in processing - wrong receiver import sequence

Hello,
we are working with self defined IDOCs to send accounting data to another system.
The process is that regularly a high number of IDOCs is generated, lets say 1000 / 10  min.(but only once a day) and sent to XI.
The Idocs have a mandatory sequence from business perspective.
They are moved to XI and in SXMB_MONI we can see that they are received in the
expected sequence from the IDOC sender.
Having a look at the receiver side something is wrong.
The first IDOC coming in is sent to the receiver as one of the last of this .
So the IDOCs are sent to the receiver in a wrong sequence.
Currently we are thinking about a BPM with correlation to handle his problem.
But possibly there is an easier solution e.g. influencing the queue?
Thank you for any help!
Best regards
Dirk

Dirk,
It is possible to serialize the Idoc's when sent from your SAP system itself.
Refer this blog and also the comments section of this blog where Michal provides a few interesting comments,
<a href="/people/community.user/blog/2006/11/04/how-to-serialize-idoc-xml-messages-fed-into-xi">How to serialize IDoc XML messages fed into XI</a>
Regards
Bhavesh

Similar Messages

  • File to idocs - sequence of inbound processing

    Hi everybody,
    we have a file to (2) idocs scenario. In XI we map the received data of vendors into two idocs (adrmas and cremas). After building the idocs we send them in that sequence to the reveiver systems (recommended). The problem is that in the receiver system very often the idoc cremas wants to be processed before adrmas is ready. This leads to the error "vendor xy is blocked by user sapale". Especially for massprocessing I get a lot of these error-messages in bd87. As workaround I processed all the error-idocs by the report rbdmani2. (First step adrmas - second step cremas) But then I face missing data in some cases in table lfa1 - which seems to me that the sequence of 1. adrmas and 2. cremas was not correct processed.
    Is there a possibility for inbound processing with the rule process adrmas - wait until ready - process the associated cremas and so on?
    I checked the sap-help article for seralisation - but we could not achieve a better result by queing the outgoing messages in the xi.
    Thanks very much.
    With kind regards
    Jörg

    You have to get a solution based on the following concepts
    1. Do not use BPM it is not efficient
    2. Understand what is the difference between an IDOC in received state and processed state. Received state mean IDOC is saved into IDOC table. Processed state mean IDOC processed into the business system.
    3. You can ASK BASIS guy to turn on the immediate IDOC processing option in SAP system,so that SAP process the IDOC as soon as it arrive in IDOC table. This is not efficient, in case if your SAP system has to process SAP online client request and SAP document (inbound and outbound) same time.
    4. Understand the concept of standard based integration, mean integration system provide the option to business parties to provide the successfull message transfer.
    Based on all these points I recomend you to follow the steps below.
    1. Extract each record from the input files into two idocs.
    2. Send the first IDOC to the receiving system
    3. Send the second IDOC to a ESB storage such as DATABASE, JMS Queue, MQ Series Q (if you have available) or even to another File.
    4. Develop an RFC module to check the status of the IDOC being send to the receiving system. Status here mean whether the IDOC data processed into the business system. You can do this lookup using a custom RFC lookup using the attribute connecting the first IDOC record with second IDOC.
    5. Process the records (second IDOC) from the intermediate storage using the RFC lookup into the business system updates its status as ready to deliver.
    6. Using another process such as FILE to IDOC or JMS to IDOC or JDBC to IDOC send each record which are ready to process from intermediate storage to the receiving system.
    7. Create a report using FILE or JMS, JDBC adaptor module to keep track of these three stage processing, so that in case an inconsistency happed you will have an auditing trace available.
    This is the standard based integration approach.
    ABAP guys, BASIS guys they may not get it when then repair a BMW in local auto workshop, cuz I had to fight with them 4 years ago to make it happen in Verizon supply chain project where I had to accomplish the same concept in SAME IDOCS you mentioned here.
    BPM, turning on immediate processing of IDOCS etc will end up in buying another 16 CPU hardware and BASIS guys or ABAP guys running BAD record IDOC processing report for 350.00 hr consulting FEES.
    SAP is a good company and XI is a good product, as long as it is being used as per right usage.

  • How to process the Received Idoc in SAP R/3 ? What to be done ?

    Hi All
    I am working for file to Idoc scenario.....
    Idoc received into SAP R/3 but how to process the Idoc data ?
    Such it will store in SAP R/3 DB.....
    Clearly
    How to Process the received idoc data into SAP R/3 ? (this is for inbound idoc)
    I hope any one can help me on the processing steps ?
    Waiting for valuable inputs form experts
    Regards
    Rakesh

    rakesh
    chec <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660">Sample IDoc</a>
    normally, based on the idoc types it will get processed. if it is an idoc with master record it will create appropriate master records or if it based for a transaction it will create one.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098</a>

  • Picking wrong Receiver Interface

    Hi,
    I am working on IDoc to SOAP scenario using BPM. When we are triggering 100 idocs at a time, in that 2-3 are picking wrong receiver interface and other are working properly. Why this is happening and how to correct it?
    Thanks & Regards,
    Pragathi.

    Pragathi,
    This looks like some caching issue. Please ask the basis team to check. If the Idoc messages are big and as you mentioned, there are 100 IDocs triggered at the same time and you are using IP as well, these all could impact the overall system cache. A lot of resources will be used to complete this process, if my assumptions are right.
    Regards,
    Neetesh

  • ERROR B191 - IDoc has its own logical system as receiver

    I everybody, i'm tryng to execute a package to charge a ODS from another ODS (Datamart) but the process ends with the error "IDoc has its own logical system as receiver", can you help me with is?
    What should be the reason for this error? What can i make to solve it?
    Thanks to all

    Hi  Reddy,
    please let me know how did u solve this issue, even i have the same requirement and am gettign status 29.
    Thanks
    Rakesh

  • How to configure queues for sending IDOCs from XI in the same order receive

    Hi,
       We are collecting IDOCs and sending them to XI using a background job (RSEOUT00) from R/3. When XI receiving these collected IDOCs, it's forwarding the received IDOCs into different queues for processing them and sending them to receiver system. Some times some queues are taking longer time to process the received IDOC and in the mean time the latest IDOC received getting processed and sent to receiver system. When the information related to this old IDOC is sent out to receiver system after the latest IDOC information is  sent to due to delay in Queue processing, we are getting errors in the receiver system. Can somebody explain the steps to configure queues to process the IDOCs in the same order they received from R/3.

    Hi,
    Why not tunnel all the IDOCs to one queue for processing ?
    Cheers
    Colin.

  • ITunes sync to Z10 = not right working / mixed songs in wrong playlists

    Hi
    iam totally frustrated:
    I try several weeks since i have this great device, to sync my itunes music to z10.
    But on syncing thru BB Link, my playlists on z10 are totally mixed with the wrong music files.
    On itunes = all is fine sorted
    Transfered to Z10 = some music is not shown in their playlist or playlists are together in one.
    So syncing is not right working. Horrible
    Combination:
    iTunes + Mac
    Z10 with 64GB card -> fromatted inside Z10 (several times)
    So iam not able to get my music with right playlists to the Z10.
    whats wrong here?
    I never experienced with such problems on iPhone or Android based Phones.
    Blackberry! Please fix that!

    Hey uhscale,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    We are going to need to gather some BlackBerry Link logs to find out why the playlists are mismatching.  Please contact your network service provider and ask to be transferred to BlackBerry so we can investigate these logs.
    Thank you.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Idoc type, message type and process code for EDI 940 & 945

    Hi,
    We are implementing a scenario wherein we are required to send a Wharehouse Shipping Order to the warehouse (forwarding agent) using EDI 940. The output of the o/b is triggered from the Delivery (VA01) after creation of a Delivery in SAP. Once the warehouse ships the goods, it notifies us back by sending EDI 945 (Warehouse Shipping Advice). Using this inbound 945 we are required to update the existing delivery in SAP, i.e., it should do the Pick, Pack and PGI.
    Can someone tell me which Idoc type, Message Type and Process code should be used for the above scenario.
    Thanks in advance for the help.
    Regards,
    Gajendra

    Hi Gajendra,
    For EDI940, you can use message type SHPORD or WHSORD,  IDOC type DELVRY01 and process code DELV.
    For EDI945, you can use message type SHPCON or WHSCON,  IDoc type DELVRY01 and process code DELV.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • BPEL process to receive CSV file in SOAP attachmnet

    Hi ,
    I have a requirement where i need to develop a BPEL process that receives a CSV file in a SOAP attachment. The BPEL process ahould take the CSV file from the attachment and store it in a local Directory. Thanks in advance.

    Hi ,
    I have a requirement where i need to develop a BPEL process that receives a CSV file in a SOAP attachment. The BPEL process ahould take the CSV file from the attachment and store it in a local Directory. Thanks in advance.

  • Microsoft Exchange Health Manager worker process (15200) received restart request and will be stopped. Server 2013

    Hi everyone,
    Anyone seen this before? The Health Manager seems te stop and restart rapidly.
    Microsoft Exchange Health Manager worker process (15200) received restart request and will be stopped. Restart reason: Unknown. 
    Error message: 
    System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
       at System.Diagnostics.Eventing.Reader.EventLogException.Throw(Int32 errorCode)
       at System.Diagnostics.Eventing.Reader.NativeWrapper.EvtSubscribe(EventLogHandle session, SafeWaitHandle signalEvent, String path, String query, EventLogHandle bookmark, IntPtr context, IntPtr callback, Int32 flags)
       at System.Diagnostics.Eventing.Reader.EventLogWatcher.StartSubscribing()
       at Microsoft.Office.Datacenter.ActiveMonitoring.LocalDataAccess.InitializeProbeResultNotification(DateTime startTime)
       at Microsoft.Office.Datacenter.ActiveMonitoring.LocalDataAccess.Initialize(IEnumerable`1 discoveryWorkItems)
       at Microsoft.Exchange.ActiveMonitoring.MonitoringWorker.Activate()
       at Microsoft.Exchange.ActiveMonitoring.MonitoringWorker.Run(String[] args) 
    Watson report about to be sent for process id: 11156, with parameters: E12IIS, c-RTL-AMD64, 15.00.0847.032, msexchangerepl, M.O.Datacenter.ActiveMonitoringLocal, M.O.D.A.CrimsonReader`1.ReadNext, System.UnauthorizedAccessException, e552, 15.00.0847.030.
    ErrorReportingEnabled: True 
    Cheers,
    Yannick

    Hi,
    The Exchange Health Manager Service is used to manage worker process. It's used to build, execute, and start and stop the worker process, as needed. It's also used to recover the worker process in case that process fails, to prevent the worker process from
    being a single point of failure.
    Please check whether the Exchange Health Manager Service is running well.
    Besides, please check the application log to see if there is any related events that can be used to troubleshoot this issue.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • When I "share" to DVD the file is transcoded.  When it reaches 66% it starts to "finishing", but the process stops and does not proceed beyond 66%.  When I stop the sharing process I receive the following message "the share operation dvd has failed".

    When I "share: to DVD the file is transcoded.  When the sharing process gets to 66%, it changes to "finishing" "CreateDVD:waiting fro create disk to finish.  The sharing process does no go beyond 66%, and when I stop the sharing process, I receive the message "the share DVD operation has failed."
    Is this a problem with FCPX or Create DVD?  How can this problem be resolved?

    The handshake between FCP and a hidden app called Create Disk wasn't completed.
    Try this. Select a short range and Share>DVD. In Output Settings. set it to Hard Drive to save as a disk image. (Save to your Desktop so you can find it.) For menu Background, click the Add button, then cancel. That is often enough to wake up the disk burning part of this process. If it makes a disk image, try a physical disk.
    Russ

  • 6230i - how to process vCards received by SMS

    My son has a 6230i and for as long as he's had it we cannot work out how to process vCards received by SMS. In desperation, we used Bluetooth to copy all my contacts across and he deleted the ones he didn't want. *Surely* the 6230 can receive an SMS'd vCard and place it in its phonebook? Even my wife's scummy Samsung (now 5+ years old) can do THAT!

    This phone does not support the v card.

  • Post processing the received serial data

    Hello,
    I want to process the data received by comport in labview where the transmitter device sends 22 bytes of data in this format 0x01 0x02 <18 bytes of information data with LSB first> 0x03 0x0D through the comport which should be read using Labview. I want to process the received 22 bytes in labview as below
    1)      Leave the first 2 bytes and last two bytes
    2)      From the left 18bytes each consecutive set of 3 bytes should be reversed (because the transmitter sends the LSB first) and stored in a text file.
    Can anyone suggest me the steps to implement this.
    Thanks.
    Solved!
    Go to Solution.

    PatanGova wrote:
    When first 2bytes are skipped and remaining 18 bytes are divided such that consecuitve 3 bytes are rearranged then it is considering 030D0102(which is rearranged as in spreadsheet2 of the attached image) which should not be.
    It is ignoring the first two bytes.  That's what the String Subset is doing.  You are taking starting on the thrid byte and up to 18 bytes.  If you put your Recieved Data on the output of the VISA Read, you would see that.
    PatanGova wrote:
    But I want to 1)skip the first two bytes(0x01 0x02) and last two bytes(0x03 0x0D).
    2)From the left 18bytes each consecutive set of 3 bytes should be reversed (because the transmitter sends the LSB first)
    Your code is already doing that.
    PatanGova wrote:
    3) arranged 3bytes value should be converted into 2's complement and want to plot the data (2's complement of arranged 3bytes) continuously such that there will 6 continous plots.(each consisting 2's complement of the rearranged 3bytes)
    Now that is a little more difficult.  A three byte Two's Compliment will take a little work.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Why does iM5 "Process" 16:9 imports?

    In using iM5, I have de-selected "Automatic Pillarboxing and Letterboxing" in the preferences, but when I import footage from my camcorder that was shot in 16:9 (not sure if it's true 16:9 or seudo-16:9), iMovie will spend a long time doing some sort of processing. It took about an hour to process 27 minutes of footage. What is iMovie doing during this "process" time? There is no process time when standard 4:3 import is done.

    Sue,
    I may not have been clear in my post. First, I have the 17" flat-panel Mac, w/768K ram and the 7200 rpm 80GB HD. But the time to process a DVD isn't the question. My question revolves around importing 16:9 footage into iM5. As soon as I click on the scissor icon to bring the footage down into the timeline for editing, iM5 "processes" all the imported footage first before I can do anything to the footage. I was just curious as to what iM5 is doing during this step and why it's oing it. When importing simple 4:3 footage, I can immediately drag the clips into the timeline and edit away. When importing 16:9 footage, iM5 processes the footage first before I can edit.
    Thanks, Dan

  • Queue processing in receiver idoc adapter

    hi all
    i am doing file to idoc scenario and i want to use queue proceesing option can anybody tell me the entire process regarding queue processing.

    Hi KUNAAL MASIH  ,
    U can use a Prioritized queue for urgent messages that must be processed immediately
    These r the details Queues Prioritization:
    Queues for Prioritized Message Processing
    http://help.sap.com/saphelp_nw04/helpdata/en/04/827440c36ed562e10000000a155106/content.htm
    Queue prioritization for XI processing queues uses a built in feature of qRFC. By specifying the maximum processing time for a queue, u can define how much processing time a specific queue will get(this works like a time-scheduling procedure, time slicing). U can use this feature to add queues for high-priority and low-priority messages(for inbound and outbound processing). These queues are then named, for example XBT1* or XBT9* for inbound EO processing and XBTA, XBTZ for outbound EO processing.
    This function uses the message filter concept and can be configured in transaction SXMB_ADM. U can define message filters for specific message attributes such as sender/reciever service, interface and so on. A filter can also be dependent on the message size.
    This function can also be useful in situations where a queue backlog needs to be processed, due to a system error or an error on the reciever side, for example. In this case, u can use a Prioritized queue for urgent messages that must be processed immediately, without having to process the whole back-log first.
    How to prioritize XI messages on the integration server
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20bb9649-e86e-2910-7aa9-88ed4972a5f6
    The parameter QualityOfService specifies how the Integration Engine should process a message. The following values are permitted:
    1)BE(Best Effort: synchronous processing). If QualityOfService is BE, the client is sent the final status for the processing.
    2)EO(Exactly Once: asynchronous processing with guaranteed execution exactly once). If QualityOfService is EO,processing occurs asynchronously and the client only recieves a confirmation of reciept with HTTP status '200'.
    3)EOIO(Exactly Once in Order: asynchronous processing using queues, that is, guaranteed execution exactly once and maintaining the sequence of successive messages). If QualityOfService is EOIO,processing occurs asynchronously and the client only recieves a confirmation of reciept with HTTP status '200'.
    Since u had choosen EOIO ,You must also define a queue name for EOIO:
    XI.QueueId=<QueueName>
    This queue name is used in the Integration Engine to process messages in the same sequence that they arrived in.
    This QueueName can consist of a maximum of 16 characters. If the first 8 characters contain 'SAP_ALE_', these r removed since this value is reserved by SAP and used internally.
    If a value is not specified for QualityOfService , the default value 'BE' is used.
    These r following websites which u wil find helpful:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/d906d01f77fa40a4c84683c3f8326f/content.htm
    http://documentation.softwareag.com/crossvision/xie311/admin/config.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a8424011-0d01-0010-e19d-e5bd8ca52244
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

Maybe you are looking for

  • Where did the tv show menu go?

    I have a 1st generation Apple TV and it used to have a menu for tv shows. I just purchased the new ATV and now thats gone. Am i missing something or is this something that Apple has decided to remove?

  • Monitor Sound Won't Work - Windows 7

    Hi there... just set up a new (for me, anyway) pc, and this HP w1907 Widescreen LCD Monitor was the only one I had to use, unfortunately. When everything was first installed and new, sound played just fine through the monitor speakers without issue.

  • Accounting dcoument for vendor excise invoice

    Hi, Here While posting vendor excise invoice ,there is no accounting doc generated.But when i saw the details,i found the doc post date is 23/2/2010 and vendor exicse invoice year is 2009.So please suggest me over thsi matter.

  • Lean Order Functionality - Sales Order Create

    Hi Gurus, Can anyone please confirm Service ECC_SalesOrderCrtRC1 or ECC_SALESORDERERPCRTRC2 creates a sales order through Lean Order Functionality. My requirement was like sales order should be created through Lean Order Functionality. We are in the

  • Modify Crystal financial statements in 8.81

    I've been asked to modify the Crystal P&L. I was shocked to see that it doesn't even reference OACT in the Field Explorer. Almost all the fields are PLD__Items. If I try to browse the field data, Crystal goes looking for an xml file. Has anyone ever