zoukankan      html  css  js  c++  java
  • SET UPDATE TASK LOCAL

    SET

    Effect

    Switches on the local update task. This means that when you specify CALL FUNCTION ... IN UPDATE TASK , the update data is not stored in the database, but in ABAP/4 Memory. The update works as before. The only difference is that it is not performed in a separate process, but in the same process as the calling program, i.e. when a COMMIT WORK occurs, processing does not continue until all the update requests have been performed. In the standard setting, the normal update task is always active.

    The switch status is not passed on from program to program. This means that CALL TRANSACTION and SUBMIT use the standard setting. In contrast to this, a module called with CALL DIALOG inherits the switch setting. This is because CALL TRANSACTION and SUBMIT run in their own LUW, while CALL DIALOG does not.

    The switch setting is ignored in the update.

    On COMMIT WORK and ROLLBACK WORK , the switch is reset.

    Update requests with a delayed start (V2) cannot be processed locally.

    Like in the normal update task, all messages apart from type 'S' result in termination and rollback.

    Note

    Unlike the normal update task, the local update task does not run in its own LUW . If a rollback occurs, any changes made in the dialog part are also reset.

    SY-SUBRC = 1:

    The local update task could not be switched on because a CALL FUNCTION ... IN UPDATE TASK has already been started. The system continues in the normal update mode.

    SET UPDATE TASK LOCAL.
  • 相关阅读:
    c++的socket编程 tcp
    qt下载
    定义数组类型
    虚析构函数
    运算符重载
    友元函数
    const成员函数
    静态成员变量,静态成员函数
    linux安装mysql
    智能指针
  • 原文地址:https://www.cnblogs.com/ruingy/p/3594717.html
Copyright © 2011-2022 走看看