Exactly once delivery in SAP XI

Hi all -
Client question:
1. What does "Exactly Once" mean in terms of the JDBC adapter? 
2. In terms of an FTP adapter? 
3. What constitutes XI's understanding of a successful delivery to the target application? 
4. How far does XI go in monitoring the successful posting to the target application?
Throw in your ideas on the above questions.
tia,
Tirumal

Hi,
<i>1. What does "Exactly Once" mean in terms of the JDBC adapter?
2. In terms of an FTP adapter?</i> >>>
In General , "Exactly Once" means, message delivery is guranteed. It is of type Asynchronous. So all Asynchronous messages are persisted in XI. So if you have any problem because of Queue stuck etc, you are able to restart/reprocess the messages as it is persisted.
to know more-
http://help.sap.com/saphelp_nw2004s/helpdata/en/65/40c9a4a1fa476288ac61b5fcc6bbde/content.htm
<i>3. What constitutes XI's understanding of a successful delivery to the target application?</i>
>>>System Acknowledgement, i.e in the Asynchrnous communication, XI is responsible to send the message to Receiver system.
http://help.sap.com/saphelp_nw2004s/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm
<i>
4. How far does XI go in monitoring the successful posting to the target application?</i>
>>>XI monitors, till the message is sent to Reciever system. It is not responsible to monitor the processing of messages in Reciever system.
Hope this helps,
Regards,
Moorthy

