on 01-02-2014 6:28 AM
Hi,
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.
Thanks
Vishal Jadhav
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.
Regards
Partha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks guys and Partha..
The scenario is
There is a trax logic in place. From this trx we are calling ECC BAPI to post data.
But the trax has other logic too , which needs to be executed even after JCo fails.
So Data buffer option cant be implemented.
The second approach is customize approach and for which we need to code the logic...
That answer my question.
Thanks for all your valuable inputs...
Vishal Jadhav
User | Count |
---|---|
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.