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.
  • 相关阅读:
    VC CComboBox用法总结
    WideCharToMultiByte和MultiByteToWideChar函数的用法
    JavaScript
    标题:外星日历
    C语言顺序栈
    C语言循环队列
    每日一题
    标题:李白打酒
    标题:分数
    标题:复数幂
  • 原文地址:https://www.cnblogs.com/ruingy/p/3594717.html
Copyright © 2011-2022 走看看