Handling idoc acknowledgements inside BPM

Hi,
  I have a scenario like this
File - >XI BPM -> SAP (idoc)
after posting idoc into sap ALEAUD idoc will be triggered for sending acknowledgements back to XI
ALEAUD SAP->XI BPM -> email
             I have activated application acknowledgement in the send step of BPM and also cofigured ALEAUD idoc in the SAP, it is working fine I could able to see the acknowlegement back from SAP system in SXMB_MONI. But my requirement is to read the acknowledgement messsage back in XI and if there are any errors during idoc posting I should send that error message as an email . I tried configuring reciever determination as follows
  Sender SAP
  sender interface ALEAUD
  reciever XIBPM
  reciever interface ALEAUD
           But this also didn't work, I am not seeing any message transferred between SAP and XI for ALEAUD idoc . I referred SAP how to do docs for handling idoc acknowlegement and also looked into some forum discussion but nothing helped. Is there anyway to read the acknowledgement messsage in the BPM?
            If anyone had come across such kind of scenario please help me.
Thanks,
Jayanth

Hi Gasio,
     I checked SM58 nothing got stuck in that queue. Moreover I am explaining part of my BPM steps actually this is not the exact steps involved in BPM, lots of validation and data extractions are done prior to idoc send step.
     I am getting positive acknowledgement from SAP .  I am seeing the idoc message in the acknowledgement payload. My question is how to read the content of acknowledgement message in BPM.
    I have created correlation between idoc and acknowledgement idoc in the BPM as shown below
Recieve file
Transform to idoc
Send step ( idoc )
Recieve (ALEAUD idoc)
  But the process is waiting in the recieve step.
Thanks
Jayanth

