on 12-16-2021 2:12 PM
Hello Guys,
I have the following request:
Upload excel file, extract data and then change or create external service lines for Tasklist's operations (control key PM03).
First call lo_eam_tasklist->refresh_buffer.
Then call EAM_TASKLIST_CHANGE and it is called with a success message that the task is updated successfully.
CALL FUNCTION 'EAM_TASKLIST_CHANGE'
EXPORTING
iv_plnty = gs_import-plnty
iv_plnnr = gs_import-plnnr
iv_date = sy-datum
TABLES
it_spack_lines_ins = gs_import-spack_lines_ins
it_spack_lines_upd = gs_import-spack_lines_upd
it_spack_lines_updx = gs_import-spack_lines_updx
et_return = lt_return.
Next, EAM_TASKLIST_POST is called where the issue occurs in the return table: OPERATION XXXX REQUIRES A SERVICE.
lo_tl_operation->check_before_save of class ‘cl_eam_tl_opr’, and then it calls method ‘CHECK_BEFORE_SAVE’ of the same class.
In that spot
It loops for all the operations (The operations included are all the operations for every Group Counter of the group).
For the first one, it passes without any issue.
The second time
😧 CM_EAM_TL_API
Number: 134
If it finds one operation that does not have packno, even from a different Group Counter, it terminates the post.
Has anyone ever faced this issue?
Thank you,
Best Regards.
User | Count |
---|---|
90 | |
9 | |
6 | |
6 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.