I have given an answer which possibly fits the question, I can't image all scenarios that could be behind the question! ![]()
I don't know whether the program is custom or standard. I don't know whether the COMMIT is done by the standard or not. I don't know whether the OP wants to run update function modules with the commit, etc.