Skip to Content

ECC downtime and data loss management


We need to confirm some data from shop floor to ECC using MII 12.2 with BAPI call.

We are using the JCo action.

We are concern about the data loss that can happen when ECC is down.

I am not sure how we can prevent this data loss and post this data back to ECC when ECC is up.

Is there a way in MII to handle this scenario or we need to build any custom solution as below.

1. Prepare a table in RDBMS to hold the data to confirm.

2 Schedule a trax which will post the data when ECC is up.


Vishal Jadhav

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Jan 02, 2014 at 08:16 AM

    Hi Vishal

    You have 2 options (the third being a custom implementation).

    The first and the easiest is to implement the data buffer option as mentioned by Nikhil earlier. In this you can buffer the JCo Action if there is a failure to deliver messages to ECC. The buffer takes care of retrying a certain amount of times before it fails finally. You can configure the no of times it retries and also the delay after which it tries to resend. Only drawback of this approach is that you cannot process any other steps after the JCo Action finishes.

    The other approach is to push the XML payload to the MessageListeners. Create a transaction to read the messages from this list and send to ECC. This trx can be triggered either immediately or by a scheduler. If the message fails set the status to failed and you can retry them in the transaction. In your trx you can pull all messages with status Failed and Received and send them again.

    Let me know if this helps.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 02, 2014 at 07:15 AM

    You have to write a Trx in MII to handle retry of error messages.

    You need to Handle 2 types of errors

    1.Connection Error and

    2.Error due to Data.

    You can try following things.

    Create a Error Log table to save the data(message payload) and status in MII DB

    1. Main Trx

    Jco Call

    Condition to check connection Error.

    Condition block to check any data error.

    Use an assignment block to assign status S for success and E for Error and original message payload.

    Insert qry to store the Message payload and status in error log table

    2. Retry Trx

    Qry to read all error messages with Status E from Error Log table.

    Repeat on that with repeater and

    Jco call to confirm again

    Schedule the Retry Transaction according to the required time period.

    May be if needed you can also provide Email Notification if any errors.

    Check link below for data buffering…

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 02, 2014 at 07:26 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.