SAP XI Acknowledgements

Hello experts,
I am a little confused on how SAP XI acknowledgements work (with asynchronous and synch scenarios) - with and without a BPM process. I know that when you define a sync or async scenario in ccBPM, you have options on how to define acknowledgements. However, when ccBPM is not used, how do you define how acknowledgements or responses are handled with just a simple async or sync scenario?  What happens with the acknowledgements or responses?
Thank you!!

You have acknowledgements just with Asyncronous message, with Syncronous message you don't have acknowledgements  but just responses.
We can distinguish 4 kind of acknowledgements:
1) SystemAckRequested
2) SystemErrorAckRequested
3) ApplicationAckRequested
4) ApplicationErrorAckRequested
So we have Application Acknowledgement ( positive and negative) that contain information regarding the processing of the message in the receiving system and System Acknowledgement ( positive and negative) that contain only transport information.
The standard behaviour of an XI message in case of use if sender IDoc Adapter (XI receive an IDoc) is that
SystemAckRequested="false"
SystemErrorAckRequested="true"
ApplicationAckRequested="true"
ApplicationErrorAckRequested="true"
You can see this from the SXMB_MONI ->Select the message -> Inbound Message ->SOAP Header -> ReliableMessaging
This means that Application Ack are requested (positive and negative) BUT for the reason you send the message to a file adapter, the file adapter Will say ALWAYS that the he cannot manage Application Ack.
At the moment it look like there is no possiblity to customize the IDoc adapter in order to ask only for System Ack...it will be release with next Service Packs.
The behavior of XI on this can be considered good, because XI send anyway an ALEAUD Idoc to the sender system that change the status of the IDoc, and in this way you will know that the IDoc has been successfully transformed into a file.
Regards,
Sandro

