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 Termination

Former Member
0 Likes
555

Hi Gems,

This is an interview question .

what is meant by update terminations? While doing an updation say into R/3 (say with an inbound Idoc ), Does it happen only while doing with BAPI's?

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
528

Usual scenario ,

you are trying to create a sales order via

BDC / IDOC / BAPI

and you get successful message saying 'Sales Order is created ' along with the number . But soon after you receive an email in your SAP Invbox saying 'Update Terminated'.

what happens is that sales order no. is given as soon as the input data passes all validation checks . and finally everything is sent for UPdate Task.

It is there the Update task fails , sometimes due to there is already an existing key in the table which you are trying to create or some other issue. never the less update fails.

Hope this helps.

4 REPLIES 4
Read only

Clemenss
Active Contributor
0 Likes
528

Hi Dan,

UPDATE termination may happen whenever the database update is done in UPDATE TASK.

This has nothingh to do with BAPI or not to BAPI.

Search online help on UPDATE TASK.

Regards,

Clemens

Read only

Former Member
0 Likes
529

Usual scenario ,

you are trying to create a sales order via

BDC / IDOC / BAPI

and you get successful message saying 'Sales Order is created ' along with the number . But soon after you receive an email in your SAP Invbox saying 'Update Terminated'.

what happens is that sales order no. is given as soon as the input data passes all validation checks . and finally everything is sent for UPdate Task.

It is there the Update task fails , sometimes due to there is already an existing key in the table which you are trying to create or some other issue. never the less update fails.

Hope this helps.

Read only

0 Likes
528

Hi Vaibhav & Clemens,

Can an updation fail while unit testing because of conversion errors?

thanks

Dan

Read only

0 Likes
528

Update can fail only when COMMIT WORK happens in UPDATE TASK or otherwise.

If you are unit testing without the COMMIT WORK , you wont get this.