SAP SET UPDATE TASK LOCAL

SET UPDATE TASK LOCAL命令用于开启局部更新,使得高优先级的更新功能模块在当前SAP工作区内直接保存到ABAP内存,而非数据库表。COMMIT WORK时,这些模块立即在当前工作进程内同步更新。每个SAP工作开始时,局部更新默认关闭,如需使用,必须在注册第一个更新模块前激活。如果局部更新期间发生数据库回滚,所有先前的变更请求都会受到影响。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

SET UPDATE TASK LOCAL

Effect

This statement switches the local update on. The local update saves update function modules with high priority registered in CALL FUNCTION … IN UPDATE TASK in the current SAP LUW to the ABAP memory instead of to the database tables VB… When the statement COMMIT WORK is executed, it saves the function modules immediately in the current work process and within the current database LUW. This statement has no effect on low-priority update function modules.

At the beginning of every SAP LUW, the local update function is deactivated. If required, it must be activated again before the first update function module is registered.

System Fields

sy-subrc Meaning
0 The local update function is activated.
1 The local update function has not been activated, because the program has already registered at least one update function module for the normal updating procedure in the current SAP LUW.

Notes

The local update function performs a synchronous update after the COMMIT WORK statement, independently of the addition AND WAIT.

If a database rollback occurs during the local update, then all previous change requests are affected.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

令狐九剑

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值