cancel
Showing results for 
Search instead for 
Did you mean: 

RFC

Former Member
0 Kudos

Hi,

can any body give me an idea of implicit commit and explicit commit.

we need to post a transaction using RFC How would u accomplish this

(a) async BAPI with implicit commit

(b) async BAPI with explicit commit

Thx in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kobby,

The newer BAPI's work with explicit commit which means that the BAPI call must be followed by a call to BAPI_TRANSACTION_COMMIT within the same RFC session.

>><i>we need to post a transaction using RFC How would u accomplish this

(a) async BAPI with implicit commit</i>

To accomplish this the BAPI should be able to call the BAPI_TRANSACTION_COMMIT itself . The advanced settings in the RFC adapter can also be used to COMMIT the bapi within the same RFC Session.

>><i>(b) async BAPI with explicit commit</i>

To accomplish this you need to create a BAPI wrapper which calls the BAPI and subsequently calls the BAPI_TRANSACTION_COMMIT and explicitly commits the BAPI. For more details on BAPI wrappers follow this link

/people/vivek.joshi/blog/2006/12/26/dos-and-donts-for-perfect-bapi-wrappers

Further read some weblogs on BAPI's

/people/swaroopa.vishwanath/blog/2005/03/11/rfc-migration-to-bapi-in-r3--step-by-step

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In the RFC Adapter RCV Configuration you have an advanced section where you can chose to send the the CONFIRM Transaction or not for your BAPI. I think then you can control it from XI rather than coding it in the BAPI.

Thanks

Ashish

Former Member
0 Kudos

Hi Kobby,

I think the implicit commit is the one in whch the BAPI itself has the logic to commit the transaction whereas, some BAPIs doesnt hv this logic, so u hv create a wrapper RFC in which u will call the main BAPI followed by the bapi BAPI_TRANSACTION_COMMIT. This is called explicit commit.

Regards,

Akshay