Similar Messages

  • SAP XI Acknowledgements in asynchronous communication without using BPM.

    Hello experts,
    My scenario is File (Legacy system) -> XI->IDOC & I need to send the acknowledgement back to legacy system. How SAP XI acknowledgements work in asynchronous scenarios without a BPM process. I know it has to do something with ALEAUDIT. It would be great if someone describes how exactly it works?
    Regards,
    Nidhi

    Hi Nidhi,
    execute report IDX_ALEREQUEST on your PI system.
    - put for sender port the IDX1 port to your SAP system,
    - put the client of the SAP system
    - put the value of the SAP field "receiver partner number" (look at WE02)
    - put the value of the SAP field "receiver partner type"
    - put optional partner role
    The ALEAUD what the SAP ERP sends back (to be scheduled) will be handled at PI as seperate message. So you can do what ever you want with it, for example route it to an FTP server and map the values as you wish to have them.
    Regards,
    Udo

  • How to get Acknowledgement from legacy system in an Asynchronous scenario?

    Hello Experts,
    My current scenario is to send an invoice from ECC --> ABAP proxy --> PI --> webservice --> Legacy system & I need acknowledgement back to ECC system from legacy system. How SAP XI acknowledgements work in asynchronous scenarios?
    Please guide.
    Thanks & Regards,
    Nidhi Kukreja

    Hi nidhi,
    please check following link
    http://help.sap.com/saphelp_nw04/helpdata/EN/44/932e8896b610bbe10000000a422035/frameset.htm
    Also check this one.
    http://help.sap.com/saphelp_nw04/helpdata/EN/f4/8620c6b58c422c960c53f3ed71b432/frameset.htm
    hope this helps..
    - Deepak.

  • Setting of acknowledgment Communication channel through CIDX

    Hi Experts,
    I would like to ask questions about aleaud acknowledgment.
    I have scenario of CIDX (OrderResponse) -> SAP PI -> SAP ERP 6.0 (ORDRSP) -> ALEAUD -> SAP PI -> Acknowledgment (CIDX).
    I have managed to send the ALEAUD until SAP PI.  Anybody know how to do setup of communication channel for acknowledgment in CIDX to acknowledge the incoming message from CIDX?
    I can create all the receiver determination, interface determintation, sender agreement, and receiver agreement.
    Does anybody know what the process code or other parameters in communication channel is?
    Thanks in advance.
    Best Regards,
    Krisbianto

    Hi Kris,
    The communication channel parameter will be similar to the receiver of order response.
    One more thing, You need to generate new idoc and map it as normal to acknowledgment in cidx.
    Hope this will help you.
    Cheers,
    L.Mochisuki

  • Cannot assign Project Code to GST Tax Code

    Hi all
    With reference to SAP Message 389302, SAP has acknowledged the following limitation.
    We would like to feedback to SAP Development team for correction of such limitation so that there is an option to assign Project Code to GST Tax Code in AP Transaction. 
    Our Client is not able to assign Project Code to Input GST Recoverable in AP Invoice transaction posted to General Ledger.
    Currently, we are able to assign Project Code to the GL account for expense and AP Vendor so it will Dr Expense with Project Code Cr AP Creditor with Project Code but there is no way for us to assign Project Code to GST Code in AP transaction.
    This is very incomplete and User has to make extra
    effort to assign Project Code that is missing in Journal Entry created in from AP Invoice transaction with GST for printing the Balance Sheet by Project Code.
    Kedalene Chong

    Jac,
    Another issue is cost center or profit center. It must also be assigned in th journal entry.
    Rgds,

  • Re: ME51n through Inbound Idoc

    Hi Expert,
      Below is the required set up.
      "A non-sap system will generate a textfile and the textfile will be push to SAP automatically to trigger automatic creation of PR."
    This is my suppose approach but am not sure if this is feasible and how...
    1. The text file  be output in a ftp server or in a unix directory.
        the text file contain all the info needed to create a purchase
        request.
    2. FTP or unix script will push this file to SAP by means of unix or ftp script..
       - any ftp script or unix script for this
    3.SAP will acknowledge the textfile
       3.1 trigger event that will generate inbound idoc
           - how to set up the IDOC
       3.2 the inbound idoc will be use to create the PR
           - a customize program running in a background mode which as
             a mode of trigger event
       3.3. the customize program is made of bapi_create_purchase
    Does anyone have this requirement before?, any other alternative or better approach to accomplish this? Thanks in advance..
    She

    Hi,
    Please use BAPI_REQUISITION_CREATE to accomplish this.. You'd have to make a remote call and pass the data from the 3rd  party system in to the BAPI's structure as a string and it is the nsorted out based on the fields in teh structure..

  • No check during time ticket confirmation.

    Hi PP Gurus,
    As per the requirement if any preceding phase is not confirmed then succeding phase should not be confirmed. We have 8 operations with two phase each in master recipe. The control key is configured with Confirmation = 2 (Confirmation required) and in Order confirmation paramaters Error when sequnce check is missed indicator & QM lot indicator is checked. Whenever I'm creating an order, releasing that and when trying to confirm through COR6N with any phase say 0080, system is not throwing any error message which it should suppose to do.
    Please help me by highlighting any mistake that I did in configuration or any additional configuration required to achieve that.
    Thanks,
    Abu Arbab

    Hi,
    A suggestion:
    If its an unmodified program, then report to SAP about this issue & am sure they will come back with suggestion / solution.
    The setup you mention works as expected with production orders, so not sure if this is indeed a bug in process order confirmations.
    Also was unable to find any notes which could explain or fix this issue.
    If SAP does acknowledge this as a bug, then before closing this thread, do update the forum in this thread.
    Regards,
    Vivek

  • Getting Error- Internal error (-5002).

    Hi
         While trying to add Invoice through DIAPI, i am getting the above mentioned Error -> Internal error (-5002). I am using SAP 8.8 version.
    Please help me to solve the issue..
    Thanking you in Advance...
    Hari

    We have an add-on in SAP used for Project Management. As a part of that add-on, we create A/R Invoices, A/P Invoices, and Journal Entries through the DI. This application works perfectly in SAP 2007. We are in the process of converting the application to SAP 8.8 and are encountering the same error message when we try to post any document to SAP through the DI. We put together a small sample application that tried to create an A/R Invoice passing just the minimum requirements (CardCode on header, ItemCode on line) and even that test is encountering the -5002 error on attempt to Add document.
    We are attempting to determine if the issue is on our Server or if the issue is in the DI. We are aware of issues in the SAP 88 DI that don't work the way they did in the SAP 2007 DI (Dataflush, which SAP has acknowledged will be re-fixed in a higher Patch level than we are running (5) but we aren't sure if anyone else has experienced Document Posting issues.

  • Wrong display of values in the document after saving

    Hello;
    We have a problem in our SOLMAN system about our service documents.
    When we change the user staus or priority or something like that(F4
    fields) and then save the document, the changed values are updated in
    the database but old values are shown again. When we re-enter the
    document we can see the true values.
    May you please help us in solving the problem?
    Best Regards,
    Erkan Kaya
    SAP CRM Consultant

    For what it's worth I have been having similar problems. Check the application log SLG1. Every time you save it creates entries.
    I haven't been able to change the component. Also, I can't get SAP to acknowledge that it is not normal to save text in the description and not have it show up anywhere. Note 1001810 covers my situation exactly but I am above the support pack recommended. I have decided to just apply the new SPS 12 that is just out.

  • Difficulty in identifing the scenario

    Hi,
    We have the following business scenario,
    Can you please help me to identify the scenario....
    1. the File has to be created in IDOC format after a payment run transaction in ECC/SAP and place it in our internal FTP sever
    2. Our SAP-XI should be able to get this data from our FTP server and transfer it to EXTERNAL party SAP XI through Web (HTTPS)
    3. EXTERNAL party SAP XI will recieve the file in IDOC format and sends back the acknowledgement.
    FILE (IDOC) in our FTP server -> our SAP-XI---> WEB(HTTPS) -> external SAP-XI
    Acknowledgement EXTERNAL SAP-XI ---> WEB (HTTPS) ---> our SAP-XI
    Also
    4. External party will send the IDOC file from Thier SAP XI and We should recieve it in our SAP XI and transfer it to our SAP ECC.
    FILE (IDOC) external -> EXTERNAL SAP XI> WEB(HTTPS) -our SAP-XI -> our ECC

    Hi ok for number one I think it would be easier and better design to simply send the IDoc from your SAP system.
    This IDoc would be sent directly to the PI piepline where it would be processed and routed according to your configuration. The acknowledgement will depend on what system you are integrating with. If it is external as I believe it isw then as oppose to using the HTTP adapter you should use the SOAP adapter as this will allow you to trigger a system acknowledgement. The SOAP adapter is on the AF so this funtionality is available where as the HTTP adapter is not. Once the message arrives at the external SAP XI system then you can either have them route back an acknowledgment or you stick with just the system acknowledgement.
    For your second scenario I would recommend you use the SOAP sender adapter then theh external XI system can send you directly the message. On your receiving side I would also recommend using the IDoc Receiver Adapter.
    So to summarize:
    1: IDOC --> SAP XI --> SOAP (System Acknowledgement) -
    > External SAP XI system
    2: External SAP XI -
    > SOAP --> SAP XI --> IDOC

  • Will MaxDB beat Oracle and SQLserver in the market?

    Somebody tells me that eventually MaxDB will dominate the market.
    I do not believe.   Do you agree?   Thanks!

    Hi Lars;
    and at first, thanks a bunch for the well-put reply.
    >
    > But to be serious - putting MaxDB into the solution stack and not as a product is a business decision.
    > It's not about technical ability, feature set or something like that.
    Yes. I am fully aware of this. It seems the case in most of these situations, and, as I stated, eventually business decisions and strategic decisions are just to be taken as granted.
    > Depends on what "beneficial" really means.
    > SAP does have agreements and partnerships with all the important DBMS vendors.
    > These companies have whole LOBs just for the database product.
    > They make money from it.
    > And they may be annoyed to have another competitor on the scene.
    That, for sure, sounds reasonable. But, from that point of view, of course (not wanting to be provocative): If not wanting to be into the database market after all, having partnerships with all major database vendors, and eventually having a load of open source databases out there to build upon for those who don't want Oracle, why bother maintaining "another" custom DBM system after all? This seems somewhat ambivalent.
    > SAP does not do this. SAP does not sell programs. SAP sells business solutions.
    > That's where our money comes from - providing solutions to every customers business so that the customer can make better business.
    Yes... Yesss. That's what I see, and that's what we want. We don't really care about buying a piece of DBMS software. Our business is to offer services based upon software, some being third-party code (be that open source or proprietary), some being developed or at least customized in-house. DBMS is something we see as a basic service which just "should be there" without having to bother that much. In most cases (Oracle, DB2, or also mySQL) it is not like this - one has to deal with buying licenses, with education to dig deep into the guts of these systems, and then the "real work" just starts. MaxDB does rather good here leaving this "getting-started" hurdle rather low. And for the rest, at least from our point of view, MaxDB service (support, on-demand custom training, help in performance tuning, ...) on top of this indeed seems a "business solution", thus no contradiction to what SAP business is all about...
    I think you are basically right about database market being saturated relating to DBMS as "boxed products". However, the "other" market (free or open source "product" along with enterprise strength support on top for those who want / need it) so far mainly seems dominated by mySQL and, to some degree, postgreSQL. Not sure whether this is (yet?) an actual market, though. Maybe the acquisition of Sun by Oracle and, subsequently, the fact of mySQL being at stake to some degree could be an option for MaxDB to attract more users...
    > One example: remote access to the database systems and the analysis tools of the SAP NetWeaver CCMS.
    > Both of them are crucial for the day to day support for MaxDB/liveCache work we do for SAP customers.
    > Without them, support becomes slow, cost intensive (for us) and difficult.
    > Since SAP customers do have all this infrastructure it's easy to offer them support for a MaxDB that is used for something else.
    I see... I also can imagine that supporting MaxDB used for something, well, eventually "unfamiliar" (unknown application / table structure, unknown user infrastructure, ...) is rather more difficult than, say, supporting it for a bunch of well-known applications and environments. From this point, the most straightforward (and eventually only?) way seems a "rent-an-engineer" kind of support approach - have someone visit your site for a couple of days to look around things, to look at what's there and try evaluating what could be wrong / improved / ... . But indeed maybe this is beyond the scope of SAP business approach...
    > Personally I do of course see that there is some interest from the "Open Source" users for such an offering.
    > I also see that there are constraints to the development of MaxDB that maybe wouldn't be so tight if this would be a product on its own (there are really only a few people developing it, compared with other DBMS vendors...)
    Or, another way 'round, if people would have paid more attention... Remembering the "dual licensing experiment" of MaxDB < 7.6 beind distributed by mySQL AB, I kinda hoped MaxDB attracting a couple of open source developers to participate in development and, eventually, "adopt" the source code and help driving forth MaxDB as something like a "corporate backed open source" project. Obviously, it didn't seem to work out this way, if it was intended to be like this at all...
    > DISCLAIMER:
    As usual when talking about SAP business strategy, these are my personal thoughts and views and in no way any kind of official statement of SAP.
    Acknowledged.
    Cheers,
    Kristian
    Edited by: Kristian Rink on May 28, 2009 9:29 AM
    Edited by: Kristian Rink on May 28, 2009 9:30 AM

  • How to Handle SAP SUS XML Acknowledgment

    Hi folks,
    I have a scenario here where the SAP R/3 system sends a Purchase Order document to SAP SUS through a SAP XI Mapping.
    After processing the P.O. document, the SAP SUS system, automatically, returns a Acknowledgment message (ns: http://sap.com/xi/XI/Message/30) to SAP XI.
    I need to implement a BPM scenario where SAP XI processes this Acknowledgment message and Logs it into my Monitor System (JDBC Adapter). Actually, the SAP XI needs to send to my Monitor System the status (Success or Fail) of the P.O. processing by SAP SUS.
    How can I handle this Acknowledgment message with a BPM Scenario? Is it possible?
    Best Regards,
    Nascimento

    Hi Thiago,
    Currently in BPM you can do this with ASYNC-SYNC Bridge design.
    You can not dirrectly access the content of the ACK, however the BPM shows different behaviours based on the ACK status. E.g. if the ACK contains a success message the BPM will continue in its normal process, if the ACK contains a permanent error, it will either stop or go through an exception branch (provided such a branch has been defined). Have a look at the documentation: http://help.sap.com/saphelp_nw04/helpdata/en/43/65ce41ae343e2be10000000a1553f6/content.htm It doesnt"t state the above mentioned behaviour in detail but says that you need to define an exception branch.
    The trickiest part is always to find out, when you will get a transient vs. as permanent error ack. If you are using ACKs with Proxies refer also to this link http://help.sap.com/saphelp_nw04/helpdata/en/29/345d3b7c32a527e10000000a114084/content.htm and this http://help.sap.com/saphelp_nw04/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm
    Receiver adapters that run on the Adapter Engine support system acknowledgments if they are requested by the sender. Acknowledgements are triggered when a message is successfully processed by the adapter or if an error occurs while it is being processed. Receiver adapters do not support application acknowledgments. The RNIF and CIDX adapters are exceptions to this rule, since they also support scenario-dependent application acknowledgments. Sender adapters of the Adapter Engine do not request any acknowledgments.
    However IDoc adapter is requesting application acks. Therefore you have to disable acks for this scenario using report IDX_NOALE.
    Also go through these documents for any further help:
    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20handle%20acknowledgments%20for%20idoc.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    Also refer the guide: "How To Handle Acknowledgments for IDoc"
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • IDoc Acknowledgement Issue in SAP PI 7.3

    We have configured IDoc to IDoc scenario between two ECC system using IDOC_AAE adapter. When we run the RBDSTATE program to trigger ALEAUD IDoc it is getting failed in SM58 in ECC system. But when we configure a separate scenario to transfer ALEAUD IDoc from one ECC to other ECC  system  usin IDOC_AAE adapter then the ALEAUD IDoc reached in target ECC system. In this case there is no error in SM58 of ECC system.
    SM58 Error: Commit fault: ASJ.ejb.005043 (Failed in component: sap.com/com.sap.aii.ad
    Regards,
    Anurag

    Hi Anurag, Hasan,
    Check the following OSS Notes, they are both addressed to the error you mentioned (appearing under different circumstances, so you might have to choose the right one):
    1719180 Handling of multiple acknowledgements in one ALEAUD IDoc
    1729575 Sending IDoc acknowledgements fails because of long text
    Regards,
    Greg

  • Suppress Idoc acknowledgement in SAP PI 7.3

    Hi Experts,
    I need to suppress ALEAUD Idoc acknowledgements in PI. My scenaros is Idoc (ORDRSP) to file pass through.
    Aleady entries are maintained for ORDRSP idoc in IDXNOALE table.
    in SE16, IDXNOALE--> Selected ORDRSP entry--> change mode --> I have deleted values for NEG and TYPE, when i trigger Idoc from ECC, first time i am not getting acknowledgements but once i trigger automatically NEG value is updating as "X", from next time i am getting acknowledgements.
    I have executed IDX_NOALE report in SE38, If i select ORDRSP message type and click on DoNotRequestAcknowledgments, its asking do you want to overwrite for all? if i select yes, all entries are deleted.
    Help me to suppress these ALEAUD acknowledgements in SAP PI 7.3.
    Attached is the enries i have updated.
    Thanks & Regards,
    Mohan.

    Hi Harish,
    I have checked this thread, As i mentioned earlier
    I have executed IDX_NOALE report in SE38, If i select ORDRSP message type and click on DoNotRequestAcknowledgments, its asking do you want to overwrite for all? if i select yes, all entries are deleted.
    To suppress idoc acknowledgements, do we need to add entries in IDXNOALE table or do we need to delete existing entreis by using report IDX_NOALE?
    If i change NEG and TYPE values as empty, first time its working however next time automatically NEG value is updating as "X" due to that i am getting acknowlegement agan in the second time.
    I am confused.
    Thanks & Regards,
    Mohan.

  • Acknowledgements between SAP and Webservices systems

    Hi , I have integrated a SAP and legacy system ( with webservices ) . I woul dlike to know how i can enchance the integrations with acknowledgements . It would be nice if both the systems know what happened to their sent message. I have gone through the document 'how to handle IDOC acknowledgements' . It only talks about sender and receiver systems being sap systems.
    Any design ideas with acknowledgements ? The Syncronous calls are fine cos they get back a response. I would like to know how to deal with IDOC acknowledgemnts and the response from the webservice interface.
    Thank you
    Sudheer

    >>It only talks about sender and receiver systems being sap systems.
    No it doesn't talks only about SAP-SAP system.
    the last section(i guess last 2-3 pages) explain acknowledgment in case of legacy-SAP system
    Please check the last section of that .pdf
    Thanx
    aamir

Maybe you are looking for

  • CS5 and Elements 8

    My client wants access to the .psd files I created for her book so she can save them as jpegs.There are way more files than I'm willing to save for her. Can she open the CS5 files in Elements 8, or will she need to get Elements 9? Thanks. T

  • How to encrypt user credentials when he logs on the Enterprise Portal

    Hi all, I want to use a cookie approach on SAP Enterprise Portal i.e. when the user first logs on, i would create a cookie and store the encrypted password in it so that next time he hits the portal, he is directly authenticated with the help of the

  • Send multiple records to rfc without using BPM

    Dear Experts, Could you please help on the following scenario. I need to send multiple customer master data records from a file  to rfc without using BPM. The following is the mapping i am using source                                                

  • Library missing from Macbook air

    I deleted my old computer off my itunes because i got a mac, it got rid of my whole library on my mac but not on my laptop. How do I get it back

  • Values Under CUP Request type Available Actions

    Hi Experts, Please let me know the concept of option avaiable actions under option Request Type.How CUP perform the mentioned action exactly under request type?From where i can configure these actions?are these default? Thank you, Mukesh