Similar Messages

  • How works Exactly Once delivery for Pub/Sub?

    Hello
    For example there is the following system landscape:
    JMSServer, Sender, Receiver1, Receiver2
    All clients uses the same topic.
    Sender sends Message1 to Topic on JMSServer. Receiver1 connects and receives Message1. Then Receiver1 disconnects.
    After that Sender sends Message2 to the same topic.
    In this case Receiver1 must receive Message2 only and Receiver 2 must receive Message1 and Message2.
    How does JMS Server determine that Receiver1 has received Message1 alrady?

    Now I understand.
    JMS will maintain the order messages are published from each client so you will get this behaviour for free, with the caveats specified on page 66 of the JMS Spec 1.1
    http://java.sun.com/products/jms/docs.html
    Also if your JMS Server is clustered the message order will probably go out the window.
    You may want to set your messages (or topic if your JMS provider permits it) to be non-expiring.

  • Exactly Once In Order ..in File adapter ???

    Hi Xi friends..
    in my file to idoc ..
    i am getting files as wear*.xml .
    i think , i have  to use Exactly once in Order in Communication Channel  to process multiple files in order starting with wear*.xml
    if i select Exactly Once In Order..
    i have to give Queue Name..
    please tell me which queue name to be given here..
    please tell me how to use this Exacly Once in Order option..
    thanks and regards
    Ram

    Hi Ram,
    The XI supports Synchronous and Asynchronous delivery; in XI terms, these
    are described with a Quality of Service (QoS) descriptor. The XI supports
    QoS Best Effort (BE), Exactly-once (EO), and Exactly-once-in-order (EOIO).
    These are equivalent to RFC types Synchronous RFC (sRFC), Transactional
    RFC (tRFC), and Queued RFC (qRFC), respectively.
    EOIO (Exactly Once In Order):
    Messages are delivered with the same queue names (supplied by the application) in the same sequence that they were sent from the sender system. Message processing is asynchronous in this case.
    In the case of quality of service BE, an error occurs if more than one receiver is determined for a message. In the case of delivery types EO and EOIO, the message is copied correspondingly and sent to the individual receivers.
    Ckeck this link
    http://help.sap.com/saphelp_nw04/helpdata/en/41/b714fe5ffc11d5b3ea0050da403d6a/frameset.htm

  • FTP - Sender File Adapter - Exactly Once In Order

    We are running SP10 on PI7.0
    I have a file (FTP - content conversion) to idoc scenario and this works well apart from the communication channel picking up the files in the wrong order.
    I have set to Exactly Once In Order, and the nuemrically file is being picked up in the correct order, however we wish to pick the file up by time and date stamp.
    If I flag the Adapter Specific Message Attributes - and Source File Time Stamp, will this then process the files by timestamp instead of by File name?
    How else can we get the files to process by time created?

    but this option is valid for NFS transport protocol
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    &#9679;      Processing Sequence (for transport protocol File System (NFS))
    If you used placeholders when specifying the file name, define the processing sequence of the files:
    &#9675;       By Name: Files are processed alphabetically by file name.
    &#9675;       By Date: Files are processed according to their time stamp in the file system, starting with the oldest file.
    Message was edited by:
            Prabhu  S

  • TO Get  Ensuring Exactly Once Processing data from sender soap adapt

    To XI Specialists
    Now Im trying to get Ensuring Exactly Once Processing data from sender soap adapteter.
    My plan is that send data from Receiver adapter, to Sender adapter by SOAP.
    (1st interface is ABAP to Soap "BE", 2nd interface is Soap to File "EO")
    Sender SOAP adapter will returun Ensuring Exactly Once Processing data.
    (see SAP HELP, http://help.sap.com/saphelp_nw70/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm )
    AND I want to get Ensuring Exactly Once Processing data, I want to determine what to do in ABAP proxy.
    SO I made and tested 2interface. but error occuered.
    I checked the error, and Now I know what is the cause.
    The cause is that Ensuring Exactly Once Processing data didnt enter the payload, at Receiver Adapter.
    1st interface coulnt get the payload data, so mapping error occuered....
    Please give me help,
    <b>"How to get Ensuring Exactly Once Processing data From Sender SOAP ADAPTER"</b>
    or
    <b>"How to enter Ensuring Exactly Once Processing data into Payload of Receiver SOAP ADAPTER"</b>
    and more excelent way....
    our XI is version7.0 and SP10
    Please teach me your wisdom!
    Naoki Kurihara

    I seeked and I noticed that
    maybe I catched the message but the message dont have payload.
    so I got no_payload error.
    I checked SAP note.
    I noticed, no_payload error will be managed to nomal message at SP13....
    my XI is SP12....
    I ll seek for another way!!
    Thank you! noaki

  • RFC Exactly once in order

    I deployed EJB to enable RFC Sender Adapter to work in exactly once in order
    this is the code I used :
    package com.netafim;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import javax.ejb.CreateException;
    import com.sap.aii.af.mp.module.ModuleContext;
    import com.sap.aii.af.mp.module.ModuleData;
    import com.sap.aii.af.mp.module.ModuleException;
    import com.sap.aii.af.ra.ms.api.DeliverySemantics;
    import com.sap.aii.af.ra.ms.api.*;
    @ejbLocal <{com.netafim.EOIORfcLocal}>
    @ejbLocalHome <{com.netafim.EOIORfcLocalHome}>
    @stateless
    @transactionType Container
    public class EOIORfcBean implements SessionBean {
            public void ejbRemove() {
            public void ejbActivate() {
            public void ejbPassivate() {
            public void setSessionContext(SessionContext context) {
                    myContext = context;
            private SessionContext myContext;
    Create Method.
            public void ejbCreate() throws CreateException {
                    // TODO : Implement
            public ModuleData process(ModuleContext moduleContext,ModuleData inputModuleData, String queueName)
                    throws ModuleException {
                            try {
                            Message msg = (Message)inputModuleData.getPrincipalData();
                            msg.setDeliverySemantics(DeliverySemantics.ExactlyOnceInOrder);
                            msg.setConversationId(queueName);
                            inputModuleData.setPrincipalData(msg);
                    } catch (Exception e) {
    //                 raise exception, when an error occurred
                    ModuleException me = new ModuleException(e);
                    throw me;
    //                 return XI message
                    return inputModuleData;
    when I excute the function I get the following error in the comuunicatin chanel monitoring  : no paramter was found.
    in the paramters in the adapter modules tab I just wrote the queue name
    for example : ( its supposed to be a string )
    RFC******************queueName************XBIO_0001
    still the module doesnt reconzie it.
    Is the code above will add the functionaly of Excatly once in Order to the RFC Sender Adatper ? whats wrong with the paramters ?
    thx,Shai

    Hi,
    <i>
    data is sent "exactly once in order".</i>
    >>>I am not sure about this document which assures it is always EOIO.
    I am sure that using proxy communication u can do the quality of service as EOIO.
    To maintain the sequence in the client ABAPproxy with ABAP code-http://help.sap.com/saphelp_nw2004s/helpdata/en/65/40c9a4a1fa476288ac61b5fcc6bbde/content.htm
    Regards,
    Moorthy

  • Exactly-Once Handling in Receiver JDBC Adapter

    Hi,
    I have doubt abt Exactly-Once Handling in Receiver JDBC Adapter.
    For Conflict Resolution as Database.
    Why there is need to define table as below ?
    In the database where the write-to tables are located you must create an additional table with two columns for this purpose. To define the table, specify the following:
    Database Table Name
    Enter the name of the table.
    Key Column Name
    Enter the name of the column in which the key is entered.
    Value Column Name
    Enter the name of the column in which the key value is entered.
    Please explain in simple language.

    Hi Abhishake,
    Thanks for your reply.
    I understant that the tables needs to be created in DB.
    But if you read the SAP Docs for conflict resolution. My undestanding is "During Database commit if AS Java is terminated then the message will be in unknown state, for this type of messgaes when the AS Java restarted the behaviour is defined by this parameters. If the message doesn't have primary key, then there is probablity when AS Java will try second time it may get the message in DB so a message can be duplicated. To avoid this condition it is mentioned that you must create additional table with three column".
    Please correct my understanding if I am wrong.
    My additional table needs to create & how it will resolve the problem.
    Thanks in advance.

  • Persistence under Exactly-Once Handling in JDBC Reciever Adapter

    Hi,
    Can any one explain me significance of persistance (Local or Database) in JDBC Receiver Adapter.
    Please provide me document if anyone has?
    Thanks,
    ABDUR

    hi,
    both types are described here with many details:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    under : Defining Exactly-Once Handling
    do you need anything more ?
    Regards,
    michal Krawczyk

  • Exactly once(option) in QOS filesender

    hi.
    i want to know the difference between EXACTLYONCE,EXACTLY ONCE IN ORDER,BEST EFFORT options in quality of service.
    waiting for your response.
    cheers.
    seeta ram.

    hi michal.
    thanks for your answer.
    but i just want clear my doubt.
    here in my scenarion iam testing file to bapi by putting exactly once in(QOS)Of file sender adapterand the procesing mode of sender file adapter as test.
    but i forgot to deactivate file sender adapter and now iam getting ptoblems with ICM IN MESSAGE MONITORING(SXMB_MONI)
    ITS SHOWING IN XMLPAYLOAD AS
    400</SAP:P1>
      <SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>
      <SAP:P3 />
    <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while receiving by HTTP (error code: 400, error text: ICM_HTTP_CONNECTION_FAILED)</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    wat would be the reason for this.
    waiting for yur answer.
    cheers.
    seeta ram.

  • Service Delivery hangs SAP B1

    Hello experts,
    I have this strange problem that has began this morning of when a user is adding an service type sales delivery in SAP B1, it hangs the whole database. I have checked on all SBO_SP_TransactionNotification related to a sales delivery and excluded them from a service type delivery, but the issue still persists.
    Please assist.
    Thanks,
    Isaac.

    Hi,
    Is it happening only during adding delivery document  or while adding any other marketing document also, so we can come to know more exactly of the problem.
    Regards
    Darshan Desai

  • Reserve stock once delivery is created

    Hi All,
    I want to reserve the stock once delivery is created. In short when delivery is created in MMBE we see that qty in "Schedule for delivery", but i want to see that in "Reserved" column.
    Kindly let me know what settings needs to be done.
    Thanks in advance....

    Hi,
    There is no standard SAP configuration to automatically post the stock to sales order stock
    You have to either manually do 412 E or programatically post the stock to sales order using 412 E
    for Automatically controlling use MB_CREATE_GOODS_MOVEMENT Function module in the Sales order Exists
    Code the program in such a way it will post the stock for that sales order and saves
    So no manual intervention is required here
    regards,
    santosh

  • WL - MQ bridge in Exactly-Once mode not working

              I cannot get a message bridge from an MQ queue to a JMS queue to work in exactly
              once mode. I followed the directions in the 'Using Foreign JMS Providers with
              WebLogic Server' whitepaper (It works fine for atmost once). Once I configured
              weblogic correctly, I had a problem with made me think that I needed to use the
              class MQXAQueueConnection instead of MQQueueConnection as listed in the whitepaper.
              After that, I got an exception like 'XAResource not found.' Am completely stuck
              at this point.
              Does two phase commit actually work with WLS 6.1 and MQ 5.2 (?) ?
              

    Does this help?
              http://edocs.bea.com/wls/docs61/faq/msgbridge.html#500395
              Doug McGrath wrote:
              > I cannot get a message bridge from an MQ queue to a JMS queue to work in exactly
              > once mode. I followed the directions in the 'Using Foreign JMS Providers with
              > WebLogic Server' whitepaper (It works fine for atmost once). Once I configured
              > weblogic correctly, I had a problem with made me think that I needed to use the
              > class MQXAQueueConnection instead of MQQueueConnection as listed in the whitepaper.
              > After that, I got an exception like 'XAResource not found.' Am completely stuck
              > at this point.
              >
              > Does two phase commit actually work with WLS 6.1 and MQ 5.2 (?) ?
              >
              >
              

  • How to Resend OR Cancel Exactly Once Messages

    Dear all,
    I have nearly 20 messages with status "Holding" under adapter engine message monitor.
    These interfaces are Exactly Once type. I am trying to Resend or cancel them. Nothing worked here.
    When i check the error reason for the Holding status message, it says warning " Empty document found. Proceed without sending message"
    Referred this weblog  /people/stefan.grube/blog/2006/04/27/how-to-deal-with-stuck-eoio-messages-in-the-xi-30-adapter-framework
    Please suggest me how to deal with these...
    Regards
    Edited by: Bhavana Ch on Feb 14, 2011 5:56 PM

    Hi Bhavana,
    I came to a similar error situation when whether restarting nor canceling was possible and I was looking for an solution instead of restarting the whole java stack.
    We restart the messaging service of the java engine and this solves the error, canceling or restart was possible afterwards. The correct service should be XPI Service: Messaging System in Netweaver Adminstrator -> Operation Management -> Systems -> Start&Stop -> Java EE Service, unfortunately I lost my remarks of this error situation, so you have just to try it.
    If this will not solve the issue, I think you have to go for restarting the whole java server.
    please let me know if this solve the error.
    Regards,
    Jochen

  • Receiver Mail adapter Exactly Once

    Hi,
    I've setup my scenario RFC (trfc for exactly once QOS ) ->  Mail (receiver)
    Now I'm testing what happens when the smtp server is down.
    In message monitor (sxmb_moni) , the message is successful. In comm chanel monitoring, I can see the message is in error.
    The error states that "The message status was set to NDLV." but nothing is sent back to integration engine ...
    The adapter retries to send the message 3 times but then just stops...
    Q1 : How do you resend the message after the 3 retries ?
    Q2 : How can you know this error arrived if the message is successful in sxmb_moni ?
    Thanks

    Hi Thierry,
    If you see that the message passed in sxmb_moni, this indicates that the mapping was successful.  Your problem is happening at the adapter engine level, which you access through Message Monitoring in the Runtime Workbench.  It is there that you can try to resend the message.
    Mike

  • Quality of Services "Exactly Once in Order"

    Hi,
    I have several integration using iDOC output R / 3.
    This integration into the Integration Builder them removed brand "Maintain Order At runtime" (Quality of Services - Interface Determination) to be executed in parallel, but when they reach the engine J2EE appear with the Quality of Services as "Exactly Once in Order."
    Why this happens with iDOCs? . With RFC do not have this problem.
    Best Regards
    Julian.

    Hi
    I have been reviewing the integrations that run in parallel and gave the impression that really do not run in parallel (Quality of Services "Exactly Once"), but that the channel receiver is taken so that the previous interface ends of inserting data into the receiver.
    If open the message and revise the log, the first message that arrives is in this state:
    "JDBC adapter receiver channel JDBC_XXX_YYY_Receiver: started processing; Party, service ZZZ_BS "
    But the following is not enough to reach this state and it is with this log:
    "Receiver JDBC adapter: started processing; QoS required: ExactlyOnce "
    One step before the first message, only runs the next step when the first message ends to be processed by the adapter.

Maybe you are looking for

  • Computer shuts down while importing audio cds?

    When I am on the 4th or 5th song, mu computer justs shuts down? Any ideas? Jenn

  • VRAM Difference?

    Hi, Could some one who has an Intel imac 20" with 256MB VRAM help me out here? When I run the hardware test from imac CD it says 128 MB VRAM installed and in "About this Mac" box it states 256 MB ( as I ordered). It is quite strange. So if one of you

  • Is anyone successfully using Logic Pro with a Thunderbolt RAID?

    I am having hanging issues before recording which I would like to narrow down possible causes - thanks

  • How to find if the SQL Reporting services are stand alone or clustered ?

    Hi All, Can any one tell me how do i find if the SQL Reporting services are stand alone or clustered ? As there are no other SQL features installed on the server except for reporting. Is there any GUI or CLI command to check this ? Gautam.75801

  • My mac shuts down suddenly on its own

    Please help Since installing 10.4.8 my mac has been shutting itself off on its own. While I would normally applaud such energy saving activity, it isn't appreciated when I'm in the middle of doing something. Pretty much that is the story: mac shuttin