Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BDC & Ztable Updation Sync

Former Member
0 Kudos

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

4 REPLIES 4

Clemenss
Active Contributor
0 Kudos

Hi Lobo,

can you explain in more detail connectivity loss happens ?

I just do not understand what you are talking about.

Regards,

Clemens

Former Member
0 Kudos

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

Clemenss
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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