on 2024 Sep 13 1:01 PM
Hello,
I have a requirement where i have to continue batch job even after error and the job should not cancel and the message should appear as error not like information or warning in the job log.
Request clarification before answering.
Hello,
I have resolved the issue by writing the below logic.
if delivery contains an errors and sy-batch = 'X'. "ct_finchdel (IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_FINAL_CHECK)
Note: Ct_finchdel contains custom errors which is populated at (IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_FINAL_CHECK)
DELETE ct_vbuk WHERE vbeln = <lfs_likp>-vbeln. "$ 1 entry
DELETE ct_vbup WHERE vbeln = <lfs_likp>-vbeln. "$ 1 entry
* clearing Update indicator so that delivery cannot be created and deleting the temp delivery no. so that delivery no. should not be assigned
CLEAR: <lfs_likp>-updkz, <lfs_likp>-vbeln.
* Deleting the entries from VBPA
CLEAR: ct_vbpa, ct_vbuv.
* Set the UPDKZ as D for the entries with VBELN as "$ 1" in the ct_lips and ct_vbfa
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
30 | |
10 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.