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

Similar Messages

  • 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

  • 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

  • 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

  • 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 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

  • 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>

  • 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

  • Error by sending IDOC-acknowledgements

    Hello,
    we have the following scenario:
    R/3 IDOC -> XI -> Mail-Adapter
    We want to receive acknowledgements from the adapter.
    But we get the error "Sender XI Party http://sap.com/xi/XI / XIParty / xyz couldn't be transformed to an IDoc Partner".
    Does anyone know how to solve this problem?
    Regards,
    Thorsten

    Hi,
      Ok then,
    <i>Only the IDOC-acknowledgements couldn't be sent back to the R/3.</i>
    1.By any chance, did you check the
    IDXNOALE table: and see if the port, the
    client of the sender, and the message type id there.If yes then that table lists and block your acknowledgement.
    2. Check this, "Use transaction SXMB_ADM ( Integration
    Engine - Configuration) to obtain system
    error acknowledgments from pipeline
    services of the Integration Server and
    maintain the specific configuration
    parameter ACK_SYSTEM_FAILURE of the
    RUNTIME category.Whenever a system error occurs within the Integration Server, a system error
    acknowledgment is sent back to the sender.But this is for system error acknowledgements.
    3. Did you 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
    OR
    https://websmp106.sap-ag.de/nw-howtoguides
    Then go to exchange Infrastructure.
    Regards,
    Anirban.

  • Doubt in IDOC Acknowledgements

    Hi,
    Iam refferering this Blog
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    In this blog he took an example of IDOC to File sceanrio
    and he is saying that we have to create the Receiver IDOC adapter under the Business service---CC Creation  inorder to receive the Ack back.
    Q1) Do i need to create the Receiver IDOC Adapter ??
    Q2) Iam usng the Business system for Sender SAP R/3
    and Business service for Receiver
    Do i need to create one more Business service for IDOC receiver adapter or i can use the Business system to create the IDOC receiver channel
    Regards
    Suman

    Hi,
    Q1) Do i need to create the Receiver IDOC Adapter ??
    1. you need to create the Receiver Idoc adapter why because u need to give the RFC destination here to connect with the R/3 System
    Q2) Iam usng the Business system for Sender SAP R/3
    and Business service for Receiver
    2. There is no need to create a seperate Business Service u can use the existing one ..
    for idoc acknowledgements the scenario must be sync...
    and to handle the acknowledgement follow this
    setting up Audit Response.
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    Just set this parameter in SXMB_ADM >integration engine configuration>specific configuration--> choose RUNTIME --> ACK_SYSTEM_FAILURE.
    It will send a acknowledgment in SXMB_MONI
    regards,
    Kishore

  • Logical system for IDoc acknowledgment?

    Hi,
    HTTP --> XI --> IDOC (with acknowledgment) is my scenario
    whether the inbound and outbound parameters should be configured in the same logical system or in a different one (in transaction we20)
    Thanks,
    RPN

    For IDOC acknowledgement ,go thru this and do the settings :
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    This will help u :
    Configuration Tips for a Business Service/Integration Process to send back ALE audit IDOC

  • 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.

  • 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

  • Idoc acknowledgement message to web service

    I am trying to set up the scenario SOAP sender>XI>IDoc Receiver.
    I have exposed the outbound, synchronous message interface as a web service, and I'm planning to use sync-async bridge in BPM.
    My problem is: I need a response message from SAP. Can I use an iDoc acknowledgement message for this purpose? If this is the case, how do I set up SAP to send this acknowledgement message to XI, and do I have to configure an iDoc sender channel for this purpose?
    Any comment is appreciated!
    Thanks,
    Håvard

    One option - not a ABAP expert but this is what I understood with my discussions with my ABAP team when we were coveringt he same issue -
    In the Idoc Inbound Processing Code - write a ABAP Exit that after processing the Idoc will trigger the RBDSTATE report to trigger the AleAudit back to XI and XI will send it back to R3.
    It is surely possible, as the Aleaudits are triggered by RBDSTATE report instead, you can manually makde the Idoc procesing code to trigger this report immdeitaly and so on.
    An Abap , Ale_Idoc specialist will have the answer to this in seconds - on how to do this - but am not one
    Regards
    Bhavesh

  • 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

Maybe you are looking for

  • F1-F4 no longer seem to work

    Hello, Recently I noticed that I wasn't able to open the "Run command" windows by using the combination ALT+F2 anymore. Neither was could I close the current window using ALT+F4. At first I thought it had something to do with KDE (my DE), but the sho

  • Creating a report with a Picture in Windows 7

    We have Oracle reports 10g (10.1.2.0.2). From Reports Builder, when running any report that has a picture, I keep the picture in : C:\oradev1012\reports\templates and it runs without issue. However, it runs without issue using a Windows XP machine, n

  • Missing driver for co-processor of my hp pavillion dv6000

    Hello Mr DavidPK. I saw a similar problem dat i am having with my 3 missing device drivers : 2 base system device and 1 co-processor. but my problem now is with my co-processor driver. Here is my P#: KN050EA#ABU. This problem started when i upgraded

  • BAPI_ACC_ACTIVITY_ALLOC_POST

    Hi, I am  using this bapi to reverse a CO document. When I check the table COBK in order to view my documents, the field SOTKZ is always initial. I am looking for the way to tell the bapi I want this field activated; Do you Know how can I achieve thi

  • Error in Formula Processing

    Hi, For a specific formula NVL(1,2) where 1 is a Factor list and 2 is List Price, we are getting this error. ERROR IN FORMULA PROCESSING....We are on R12.1.3 instance and this is upgraded from 11.5.9 There is a metalink note QPXPRFOR OEXOEORD: Saving