hello,
this problem occured when output is processed immediately on save.
Create a Function Module with RCF call enabled, and call it on Backgroud task:
CALL FUNCTION 'TH_IN_UPDATE_TASK'
IMPORTING
in_update_task = w_task.
IF w_task <> 0.
CALL FUNCTION'ZRFC_FCT_ON_OUTPUT'
IN BACKGROUND TASK
EXPORTING
IS_NAST = NAST.
ENDIF.