Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Facing problem in call function starting new task taskname

Hi all,

when i call a function module using starting new task, it is failing with sy-subrc 3. can anyone guide me in this.

see the code :

DATA lv_taskname(7) TYPE c VALUE 'PEM_EXE'.

CALL FUNCTION 'PEM_SCHEDULE' STARTING NEW TASK lv_taskname

EXPORTING

iv_packid = gv_packid

iv_pebid = ls_alv_out-peb_id

EXCEPTIONS

invalid_state_request = 1

database_error = 2

OTHERS = 3.

Thanks in advance.

Best Regards,

Prashant

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question