Skip to Content

Problem with file to Idoc/file scenario

I have a file to Idoc/file scenario where have got 2 receivers. First the file is picked and processed as Idoc to receiver1. If the Idoc is successful at the receiver1 then the same source file has to be sent as pass through to receiver2. If the Idoc fails at receiver1 then file should not be sent to receiver2. Please suggest.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 21, 2012 at 08:14 AM

    hi,

    instead of using an IDOC use an FM (or BAPI) and call is in a sync way in ccBPM

    this way you will know if it failed or not and you can send the same file to the second receiver step in your ccBPM, - it's not possible to do it without a ccBPM in standard,

    Regards,

    Michal Krawczyk

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks for your reply , Can I use pattern: BpmPatternMulticastSequential to do this scenario . If yes then is there anything more that I have to add in the IP. As per Udo's reply I can use adapter's acknowledgement instead of ALEAUD.

      Please suggest.

  • Sep 21, 2012 at 08:40 AM

    Hi Somil,

    you can define a Business Process like described in Michal's blog XI: Playing with the file adapter's acknowledgments, instead you use IDoc acknowledgment ALEAUD. The SAP system is responsible to send it.

    Regards,

    Udo

    Add comment
    10|10000 characters needed characters exceeded