cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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.

0 Likes
View Entire Topic
turkaj
Active Participant
0 Likes

Hello,

There are various ways to implement the requirement.

Here are some questions regarding this:

  • Are these messages generated by you, i.e., is it Z-Coding?
  • A standard report is being executed:
    • Here, it depends on which report is being executed and to what extent you can intervene.

One possibility is to develop a process around the job:

  • You can run your own tracking job that tracks your job in the background and, for example, continues from where the other job left off. For instance, by restarting the job and continuing the processing from that point.
  • Another possibility is to copy the standard report and adjust it in the Z namespace according to your requirements.

It is crucial to know which job and which report are being executed in the background. Depending on this information, you can implement your solution.

RaviSee
Explorer
0 Likes

Hello Turkaj,

It is a custom error message handled at IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_FINAL_CHECK, but the execution program is RVV50R10C. Please help me how to raise error_message for my issue.

Creating a custom function module with exception error_message and write error message statement inside that function module at IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_FINAL_CHECK will handle the issue?