`
JavaFans
  • 浏览: 87356 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

ABAP里面的Sleep函数

UP 
阅读更多

wait up to 42 seconds.
  • Does a roll-out and releases the work process to the listener
  • Does an implicit Database commit

Use when CPU processes are at a premium and when the implicit commit will not corrupt your data or cause a short dump because of an open database cursor.

    CALL FUNCTION 'ENQUE_SLEEP'
      EXPORTING
        seconds              = 42.
  • Does not release the work process
  • Does not cause an implicit Database commit

Use when you cannot afford an implicit commit, and the system can handle the work process(es) being tied up for the duration of the SLEEP command.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics