Code Snippet
When you write a reusable code to DB related activities, you should consider checking if the call is made in Update Task or without as they are generally happen in ABAP Update Task. If it is with Update Task, you MUST not do COMMIT or ROLLBACK WORK as it would end in short dump. FM…