Skip to Content

Does CPI have the functionality to reprocess the messages when the Target system is down in CPI

Hi All

We have requirement where we need to Build a flow which can reprocess the messages that are failed to reach the target system when it is down/not reachable .

For example.

when the source system is sending the sales order via CPI if the target system and if it is down then that message will not reach the target system will fail in the CPI . in that cases CPI should store that particular messages and reprocess that message again when system is up again.

Need some inputs or suggestions how we can achieve this functionality in CPI.

Thanks in advance

Ravi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • Mar 30 at 04:26 PM

    Dear Ravi,

    As for as I know, this feature is not available with the platform as of now. But this can be achieved and you need to handle such situation by yourself. You can implement this feature using the 'ExactlyOnce handling in Cloud Platform Integration'. I found an excellent example provided in the API Business Hub. Hope the following link will be helpful to achieve your requirement.

    API Business Hub (api.sap.com)--> Search 'Cloud Integration - Exemplars '--> Exactly Once.

    -Nitesh

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 02 at 02:53 AM

    Hi Ravikanth B,

    I know this has been asked before so please refer this for more information.

    https://answers.sap.com/questions/627118/sap-cpi-error-handlingretryre-processingbackground.html

    Regards,

    Manu

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 12 at 03:28 PM

    Dear Ravi,

    You can use JMS queue functionality in CPI to push the message again to target system in case of connection issue failures.

    Also to highlight here is some of the CPI adapters has inbuilt retry feature for connection issues.

    SFTP:

    SuccessFactors:

    Regards,

    Devaraj


    sftp-retry.png (2.8 kB)
    sf-retry.png (977 B)
    Add comment
    10|10000 characters needed characters exceeded

  • Apr 15 at 04:01 PM

    Hello ravikanth,

    You can use the use JMS queue as Workaround (by default this functionality is no present in CPI)

    Thank you!

    Add comment
    10|10000 characters needed characters exceeded

  • yesterday

    Hi Ravikanth,

    You can check out my blog.We did a POC to repost messages using SAP Provided API s

    https://blogs.sap.com/2019/07/19/reprocess-messages-in-sap-cpi-using-sap-api-s-and-without-jms-provision/

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 01 at 12:54 PM
    -1

    Check for the parameter in the adapter you are using "Retry on failure". If it exists in case of intermittent issue in target side it will reprocess it. If it fails in 3 attempts then there is no other option in CPI for reprocessing.

    Add comment
    10|10000 characters needed characters exceeded