Queue Mechanism in SAP PO7.4

Hello Experts
Can someone please help me to understand the Queue Mechanism handled SAP PO7.4 (same as in SAP PI Dual stacks Inbound and Outbound Queues) as I didnt find any related document.
Thank you.
VR

Hi VR,
please have a look at this two links:
XI Asynchronous Message Processing: Understanding XI Queues
XI Asynchronous Message Processing: Understanding XI Queues -Part I
Registering queques
http://help.sap.com/saphelp_nw04/helpdata/en/7b/94553b4d53273de10000000a114084/frameset.htm
Queque assignment
Performance Tuning Checks in SAP Exchange Infrastructure(XI): Part-III
Complete reference for IDOC queuing and monitoring
Setting up inbound qRFC queues for serializing IDocs using the IDoc Adapter
Regards
srinivas

Similar Messages

  • Queue Mechanism in OBPM 10GR3

    Hi all,
    We want to develop a queue mechanism in BPM. We want only 5 out of a total of 10 instances to enter a sub-process at a time. Only when the count is less than < 5, would the next instance enter the sub-process.
    But we are finding it difficult to implement this using BPM and db.
    Whenever an instance enters the sub-process we increment the count in an external db and whenever an instance leaves the sub-process we decrement the count in the external db.
    And before this step, we check for the counter from the db by matching it with a Max. Counter.
    But the problem with this is that, when the counter is less than the < Max. Counter, if 3 instances are waiting in the queue, all three are released instead of one. This is because it takes time to increment the db and there is no locking mechanism in place to make sure that the db is locked while incrementing the counter and therefore the queue does not really work.
    Does anybody has any suggestions?

    Hi VR,
    please have a look at this two links:
    XI Asynchronous Message Processing: Understanding XI Queues
    XI Asynchronous Message Processing: Understanding XI Queues -Part I
    Registering queques
    http://help.sap.com/saphelp_nw04/helpdata/en/7b/94553b4d53273de10000000a114084/frameset.htm
    Queque assignment
    Performance Tuning Checks in SAP Exchange Infrastructure(XI): Part-III
    Complete reference for IDOC queuing and monitoring
    Setting up inbound qRFC queues for serializing IDocs using the IDoc Adapter
    Regards
    srinivas

  • Queue Mechanism Doubts

    Dear All
    I am so much confused about queues Mechanism
    how the queues get populated ,processed and gets stuck incase of error
    in case of file to idoc message processing can be divided to FILE to XI and XI to SAPR3
    and here are my doubts
    a)which queues will be queues used (ie either outbound or inbound queues)
    for communication between file and XI?
    b)for communication between XI and R3 will queues be used or some a TRfc call be used.
    if it is queues again will it be inbound or outbound queues?
    c)in SAP R3 any queue Mechanism is used or TRfc calls used for processing the idoc ?
    Please Clarify and correct me if my understanding is incorrect?
    Thanks and Regards
    Satish

    check this blog to have a better understanding abt queue
    <a href="/people/sap.india5/blog/2006/01/03/xi-asynchronous-message-processing-understanding-xi-queues-part-i Asynchronous Message Processing: Understanding XI Queues -Part I</a>
    >>a)which queues will be queues used (ie either outbound or inbound queues) for communication between file and XI?
    The Blog has the i/b and o/b queue names...
    >>b)for communication between XI and R3 will queues be used or some a TRfc call be used. if it is queues again will it be inbound or outbound queues?
    In case of IDoc tRFC call is used...
    >>c)in SAP R3 any queue Mechanism is used or TRfc calls used for processing the idoc ?
    tRFC is used....
    ~SaNv...
    Edited by: Santhosh Kumar V on Feb 2, 2010 6:29 PM

  • How to flush Delta queue for future SAP upgrades/support pack !

    Guys,
    I'm making documentation regards to " How to flush Delta Queues" in case SAP wanted to upgrade the system or any support pack. Please anyone let me know the effective way to flush out the delta queue in step by step methods. I really appreciate your help.

    1.  Run V3 for associated application(s), this will load any potential delta data to the delta queues.
    2.  Run the delta load for each datasource twice.  The second load will clear the delta repeat data so that there should not be any more data in the delta queues defined with the format of the current datasources.
    Does this help?

  • SOA Suite queuing mechanism?

    Hi,
    We have an integration project where we need a queuing mechanism. Transactions come in during the day. Some of them should be transformed and routed to one of the target systems, but some of them need to be pause and first be routed during the evening/night. Which options do we have in the SOA Suite? If we use BPEL we could use the Wait Activity, but what if we have thousands of waiting transactions? Are there other options? What about the ESB?
    I was thinking about using an AQ queue, but if SOA has something we can use I rather use that.
    Regards Pete

    Thanks,
    The customer has bought the SOA Suite so that is the platform we have to use. I am a database guy, so all this mocking about in the middle tier makes me itch :-)
    There is going to be a bunch of integrations but the first one has XML messages coming in from several systems. The messages have to be transformed to another XML format and send to one system. The receiving system has a performance problem so we have to queue all messages and then make sure that we only send XX messages per minute/hour. So event if we use the Wait activity in BPEL we still have a problem with making sure that only a certain number of messages are send to the receiving system. I can see a straight forward way of doing this with a table or AQ. Are the any help in BPEL/ESB?
    I know that BPEL can handle thousands of transactions; I am just a bit worried about having thousands of transactions that has to be dehydrated to the database and woken up now and then to check if it is ok to proceed.
    Regards Pete

  • Pessimistic Locking mechanism in SAP Gateway.

    Hi All,
               I am new to SAP Gateway. I know there are two types of locking mechanism ( optimistic and pessimistic) . Optimistic we do by etag and if-match.
    Is there any idea of how to do by pessimistic approach.
    For example we are reading a contract and then updating it. So, in get_entity we have to put the lock while reading and we have to unlock while updating. But how does it works. Whether the lock automatically get released after the get_entity method.
    Kindly guide me in proceeding further.

    Hi Sundar,
    Here is my opinion :
              Gateway is Completely Stateless till the current version which is SP8. So Pessimistic Locking would not be available out of the box by Gateway. You need to implement your custom logic to achieve this behaviour. However simulating a Pessimistic Lock in a complete stateless architecture will lead to many complexities which often might lead to inconsistency in the Application.  As mentioned by Krishna, you can store lock information in some table in backend , but it might get messy very easily. I would not recommend to do so. However if you are really keen to do Pessimistic Locking kind of mechanism, what about the following approach -----
    1. In the OData service, let us have an extra Entity  called LOCK which has properties such as USER, RESOURCE_ID(such as contract ID),DATE,TIME. USER and RESOURCE_ID is the key in this entity. This data is stored in a table in database.
    2. When a particular USER  opens the CONTRACT screen in EDIT mode, the UI fires a POST(Create) call for Entity LOCK with the USER and RESOURCE_ID(contract ID in this case). In the backend database table if no entry exists with that USER ID and RESOURCE_ID, then a new entry is created and the USER is allowed to EDIT the contract. If an entry already exist in table then it means some other user is already in Edit mode , and the current user is refused to access the resource in edit mode.
    3. When the USER saves the CONTRACT you need to fire a DELETE request for that Particular LOCK entity. Thus is resource is dequeued.
    However this is like a vanilla flow. Handling can be complicated if user closes the browser, disconnects the network connection, opens parallel session etc etc.
              Rather a clean approach would be an Optimistic lock. Fiori Applications are using this mechanism to handle concurrency control. You may refer to my reply on Locking mechanism in SAP Gateway. for a little more information on Optimistic Locking.
    I agree that even though Optimistic locking works pretty well in REST based applications as it allows operations to be free from overhead of long transaction , there can be situations as mentioned below, where an Optimistic lock might not be preferred -
    1. Where the chances of concurrency collision is very high (Example: Online Reservation of Tickets)
    2. If modifying the resource by the user requires a lot of typing (However JS libraries such as Garlic.js, sisyphus.js or HTML5 Local storage can help us here )
    Now it is upto you to decide upon the approach ..

  • Issues in Queuing mechanism(FIFO) in PI

    Hi PI Experts,
    In my project PI will use a queuing mechanism based on a FIFO methodology. This introduces a single point of failure where if a message flowing through gets stuck for any reason the entire queue will get stuck.
    Can anybody tell me the options available that be manual or automatic for reducing the turnaround time for detection and / or resolution or the utopia of removing this single point of failure all together.
    Thanks,
    Loveena.

    Hi,
    Following are the options available for this.
    1. Avoid EOIO Quality of service to block the other messages (if you are using EO ) then remove the check Maintain order at runtime option in ID..
    2. If first option cannot be done then configure CCMS alert mechanism to get trigger the Alerts.
        /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3
    3. From PI 7.3 onwards backup queue option will be avaialbe for handling these things..
        /people/rajeshkumar.pasupula/blog/2010/12/16/more-performance-feature-offerings-from-pi-73 (future purpose..)
    HTH
    Rajesh

  • BPEL queuing mechanism?

    Hi,
    We have an integration project where we need a queuing mechanism. Transactions come in during the day. Some of them should be transformed and routed to one of the target systems, but some of them need to be paused and first be routed during the evening/night. Which options do we have in BPEL? We could use the Wait Activity, but what if we have thousands of waiting transactions? Are there other options?
    I was thinking about using an AQ queue, but if BPEL has something we can use I rather use that.
    Regards
    Pete

    Thanks Pete. I would go with Pete's suggestion.
    Pete,
    For your case, the main overhead is dehydration and loading the instance..you can tweak the minBPELWait property in domain.xml so the engine won't dehydrate for smaller waits.. instead it would do thread.sleep( ). the default value is set to 2 seconds.
    <property id="minBPELWait">
    <name>Minimum BPEL activity wait seconds</name>
    <value>2</value>
    <comment><![CDATA[
              This property sets the minimum BPEL activity wait.
    If the wait time for a wait activity or an onAlarm branch of a pick activity is less than the value defined here, the wait is ignored. This property is only applicable to durable processes. The default value is 2 seconds.
    ]]></comment>
    </property>

  • JMS Queue browser for SAP XI J2EE Engine

    Hi Gurus,
    Does anybody has done this before? I need to develop a custom application which looks into the JMS queues on the SAP J2ee engine and raises an alert in case of the message sits on the queue for long time.
    Please help in this regard.
    Thanks
    Kalyan Veerapaneni

    There are couple of free source softwares available which work well with IBM MQseries and at least will give you an idea regarding the browse functionality.A google search should help you.

  • Please suggest me good links for locking mechanism in SAP

    Please suggest me good links for locking mechanism in SAP
    thanks,

    Hi Akash,
    Here is a small description on lock object.
    The lock mode controls whether several users can access data records at the same time. The lock mode can be assigned separately for each table in the lock object. When the lock is set, the corresponding lock entry is stored in the lock table of the system for each table.
    Access by more than one user can be synchronized in the following ways:
    Exclusive lock: The locked data can only be displayed or edited by a single user. A request for another exclusive lock or for a shared lock is rejected.
    Shared lock: More than one user can access the locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock is rejected.
    Exclusive but not cumulative: Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. All other lock requests are rejected.
    Check out this thread:
    LOCK OBJECT?
    Regards,
    Vivek
    PS: Award points if helpful

  • How to access JMS queues in the SAP J2EE Engine?

    Hi Gurus,
    Can anybody know how to access the jms dead message queues in the XI J2EE Engine (which is WAS 6.40)?
    I have read in the SAP documentation that we can use some JMS commands from the telnet. I don't know how to use those commands.
    Can anybody provide a step-by-step process to access these queues?
    Thanks
    Kalyan

    1) Open a command prompt
    2) type
    telnet localhost 50008
    where the port is the same as your http, but with 8 as last digit.
    3) Login
    4) Issue the following set of commands
    jump 0
    add jms
    jms list deadmsgs
    Check by man jms other possible options.
    HTH
    Peter

  • Why do we need Queue mechanism in XI

    Hi,
    What is the use of Queues in XI message processing.???
    Why do we Look into SM58 in IDOC Posting. What it says abt???
    Explain me in brief nad in general words
    Regards
    Suman

    SM58 is used to monitor RFC communication which is basically Idocs coming (inbound) and going (outbound) from the SAP system
    SM58 - Transactional RFC (Remote Function Call). BW uses tRFC for data transmission and this transaction will list all the RFCs associated with a request. You can get details like target system, status, RFC id, etc. so that you can check in BW whether there was any errror with the RFC.
    SM58 is used to monitor the data packets coming into BW from the R3 side or from BW to BW. You can see every data packet through this transaction. So if any data packet is stuck in the source system, then you can basically see that from this transaction and take the necessary action to push it through. TRFC is nothing but Transactional RFC which connects the 2 systems and is used for sending data from one system to other.
    It'll be there for any load, full or delta coming from the source system. You can push them manually by clicking on the data packet and then hitting key F6. you can do that for most of the errors, but for say that the background user password has changed or if the user is locked, you need to change that first then reprocess.

  • Transport Mechanism in SAP Cloud for Customer

    Dear All,  Do we have a mechanism to move newly created roles in SAP Cloud for Customer, from D?? to Q?? to P?? !? If not, is there an alternative methodology to move security roles Or if nothing exits, do we have a timeline as to when we can expect an alternative solution ? Please share. Thanks raj

    Hello Raj,
    Instead of recreating the roles, you can use the Migration Templates available. These are excel templates which can be downloaded from the tenant . Under the Activity List in Implementation Projects, you could go to Integrate and Extend and choose Migration of Business Roles to upload this excel. This is a step by step mechanism which will allow you to migrate your business roles instead of recreating each role manually. Pre-requisite of this is that you need to make sure you have scoped the system properly allowing for this.
    Hope this helps.
    BR
    Nikhil

  • CISCO Load Balancing Mechanism with SAP

    Hello Experts,
    Explain me the steps How CISCO Load balancing Mechanism works with SAP Enterprise Portal?
    If anyone implemented and achieved the same,please explain me the steps to follow from Initial Stage to end of implementation.
    Or If you have any documentation on this just share with me to my google id kekarthick or point me to the particular link.
    I have seen the below SAP help which is somewhat helpful.
    http://help.sap.com/saphelp_nw04s/helpdata/en/d3/e12840d89d185de10000000a1550b0/frameset.htm
    I would like to know how CISCO will connect to Java Dispatcher.
    And explain me the steps to follow to implement External Facing Portal using Cisco Loadbalancer.
    This should be achieved in Unix and Windows 2003 environment.
    Any idea?
    Regards,
    Karthick Eswaran
    Edited by: Karthick Eswaran on May 21, 2008 12:40 AM

    Hello Karthick,
    let's say you have 2 servers for your portal:
    host1 -> e.g. DB, SCS + CI --> http://host1.my.company:50000/irj/portal
    host2 -> DI --> http://host2.my.company:50000/irj/portal
    Now you can implement an CISCO hardware load balancer. You have to connect it to your network and reserve one port and another ip adress of it for the portal.
    After that you have to add the ip adress of the both servers (host1+host2) to this port, so that the CISCO load balancer knows to which servers it has to forward the incoming connections.
    If you use DNS in your company you can now map a more user-friendly name to the CISCO port (e.g. http://portal.my.company:50000/irj/portal) and distribute this link to the users of the portal.
    When they connect to the portal via this link the CISCO load balancer will forward the request to one of the configured servers (host1 or host2) depending which one is online and/or the load of them.
    I hope I understood your question right and my answer helps a little.
    Regards,
    Norman Schröder

  • Validation mechanism in SAP XI/PI

    Dear All
    I am new to SAP XI. I need to validate incoming data. Recieved via File adaptor. Validation takes place with SAP z tables and update Oracle database after validation. How can i do this? After recieving file how to validate it with SAP tables and based on results update Oracle database.
    Can some one guide me with this scenario??
    Thanks
    Gaurav

    Hi,
    For your scenario of File to JDBC which requires Data Validation against a Custom Table in SAP R/3. One way to design is as below assuming the number of fields to be validated are called in one RFC lookup call per message.
    1. Create a Custom RFC in SAP R/3 to validate the data from file with the data in the ZTable and return a Validation code ( True/False)
    2. In the Message Mapping, create a UDF and pass the incoming data from file to the Custom RFC for validation by doing a RFC lookup.
    3. Based on the Validation code returned by the RFC, in the message mapping decide on the next action to update the Oracle DB or to stop with error.
    Reference Link: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439">Mapping lookups – RFC API</a>
    Hope this will be helpful
    Regards,
    S.Santhosh Kumar

Maybe you are looking for

  • KeyFieldValue not picking out key

    I have a sender file adapter - I have a file with structure HEADER,1,DETAIL,*,TRAILER,1 My data is: RRELMAG  01000001138 etc................. RRELMAG  04000002138 etc................ RRELMAG  04000003138 etc................. RRELMAG  09000004138 etc.

  • As2.0 and As3.0 communicatioin

    Hi, i m updating my e-learning course player project with Flash cs3 and AS3.0. the old version of course player was in As2.0. which load cousre swf files . it was working fine Flash8 As2.0. the player load course swf. the loaded course swf on a speci

  • Battery & Leads between iMac/Macbook

    Love my new MacBook, good spec and delivered in 24 hours, great display. Three questions... 1) With regard the battery. The manual and promo's tell me the battery will last 5 hours, depending on 'usage'. I've charged it for the second time this morni

  • 2 questions: Video quality and another...

    Hey everyone! Newbie to the forum but I have two questions 1.) I decrypted DVD and converted them (along with other videos) to .MP4 files using Videora iPod Converter. Yet the video quality when connected to the TV is not as good... is there a way I

  • Installd daemon taking a lot of CPU

    I was away from my system for a while and when I returned it was very busy. Apart from Parallels and some other programs there was this installd process that showed up in Activity Monitor. Now, I did not install anything. I quit the running programs,