Skip to Content

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 10, 2017 at 03:39 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 10, 2017 at 09:21 PM

    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

    Add comment
    10|10000 characters needed characters exceeded