Quantcast
Channel: SCN: Message List - SAP Business Process Automation by Redwood
Viewing all 2607 articles
Browse latest View live

Re: Email notification

$
0
0

Hello,

 

There are some restrictions to triggers. One of them is that they do not fire for all statuses. As Console is not a final status, the post running trigger does not fire.

If you want to setup a proper notification system use the module.

 

Regards Gerben


Searching: Guide for scheduling jobs with Redwood scripting

$
0
0

Hello,

 

I search for a good guide to scheduling Jobs in SAP CPS with Redwood Scripting, because I starts with this Topic.

 

Do somebody know a good guide and can tell me, where I can download it?

 

Best Regards,

Jan

JCS-108002: The specified process file (ID: 78,964,809) cannot be retrieved. The file seems to be missing.

$
0
0

Hi,

 

We receive error "JCS-108002: The specified process file (ID: 78,964,809) cannot be retrieved. The file seems to be missing."

 

The file is not available on OS-level.

 

Several jobs are currently stuck in status Post Running.

 

We´re running BPA 9.0.13.1, clustered.

 

Any ideas?

Scheduled Job List download in CPS Redwood

$
0
0

Hello ,

 

I am new to REDWOOD CPS (Build : M33.104-74500). Our SAP ECC , BW , GRC Systems are connected to SAP REDWOOD CPS where all the batch jobs gets triggered from CPS to SAP System.  I want download a list of batch jobs which are scheduled (all Periodic jobs) . I want to down load the  batch job name and Frequency. Can any one help me out how can i achieve this or any Report that would generating this list.

 

 

 

Thanks in Advance!

 

Regards,

Krishna

Re: Scheduled Job List download in CPS Redwood

$
0
0

Please use the attached script.

 

Thanks,

Tinku

Re: Searching: Guide for scheduling jobs with Redwood scripting

$
0
0

Hello,

 

The online help contains some samples to submit jobs. Have a look at those.

 

Regards Gerben

Re: How to use Raise / Wait events in SAP CPS job chain (not in single job definition)

$
0
0

Hello Shiva,

 

I do not quite understand the question. What are you trying to do? Why would you submit a wait event for step B and a raise event after step C? The events are already on the chain level right?

You can always clear the event on the wait event side by selecting the clear event flag.

Or you can use System_RaiseClearEvent to clear it, but you can also use it to raise an event.

 

Regards Gerben

Re: JCS-108002: The specified process file (ID: 78,964,809) cannot be retrieved. The file seems to be missing.

$
0
0

Hello,

 

What kind of jobs are these? SAP jobs? Do you have a post running trigger? That reads the job file?

Did you have a failover in the cluster over the runtime of the job? Is the file available on the other cluster node?

 

Regards Gerben


Re: Scheduled Job List download in CPS Redwood

$
0
0

Hello Tinku ,

 

May i know the steps how to run.

 

I have tried to run by creating a new job by selecting redwood script under job Definitions and it failed with error.

 

-- JOB RUN STACK TRACE --

com.redwood.scheduler.script.api.ScriptEngineEvaluationException

at com.redwood.scheduler.script.java.impl.Java.evaluate(Java.java:87)

at com.redwood.scheduler.scriptjobservice.impl.ScriptJob.execute(ScriptJob.java:138)

at com.redwood.scheduler.systemjobservice.impl.JobWorker.doWork(JobWorker.java:253)

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

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

Caused by: com.redwood.scheduler.script.api.ScriptEngineEvaluationException

at com.redwood.scheduler.script.java.impl.Java.evaluateJava(Java.java:147)

at com.redwood.scheduler.script.java.impl.Java.access$0(Java.java:134)

at com.redwood.scheduler.script.java.impl.Java$1.call(Java.java:80)

at com.redwood.scheduler.script.java.impl.Java.evaluateCallable(Java.java:115)

at com.redwood.scheduler.script.java.impl.Java.evaluate(Java.java:74)

... 4 more

Caused by: com.redwood.scheduler.infrastructure.exception.ReplacementException

at com.redwood.scheduler.infrastructure.util.ExceptionUtil.wrap(ExceptionUtil.java:236)

... 9 more

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.redwood.scheduler.script.java.impl.Java.evaluateJava(Java.java:143)

... 8 more

Caused by: java.lang.NullPointerException: while trying to invoke the method com.redwood.scheduler.api.model.Queue.getName() of a null object returned from com.redwood.scheduler.api.model.JobDefinition.getDefaultQueue()

at com.redwood.scheduler.custom.JOB_LIST_DOWNLOADshowChain(JOB_LIST_DOWNLOAD.java:user code 187)

at com.redwood.scheduler.custom.JOB_LIST_DOWNLOADlistChain(JOB_LIST_DOWNLOAD.java:user code 72)

