Skip to content

Transaction commit behaviour of direct client #286

Answered by bsrdjan
sharangthorat asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @sharangthorat,

As per my understanding node_rfc by default is statefull client. However it needs explicit BAPI_TRANSACTION_COMMIT on same connection for data to get committed in SAP.

I am not sure if BAPI_TRANSACTION_COMMIT is indeed required for BAPI_MATERIAL_SAVEREPLICA. It is not mentioned in BAPI_MATERIAL_SAVEREPLICA documentation and in any case node-rfc does not add (or take) anything to its logic. The node-rfc behaves exactly as ABAP client and if explicit COMMIT not needed in ABAP, the same is with node-rfc.

I would suggest to post the question in SAP Community, if explicit COMMIT BAPI is required for BAPI_MATERIAL_SAVEREPLICA, how to do rollback etc, see https://answers.…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bsrdjan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants