SAP Message TW633 - Disconnected from database

Diagnosis
R3trans could not logon to the database.

System Response
R3trans is cancelled.

Procedure
Check the SQL Code and eliminate the cause.
In most cases the environment variables are incorrectly set.