04-02-2011 3:36 PM
Dear Guru's,
I have a very critical issue to discuss. I have a custom module i.e. Packing Module which runs BDC's and updates the indicator in Ztable for document post. Now the problem is if there is connectivity loss happens after the BDC perform and before the Ztable update, tracing is not possibe as there is no any reference in the document.
So, is there any way i can synchronize the process either updating the BDC & Ztable together OR rolling back the BDC if Ztable update does not happened like LUW.
Please suggest,
Regards,
Praveen Lobo
04-02-2011 5:58 PM
Hi Lobo,
can you explain in more detail connectivity loss happens ?
I just do not understand what you are talking about.
Regards,
Clemens
04-03-2011 1:28 PM
Hello Clemens,
Connectivity loss means user works on this packing module in plant area (i.e. remote connection through internet) and often loose connectivity with application server in between the a particular task.
On save the module performs following task:
1. Material Document Post (Summed up HU items).
2. HU02 - Packing of Handling Units.
3. Updation of indicators i.e. GR Post and HU Post indicator in Z table.
So, worried about if system crashes or loss of connectivity with application server happens in between these 3 tasks, there is no way to trace out if material document gets posted and Z table is not updated with GR Post indicator.
Please revert,
Regards,
Praveen Lobo
04-03-2011 2:39 PM
Hi Praveen,
if the 3 steps in save task are done in one process (update task), the system will complete all of them or none. The SAVE task will probably not need connect to the remote user.
Regards,
Clemens
04-04-2011 6:25 AM
Hello Clemens,
Thanks for the reply, i think update task will work only on database update statements, the 1st and 2nd step (BDC's) will not roll back if Z table not able to update the posting indicators.
Please suggest.
Regards,
Praveen Lobo