IDOC- BPM- File - Acknowledgements

The Scenario is to send IDocs from SAP through BPM to a file system. I want an acknowledgement to be sent back to SAP system incase of any error while writing the file. To simulate an error, I am giving an unauthorized file path. I have enabled application acknowledgements in the send step of BPM. I receive a negative acknowledgment from the File system to BPM saying unauthorized. But the acknowledgement from BPM to SAP system has the status 'Waiting for an acknowledgement' and the status of IDOC in SAP is still '03'.
Please note that in case of successful message, the acknowledgement is sent all the way back to SAP and the status of IDOC is set to '41' from '03'.

Vinoda, Are you sure the file system is sending you an Application acknowledgement ? To receieve an application acknowledgement in your send step, the receiver Business System should be capable of sending an acknowledgement back, i doubt whether a file system is capable of doing it, unless you have designed a clever mechanism of doing this. was just curious...
Thanks
Saravana

Similar Messages

  • IDOC- XI- File: Acknowledgements

    Hello
    We are on 2004s, SAP Basis patch level 0007. We have a IDOC->XI->File scenario and we want to use ALEAUD for acknowledgements.
    Of late, we see that any IDOC sent to XI, gets mapped and successfully written to flat file but an ALEAUD sent to the back end SAP system makes the status of original IDOC to 40 (Application document not created in target system).
    I understand File adatper cannot handle application acknowledgements but previously we used to receive ALEAUD which would make the status of original IDOC to '39' and not '40'.
    We also find in the adapter monitoring, for acknowledgements from file service to back end SAP system, there isn't any receiver determined however, the status of the message is successful.
    Has anyone faced this problem? I am wondering if this is an issue with a patch and have a OSS message opened up but would be great if someone can share similar experience and how the same was solved.
    Thanks
    KK

    HI Jerry
    Refer these links
    http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
    Check this document on handling IDOC acknowledgements. This might give you some pointers.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    <b>for this error
    CO_TXT_ROUTING_BACK_ERROR</b>
    If you want to suppress acknowledgements please check this thread:
    JDBC Adapter / Acknowledgements
    Check out SAP Note 832965
    This could help u,
    JDBC Adapter / Acknowledgements
    Thanks !!!

  • IDOC-BPM-FILE scenario ERRORS

    Hi gurus,
    I am trying to send IORDER01(pm order) from an R/3 system to a file, which works fine.
    but when i try to use some business logic like if order type = 'PM01' then only i have to write to the file, using ccBPM, it fails...
    this is my first BPM scenario and am having trouble....have read lot of blogs etc...can u please tell me where i am going wrong...
    I have a data type DT_FILE for writing to the file.
    I have interfaces:
    si_oa_iorder(outbound asynchronous interface for file)
    si_aa_iorder(abstract asynchronous interface for idoc)
    si_aa_file( abstract asynchronous interface for file)
    si_ia_file (inbound asynchronous interface for file)
    I have message mapping MM_IORDER2FILE mapping IDoc to flat file structure
    I have operation mapping OM_IORDER2FILE where I have mapped si_aa_iorder and si_aa_file
    (( Is this right? are both abstract interfaces to be mapped? or do i need to create more mappings like si_oa_iorder to si_aa_iorder etc? please clarify...))
    My IP is very simple with just a 'recv step' having container element of  type si_aa_iorder and 'send step' having container element of  type si_aa_file to start with..i haven't yet put the switch control etc...even such simple IP fails....
    I have created Configuration objects like
    Business System for file receiver
    Business component for Idoc sender with adapter specific details set
    Communication channels for Idoc and file adapters
    No sender agreement as it is Idoc communication
    Receiver agreement between the Integration Process(IP_IORDER2FILE) and the file server
    2 Receiver determinations between BC_idoc_send to IP and other from IP to FileRecv system
    2 interface determinations , one from si_oa_iorder of  BC_idoc_send  to IP and other from si_aa_file  of IP to file recv system.
    This is my setup and this fails....
    My question is..is my message mapping and operation mappings correct? and can u see any obvious blunders i am doing?
    please bear in mind that with same interfaces and sending and recv components, it runs fine without BPM....so please look at the BPM bit of mappings/config that i might have missed and please advice asap..
    Thanks in advance and i am sure there would be lot of gurus for whome it is just a peanut...so please reply...
    Regards
    Jhansi

    Hello,
    I am trying to implement one pi scenario :
    File -> file adapter -> ccBPM -> soap receiver adapter -> web service request -> web service response -> ccBPM -> output file adapter.
    The web service that I call works file from wsnavigator. I have created all the design and configuration objects
    needed for the scenario.
    I place a file with following contents:
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SOAP-ENV:Body>
        <pns:GetSetNameWS xmlns:pns="urn:file2soap2fileWSVi">
         <pns:name1>ajeet</pns:name1>
          <pns:name2>phadnis</pns:name2>
        </pns:GetSetNameWS>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    When I look at the process monitor I get this:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Determination
      -->
    - <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">CX_RD_PLSRV</SAP:Code>
      <SAP:P1>Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists.</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error when determining the receiver: Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists. Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists. No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists.</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have no clue about this error. Can you help me with this ?
    If yes I can send you more details, if you liked 
    Hoping to get help from you,
    Cheers,
    Ajeet Phadnis

  • Idoc-bpm-file scenario

    Hi gurus,
    I am trying to send IORDER01(pm order) from an R/3 system to a file, which works fine.
    but when i try to use some business logic like if order type = 'PM01' then only i have to write to the file, using ccBPM, it fails...
    this is my first BPM scenario and am having trouble....have read lot of blogs etc...can u please tell me where i am going wrong...
    I have a data type DT_FILE for writing to the file.
    I have interfaces:
    si_oa_iorder(outbound asynchronous interface for file)
    si_aa_iorder(abstract asynchronous interface for idoc)
    si_aa_file( abstract asynchronous interface for file)
    si_ia_file (inbound asynchronous interface for file)
    I have message mapping MM_IORDER2FILE mapping IDoc to flat file structure
    I have operation mapping OM_IORDER2FILE where I have mapped si_aa_iorder and si_aa_file
    (( Is this right? are both abstract interfaces to be mapped? or do i need to create more mappings like si_oa_iorder to si_aa_iorder etc? please clarify...))
    My IP is very simple with just a 'recv step' having container element of  type si_aa_iorder and 'send step' having container element of  type si_aa_file to start with..i haven't yet put the switch control etc...even such simple IP fails....
    I have created Configuration objects like
    Business System for file receiver
    Business component for Idoc sender with adapter specific details set
    Communication channels for Idoc and file adapters
    No sender agreement as it is Idoc communication
    Receiver agreement between the Integration Process(IP_IORDER2FILE) and the file server
    2 Receiver determinations between BC_idoc_send to IP and other from IP to FileRecv system
    2 interface determinations , one from si_oa_iorder of  BC_idoc_send  to IP and other from si_aa_file  of IP to file recv system.
    This is my setup and this fails....
    My question is..is my message mapping and operation mappings correct? and can u see any obvious blunders i am doing?
    please bear in mind that with same interfaces and sending and recv components, it runs fine without BPM....so please look at the BPM bit of mappings/config that i might have missed and please advice asap..
    Thanks in advance and i am sure there would be lot of gurus for whome it is just a peanut...so please reply...
    Regards
    Jhansi

    Firstly, you said you are not using any Switch, then how are you specifying the condition ?
    Secondly, your interface is not dependent on the BPM, its dependent on the configuration. BPM is a representation on how the interface works in step-by-step manner.
    So, while checking the condition order type = 'PM01', you must be using the Switch, i believe, which has to options Branch1 and Branch Oherwise. Branch1 means when the condition is TRUE and BranchOtherwise is when condition is FALSE.
    If you can let me know the condition statement that you have given in the Switch, I can try to tell you more.
    -Sid

  • Idoc ---- BPM ------ file

    hello experts,
    I have Idoc to file scenario by using BPM,
    I have generated IDoc and it generated successfully
    Idoc reached from SAP to XI. but, it is not entering into BPM.
    i have checked the queue, refreshed chache and restarted the BPM.
    i was not able to reactivate BPM becuase it in Quality(4 days back only i have trasported from DEV to QA)
    can anybody provide some idea to resolve this issue ASAP.
    Thanks in Advance.
    Radhika

    Hi,
    I hope you might have already confirm with the Receiver step parameters.
    Is it working fine in your development system. Have you tested over there.
    Check if all objects have properly transported to Q.
    Thanks
    Swarup

  • How to suppress the Acknowledgement  Error in IDOC to File scenario?

    Hi -
    I got the status in SXMB_MONI as 'Processed Successfully' for the IDOC to File scenario but the Acknoledgement status throws an error saying 'Acknowledgement not possible'.
    I read one of the documents in the forums on how to suppress the acknowledgement using a table on R/3 side using IDXNOALE,
    i tried that option but i still get the 'Acknowledgement not possible' error.
    Is there any other way to suppress this error?
    Thanks,
    Tirumal

    Hi Tirumal,
    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.
    This means, JDBC adapter does only send system acks, however IDoc adapter is requesting application acks. Therefore as mentioned by the previous poster, 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 to handle acknowledgments for idoc.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    Regards,
    abhy

  • Alerts when the acknowledgement fails in IDOC to File Scenario

    Hi All,
    could you let me know how to handle Alerts for Idoc to File scenario.
    My Scenario uses BPM as well.
    Thanks,
    Srini

    Dear All,
    For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.
    For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.
    I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.
    Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks.

  • Acknowledgements IDOC - XI - File

    Hi all,
    I'm facing the following problem...
    There was a scenario IDOC - XI - FILE (lets say from system A to MDM) that was working properly for a while but when we implemented a new IDOC to file from a new system to MDM then the already existing interfaces from A to MDM stopped, all of them were stocked into queues.
    In SXMB_MONI all the messages were marked as successfully processed but they weren't delivered, the comm. channel is active and there are not errors but the Queues show this one:
    " CO_TXT_ROUTING_BACK_ERROR "
    So we have gone thru all the threads related with this error and we have updated the IDXNOALE table to see if this will solve the further message processing but the thing is, why XI did not deliver the processed messages if they were marked with the success status? How can you retrieve/reprocess all those messages stocked into queues?
    Why DEV and QAS were Ok but then PRD started failling? We never updated those tables... but now in PRD we have to.. I don't understand why...
    This topic is very confusing for me and for all of us that are facing this problem, so if someone has a very good answer, please  post it...
    Thanks for your help...
    -- Jerry

    HI Jerry
    Refer these links
    http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
    Check this document on handling IDOC acknowledgements. This might give you some pointers.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    <b>for this error
    CO_TXT_ROUTING_BACK_ERROR</b>
    If you want to suppress acknowledgements please check this thread:
    JDBC Adapter / Acknowledgements
    Check out SAP Note 832965
    This could help u,
    JDBC Adapter / Acknowledgements
    Thanks !!!

  • IDOC to File Scenario. Acknowledgement help required

    Hi All,
    I have made a IDOC to file scenario  (IDOC has business system and file has business service) which is working fine.
    But In sxmb_moni of XI it says Acknowledgement not possible.
    "<SAP:Stack>Unable to convert the sender service File_Receiver_BusService to an ALE logical system</SAP:Stack>"
    Please explain me and send be blogs to send Acknowledgement back to R/3.
    Regards

    Hello Rick,
    "<SAP:Stack>Unable to convert the sender service File_Receiver_BusService to an ALE logical system</SAP:Stack>"
    Check the Logical system name in SLD and in ID's Service->AdapterSpecific Identifies matches are not, go through the following link for step by step prcedure.
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    https://wiki.sdn.sap.com/wiki/display/XI/Unable%20to%20convert%20Sender%20system%20to%20ALE%20logical%20system
    Check this for providing Acknowledgments.
    https://wiki.sdn.sap.com/wiki/display/ABAP/HandlingIdocAcknowledgements
    Regards,
    Prasanna

  • IDOC to file....bpm or without bpm...help needed..

    Hi XI friends,
    its IDOC to file Scenario..
    its daily scheduling report..if we run that report.....Number IDOCs are generated in SAP..
    we have 5 legacy systems..
    for one legacy systems file type is .txt file and for remaining xml files..
    the catagarization based on one of the field in IDOC..
    if that field is 01 the file type should be .txt file
    for others xml file..
    if that field is 01 then ..XI need to collect all the IDOCS into one .txt file for other values direct conversion into XML file i.e..each idoc gets into one xml file
    if that filed is 01..then XI need to collect all the IDOCs in that day into single .txt file and the fileds are Fixed lenghts...and at the same time ..that idoc contains number of segments ..if any Idocs doesnt contain some segments..ther should be no more blank lines...each segment should placed in new row...and also..for some segements ..XI should collect into seperate .txt file....
    please help me....how to achive,,,,,,
    regards
    Munna

    <i>if that field is 01 then ..XI need to collect all the IDOCS into one .txt file for other values direct conversion into XML file i.e..each idoc gets into one xml file
    if that filed is 01..then XI need to collect all the IDOCs in that day into single .txt file and the fileds are Fixed lenghts...and at the same time ..that idoc contains number of segments ..if any Idocs doesnt contain some segments..ther should be no more blank lines...each segment should placed in new row...and also..for some segements ..XI should collect into seperate .txt file....</i>
    in this case BPM will be required to collect the IDOCs ref: http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    base the correlation on the field that contains the value 01
    also then later using XPATH in your receiver det. you can check for the value and route the message to the particular receiver as u want to
    ref:
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

  • Multiple IDocs to File using BPM

    Hi All,
    I have configured a scenario of multiple IDocs to file using BPM.  In this scenario while I am triggering IDoc from R/3 system it is sent to the external program.    I am getting in the status record of WE05 as IDoc is sent to an external system with status code 03. But I am unable to view the same message in moni of the XI system.
    Also I have checked the ALE settings on both the sender and receiver side and it is fine.
    Also in SM58 nothing is there in queue.
    Can anyone solve this issue of mine?
    Cheers,
    Neethu.

    Hi,
    in many cases it's a problem with the RFC connection. You should try an authorization test in SM59 of the R/3 system.
    This might also be useful:
    http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/frameset.htm
    Regards
    Patrick

  • Steps for the IDOC TO FILE with ACKNOWLEDGMENT

    Hello experts,
       Kindly give me the step by step procedure for the following scenario.
    My scenario is an IDOC( any idoc) for R/3 is coming to XI and send to FTP as XML file with out any modifications, and ftp have to send an response (acknowledgment) to XI and that to R/3 as an IDOC.
    I have seen snd but i not able to find the exact steps for the above requirement. Probably i may failed to find it.
    So kindly give me the steps or any blogs links explaining the above scenario.
    Thanks inadvance.
    Kiran.

    Hi
    Pls check the following docs.
    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
    if you are looking to receive the File Acknowledgements..pls check the below link
    /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
    Regards
    Abhijit

  • IDOC --BPM--IDOC AND FILE

    Hi Experts,
    My scenario is idoc to idoc and file through BPM.
    so I hve one integration process and 2 receiver.The prob is frm IP it is pointing to only file not to IDOC
    1) 1 sender agreement
    2) 3 receiver determination
    3) 3 interface determination
    please help me out..

    Why are you using BPM for this?it is not good design.
    If you want to still use bpm then
    1)1 receive step,
    2)2 transformations steps(if or are executing Operation mapping in IP).
    3)2 send steps.
    check your BPM design and monitor Integration process work flow.
    Regards,
    Raj

  • Idoc to file scenario( I dont want acknowledgements )

    Hi all,
    where i can disble the acknowledgements in idoc to file scenario.
    Kiran

    Hi,
    If you want the ack..
    Go throughthis steps..
    go to transaction SXMB_ADM on XI SAP system
    Choose Integration Engine Configuration
    Select "Execute"
    Choose "Specific Configuration"
    choose New Entries
    Select :
    Category : RUNTIME
    Parameters : ACK_SYSTEM_FAILURE
    Current Value : 1
    and save it.
    The below link contains everything about IDOC acknowledgments
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    Might help you..
    Regards,
    vasanth

  • Acknowledgement for Idoc To File Scenario

    Hi Experts,
    My scenario is idoc to file and if the file is successfully delivered at destination then i need an acknowledgement saying that the file was received successfully.
    How to achieve this. Can any body send me the scenario with screen shots.
    Your help will be greatly appreciated.
    Thanks & Regards,
    Venkat

    Dear All,
    For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.
    For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.
    I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.
    Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks.

Maybe you are looking for

  • Approval request to dynamic user --- task assignment adapter

    Hi All, I have a requirement. 1. User will be requesting for AD Group Memership. 2. The approval request should go to the owner of the AD group. (AD Group owner will have an OIM Account) is it possible to add custom "Target Type" in "Assignment" tab

  • Multiple schemas

    A project here has the following requirement. Want to use multiple schemas in the same database instance with identical structure. That is, from one login we want to determine the schema name to use at runtime and access it using the same mapping des

  • Compile error - cannot resolve symbol

    Hello, I am trying this code although I get compile errors as stated. import java.util.Scanner; * Write a program that reads 10 numbers from the keyboard into * an array and then prints the list of numbers * Modify the above program so that it prints

  • [SOLVED] OpenOffice with DOCX support

    I have to use sometimes Microsoft Word documents in Microsoft Office 2007 format (.docx) (my boss is fan of this format ), but standart version of OpenOffice doesn't support this format and I should ask my partners to convert it to old Word format. B

  • Adl.exe has stopped working message

    This is very frustrating because I'm new to Flex 4 (Win 7, 32 bit) and everything I read has not led me to a solution (at least something I understand). Every time I test my app I get the message adl.exe has stopped working and I have to close the fi