Similar Messages

  • Idoc Acknowledgements and BPM.

    All,
    My current requirement is to post an Idoc from my BPM, and get back the Idoc Acknowledgement. On the basis of the status field in the ALEAUDIT Idoc I need to determine the further course in my BPM.
    <u><b>Option 1:</b></u>
    1. In the Send Step of my BPM , I can request for Application Acknowledgement. I have done this and am able to receive the Acknowledgement and see the same against the Acknowledgement Msg ID in MONI. I am able to see the ALEAUDIT idoc triggered for my Send Step back to my BPM .
    The question in case we are to use this Option is , how do I access this AleAudit Idoc message in my BPM. As I want to have a switch, I need this to be populated in a container element of my BPM. Is this possible? Is this approach a correct one? Any Ideas?
    <u><b>Option 2</b></u>
    I can have a Send Step in my BPM to send the Idoc from XI to R3. this will be a normal Send Step with no Acknowledgements. I can also use a Receive Step in the BPM to receive the ALEAUDIT Idoc back to the BPM.
    This I guess can be done with a Receive determination where R3 is the sender and the AleAudit Idoc is the receive etc.
    Issues with this approach, I need to use a Correlation against the Send and Receive Step to send the Idoc and receive the AleAudit.
    1. What is the Correaltion that can be used?  Is there a standard correaltion. for such cases?I looked into the Idoc and the AleAudit but could' nt find a suitable Correlation Field.
    Do both these solutuons make sense? has anyone got a better approach?
    Any comments are appreciated.
    Regards
    Bhavesh
    PS: Have gone through the How to guide on Idoc Ack's and the blogs on SDN as well. But if still someone feels that there is a blog that is relevant to this issue, please do let me know if I have missed anything.

    Ha, now that was interesting question. Brains were rusty, relooked into that lookup and these are the fields of the IDXRRCVPOR we use,
    Used the RFC - RFC read table
    XI's Idoc Number is in Field IDOCNUMBER
    Original SAP IDoc Number is in Field SNDLAD.
    Code excerpt attached below.
    @ Henrique : Work's been crazy past few months. The blog is on my to do list, hopefully someday soon it should be out. My Apologies guys!
    Channel rfcChannel =     LookupService.getChannel(BusinessService, CommChannel);
    //As the call is being made to RFC, RFCAccessor is obtained.
    rfcAccessor = LookupService.getSystemAccessor(rfcChannel);
    rfcXML =
                        "<?xml version=\"1.0\" encoding=\"UTF-8\"?><ns0:RFC_READ_TABLE xmlns:ns0=\"urn:sap-com:document:sap:rfc:functions\"><DELIMITER/><NO_DATA/><QUERY_TABLE>IDXRCVPOR</QUERY_TABLE><ROWCOUNT/><ROWSKIPS/><DATA><item><WA/></item></DATA><FIELDS><item><FIELDNAME>SNDLAD</FIELDNAME><OFFSET/><LENGTH/><TYPE/><FIELDTEXT/></item></FIELDS><OPTIONS><item><TEXT>IDOCNUMBER EQ &apos;"
                             + SourceDocNum
                             + "&apos;</TEXT></item></OPTIONS></ns0:RFC_READ_TABLE>";
    inputStream = new ByteArrayInputStream(rfcXML.getBytes());
    XmlPayload inPayload = LookupService.getXmlPayload(inputStream);
    Payload outPayload = rfcAccessor.call(inPayload);
    responseStream = outPayload.getContent();
    DocumentBuilderFactory factory =DocumentBuilderFactory.newInstance();
    /* Create DOM structure from input XML */
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse(responseStream);
    NodeList list = document.getElementsByTagName("WA");
    for (int k = 0; k < list.getLength(); k++) {
        Node node = list.item(k);
       if (node != null) {
         node = node.getFirstChild();
                    if (node != null) {
              if (!node.getNodeValue().equals("")) {
                   OutputDocNum = node.getNodeValue();
    Regards
    Bhavesh

  • Handling Idoc acknowledgements

    Hi All,
    As per the document "How to handle acknowledgements for Idoc" I made all settings and i am able to get acknowledgement in XI.
    In the document it was said it is possible to configure  ALEAUDIT as request message by executing the report IDX_ALEREQUEST. After doing this i able to get the acknowledgement as separate message, but it get stopped in the inbound queue.
    In SMQ2 it is showing error as "sysfail" and in the detail it is showing "exception triggered but was not caught"
    As per the document I hope we can receive the acknowledgement in File.
    But i am not able to get it in the file.
    Kindly help to get the result.
    Thank You
    Regards
    Prakash

    Hi,
    Try and see the follwoing steps
    1) In the Integration Server, call  transaction SE38
    2) Run program  IDX_ALEREQUEST to process IDocs with message type ALEAUD as XI request
        message.
    3) Now Enter Sender Port, Sender Client,Partner Number, Partner Type, and Partner Rol
    4) In Integration Directory, configure the  routing of interface
    5) Call transaction SXMB_MONI to display the XI message.
    Also,
    Further in IDX5 as well you will find entry for IDoc ALEAUD.ALEAUD01
    Please go through the link
    1)Succesful IDOC acknowledgements from ECC
    2)https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    3)https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    Regards,
    sangeetha
    Edited by: Sangeetha on Mar 26, 2008 9:29 AM
    Edited by: Sangeetha on Mar 26, 2008 9:37 AM
    Edited by: Sangeetha on Mar 26, 2008 9:52 AM

  • How to read Idoc acknowledgement in BPM

    Hi ,
    I am trying to get data from database and send  Idoc to sap . Upon successful idoc processing i want to send success msg to file . To achive this functionality i am using BPM , but i am not able to understand how to read acknoiwlegement in XI ? Do I need to create another datatype for acknowledgement in XI ??
    Please advice
    Suvarna

    Hi,
    Configure the Acknowledgements as shown in the Link i had given earlier.
    Next, in your BPM, with the SEND step activate APPLICATION Acknowledgements. Now, your BPM will wait for the acknowledgements before going to the next step and so on.
    Also, if you do not want to wait for longer than a particular period of time, you can have a deadline monitoring branch and so on.
    Regards,
    Bhavesh

  • Handling IDoc Acknowledgement

    Hi,
    I have a File -> XI -> IDoc scenario where I am using 2 IDocs at the receiver side.
    I need to check the acknoelwdgement from IDoc1; and only if IDoc1 is successfully posted in R/3, I'll need to send IDoc2.
    Is it possible to map the acknowledgement from IDoc and validate the status (using status code 52 or 53) and then take appropriate action?
    Any help would be greatly appreciated.
    Thanks,
    Guru

    Prasad,
    If you want to change the Idoc status then you use the report IDOC_STATUS_CONVERT. Also see this thread:
    How to change IDOCs status from 51 to 68
    Also see some threads on this:
    Changing IDOC status after succesful processing
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_forums&query=idocstatus&adv=true&adv_sdn_forums_sdn_author_name=&adv_sdn_forums_sdn_allusernamesofthread=JayakrishnanNair&adv_sdn_forums_sdn_category=&adv_sdn_forums_sdn_forum=&adv_sdn_forums_sdn_updated_on_comparator=GE&adv_sdn_forums_sdn_updated_on=&sortby=cm_rnd_rankvalue
    ---Satish

  • Idoc Acknowledgement in File

    Hi All,
    I came through some  threads in SDN regarding Idoc acknowledgement and followed handling Idoc acknowledgement document. I am able to get back acknowledgement(ALEAUD) in Xi.
    I configured a scenario to receive this acknowledgement in File.
    But i am not able get the acknowledgement in the File.
    In SXMB_MONI ,in the pipeleine step Technical Routing of Response i am getting Acknowledgement Message Stopped.
    How to rectify the above error..I need to get the acknowledgement back in File..?
    Is it possible to do without BPM..?
    Hoping for good solution..
    Thank You
    Regards
    Prakash

    Hi,
    If you are lokinf for IDOC acknowledgements means check these
    setting up Audit Response.
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    ALEAUD need at least following fields to be filled:
    E1ADHDR/MESTYP: original message type
    E1ADHDR/E1STATE/DOCNUM: original IDoc number
    E1ADHDR/E1STATE/STATUS: 68 in case of error, 53 in case of success
    E1ADHDR/E1STATE/STATXT: Short description for R/3 user what has happend
    If you are using XI 3.0 SP12 then there is some bug See : 828277
    Just have a look into this blog-/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
    ALEAUD not coming to SAP from XI & u0093Acknowledgment not possible" in idx5
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    Or else if you are looking to receive the File Acknowledgements means have a look at this
    /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
    Regards
    Seshagiri

  • IDOC Number in BPM (Bhavesh & Michal Help)

    Hi ,
    I tried the using the concepts from the blog (/people/mitesh.parekh/blog/2008/12/01/receiving-aleaud-as-acknowledgment-in-ccbpm)where i have the Message ID which entered into BPM
    but not the message Id which triggered the IDoc send . I think i m missing some small detail where i need to capture the send step MSG Id
    i'm aware that its not possible to get the Msg id in BPM . How is that ABAP Mapping in the above blog captures the message id ?
    TRY.
    l_msgid_ref = param->get(
    IF_MAPPING_PARAM=>MESSAGE_ID ).
    catch CX_SY_REF_IS_INITIAL into oref.
    endtry.
    Alternatively one more thread has some info
    if someone can let me know where you can get this SourceDocNum would be great in this RFC Look up . in the thread Re: Idoc Acknowledgements and BPM.
    "<?xml version=\"1.0\" encoding=\"UTF-8\"?><ns0:RFC_READ_TABLE xmlns:ns0=\"urn:sap-com:document:sap:rfc:functions\"><DELIMITER/><NO_DATA/><QUERY_TABLE>IDXRCVPOR</QUERY_TABLE><ROWCOUNT/><ROWSKIPS/><DATA><item><WA/></item></DATA><FIELDS><item><FIELDNAME>SNDLAD</FIELDNAME><OFFSET/><LENGTH/><TYPE/><FIELDTEXT/></item></FIELDS><OPTIONS><item><TEXT>IDOCNUMBER EQ &apos;"
    + SourceDocNum
    + "&apos;</TEXT></item></OPTIONS></ns0:RFC_READ_TABLE>";
    Since i do not have the Message ID it just creates the below payload from my mapping
    This is the request being sent out using the ABAP Mapping as the Messgae ID is null .
    <?xml version="1.0" ?>
    - <ns0:ZALEAUDIT4XI xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
    <S_DOCNUM>0000000000000000</S_DOCNUM>
    <S_MESTYP />
    <S_SNDSYS />
    <S_UPDDAT>00000000</S_UPDDAT>
    </ns0:ZALEAUDIT4XI>
    Looking forward for Help .

    hi
    you have to use Configurable Parameters in the ccBPM. in runtimeyou assign the IDOCNUM field value to the parameter and then use it in the response mapping (WSDL-ALEAUD).  you have to define the parameter in the Message Mapping under the Signature Tab.
    Also you have to bind the parameter in the Operation Mapping. to do this,define a new parameter in the Operation mapping and then bind it with the parameter defined in the message mapping.
    see this blog to know how:
    SAP PI 7.1 Mapping Enhancements Series: Parameterized Message Mappings
    rgds
    RP
    Edited by: Rodrigo Alejandro Pertierra on Nov 3, 2011 3:49 PM

  • How to Send Idoc Acknowledgements back to Http sender (Http to Idoc)

    Hi
    I have scenario: Http To Idoc
    first requirment:
    i need to map xml file come from HTTP Sender to Idoc (SAP system), and need to send Idoc acknowledgements/status back to Http sender.
    second requirment:
    while mapping COM Xml file come from Http to COMMAT04 idoc into SAP system i need to to check whether corresponding material already exist in R/3 or not, if material is not exist, process should be cancelled and alert should be raised. ( i mean to say before sending COMMAT04 idoc into SAP, corresponding material should be exist already, if not alert should be send to  http sender)
    please thrown some inputs, if sombody has already done with htis....
    Thanks in Advance, and help would be appreciated..
    Thanks and Regards
    Rajesh Babu

    Just providing the specifics that Suhail has intended.
    How to handle IDOC Acknowledgements in XI.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    RFC Mapping Lookups:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    Regards,
    Ravi
    Edited by: Ravi Kanth Talagana on Jul 7, 2008 3:32 PM

  • BPM for error handling and acknowledgements

    Hi,
    Can any one tell me how to handle BPM for error handling and acknowledgements in one scenario.
    Please send me the link if you have other wise give me the solution on the same.
    Thanks,
    Nagesh

    Hi !
    Just check out these links This might help you.
    Usually Application Level Acknowledgement is considered during Sync communication. If you are using RFC, you can make use of Sync communication. So you can handle it without bpm, provided your both sender and receiver are sync interfaces.
    To know about Ack-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm
    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
    http://help.sap.com/saphelp_nw04/helpdata/en/29/345d3b7c32a527e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/7b/94553b4d53273de10000000a114084/content.htm
    <b>The following link has entire configuration of Receiver XI Adapter (including acknowledgements)</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/0a1640a991c742e10000000a1550b0/content.htm
           <b>   eror handling in BPM.  
    </b>
    1. CCMS monitoring
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/42fb24ff-0a01-0010-d48d-ed27a70205a8
    2. BPM Monitoring
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
    3. Monitoring XML Messages http://help.sap.com/saphelp_nw04/helpdata/en/41/b715045ffc11d5b3ea0050da403d6a/frameset.htm
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
    monitoring BPm https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
    Reconciliation of Messages in BPM - /people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm
    Also see the below BPM related links
    check list for BPM https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    Many other examples can be found under the following link at help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    And some weblogs
    https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    /people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****
    /people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
    Also have a look at these seminars,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
    Thanks !!!
    Regards
    Abhishek Agrahari
    Questions are welcome here!!
    <b>Also mark helpful answers by rewarding points</b>

  • Logical system name for acknowledgement in BPM

    Hi,
    I have a szenario:
    IDOC --> BPM --> MAIL
    Inside BPM I check the message and depending on an xml-element I stop the process or I send the message by mail.
    When I stop the process the BPM sends back an acknowledgement and in SXMB_MONI I can see an error of the acknowledgement:
    "Sender Test_BPM_IDOC_TO_MAIL kann nicht in ein ALE Logisches System umgeschlüsselt werden" (Sender can not convert in a ALE logical system)
    What can I do?
    Possible Solution 1:
    I can define my BPM "Test_BPM_IDOC_TO_MAIL" as a logical system (including WE20 for ALEAUD).
    Possible Solution 2:
    I can enter an existing logical system name in the "adapter specific attributes".
    BUT it is not use the same logical system name twice (BAD ... or is there a workaround?
    Is Solution 1) a common way?
    Thanx
    Regards
    Wolfgang Hummel

    Hi,
    there are many ways:
    some for aleaud are described in my book:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    >>>>Is Solution 1) a common way?
    no this is not good a good idea
    BTW
    you can also supress aleaud raport IDX_NOALE
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How to get detail info of application acknowledgement in BPM send step

    Hello
    in BPM we will send an async message to SAP backend system, we need to know if the message is successfully process or not, if not, we need to get the detail info which is returned in the acknowledgement message.
    As you know in PI monitor, you can open the acknowledgement message and you can see the error texts that are sent by the SAP backend system to PI in the acknowledgement message. However seems like there is no standard way in PI BPM to get the error texts inside the acknowledgement. In the send step you can only specify that application ACK is required, if negative ACK comes in, an exception is raised and you can handle the exception in the exception branch. However there is nowhere to capture the acknowledgement message to get the detail error texts.
    Anyone has good idea to get the error texts from the application acknowledgment message inside BPM/
    Thanks

    we need to know if the message is successfully process or not, if not, we need to get the detail info which is returned in
    the acknowledgement message
    One way to have the above requirement done is make the process synchronous (if RFC/ Proxy). The response message should contain the state of processing of the message inside SAP....now in the BPM make a check on the response message to see if it is a success or failure....you can apply logic like is success terminate the BPM without any alert.....if failure raise an alert/ send a mail.
    Regards,
    Abhishek.

  • How to get Idoc acknowledgment in File to Idoc scenario

    Hi All,
    Please give suggestions about the below mentioned scenario:
    Scenario: File–XI- ECC - Data from File is converted to various IDocs and posted in SAP. (No BPM used)
    Problem: Exception Handling > > We want a message back from SAP system telling us that out of 100 IDocs that were sent, ‘n’ were posted successfully and rest failed along with the error description. How can this be achieved?
    Regards,
    XIer

    Pls go thruough these links also
    Please see the below links
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    unable to import from SLD
    /people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    /people/sravya.talanki2/blog/2005/10/27/idoc146s-not-reaching-xi133-not-posted-in-the-receiver-sap-systems133
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    idoc settings /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    idoc erros - http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    <b>IDOC Acknowledgements</b>
    R/3 IDOC ->XI-> ORACLE Error Handling
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    /people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
    /people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements
    Regards
    Abhishek Agrahari

  • 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

  • Message Split -- File to Idoc Scenario  -  ( Without BPM )

    I have multiple records coming to XI in a File and I have to create Multiple Idocs to R/3.
    Due to Complexity of mapping I'm splitting Maaping step into 2 message Mappings.
    A-->B
    B-->C
    In the 2nd Mapping step  I'm doing message Split meaning for each Source record I'm creating multiple Idocs ( To be precise each record on the source becomes 4 idocs in the Target.
    2nd Mapping step is as follows
    Source 1..1
      Sourcerecord 0.. Unbounded
        field1  0..1
        field2  0..1
        filed3  0..1
    Target
    Message 1
        Idoc   1.. Unbounded
          Idoc Structure..
    Message 2
          Idoc   1.. Unbounded
    Message 3
          Idoc   1.. Unbounded
    Message 4
          Idoc   1.. Unbounded
    So based on some criteria each record of Source will be mapped to 4 Messages (  1 each under each Message )
    Is it possible to do this without BPM?. Iam sending all these Idocs to same R/3 System.
    Thanks for any help..RK

    Hi,
    See the blog
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    <i>Basicly we have 2 ways of handling such scenarios:
    - we can use a block step and send multiple IDOCs from our BPM
    - we can also do a little trick and send multiple IDOCs from the XI without a BPM
    The first approach is a standard XI approach. It involves the use of a BPM
    so the speed of this transfer many not be very good in case you'd like to send
    hundreds or thousands of IDOCs in just one call.
    The second approach uses a little trick that was mentioned several times
    on the XI Froum by a number of XI developers but is still not very clear to the XI newbies.
    It allows us to send multiple IDOCs without the use of a BPM. Most probably this will be your choice
    if you'd like to use such 1:N (IDOCs) scenarios effectively.</i>
    Please see the bwlow threads also..
    IDOC Splitting
    File To IDOC Thru XI
    Multi-Mappings in BPM (XI 3.0)
    Please let me know , your prob..is solcev or not..
    Regards
    Chilla..

  • IDOC Acknowledgment

    Hello All,
    My scenario is SAP(IDOC) -
    >XI-->SAP(RFC synchronous)--> Webservice(synchronous) using BPM and Scenario running successfully.
    But my new approach is Source SAP(IDOC) expects the acknowledgement , If BPM process is  success till step and after expects acknowledgement if it success.
    Normally we used RFC/CWLD/ to send back the  response about IDOC to source SAP system  if the whole BPM process is success. But  at the moment we don't want call the RFC/CWLD instead RFC we need to send the IDOC acknowledgment
    So what is approach i need to follow from here? I am looking forward from you.
    Thank you very much.
    Kindest Regards,
    Sateesh

    Hi Bhavesh/ Indranil
    Thanks for your great response.
    @Bhavesh:  I have little doubts related to your answer
                          1)  SYSTAT IDOC is need to be import from sender SAP side?
                          2) is their any more configurations are required between XI and Sender SAP?
                          3) instead of using SYSTAT IDOC can I use ALEAUDIT01?
    @Indranil:
              My Scenario is SAP(IDOC sending)->XI->RFC Call syn(SAP)-->Webservice(SOAP Sync)
    Idoc is receviing to XI from Sender SAP system and it send to target SAP system using RFC call and getting RFC response back from target SAP and the response RFC is map Webservice call and get the response from Webservice call by status, If the status is 'success'  then I am sending the IDOC number status  back to  sender SAP
    system using RFC/CWLD call.
    But using insted of RFC/CWLD call I need to use the IDOC acknowledment to send back to sender SAP system.
    Please guide me how i will follow here. Thank you.
    Kindest Regards,
    Sateesh

Maybe you are looking for