SAP Module Pool Program Learning Documentation——Commit Work and Update dtab
Posted Ericwonne
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SAP Module Pool Program Learning Documentation——Commit Work and Update dtab相关的知识,希望对你有一定的参考价值。
When using Native SQL to directly manipulate database tables, it makes a difference to use COMMIT WORK key words compared to not using.
If we updated the database in program by statement like INSERT or MODIFY, etc., the changes made to the database table will merely be temporarily affected if your program logic flow later occurs an E message or corruption. It means those changes will not be applied if your program later meets an error. This is because that we have not used the key word COMMIT WORK, which implement the changes we‘ve done to the database table immediately and then even if your program later comes across an error, the changes won‘t be rollbacked.
KISS: Keep it short and simple (or Business Version: Keep it simple and stupid).
Do more, Fancy Less.
以上是关于SAP Module Pool Program Learning Documentation——Commit Work and Update dtab的主要内容,如果未能解决你的问题,请参考以下文章
SAP Hybris的类型系统更改和ABAP的LOAD_PROGRAM_TABLE_MISMATCH
systemverilog中module与program的区别