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

BDC-Roll back

Former Member
0 Likes
780

Can we rollback the changes in database by BDC call transaction (sychronous) method (using rollback statement)?

Misha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
568

Hi Misha,

it is not possible in bdc but you can have one more option in indirectly

keep one check box in selection-screen,like test mode

when you click test mode then do not use save ok_code ( It works like Roll back )

if you use call transaction ,then if you use update mode is Synchronous ,it works like committ work.

Regards

Kiran Sure

3 REPLIES 3
Read only

Former Member
0 Likes
568

no its not possible. Because the values updated by Call transaction will follow an automatic commit work.

hence once values get commit u cannot rollback.

Reward if useful............

Read only

Former Member
0 Likes
568

hi,

we cannot delete the data from the database once it has been uploaded through BDC not even by using rollback statement. If you want to delete the records from database then either you have to delete the records fom that table's view or you can write a piece of code to delete the required records.

Regards,

N.jain

Read only

Former Member
0 Likes
569

Hi Misha,

it is not possible in bdc but you can have one more option in indirectly

keep one check box in selection-screen,like test mode

when you click test mode then do not use save ok_code ( It works like Roll back )

if you use call transaction ,then if you use update mode is Synchronous ,it works like committ work.

Regards

Kiran Sure