Oracle Solution for Error ora-01725

Solution for Oracle Error ORA-01725

ORA-01725: USERENV('COMMITSCN') not allowed here

What triggered the Error:

The function USERNEV('COMMMITSCN') is only allowed as a top-level expression in the VALUES clause of an INSERT statements, and on the right hand side of an assignment in an UPDATE statement.

What should we do to fix it:

Correct the use of the function.