cancel
Showing results for 
Search instead for 
Did you mean: 

Import Existing jobs into cps redwood ?

Former Member
0 Kudos

Hi All,

We have configured CPS redwood and able to schedule jobs successfully, but how can we import existing jobs in backend system to cps redwood.

Regards,

Videesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can use IMPORT job - system_ImportCCMSJobs, job should be existing in SAP, just input the parameter name. You have options below to consider which probably is the only thing useful.

1. Generate job definition per step - if job contains more than 1 step, this option will create a job definition for each step (program/variant) and will call it as a step within the generated job chain... a good thing if you need adhoc runs for individual steps.

2. Else it will only generate a job chain definition using sapabapprintext per step.


let me know what else you need regards to this


THanks

Former Member
0 Kudos
Former Member
0 Kudos

Hi Chinna,

I referred above links, but I am able to schedule standard job from cps redwood i.e SAP_IMPORTCCMSJOBS but getting the following error from stdout.log. Please find

Import Failed

BAPI exception while calling BAPI_XBP_JOB_SELECT: E XM 057 No job was found that corresponds to the specification [BAPI_XBP_JOB_SELECT, , , ]

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

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

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

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

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

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

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

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

at com.redwood.scheduler.connector.sap.rfc.job.util.CcmsJobFinder.findMatchingJobs(CcmsJobFinder.java:229)

at com.redwood.scheduler.connector.sap.rfc.command.impl.ImportCcmsJobsCommand.execute(ImportCcmsJobsCommand.java:91)

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

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

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

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

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

nanda_kumar21
Active Contributor
0 Kudos

hi Videesh,

What are the parameters you input before running the CCMS import job?

Keep in mind that, this import job just imports the job definition and not the schedule.

For example, the job information like program, variant will be downloaded to Redwood, but information on when the job should run, the frequency of the job are downloaded. You have to manually schedule the jobs.

Or use interception.

Thanks

Nanda