Application Development and Automation 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: 
Read only

Update delay simulating

Former Member
0 Likes
506

Hello all,

we have the following situation. From the repair order a service order is created. As per standard SAP u can configure the service order is released during it's creation. But due to certain reasons we are not using the SAP provided configuration for auto release. Instead we have recorded a BDC so that if a certain condition is met the service order will be released. Now the problem is that this BDC is running even before the service order creation is complete. Sometimes the complete updation of the service order in the database is not yet complete. Meanwhile this service order is being tried to be released. This is causing a failure and hence the service order is left unreleased.

Now, we are trying to fix this situation. But my problem is that how can I test this? How will I know if my solution has fixed the problem? How can I simulate such update delays?

Eagerly awaiting answers.

thanks

Bala

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
451

hi

this may happen due to that same time u r trying to update fields which are in same table that first update happened and second update not happened due to transaction commit.

Use

wait upto 5 sec.

after first update then

commit work.

then second update.

Hope now u got the problem.

mark points if helpful.

regs

Manas Ranjan Panda

2 REPLIES 2
Read only

Former Member
0 Likes
452

hi

this may happen due to that same time u r trying to update fields which are in same table that first update happened and second update not happened due to transaction commit.

Use

wait upto 5 sec.

after first update then

commit work.

then second update.

Hope now u got the problem.

mark points if helpful.

regs

Manas Ranjan Panda

Read only

0 Likes
451

Hi

we are doing just this. What I would like to know is how I can simulate the delay in updation so that i can be sure this is working as desired.

thanks

Bala