cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to ignore Return Code/Errors in Child Processes in Redwood BPA?

Dallas1
Explorer
0 Kudos

Hi,

In this situation, one ABAP job submits two other jobs within the SAP system, and CPS uses parent-child functionality to monitor both jobs. The child jobs end in error, because they have messages of type E, and and with a return code of 4. The parent job has "IGNORE_APPL_RC" set to "Y", but the child jobs once they run have that as "N", so the value is not being propagated to the child jobs. Additionally, I've tried adding Return Code Mapping for the error messages in the child jobs, but this is not fixing the issue.

Any suggestions to prevent these jobs from ending in error status?

Accepted Solutions (0)

Answers (2)

Answers (2)

Dallas1
Explorer
0 Kudos

Hi Nanda,

Yes, the parent job ends up in error. We have BPA set up to send an email to our support group when ever a batch job fails, so we get emails every time this occurs.

Unfortunately, asking the developer to change the message types would not work, as this is an SAP delivered program.

Dallas

nanda_kumar21
Active Contributor
0 Kudos

Is your parent job in CPS/BPS getting failed because of this?

The child jobs are spawned in SAP and CPS comes to know only after they have started in SAP. So, I don't think BPA can control on how the reporting is done. You might want to create a incident with SAP.

On the other hand, (I have done this at my client), can you request the developer to use message type "Information (I)" instead of "Error(E)" because that will save you time now and also all future jobs the developer is going to create.

thanks

Nanda