cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CPS return code mapping

former_member1244799
Participant
0 Kudos

Hi All,

Can you please clarify the below query.

How can I force all SAP jobs into 'Completed' which are running on ECC process server for the return codes '0-4' for  whatever is the message class, message number and message type.


Thank you in advance.


Regards,
Ramana

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Thank you Gerben for your time and reply . Will try this .

Regards,

Aparna

0 Kudos

Hi Gerben ,

if we add ProcessServerParameter SAP_IgnoreApplicationReturnCode with value true on a process server leavel , will it ignore all the error codes ? i have an issue with error 4 for the child jobs (ccms) . Can we only ignore the return code 4 for the child jobs .

Regards,

Aparna

gmblom
Active Contributor
0 Kudos

Hello,

Error in SAP will still be Error. However, return code 4 is mapped to Completed in SAP.

Alternatively, you can make a duplicate of SAP_CcmsJob and add the ignore application return code parameter. Then add parameter CCMS_DEFINITION on the parent definition with the name of your new CcmsJob definition.

Regards Gerben

Former Member
0 Kudos

Hi Ramana,

In Job definition under return code mapping to completed field set it as 0-0004 (if you want to accept return code till 4) this can be extended to any number if you want 0-0008(accepted from 0-8)

If you want to accept only 0 and 4 you can say as 0, 4

If you want to accept only 0 and 8 you can say as 0, 8

This mark the job as completed if the return falls under this.

Please mark as answer if this answers your question

Regards,

Ravindranath Reddy

former_member1244799
Participant
0 Kudos

Hi Ravi,

Thank you so much. Instead of specifying return code mapping parameter for each and every SAP job, is there any other way it can be done so that changing at one place will effect for all the ECC jobs running on ECC process server. Please advise.

Regards,

Ramana

gmblom
Active Contributor
0 Kudos

Add ProcessServerParameter SAP_IgnoreApplicationReturnCode with value true.

Regards Gerben