标签:upd mil image hand and name selection 延迟 BMI
延迟调用:
CALL FUNCTION ‘ZFM_UPDATE_QALS‘ IN UPDATE TASK "STARTING NEW TASK l_taskname
TABLES
it_prueflos = lt_prueflos.
DATA: lw_prueflos TYPE zsqm_prueflos .
* WAIT UP TO 3 SECONDS.
LOOP AT it_prueflos INTO lw_prueflos.
UPDATE qals SET zfbbs = ‘Y‘ WHERE prueflos = lw_prueflos-prueflos .
" COMMIT WORK AND WAIT.
WAIT UP TO 1 SECONDS.
ENDLOOP.
异步调用:
DATA l_task TYPE char10.
CLEAR l_task.
CALL FUNCTION ‘ZFM_NEW_TASK‘ STARTING NEW TASK l_task
EXPORTING
code = ‘ZMME103‘
bs = ‘ZGTM_INIT‘.
DATA:valutab LIKE TABLE OF rsparams .
CALL FUNCTION ‘RS_VARIANT_CONTENTS‘
EXPORTING
report = code
variant = bs
TABLES
valutab = valutab
EXCEPTIONS
variant_non_existent = 1
variant_obsolete = 2
OTHERS = 3.
IF sy-subrc <> 0.
* Implement suitable error handling here
EXIT.
ENDIF.
SUBMIT (code) USING SELECTION-SET bs
AND RETURN .
标签:upd mil image hand and name selection 延迟 BMI
原文地址:https://www.cnblogs.com/lingxiaoj/p/12023592.html