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

Rollback work in BDC

Former Member
0 Likes
2,039

how can we rollback work after a call transaction?

1 ACCEPTED SOLUTION
Read only

sridhar_k1
Active Contributor
0 Likes
1,340

It's not possible to rollback after successful call transaction of SAP standard transaction. Because the transaction issues a commit work.

If this requirement is for executing the BDC in test mode, do not use save ok_code in the bdc table, instead exit ok_code and check the message table for any errors.

Regards

Sridhar

Message was edited by: Sridhar K

It's not possible to rollback after successful call transaction of SAP standard transaction. Because the transaction issues a commit work.

If this requirement is for executing the BDC in test mode, do not use save ok_code in the bdc table, instead exit ok_code and check the message table for any errors.

Regards

Sridhar

Message was edited by: Sridhar K

7 REPLIES 7
Read only

sridhar_k1
Active Contributor
0 Likes
1,341

It's not possible to rollback after successful call transaction of SAP standard transaction. Because the transaction issues a commit work.

If this requirement is for executing the BDC in test mode, do not use save ok_code in the bdc table, instead exit ok_code and check the message table for any errors.

Regards

Sridhar

Message was edited by: Sridhar K

Read only

0 Likes
1,340

KE,

Get out of the BDC business. SAP has.

Use BAPIs.

It eliminates upgrade issues as screens change from version to version.

Read only

Former Member
0 Likes
1,340

i understand that the call transaction does the commit implicitly. so there is no way for the roll back. I was looking for a work around to check the file for errors in test mode. So if i have to do a test run on the input file then i need to do checks explicitly by coding. Just wanted to confirm this. As with some bapi's we can do the check and rollback - its not possible after call transaction in BDC?

Read only

0 Likes
1,340

There is no way to complete your needs with BDC.

Bear in mind as well, that when you run in test mode and it passes or fails... they might not be the case when you actually run the same data set "live."

Read only

Former Member
0 Likes
1,340

Hi John our system does not have a BAPI for rebates as i see in the forum that a BAPI_AGREEMENTS is available but could not find a bapi in out system.

Read only

Former Member
0 Likes
1,340

thanks guys. Appreciate your answers

Read only

0 Likes
1,340

Don't forget to award those points.