Sequential Processing in XI

Hi Experts,
I have to execute a scenario which involves sequentially processing of files coming from legacy and sending data to R/3 via proxy.We have files coming in for different insp lots.Each insp lot has 1 or more results files.
My requirement is :
all the files pertaining to same lot must be sequentialy processed.If one of the file fails all other must be blocked.But Xi should not block files of other onsp lot.
Options that I have tried:
1) Setting EOIO in channel and giving queue names.But this works fine for a particular batch lot,but even blocks files of other batchlot.
2) I tried configuring rules on R/3 moni to break the Qos and make it Eo and let R/3 code handle the sequence.
3) Tried BPM with option of "Mulitple queues(Content specific)" and using corelation on Insp lot.Did all the settings in SWF_INB_CONF.But the I cannot see separate queues as per the correlation.
Can anyone help in solving this.Is this possible in XI?
Thanks in advance.
Pragati

Ur third option seems to be the most logical option. There could be some config problem in BPM. U will find multiple queues only if ur correlation instantiate multiple integration processes in parallel. Also make sure that u have only One correlation in ur scenario.
Regards,
Prateek

Similar Messages

  • Best way to modify Sequential Process Model for report generation.

    I am using the Sequential Process Model in my application and the TestStand Reference Manual, (Figure A-1), clearly shows the following processing sequence:
    ...<part removed>
        Call the Test Sequence
        Display the UUT results
        Generate a Report
        Log Result to a Database
    ...<more removed>
    I want to generate the report BEFORE displaying the results to the operator, or at a minimum, I want to generate the report in parallel with displaying the results to the operator.  Currently, the problem I have is that when the test is done I have some automated scripts that take the data file and do some statistical processing on it, but the way the Sequential Process Model is set up, the test might finish but until the operator acknowledges the PASS/FAIL results display, the resulting file is never created.  It could be overnight, over the weekend, or several days before an operator comes back and says, "Oh that last test finished, I guess I can press the OK button!", but until they do, I get no data.  So I want the report generated no matter what, and right after the test finishes.
    Any ideas as to how that might be best accomplished?
    Thanks a billion -  Ski (noob)

    Ray,
    Is that new in 4.2 that the engine won't call a callback with nothing in it?  I just did it and it seemed to work fine.  I'm using 4.1.1 though.
    Ski,
    Maybe there is a better solution for what you want.  Are you using the SequentialModel?  What version of TS do you use?  Why does the report have to be written before the pass/fail banner displays?  The pass/fail banner gets displayed in the PostUUT callback.  Like Ray said if you just put that in your client sequence you won't see the banners.  However, I'm assuming there is more to this than just that.  I'm assuming you want to see the report because of your external analyzer that is gathering the statistical data.  And then based on that data you want to allow the user other options.  Is this correct? 
    If so then I would override the PostUUT callback and then use a different callback (possible the ProcessCleanup callback) to displaly the banners.  You could even do this without modifying the process model (which I always try to avoid).  Just override both the PostUUT and ProcessCleanup callbacks.  And then put code in the ProcessCleanup to behave like you need.
    Or if you want you can modify the process model and create a new callback lower in the process model.  Then have that new one do the post report analysis.
    Just some thoughts.
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • First JavaFX application with long sequential processes

    Hi all,
    I'm working on my first JavaFX application.  I have UI elements (view) in place, I have a controller that works properly (with the exception I'll mention below), and I have an model that runs correctly (processes the data properly), but the model code was not originally written to run under a UI.
    What I want to happen is the following.  When the "Run" button is clicked, the input of the user is passed to the model via the controller and the data is processed.  It's a do-once kind of thing where the input is transformed into the output and that's the end of it.  The UI can be reset and new input provided, and the whole thing happens again with the click of the Run button.  Here's the problem:  The processing has several steps that need to happen sequentially, but some can take a long time.  I want to provide feedback via a message (what's being done), and overall progress via a progress bar (both elements in the current UI).  The problem is I'm still very confused about how to accomplish the user feedback.
    The UI was built in SceneBuilder, and I've assigned the onMouseClicked event to call the runButtonClicked() method in the controller.
    The runButtonClicked() method calls private methods that execute the processing steps (I'm going to do something more intelligent with the exceptions - please ignore that for the time being)...
        public void runButtonClicked() {
            runButton.setDisable(true);
            sdfFileBrowseButton.setDisable(true);
            outputFileBrowseButton.setDisable(true);
            try {
                prepareSDFFile();
                prepareModels();
                collectDescriptors();
                makeSamples();
                evaluateSamples();
                writeResultsToTextFile(results, outputFile);
            } catch (IOException exception) {
                System.out.println("Caught IOException: " + exception.getMessage());
            } catch (JAXBException exception) {
                System.out.println("Caught JAXBException: " + exception.getMessage());
    Each of the calls in the try-catch are tasks that need to occur sequentially in the order shown.  A few can take a long time (e.g. collectDescriptors(), evaluateSamples(), and writeResultsToTextFile().  The actual work isn't done in the controller.  The controller creates instances of the classes that do the actual work (this seems to be a departure from most of the tutorials I've seen - it seems the model and the controller are mixed in the tutorials).
    I want to alert the user about what step is executing (by way of a message in the UI) and what stage the whole process is in (by way of a progress bar).  It would be nice if the progress bar could reflect the progress of each individual step (returning to 0 at the beginning of the next step), but having the bar just reflect the over all progress (e.g., how many of the six steps have been finished) would be sufficient.
    I also want to be able to handle a Cancel button event and just stop the whole process and reset the application (losing whatever work has been done is OK).
    So - I really can't tell what the best approach should be.  None of the examples in several tutorials I've gone over have really touched on this type of sequential process.  I'd appreciate suggestions.
    Thanks,
    Dave.

    Suggested Approach
    What you describe is an absolutely classic case for using the javafx.concurrent utilities (Task and Service).
    Your application is a perfect fit for using these services, which will provide you:
    1. a concurrent execution thread to run your log running processes
    2. a threadsafe feedback mechanism for progress that you can bind to a ProgressBar for interactive progress feedback.
    3. a threadsafe feedback mechanism for messages that you can bind to a Label for interactive status feedback.
    4. sample code that demonstrates the ability to cancel and restart processes.
    5, a success callback method setter that can be set to provide a result and take action on success.
    6. a failure callback method setter that can be set to provide an exception and take action on failure.
    Task and Service Samples
    There are many examples of Task usage if you search for JavaFX Task.
    There is also great documentation in the Task and Service javadoc.
    Here is an example of using a JavaFX service.  The example is a little old and uses doesn't use some new API features such as setOnSucceeded or setOnFailed, it also uses the now-deprecated Builder patterns, however, the bulk of it should still be relevant to what you want.
    Here is another more complicated sample to Render 300 charts off screen and save them to files in JavaFX, though I doubt your task needs to be that complicated, and likely a single controlling service is all you need, so don't pay too much attention to the more complicated example unless you must have that kind of functionality.
    Here is another simpler example for Re: Creating multiple parallel tasks by a single service, that actually demonstrates sequential and parallel demonstration of step tasks within a service.
    The progress can be reset between steps, so that the message indicates the step being performed and the progress indicates the progress of the step rather than overall progress.  You could expose separate mechanisms for feeding back overall progress in addition to step progress.
    For further help
    If you are still having issues, I'm sure somebody on the forum could easily mock up a sample application stub that demonstrates the techniques based on the info you provided in your question, just ask if you would like that...

  • Sequential Processing for MDBs of Cluster.

    Dear All,
    I am facing a strange problem with MDBs. I am deploying the MDB on cluster. I also specify that there is only one instance to be available. the following description was put in the deployment descriptor.
    <pool>
         <max-beans-in-free-pool>1</max-beans-in-free-pool>
         <initial-beans-in-free-pool>0</initial-beans-in-free-pool>
    </pool>When I tried to deploy I was having 2 instances, i.e., there was one instance per node on the cluster. So the message processing was done parallely.
    My requirement was to do sequential processing for a set of beans and parallel processing for other set of beans. I want to have a realtime system where I cannot have a batch program that does sequential processing for me.
    Any help is welcomed!

    Hey I have got a poor solution that is working.
    I have made the MQ Queue that is configured for my MDS as not sharable.
    If any one has a better solution kindly let me know.

  • Sequential processing DTP

    Hi,
    To have my global variable values in the routines available in the processing of all the data-packages I need to set the DTP to sequential processing.
    Is this still possible in 7.0? (in 3.5 it was done by setting infopackage update mode to PSA only)

    under settings

  • Synchronizing multiple threads = sequential processing ???

    Hi !
    I am trying to solicit some comments and views.
    I tested a program which updates an account with two amounts each of 1000, via two different threads.
    I can see thread-1 kicks up , waits for some resource (e.g. from the db server ) while thread-2 kicks in and grab the cpu.
    Without sychronisation, they overwrote each other so that at the end I have only one amount credited to the account (plus the original balance).
    Now I simply add the directive "synchronized" and both amounts are added to the balance correctly !
    However, I can also see (via much use of PrintWriter) that thread-1 completes the synchronised block of java-code first (along with a palpable delay) before thread-2 kicks in.
    In the sychronized case, the cpu was idle while thread-1 waits for an I/O and idle again while thread-2 waits for an I/O.
    Isn't this simple sequential processing ?
    Is this an optimal model for concurrency ?
    I do not see any significant advantages !

    I know the book: Zukovski Java 2 from Sybex.
    Two threads are fighting for single resource. In such case synchronization does not defeat the purpose of concurrent programming. It just introduces the order: not too much of a good thing. Sure, you are better off with only one thread in your account, but think that they can service several diffrent accounts at once not just one.

  • Sequential processing of messages with bpm process

    hi,
    i have a bpm process that i want to process my messages sequential. for this i initially have played around with crerating my own queue but that didn t work. then i mocved to use the collect pattern and then process the messages. this works only for around 150 messages and the others are staying stuck in the queue for the bpm process the queue is in status stop. if a drop in another file then the queue get cleared and the new messages are placed in it and it still stays in stop and i need to delete queu and start again. Is there a solutio for this that the queue will collect the messages and when the bpm proces is finished it will start again ?
    i have tried to avoid using the collect pattern and worked with my bpm process to let it use a specific queue  but that also didn t work. i can process 1 message and then the rest stays in the queue? any help would be welcome

    Hey
    is there any reason specific reason for using BPM?
    you can use EOIO to transfer your files sequentially.
    thanx
    ahmad

  • Sequential processing of inbound idoc

    Hi experts
    Does anyone know whether the inbound idoc processing is sequential (one by one) if the partner profile is maintained to be triggered immediately? Can this be done instead of using an external program for processing?
    thanks in advance!

    By sequential do you mean in the order that were received for a particular message type? If this is the type, you need to enable qRFC processing in WE20.

  • Parallel & sequential processing

    Hi Experts,
                       i have little bit confusion regarding sequential and parallel processing ,when to go for sequential and parallel processing,what is the advantage ?
    please help me,i am new to odi.
    Regards
    ksbabu

    ksbabu wrote:
    Hi Experts,
                       i have little bit confusion regarding sequential and parallel processing ,when to go for sequential and parallel processing,what is the advantage ?
    please help me,i am new to odi.
    Regards
    ksbabu
    The advantage ? In simple terms, say you have 3 steps that take 10 minutes, in serial :
    Step 1 -> Step 2 -> step 3
    10 + 10 + 10 = 30 Minutes to complete.
    Now lets say you can run these steps in Parallel at the same time
    10
    10
    10
    They will all be finished in 10 minutes, you have saved 20 minutes running in Parallel compared to Serial. In a data warehouse, we can commonly load Dimensions in parallel (providing there are no dependancies) , then we might load the fact tables in parallel also (again , assuming no dependancies).
    Load Plans allow you to orchestrate Parallel / Serial calls to interfaces and Package scenarios, you can also run steps in Parallel in Packages using asynchronous scenario calls.
    Hope this helps.

  • File to IDoc ( sequential processing )

    Hi All,
       I need a clarification for one of  my scenario..
    The scenario is about PO create, PO change and PO del. We receive a flat file with all the above mentioned in the same file in any order.. But we need to ensure that we <b>post and process all of them in sequence as we receive from the file</b>..
    We need to consider the performance even. Please suggest on how to go ahead with this..
    Thanks in advance..
    Rgds,
    Yuva.

    thanks for reply.
    Am not clear in the concept you are saying.
    Let me give more details abt the scenario.
    XI gets the flatfile form the legacy with PO create/change/delete, were it maybe in any order.
    Maintaining the order in XI for pickup and sending the IDOC is not a problem, but in R/3 how to confirm processing order as it receives.
    plz help.

  • How to skip sequentially processing of FTP-Adapter

    Hello,
    well we have the problem that on ftp are many files from many sources.
    Sometimes one source send wrong structure in file that the processing is stopped.
    It's stopped even though there are files in directory which are in right structure. But because the wrong files are "before" the right files the adapter is not processing the right structured files!
    So how to get the adapter to process the "good" files?!
    Quality of Service is not helping here!
    Can someone help?
    br

    Dear Fritz,
    You can Validate XML Paylod in PI 7.1, But this option is not available in lower versions.
    Check here for the same
    [Validating Source XMLPayload|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5002ac06-aff3-2a10-6798-cbe11ca35535]
    I think we can write an adapter module to filter unwanted XML payloads to be processed.
    Best Regards
    Praveen

  • File Channel sequential processing based on file names

    Hi,
    I have a requirement in a sender file channel.
    There are mulitple files with different file names, I want these files to be processed in sequence based on the file name.
    For example.
    The files lets say are A3_1, A2, A1,A3_2.
    I want to process A1 then A2 and then A3.
    Please suggest methods to implement the same, I think an adapter module should help, please throw some light on the same.
    Regards,
    Varun.

    Varun,
    In that case I think you need to consider BPM. The file adapter does not support 'advanced' techniques for the sequence in which it polls files.
    The process would then be:
    - Use the adapter specific identiers for the file adapter to include the file name (/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions)
    - Create a message mapping that puts the file name from the dynamic configuration into a field in the message type
    - Create an integration process that receives the files from this adapter inside a loop step (/people/daniel.graversen/blog/2006/09/07/using-a-bpm-to-collect-messages-for-a-set-interval-of-time)
    - You can now create an interface mapping that sorts the messages according to their filename and then send the messages to the receiver one by one (EOIO?).
    Kind regards,
    Koen

  • IDOC - sequential processing

    Hello,
    I hope someone can help me with this problem concerning the processing of IDOCS.
    We got an Warhouse management system connected as a subsystem to ERP6.0.
    First we get a WHSCON for a return shipment (stocktyp R). The subsystems sends directly after the WHSCON an WMMBID02 to transfer the stocks from R to free.
    The WHSCON locks the system and the WMMBID coming in directly after it can not be processed.
    So how can I enforce the system to process the second IDOC in sequence only when the delivery is not locked?
    Thanks
    Christian

    Hello Christian,
    without much effort, you can try to solve you problem with following solution.
    Change IDoc processing (WE20) for second (or both) IDoc from "Trigger immedeately" to "Trigger by background program".
    Schedule batch job for program RBDAPP01 (without parallel processing).
    Best Regards, Dirk

  • Processing requests sequentially on an OSB proxy Service

    Dear Gurus,
    I have a requirement,in which I am polling message in OSB from an MQ,I want to achieve the sequential processing of messages in OSB.is it possible in OSB?

    UOO will be useful for sequential processing after the JMS queue. To maintain sequential integrity before JMS Queue (processing in the proxy which polls from MQ and the business service which puts the polled message to local JMS queue) you will need to ensure a single thread model. The MQ Polling proxy will need to be deployed on a single managed server with a work manager which uses a max thread constraint of 1.
    You can also check with MQ folks if there is an implementation on MQ side using which MQ will only release messages one by one. By default it will publish two messages together if there are two listener threads.

  • Processing messages sequentially in a Queue-Oracle BPEL process

    Hi,
      What are the settings we need to dof for sequential processing of the data in a queue.Is there a way we can do it with ot UnitofOrder and UnitofWork approach?My requirement is to process teh messages in a queue in FIFO order.I tried setting the maximum messages per session to 1 in connection-factory(Admin console).But it din't work.Please advice.
    Thanks

    Thanks for the response.I am using JMS queue.Also, I will not be able to use staging tables.Here is my requirement.
    I will read a file in batches and need to update audit table with each batch information(Total records in a batch, errors in a batch, time taken to process etc). we will create a batch record for each batch and  summary record for the first batch and when we execute the second batch, we will update the summary record with the 2nd batch details  and then3rd batch details etc.So, I need  all the batches to be processed sequentially.I beleive there should be some setting that will allow sequnetial processing.
    Thanks

Maybe you are looking for

  • I need to clean my phone out

    My phone is going very slow, cuts off when taking photos & get HOT

  • JDev10.1.2: Difference betwn same oracle.jbo.classes in different jar files

    Hello guys, does somebody knows the difference between these two JDeveloper 10.1.2 directories? JDEV_HOME/BC4J/lib JDEV_HOME/BC4J/jlib And more deeply, why are there different jar files both containing classes like oracle.jbo.domain.Number and oracle

  • Deleted clips - exporting?

    Hello, during a general iPad cleanup I deleted some old photos. Accidentally, I also deleted an iMovie video (in Camera Roll) and some of its source files. Although I cannot export the project, I am still able to view a fluent preview of the video in

  • Youtube vids do not work?

    Why there are some videos which cant be displyed by apple tv? most of them HD like this one http://www.youtube.com/watch?v=-oCCnxBos10 i cant even see it via iphone ut app whats wrong? thx

  • PowerPoint Shuts Down When View Slide Show

    I am using Office 2004 and when I try to View Slide Show, the program shuts down. It just started doing this. Have had it 2-1/2 years. I used Disk Repair. I Removed Office and Reinstalled. And, it still is doing that. Any suggestions?