Process in the Same Queue ID

Hi experts,
I am having some problem whereby several different XML Messages (Processes) has been assigned in the same queue. This makes the XML message need to wait until the preceding message to be completed.
[IMG]http://img525.imageshack.us/img525/2220/samequeueidnc1.jpg[/IMG]
Given my system performance not affected, may I know any way I can increase my Queue ID range so that the chances for the messages 'stuck' in same Queue ID minimized? Or is there any advice?
Thanks so much.
Cheers,
Isaac.

Hi Isaac
I dont think there is a way that you can increase the queue ID range.
In XI you can even use QOS as EOIO that will help not to stuck XML messages while processing.
But yes you can register, deregister queue using the Qin Sceheduler. This can help you seperating the XML messages assigned to same queue.
Refer the Help link to understand how to use Qin for this task. This link is for inbound queue administration.
http://help.sap.com/saphelp_nw04/helpdata/en/b0/df5f3c8dde1c67e10000000a114084/content.htm
Thanks
Gaurav

Similar Messages

  • Simultaneous Access to the same queue

    Could some one please clarify how does the AQ mechanism handle requests in the following scenario:
    Two applications are both talking to the same Queue using the same consumer for dequeuing messages. The dequeuing happens under a main transaction and the dequeue mode is set to REMOVE. The messages is completely removed from the queue when the transaction is committed at the end of processing the message. Also, the dequeue API is through stored procedures.
    I would like to know if, while one application has dequeued a message and is still processing it as a part of the transaction, what happens when the second application tries to access the same queue and try to dequeue a message. Would it get the same message that the first application is still processing and is not yet been completely dequeued.
    Let me know.
    Thanks,
    -NS.

    --- create queue type
    CREATE TYPE mesaj_t AS OBJECT
    message varchar2(100)
    --- create queue table , queue and start queue
    BEGIN
    dbms_aqadm.create_queue_table(queue_table => 'mesaj_qt',
    queue_payload_type => 'mesaj_t',
    sort_list => 'PRIORITY,ENQ_TIME',
    multiple_consumers => FALSE);
    dbms_aqadm.create_queue(queue_name => 'mesaj_q',
    queue_table => 'mesaj_qt');
    dbms_aqadm.start_queue(queue_name => 'mesaj_q');
    END;
    --enqueue message
    DECLARE
    r_enqueue_options dbms_aq.enqueue_options_t;
    r_message_properties dbms_aq.message_properties_t;
    v_message_handle RAW(16);
    BEGIN
    dbms_aq.enqueue(queue_name => 'mesaj_Q',
    enqueue_options => r_enqueue_options,
    message_properties => r_message_properties,
    payload => mesaj_t(message => 'selam'),
    msgid => v_message_handle);
    END;
    --dequeue message from session 1 and dont comit
    DECLARE
    r_dequeue_options dbms_aq.dequeue_options_t;
    r_message_properties dbms_aq.message_properties_t;
    v_message_handle RAW(16);
    l_corr_identifier VARCHAR2(128);
    l_recipient_list dbms_aq.aq$_recipient_list_t;
    v_payload_handle mesaj_t;
    BEGIN
    dbms_aq.dequeue(queue_name => 'mesaj_Q',
    dequeue_options => r_dequeue_options,
    message_properties => r_message_properties,
    payload => v_payload_handle,
    msgid => v_message_handle);
    END;
    --and try to dequeue from second session same message with using msg_id property
    DECLARE
    r_dequeue_options dbms_aq.dequeue_options_t;
    r_message_properties dbms_aq.message_properties_t;
    v_message_handle RAW(16);
    l_corr_identifier VARCHAR2(128);
    l_recipient_list dbms_aq.aq$_recipient_list_t;
    v_payload_handle mesaj_t;
    BEGIN
    r_dequeue_options.wait := DBMS_AQ.NO_WAIT; -- if i change to DBMS_AQ.FOREVER then it will wait for new message for dequeuing, with no_wait you will get an exception immediately if there is no message for you in queue
    r_dequeue_options.msgid := 'BBAB7BA403CD4B259A86B55783862912'; --replace this with your msg_id of your enqueued message
    dbms_aq.dequeue(queue_name => 'mesaj_Q',
    dequeue_options => r_dequeue_options,
    message_properties => r_message_properties,
    payload => v_payload_handle,
    msgid => v_message_handle);
    END;
    conclusion :
    with remove mode other session can not dequeue message when first session processing message and not committed yet

  • Error deploying 2 processes in the same project BPM 11gR3 Project

    Hi I have a problem to deploy a project in OBPM 11gR3.
    I have 2 processes on the same project, and tried separately on different projects and working properly. But when I put in the same project I get the following error.
    [02:09:38 PM] Sending internal deployment descriptor
    [02:09:38 PM] Sending archive - sca_BPM_CGEO_PROJECT_rev1.0.jar
    [02:09:47 PM] Received HTTP response from the server, response code=500
    *[02:09:47 PM] Error deploying archive sca_BPM_CGEO_PROJECT_rev1.0.jar to partition "default" on server soa_server1 [auohscgeo20.oracleoutsourcing.com:40513]*
    [02:09:47 PM] HTTP error code returned [500]
    [02:09:47 PM] Error message from server:
    Error during deployment: Deployment Failed: Error occurred during deployment of component: BPMCGEOPROCESOGENERACIONCONTRATOVENTA to service engine: implementation.bpmn, for composite: BPM_CGEO_PROJECT: java.lang.NullPointerException.
    [02:09:47 PM] Check server log for more details.
    [02:09:47 PM] Error deploying archive sca_BPM_CGEO_PROJECT_rev1.0.jar to partition "default" on server soa_server1 [auohscgeo20.oracleoutsourcing.com:40513]
    [02:09:47 PM] #### Deployment incomplete. ####
    [02:09:47 PM] Error deploying archive file:/D:/Archivos/Casas GEO/SRC/GEO/BPM/BPM_CGEO_APPLICACION/BPM_CGEO_PROJECT/deploy/sca_BPM_CGEO_PROJECT_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    Edited by: Eduardo.Reyes on 28-mar-2011 18:01

    Hi Eduardo
    This may not help but I am getting a similar problem and I have a possible workaround.
    I'm not a BPM expert though so...
    I have got a Null Pointer Exception, three times successively attempting to redeploy a BPMN Process SAR to WLS via JDeveloper only after I've added a new process to the project and attempted to redeploy.
    [05:45:17 PM] HTTP error code returned [500]
    [05:45:17 PM] Error message from server:
    Error during deployment: Error occurred during deployment of component: Responder313Process to service engine: implementation.bpmn, for composite: nicolson-soasuite-bpmn-ipc: java.lang.NullPointerException.
    [05:45:17 PM] Check server log for more details.
    The only way I can stop this Exception is to Undeploy the existing Process via Enterprise Manager, Stop and Restart WLS. (Which is very tedious...).
    To explain, I'm working though the various uses of Send/Receive tasks as described in Modeling and Implementation Guide for Oracle Business Process Management 11g Release 1 (11.1.1.4.0) - 6.4 Communicating With Other Processes and Services.
    So I have about five scenarios, each with a simple Caller/Responding process and each with some very simple combination of Send/Receive tasks. When the deployment works, the process communications test fine via EM.
    Personally, this looks like a bug. I'm using version below on Win XP SP3.
    About
    Oracle JDeveloper 11g Release 1 11.1.1.3.0
    Studio Edition Version 11.1.1.3.0
    Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660
    Copyright © 1997, 2010 Oracle and/or its affiliates. All rights reserved.
    IDE Version: 11.1.1.3.37.56.60
    Product ID: oracle.jdeveloper
    Product Version: 11.1.1.3.37.56.60
    Version
    Component     Version
    =========     =======
    ADF Business Components     11.1.1.56.60
    BPMN Editor          11.1.1.3.0.6.84
    Java(TM) Platform     1.6.0_18
    Oracle IDE          11.1.1.3.37.56.60
    SOA Composite Editor     11.1.1.3.0.25.57
    Versioning Support     11.1.1.3.37.56.60
    Regards
    Jim Nicolson

  • Can TCP/IP communication be used for 2 Labview processes on the same target?

    I am a newbie to all this LV stuff so bear with me.  We are trying to create a simulation tool that will run on the same machine as the client GUI [also LV].  Can we use TCP/IP to communicate between these 2 LV processes on the same machine?  If so, how?  Thanks for the help.

    Hi nathand,
    I have another issue while communicating with TCP/IP protocol.
    I am sending data from RT target to Host computer(Main UI ) using TCP . Also I have created EXE file of main main UI which one is running on Host computer. and ussing this exe file in three different PC  and want to send the control signal from all four PC (three exe installed and one host PC). I created four communication loop in RT with four different port for communication with four PC.
    When I am running the all VIs ,Its try to connect to the port of the listener and and showing keep waiting for a connection. Another problem is whatever value we sending from four PC , Target vi receiving random value with actual value. Also every time its getting reset.
    So please help me here.
    Thanks!

  • Ale processes on the same system

    Hi all
    It is possible create a ALE process on the same SAP system? The ALE processes setting (BD64) doesn't permit to use the same logical name for the sender and the receiver system.
    thanks
    Davide

    Hi,
    Please follow the link below:
    [Tutorial 1|http://www.beinsoft.com/articles/sap-tutorial-ale-distribution-model.php]
    [Tutorial 2|http://publib.boulder.ibm.com/infocenter/wtxdoc/v8r2m0/index.jsp?topic=/com.ibm.websphere.dtx.packsapxi.doc/tasks/t_pack_sapxi_Create_a_Destination_Model_BD64.htm]
    [Tutorial 3|http://searchsap.techtarget.com/generic/0,295582,sid21_gci1130337,00.html#]
    Make sure that you have logical system defined for both the clients.
    KR Jaideep,

  • ALE process on the same client but on diffent System

    Hi all
    Is it possible to create a ALE process on the same client but on diffent System?
    Thanks,
    Raj

    Hi,
    if you mean that you want to send data from client X on system A to client X on system B then yes.
    Cheers

  • Running on load two fetch processes on the same page

    I have two separate regions on one page build on two tables which have a one to one relationship. I want to to query both regions at the same time when the page loads using the automatic fetch process. If I try to run both I get "NO DATA FOUND" error. If I run each one separately (by setting a never condition on the other process) then each region returns data without problems. Is this a limitation of APEX that you can only have one on-load fetch process per page?
    Paul P

    Hello Paul,
    >> Is this a limitation of APEX that you can only have one on-load fetch process per page?
    Ultimately, yes.
    The ‘no data found’ error you see is not related to your data table but to an internal APEX package array that the ARF process uses. As you are using more than one ARF process on the same page, they both use the same database session, and that means that the packaged array is not clear between calls, and in certain situations that can lead to the error message you see. In any case, if an error message is not display, the populated items will only be from the last call to the ARF process.
    As I see it, you have two options. One is to populate the form items manually. The second is to create a view on the two relevant tables, and build your form on the view (with the appropriate Instead Of triggers, if necessary).
    Regards,
    Arie.
    ♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    ♦ Forthcoming book about APEX: Oracle Application Express 3.2 – The Essentials and More

  • How many instances can access the same queue at the same time ?

    Hi,
    In my application I am cloning a VI n times and these n instances are accessing the same queue. Is there any restriction on this 'n' for successful operation.
    Regards,
    Runjhun

    Runjhun,
    If the accesses are to enqueue data, then no limit (beyond the number of VIs which will fit in memory).  If you are dequeuing, then n =1. Dequeue removes data from the queue and you would have no way to know which of the n VIs got which element from the queue.  Read the deteiled help for the queue functions.  If you need to read the same data in multiple places, you need some other mechanism.
    Please tell us more about your application.  What kind of data and how much data are in the queue? How fast is the data being generated? How long must the data persist (be availabel after it is generated)? Do you need to guarantee that all the VIs get the data?
    Lynn

  • Multi-processes on the same machine open the same database

    I run into an issue where I have two processes, running on the same machine.
    Process-1 starts the replication as master and opens database for read-write.
    Process-2 only opens the same database for read-write, no replication is started,
    and process-2 will fail to open the database because of "Non-replication DB_ENV
    handle attempting to modify a replicated environment" error.
    Can you suggest a way to handle this scenario?
    Can two processes on the same machine open the same database for read-write?
    Thanks.

    Following are how I setup the database environment for Master side:
    DB_ENV->rep_set_priority(80)
    DB_ENV->repmgr_set_ack_policy(DB_REPMGR_ACKS_ALL)
    DB_ENV->repmgr_set_local_site()
    DB_ENV->rep_set_nsites(2)
    DB_ENV->set_cachesize(1MB)
    DB_ENV->set_data_dir()
    DB_ENV->set_lg_dir()
    DB_ENV->set_tmp_dir()
    DB_ENV->set_flags(DB_AUTO_COMMIT, 1)
    DB_ENV->set_lg_max(1MB)
    DB_ENV->log_set_config(DB_LOG_AUTO_REMOVE, 1)
    DB_ENV->set_lg_bsize(1MB)
    openFlags = DB_INIT_MPOOL | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_TXN | DB_INIT_REP | DB_THREAD | DB_CREATE | DB_USE_ENVIRON;
    DB_ENV->open("/home/db", openFlags, 0644)
    DB_ENV->repmgr_start(3 threads, DB_REP_MASTER)
    Both processes using the same environment home directory.
    Now I'm able to get both process up and running, because now I check for DB_REP_IGNORE return value from repmgr_start() method on the second process.
    The first process starts the replication server, and the second process will not start the replication server at all.
    However, if the first process terminated and got restart, the replication server will not be restarted...
    I saw there's a check of "listener" in the repmgr_start function.
    How can I restart the replication server either upon restarting the first process or from the running second process?

  • Multiple consumers of the same Queue

    In the past my use of JMS queues has been limited to a single message producer and a single consumer. I am now looking at having multiple copies of the same consumer running for load balancing and failover purposes, and this leads me to what I think is a basic question. BTW, we're running OpenMQ 4.4u1.
    I have messages being produced and saved in a single queue.
    I then have a consumer program whose logic is something like this:
    1. Create session with no transaction and CLIENT_ACKNOWLEDGE.
    2. Receive message from queue.
    3. Do some processing with message. Repeat processing attempts multiple times, if needed, until successful.
    4. Once processing is successful, acknowledge message.
    Assume that I am running multiple copies of the consumer in separate JVMs (or on separate servers, for that matter).
    Here are my related questions.
    1. If step 3 takes a long time (e.g., several minutes) can I be sure that only one instance of the consumer will receive the message?
    2. If a consumer is in step 3 and a catastrophic failure occurs (e.g., the JVM or server it is running on crashes) the message will never be acknowledged, but the session will not be shut down in an orderly fashion, either. Will the message that was received but never acknowledged eventually be delivered to another copy of the consumer?
    3. If step three takes a very long time (hours or days, rather than minutes), will the broker misinterpret this as a failure of the consumer and deliver the same message to another one of the consumers?
    Thank you for reading and/or responding to this question.
    Bill

    1. If step 3 takes a long time (e.g., several minutes) can I be sure that only one instance of the consumer will receive the message?A queue message will only be delivered and consumed by 1 consumer.
    2. If a consumer is in step 3 and a catastrophic failure occurs (e.g., the JVM or server it is running on crashes) the message will never be acknowledged, but the session will not be shut down in an orderly fashion, either. Will the message that was received but never acknowledged eventually be delivered to another copy of the consumer?Yes.
    3. If step three takes a very long time (hours or days, rather than minutes), will the broker misinterpret this as a failure of the consumer and deliver the same message to another one of the consumers?No, as long as the consumer's Session or Connection are intact

  • I repeatedly get "error during rendering/encoding of menus/slideshow" message.  This process is the same on my iMac, MacBook and another iMac.  I have been burning dvd's int he same way for the past 12 months using the exact same steps successfully.

    I keep getting "error during rendering/encoding of menus/slideshows" message.  I have been burning DVD's in exactly the same way for the past 12 months and mostly on my MacBook which is 3 years old.  Obviously I'm using iDVD.  I purchased an iMac about a year ago and moved to use this for dvd burning without problem.  A few months ago (approximately) I started to experience problems with burning with the error message above.  I tried everything including starting the whole process from scratch right down to capturing the movie clips from my video recorder into iMovie, then using them in iDVD.  Still the same message came up.  I lost count of how many times I repeated the process with different clips and variations and the same thing happened.  This was also the case with my MacBook and my husband's iMac.
    After taking both of mymac's tothe service centre, having new optical thingys put it and even a new hard drive on my iMac along with a new DVD burner the same thing happened.  They told me it must be the process that I am using that is incorrect!
    I took my 27" iMac to an apple shop and asked them to assist me while I use the same technique as I always had.  The same message came up so they tried using my clips in one of their mac's.  The same message. They tried it with different clips and the same message.  The only way we could get theirs to work was with a magic DVD which did not produce what I needed and was limited with only one page. 
    I now cannot use any of my Mac's for the intended purpose that I bought them for - to produce good media for my work!  It was suggested that I purchase some non Mac software to burn DVDs which defeats the object of having a mac with iDVD in my opinion.  I have a book on iDVD which is very informative and have followed the process to the letter and checked all the trouble shooting and still no remedy.  It was mentioned that an up-date may have caused the problem on all my macs.
    I feel that this issue should be addressed by Apple as a matter of correctness.
    I now find that on the net there are many posts in forums and such like with exactly the same (almost word for word) problems.  Please Apple, keep/regain your good name and sort this out.
    Jayne Connelly

    Thanks Bengt W for your attention to this matter.  So much appreciated.  And thanks for putting me right on the aim of forums (new to this).  Although, you may regret asking for more information.  I've added everything I can below.
    The process I used is as follows:
    Import recorded clips of between 5 and 15minutes each from my video recorder into i
    Edit the clips (remove unwanted start and endng)
    Add title to front of clips
    ‘Share’ them to ‘movie’ (export using QuickTime)folder in .mov format individually
    Open iDVD and ‘create new project’
    Select ‘favourite’ theme that I have set up forall my work dvd’s (this has been used successfully many times and I’ve triedwithout using the favourite them).
    Add 2 submenus for each group of clips
    Select submenu  - drag and drop between 3 – 6 clips in each of the twosubmenus
    Change title colours on clips
    Dragand drop image into drop zones where required
    In‘map’ view I check for any yellow warnings before burning to disc
    In an attempt to remedy the problems I’ve tried the following:
    Try new DVD discs
    Try different themes (favourites and standardones)
    Change images in drop zones
    Start whole process again even from importingfrom camera again
    Two other completely different computers (iMacand MacBook) with iDVD
    Go to apple shop and use their computers to doin iDVD
    Try with one clip and no menu pages added
    Use a clip that I already have that did notoriginate from my camera
    Turn computer off and restart
    New hard drive
    New optical lense (thing)
    New DVD burner
    Saving to disc image rather than dvd disc
    Other points:
    I also have a ‘flip’ and ‘iPhone’ whereI’ve imported footage camera which, although limited, records and makes videoclips and burns them to DVD through iDVD without problem.
    For example, I have just gone through steps 5 - 11 using some clips that were already imported from my iphone to iPhoto and dragged across.  I used a theme that I've used before which has failed and added one sub menu page where the clip went.  It burned to disc image successfully.
    The startup disc, I believe will have no space issues asit’s a new hard drive with no use apart from this.  That could have been an issue before (I didn’t check it) butnot now.
    Other technical stuff that I don't understand but you may:
    I have…… Mac OS X Version 10.6.7 with all updates onit.  Processor 2.8 GHz Intel Corei7.  Memory 4GB 1067 MHz DDR3.
    iDVD version 7.1.1
    HardwareOverview:
      Model Name: iMac
      Model Identifier: iMac11,1
      Processor Name: Intel Core i7
      Processor Speed: 2.8 GHz
      Number Of Processors: 1
      Total Number Of Cores: 4
      L2 Cache (per core): 256 KB
      L3 Cache: 8 MB
      Memory: 4GB
      Processor Interconnect Speed: 4.8 GT/s
      Boot ROM Version: IM111.0034.B02
    SMC Version (system):            1.54f36
    OPTIARCDVD RW AD-5680H:
      Firmware Revision:     3AHB
      Interconnect:    ATAPI
      Burn Support:   Yes (AppleShipping Drive)
      Cache:    2048KB
      Reads DVD:    Yes
      CD-Write: -R, -RW
      DVD-Write:   -R, -R DL,-RW, +R, +R DL, +RW
      Write Strategies:  CD-TAO,CD-SAO, CD-Raw, DVD-DAO
      Media: Toshow the available burn speeds, insert a disc and choose View > Refresh
    If you can solve this you are better than the 'apple geeks' in the shop and the service technicians in the service centre (and of course me but that's no achievement). 
    Eagerly awaiting your reply.
    Jayne

  • Two listener for the same queue - different extraction rule

    Hi all.
    I've the following situation that I'm trying to troubleshoot.
    OSB communicates with another system using JMS Queues.
    One queue for teh request, one for the response.
    Depending on the kind of service, the request is published on the request using a dynamical routing to a Business Service. Depending on the cases, this business service could be:
    1. Just insertion on the queue (no response required)
    2. "Queue Manager" - Insertion and wait for response (response required, JMS Correlation ID as correlation pattern)
    About the extraction from the response queue, when the messages are published from the "Queue Manager", then they must be extracted from the same resource based on the Correlation ID.
    Otherwise, all the messages published in other way (not the "Queue Manager" but the option #1), a different resource should extract them from the response queue (a proxy service with protocol JMS).
    What happens at runtime is that the messages published from the "Queue Manager" are extracted from the other resource.
    How can I solve this?
    Do I need to use two separate queues or there is a way to configure two different listener on the queue, one based on the JMS Correlation ID and the other one that extracts all the other requests?
    Thanks in advance to anyone that will help.

    Unfortunately, I've already evaluate the message selector option, but in the following case:
    BS1 (Request Only)----->JMSQRequest ----->Your Logic ----->JMS Reponse--->JMS Proxy service with Message selector
    The JMS Proxy with message selector should know the value that is the key for the extraction. In this case we have not this infornation since when we run this scenario there is an external system that extracts the request and provides the response... and in the middle we lost the informations (e.g. if we use a key ID, the Proxy with message selector doesn't knwo which value is has to search for in the ID).
    For the moment I think that the best solution could be to have two separate queues, but I'm trying to figure out if there is any other option.

  • Problem in calling Java Script and Process at the same time

    Hi Frenz,
    I have a requirement like this. when i press the button a page level process(Not Application level Process) and java script function has to happen. i wrote the Java script function to close the child window and reload the Parent window. I wrote the Process for the Parent window to get the updated screen.
    But the Process is not happening and the only the java script function is achieved.
    Can you suggest any idea to achieve both of the things at the same time?
    Thanks in Advance.....

    See this example:
    http://apex.oracle.com/pls/otn/f?p=31517:93
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Parallel processing in the same work center

    Dear Guys,
    There is a routing sequence in which some 2-3 operations will occur parallely & those operations will belong to a same work center,How to map those operations in the routing,do i need to maintain parallel processing ,if so then how to go about

    Parallel Sequence
    Definition
    A linear sequence of operations that is parallel to a sequence of operations in the standard sequence.
    Use
    A parallel sequence enables you to process several operations at the same time. A parallel sequence is carried out at the same time as the corresponding section in the standard sequence. It is a special form of overlapping operations.
    Integration
    You can create parallel sequences in routings and rate routings. You cannot create them in reference operation sets or reference rate routings.             Creating a Parallel Sequence
    Call up the sequence overview.
    Choose Edit ® New entries.
    The Choose Sequence Category dialog box appears.
    Select Parallel sequence and press Continue.
    The Sequence Details screen is displayed.
    Enter the necessary data.
    Select Operation overview to create operations for the parallel sequence.
    so particularly in your case
    WORK CENTRE OF 10, 20, 30 ,40, 50  ASSUME TO THERE
    OPERATION OF THE SEQU : 1,2,3,4,5
    SUPPOSE 3,4 ARE PARALLEL SEQUN AND THE WORK CENTRE 30,40 ARE SAME TYPRE TO OPR SAME
    YOU MAY DESIGN AS
                                                           WC-30
                                                            (OPN3)
                     W.C 10          WC 20                                WC50
                      (OPN1)          (OPN2)                               (OPN5)     
                                                           WC 40
                                                           (OPN4)
    OR
                                                           WC-30
                                                            (OPN4)
                     W.C 10          WC 20                                WC50
                      (OPN1)          (OPN2)                               (OPN5)     
                                                           WC 40
                                                           (OPN3)

  • Dynamic parallel processing of the same object using asynchronous method

    Hi,
    Please can anyone help me?
    I have to send the same DMS document to several agents for parallel processing. The number of agents is not known until runtime. Each of them should process the document and at least change the status of it. In next step I check if he has changed it.
    I use dynamic parallel processing of subworkflows. Key task of this subworkflow uses standard method of object DRAW - DOCUMENT.EDIT  (standard transaction CV02N) which is asynchronous. The task is finished by event DOCUMENT.CHANGED. 
    During the parallel processing the appropriate number of workitems is generated. However, when the agent who processes the document as first completes his workitem the event DOCUMENT.CHANGED is generated and all parallel workitems are completed, even those of other agents that were not processed yet.
    Any help would be appreciated.
    Thanks.
    Eva Vahalova

    Hi all,
    The process is used to approve incoming invoices. Each scanned invoice is attached to a DMS document and than sent to one or several agents in parallel. People from several departments can approve the same invoice for instance energy or mobile phone costs. We have no HR module fully implemented. Each agent may write some remarks and has to sets the document status to either approved or rejected. This status is temporary therefore the others see the original status for approving.
    The process of incoming invoices was implemented by SAP consultants in 2003 on 4.6B and now runs on our 4.7 system.  Now new company was established running on a new SAP system ECC 6.0 and our accountant department and some agents will deal with invoices in both systems. Therefore, the process should appear the same or at least very similar. The majority of the old process was realized by programming while I would like to use workflow features that are available now and reduce the programming part.
    As I see, I will have to choose one of the solutions that Arghadip suggested.
    I wonder if there is a possibility to use asynchronous method and control the end of each work item by means of u201CComplete Work Itemu201D or u201CComplete executionu201D Conditions. I have never used them and I do not know how they work and what condition to use. Maybe program exit might be used as well. While controlling the agents I think I will have to do some programming anyway because the work item can be finished by a substitute too.
    Thanks for your help.
    Eva

Maybe you are looking for

  • My ex can access my photos from his apple TV still, how can I stop this?

    I logged in at his house ages ago using my apple id and it showed all my photos on his TV. Now we are no longer together, he informed me that he still has access and can see my text messages! I didnt even give him the password, so I have no idea how

  • Error: The file is either corrupt or using....

    I am attempting to open a file I just did work on. I was saving periodically and closed the program properly. Now I am getting the error message: C:\Users\ritterbenjamin\Documents\Adobe\Audition\5.0\shittests\shittests.sesx     Error: The file is eit

  • Why is there only one Operating Concern defined in GBI?

    Hi all, I have the following question: when looking at the CO structure of the GBI case study, why is there only one, global operating concern defined? According to the definition of an OC, it is the level whereupon profitability analysis is performe

  • Will QuickTime Pro Decoders work in Windows Media Player?

    I am working on a Notebook/Laptop with Windows XP Home. This machine does not play DVDs in Windows Media Player. I am considering upgrading to Quicktime Pro for all of its functions. I was just wondering if this would fix Windows Media Player too? Th

  • CATS Approval Transaction

    Hi All, I am working in CATS. I want to copy class 'CL_EX_CATS_REPORTING' which is used in transaction CATS_APPR_LITE. But system is not allowing me to copy the same. I am getting error as <b>'Exit classes/interfaces can only be edited using the BADI