You can use the TRANSACTION function to determine whether a database transaction is active in a procedure. The TRANSACTION function can help you identify the transaction and subtransaction blocks within a procedure.
You can get more information about database transaction activity by using the LISTING option on the COMPILE statement. See OpenEdge Development: ABL Reference for more information on the COMPILE statement and the TRANSACTION function.