Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

ABAPCOMMIT_ROLLBACK_CONNECTION_INT - COMMIT ROLLBACK CONNECTION INT

ABAPCOMMIT_ROLLBACK_CONNECTION_INT - COMMIT ROLLBACK CONNECTION INT

CPI1466 during Backup   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

COMMIT, ROLLBACK CONNECTION

These additions are for internal use only.
Do not use them in aplplication programs.


Short Reference



Syntax

COMMIT|ROLLBACK CONNECTION con.

Effect

The command COMMIT or ROLLBACK is not performed on the standard database, it is only carried out on the secondary database connection specified using con. con is the name of the database connection as it is specified in the DBCON table in the CON_NAME column. The con database connection can also be specified dynamically in the (source_text) form, whereby the source_text field contains the name of the database connection. The source_text field must be of the type s or string.

The database commit has the following effects on the specified secondary database connection:

  1. all open database cursors are closed (OPEN CURSOR)
  2. all database locks are released.

The COMMIT CONNECTION and ROLLBACK CONNECTION statements do not close the current SAP LUW.

Note

Note that the COMMIT CONNECTION DEFAULT statement carries out a pure database commit on the DEFAULT connection, unlike the COMMIT WORK statement.






BAL_S_LOG - Application Log: Log header data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2140 Date: 20221127 Time: 022325     sap01-206 ( 35 ms )