PERFORM - ON
Registered subroutines cannot have any parameter interface. Therefore, data can only be passed through external interfaces - for example, the ABAP meory. Subroutines that are executed in COMMIT WORK or ROLLBACK WORK are thus more suitable for management tasks, such as cleanup work at the end of a SAP-LUW, than for database changes.
During processing of a registered subroutine after COMMIT WORK or ROLLBACK WORK, the statements PERFORM ... ON COMMIT, PERFORM ... ON ROLLBACK, COMMIT WORK, or ROLLBACK WORK must not be executed.
During the processing of a registered subroutine after COMMIT WORK using CALL FUNCTION ... IN UPDATE TASK, registered booking function modules are still registered for the current SAP-LUW.
PERFORM - ON 的注意点
最新推荐文章于 2024-12-02 12:06:58 发布
本文探讨了ABAP中注册子例程的使用限制,包括不能拥有参数接口,只能通过外部接口传递数据。这类子例程更适合用于管理任务而非数据库变更操作,并详细解释了在COMMITWORK或ROLLBACKWORK后的处理限制。
5991

被折叠的 条评论
为什么被折叠?



