[Description]
Doing transAction control, especially abort, inside a cursor loop that is not read-only, for example using UPDATE RETURNING, has weird semantics issues.
[System Processing]
Processing will be aborted.
[Action]
Check the message text and confirm that the application is written correctly and the command is being used correctly.