sapdev logo background
sapdev logo sapdev logo
Comments

ABAP COMMIT ROLLBACK CONNECTION Statement syntax, information and example SAP source code



Return to Statement index



COMMIT, ROLLBACK CONNECTION

Short Reference

ABAP Syntax COMMIT|ROLLBACK CONNECTION con.

What does it do? This COMMIT or ROLLBACK command applied to the secondary database connection specifed in con triggers a database commit or rollback. con is the name of the database connection as specified in the table
DBCON in the column CON_NAME . The con database connection can also be specified dynamically in the (source_text)
form, where the source_text field contains the name of the database connection. The source_text field must be of the type c or string .

The database commit has the following effects on the specified secondary database connection:
all open database cursors are closed ( OPEN CURSOR )
all database locks are released.
The COMMIT CONNECTION and ROLLBACK CONNECTION statements do not close the current SAP LUW .

Latest notes: Note that the COMMIT CONNECTION DEFAULT statement performs a pure database commit on the DEFAULT connection, unlike the COMMIT WORK statement.
Entries in the DBCON database tables can only be created or changed using the DBA Cockpit tool.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




COMMIT
COMMUNICATION




comments powered by Disqus