at com.redwood.scheduler.custom.JOB_LIST_DOWNLOADexecute(JOB_LIST_DOWNLOAD.java:user code 19)

at com.redwood.scheduler.custom.JOB_LIST_DOWNLOADStub.jcsExecute(JOB_LIST_DOWNLOADStub.java:28)

... 13 more

Re: Scheduled Job List download in CPS Redwood

$
0
0

Hi Krishna Kumar,

 

If you are comfortable with the reports then please follow below steps to get the list of scheduled jobs.

 

Step 1: On left hand side select Definitions in that select "Reports".

IMG1.jpg

Step 2: Then right click and select new report.

IMG2.jpg

Step 3: Then in first tab provide basic info like name to report and description and in Query select option Object Definition Query: select * from Job;

IMG3.jpg

Step 4: Then select Columns tab and create the below column by clicking Add button.

               Column1: Name

               Column2: Status

               Column3: Submit Frame

               Column4: Date

 

IMG4.jpg

 

As mentioned in Above screenshot give below Field value to column

Name--> JobDefinition

Status-->Status

Submit Frame-->SubmitFrame

Date-->ScheduledStartTime

 

Also do not forget to give Column Order in incremental order and please do not duplicate the order number.

 

Step 5: Then please select the Selection Tab and add selection criteria as below.

Left Report Column : Status

Operation: Equal To

Column: Select Value Option--> Scheduled

IMG5.jpg

 

Step 6: Then save the report. Or you can see the Preview by clicking Report Preview Tab.

 

Step 7: Then right click the report and Select Submit or you can create the New Job Definition if you require this to run again and every time you run the job definition you can get the out put as list of scheduled jobs.

 

IMG6.jpg

 

Hope this will help you.

 

Regards,

Amarjeet Kamble

Re: Scheduled Job List download in CPS Redwood

$
0
0

Hi Krishna,

 

Amarjeet suggested an easiest way to do it.

If you want to use the script, then make sure you have defined queue for the job 'JOB_LIST_DOWNLOAD'. A null value is getting returned when trying to read the queue name for this job. If you don't want the queue name to be listed, then you can remove the queue column from the script and re-run it again.

 

 

Thanks,

Tinku

Re: How to trigger monthly chain off of daily chain in SAP Redwood.

$
0
0

If CH03 fails for some reason, how can we re-open TimeWindow, or what would be solution at that circumstance?

 

Tahir

Re: Preventing jobs from over running in SAP CPS

$
0
0

Hi Nanda,

 

Is it possible to notify long running job through event using the runtime limits?

Re: JCS-108002: The specified process file (ID: 78,964,809) cannot be retrieved. The file seems to be missing.

$
0
0

These are SAP jobs, they have no triggers. The file is not available on any of our two servers.

 

We also get a another error message in our logs:

 

 

JCS-111003: No running ProcessServer service with unique id of 979,111.

SAP CPS: Process return code 2 and or 4 in process/job chain step?

$
0
0

Hello CPS experts,

 

we are using SAP CPS (build M33.87-66904).

We are having a SAP batch job, that ends sometimes with Return Code 2, sometimes with Return Code 4.

How can I process both return codes in a process/job chains step?

 

Thanks for your help.

 

Best regards

 

 

 

Carlos Behlau


Re: SAP CPS: Process return code 2 and or 4 in process/job chain step?

$
0
0

Hello,

 

What is it that you want to handle? If you want to ignore the return code and just synchronize the SM37 status set the ignore application return code parameter to Y.

 

Regards Gerben

Re: JCS-108002: The specified process file (ID: 78,964,809) cannot be retrieved. The file seems to be missing.

$
0
0

Hi Jonas,

 

So probably your using the services which is not located in your process servers. Please check your process server setting are using correct setting.

 

Regards,

Abhishek

Re: Preventing jobs from over running in SAP CPS

$
0
0

Hi,

 

Yes, you can notify through events by setting Max Run time limits in Run time tab by calling an event.

 

Regards,

Abhishek

Re: How to trigger monthly chain off of daily chain in SAP Redwood.

$
0
0

Hi Tahir,

 

It's all depend on your requirement, as your setting the time window on Chain level so u can re-trigger the jobs. If the CH03 fail, you set to re run the jobs..I dont think you require to re open the time window making it complex.. just trigger an event to re run the same job chain CH03 (first try to process the CH03 with in chain, i think it will work or use the event to re trigger it)

 

Pl. let me know what r the possible solution are you looking for.

 

Regards,

Abhishek

Re: SAP CPS: Process return code 2 and or 4 in process/job chain step?

$
0
0

Hello Gerben,

 

thanks a lot for your help.

 

I am going to check this out and let you know asap.

 

Best regards

 

 

 

Carlos Behlau

Viewing all 2607 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>