cancel
Showing results for 
Search instead for 
Did you mean: 

job failing in CPS

Former Member
0 Kudos

Hi,

Some of our jobs are failing in CPS, but successful when manually run in target system. Logs are not showing in target system as well.

We have tried re-importing the jobs but till failing. Pls advise, thanks.

- angelo

Accepted Solutions (0)

Answers (1)

Answers (1)

gmblom
Active Contributor
0 Kudos

Hello,

What kind of messages are shown with the erroneous jobs?

Regards Gerben

Former Member
0 Kudos

Hi Gerben,

Unfortunately, the failed jobs do not appear in the target system. But in CPS, the operator messages showed as below:

"Job 475905 aborted due to at least one error while running jobs in step: Job 475906"

Only this particular job is failing in CPS and there was no change done. It is running successfully in the target system.

Regards,

Angelo

gmblom
Active Contributor
0 Kudos

Hello Angelo,

If you expand the chain, try to find the lowest level process and have a look at the output from that job.

Regards Gerben

Former Member
0 Kudos

Hi Gerben,

I can see the message below from the log. Just to inform you that we are only using the free version of CPS. You can check below and interpret what this means. Thanks a lot.

com.redwood.scheduler.connector.sap.rfc.connection.exception.SapBapiException: BAPI exception while calling BAPI_XBP_JOB_CLOSE: E XM 237 Receiver object could not be created

BAPI exception while calling BAPI_XBP_JOB_CLOSE: E XM 237 Receiver object could not be created [BAPI_XBP_JOB_CLOSE, No address exists, , ]

Parameters:

  Cronacle

  03394100

  TGIM10 IN:T029 BRANCH_ORDERS

  RECIPIENT

  RECIPIENT_OBJ

 

at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.checkBapiReturnCode(ClientConnectionImpl.java:727)

at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.ClientConnectionImpl.call(ClientConnectionImpl.java:533)

at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection$4.doPerform(AbstractRfcConnection.java:310)

at com.redwood.scheduler.connector.sap.rfc.connection.RemoteFunctionCall.perform(RemoteFunctionCall.java:149)

at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection.perform(AbstractRfcConnection.java:481)

at com.redwood.scheduler.connector.sap.rfc.connection.AbstractRfcConnection.execute(AbstractRfcConnection.java:303)

at com.redwood.scheduler.connector.sap.rfc.jco2.connection.impl.SapFunctionModuleWrapper.execute(SapFunctionModuleWrapper.java:200)

at com.redwood.scheduler.connector.sap.rfc.jco.AbstractSapFunctionModule.execute(AbstractSapFunctionModule.java:109)

at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpJobRunCommand.execute(AbstractXbpJobRunCommand.java:292)

at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpCommand.doExecute(AbstractXbpCommand.java:84)

at com.redwood.scheduler.connector.sap.rfc.command.AbstractCommand.execute(AbstractCommand.java:57)

at com.redwood.scheduler.connector.sap.rfc.service.operation.RunJobOperation.doWork(RunJobOperation.java:136)

at com.redwood.scheduler.connector.sap.rfc.service.SapJobWork.doWork(SapJobWork.java:38)

at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:76)

at java.lang.Thread.run(Thread.java:713)

gmblom
Active Contributor
0 Kudos

Hello,

It looks like you have a spool recipient specified on the job for which no address can be found in SAP.

Regards Gerben

Former Member
0 Kudos

Hi,

Yup. We are looking into that. We'll try to specify a DL.

We'll see what happens. Thanks a lot for your help. Appreciate it.

Former Member
0 Kudos

Hi Angelo,

Did it fix the problem? We are running into same error while running a job in CPS.

Thanks!

Former Member
0 Kudos

Hi Garima,

Our log indicated some missing DL's as recipients of the job spools. We re-created the DL's and attached them to the jobs, then re-imported the jobs. Now, the jobs are getting successful in CPS.