Quantcast
Channel: SCN : Popular Discussions - SAP Business Process Automation by Redwood
Viewing all 1466 articles
Browse latest View live

Is there a limit for the number of jobs that can be run using a windows Platform Agent?

$
0
0

We are running SAP CPS M33.110-76019; with two Queues using the same windows x-86 Platform Agent.  There are approximately 600 jobs

being submitted to run twice a day; is there a limit to the number of jobs that can be run on a Platform Agent?   I have not been able to  find

any documentation on  Best Practices for the use of PlatForm Agents; does anyone have that kind of documentation?


Workflows & Automation (Redwood)

$
0
0

Hello Experts,

 

I am looking for some information on Redwood automation area, where I am trying to believe technically that its possible.

 

  • Redwood accepts email notifications & kick in certain jobs & chains.
  • Workflow capabilities in Redwood or any other application that make this possible.

 

Thanks,

Kamal Bhargava

SAP CPS keep clause

$
0
0

Hi All,


Could you please clarify the below question.


1. We are planning to keep old jobs of a job definition along with OUTPUT files for 45 days. We want to keep job history(like start and end times) without output files for 2 years.Please advise how can we acheive this?


2. If I specify 45 days in the keep clause of each and every job definition. Is it going to delete only the old jobs along with job output files  or is it going to delete complete job history greater than 45 days?.

 

3. Is it ok to specify the keep clause on a job chain instead on the child jobs or do I need to specify keep clause for child jobs too?


4. Instead of specifying 45 days in the keep clause of each and every job definition, how can I do this system wide?. Please advise.

 

Thank you in advance.

 

Regards,
Ramana

Error changing a TableValue by script

$
0
0

Hello,

 

I want to change a value in a table by script.

If I run the script with my own user (permissions scheduler-administrator) it works fine. If an user from another partition use this script he gets an error message. On the table he has full rights. What does the errormessage mean or what could be the problem?

 

Best regards

Dana

 

part of the script:

String    vTableName  = "MonitorTable";
Table vTable = jcsSession.getTableByName(vTableName);
for (Iterator it = jcsSession.executeObjectQuery("select Queue.* from Queue", null); it.hasNext(); )  {  Queue qu = (Queue) it.next();
 String vKey = "QU_" + qu.getName().toUpperCase();   TableValue vTVDefault = vTable.getTableValueBySearchKeySearchColumnName( vKey, "DEFAULTVALUE");  String vTVStr = vTVDefault.getColumnValue();  TableValue vTVMonitor = vTable.getTableValueBySearchKeySearchColumnName( vKey, "MONITOR"  vTVMonitor.setColumnValue(vTVStr);
jcsOut.println("Test");  jcsSession.persist();

Till line 10 it works, the persist doesn't work.

Error message:

-- 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:147)

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

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

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:150)

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

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

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

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:259)

... 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:146)

... 8 more

Caused by: JCS-122035: Unable to persist: JCS-XXXXX: Modification vetoed: Unexpected exception during listener execution

at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:1012)

at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:938)

at com.redwood.scheduler.custom.Jobdefinition_BSH_HoldReleaseQueue_WithMonitoringAndPSexecute(Jobdefinition_BSH_HoldReleaseQueue_WithMonitoringAndPS.java:user code 40)

at com.redwood.scheduler.custom.Jobdefinition_BSH_HoldReleaseQueue_WithMonitoringAndPSStub.jcsExecute(Jobdefinition_BSH_HoldReleaseQueue_WithMonitoringAndPSStub.java:32)

... 13 more

Caused by: com.redwood.scheduler.persistence.api.PersistenceException$ModelModificationVetoException: JCS-XXXXX: Modification vetoed: Unexpected exception during listener execution

at com.redwood.scheduler.model.LowLevelPersistenceConfigurationImpl.throwUnexpectedExceptionDuringListenerExecution(LowLevelPersistenceConfigurationImpl.java:657)

at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.informListeners(LowLevelPersistenceImpl.java:1074)

at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectListRetry(LowLevelPersistenceImpl.java:327)

at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.access$0(LowLevelPersistenceImpl.java:245)

at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl$WriteDirtyObjectListUnitOfWork.execute(LowLevelPersistenceImpl.java:119)

at com.redwood.scheduler.persistence.impl.OuterPersistenceUnitOfWorkManager.execute(OuterPersistenceUnitOfWorkManager.java:38)

at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectList(LowLevelPersistenceImpl.java:197)

at com.redwood.scheduler.cluster.persistence.ClusteredLowLevelPersistence.writeDirtyObjectList(ClusteredLowLevelPersistence.java:67)

at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:987)

... 16 more

Caused by: java.lang.NullPointerException: while trying to invoke the method com.redwood.scheduler.apiint.model.TableDefinitionInt.getTableDefinitionColumnsInt() of a null object returned from com.redwood.scheduler.apiint.model.TableInt.getTableDefinitionInt()

at com.redwood.scheduler.model.method.impl.TableMethodImpl.createMissingTablesValuesForKeyInt(TableMethodImpl.java:244)

at com.redwood.scheduler.model.TableImpl.createMissingTablesValuesForKeyInt(TableImpl.java:1150)

at com.redwood.scheduler.model.method.impl.TableValueMethodImpl.preparePhaseHandler(TableValueMethodImpl.java:73)

at com.redwood.scheduler.model.BaseSchedulerEntityImpl.preparePhaseHandler(BaseSchedulerEntityImpl.java:1260)

at com.redwood.scheduler.model.listeners.ConstraintCheckPrepareListener.modelModified(ConstraintCheckPrepareListener.java:51)

at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.informListeners(LowLevelPersistenceImpl.java:1063)

... 23 more

SAP Central Process Scheduling by Redwood

$
0
0

Hi Experts,

 

We are going to install SAP CPS in my landscape , we don't have any idea about SAP CPS  By REDWOOD, so can any one help me for how install and  how to use, send complete guidance for SAP CPS by REDWOOD .

 

Thanks & regards

 

J JANA

how to send a job to console on error status

$
0
0

Hi,

 

I'm looking for a quick way to send a job to console status on error.  This would stop the submit frame until an operator replies to the console message.

 

Any help is greatly appreciated.

Best Regards,

Rick

Scheduling BO Reports using Redwood CPS

$
0
0

Hi

 

I am curious to know if there are any documentation on scheduling BO Reports using the Redwood CPS.

 

We are looking to integrate the Reports in line with the completion of ETL Loads for Facts that way we deliver the data in just the perfect time.

 

Please provide with some start-up and I can pick it up from there.

 

Thank You

Ganesh Sampath

Alerting

$
0
0

Hello

 

I need help in retrieving the log file when the job fails and send it to our monitoring console (HP OVO). Currently we have Jobid, Job name and time stamp been fetched in our alert message. Is there a possibility to get the content from the log file to the alert message?

 

Please help

 

Thank you

Raghu


Automate a "Function Group" type program

$
0
0

Hi,

 

We have a requirement to include an SAP program with tcode FPVA.  It is a Function Group type program.  We tried to import tha ABAP program but we were not able to. How are "Function Group" programs being automated in BPA? 

 

Many thanks and best regards,
Chris

enable and disable the auto import job from CPS

$
0
0

Hi All,

 

We have an auto-import job running in SAP every hour. Please suggest how to disable and enable this auto-import job from CPS before we run the batch at 7:30pm and after the completion of batch at 8am.

 

We are on M33.120

 

Regards,

Tinku

How to setup chain dependencies in CPS

$
0
0


Hi All,

 

Just need a small help regarding chain dependencies in CPS. We are using free version and below is the requirement:

 

When Chain A is completed, Chains B & C should both start, which are totally independent of each other.

 

Kindly suggest how to accomplish this flow. Thanks in advance.

 

 

Angelo

CCMS job goes to running status and it is not triggered at SAP system

$
0
0

Hello Experts,

 

We are facing issue with the CCMS job they go into running state and not get triggered on the SAP system.

What can be the possible cause or what can be done to resolve the same.

 

Actually this issue is very persistent and below action are taken :

 

Timeout period is increased

Process server is restarted

 

 

Any inputs or insights will be highly aprreciated or helpful

 

Reagrds,

Ganesh.S

SAP Central Process Scheduling by Redwood

$
0
0

Hi Experts,

 

We are going to install SAP CPS in my landscape , we don't have any idea about SAP CPS  By REDWOOD, so can any one help me for how install and  how to use, send complete guidance for SAP CPS by REDWOOD .

 

Thanks & regards

 

J JANA

SAP CPS keep clause

$
0
0

Hi All,


Could you please clarify the below question.


1. We are planning to keep old jobs of a job definition along with OUTPUT files for 45 days. We want to keep job history(like start and end times) without output files for 2 years.Please advise how can we acheive this?


2. If I specify 45 days in the keep clause of each and every job definition. Is it going to delete only the old jobs along with job output files  or is it going to delete complete job history greater than 45 days?.

 

3. Is it ok to specify the keep clause on a job chain instead on the child jobs or do I need to specify keep clause for child jobs too?


4. Instead of specifying 45 days in the keep clause of each and every job definition, how can I do this system wide?. Please advise.

 

Thank you in advance.

 

Regards,
Ramana

Jobs hanging in running status

$
0
0

Hi

,

 

We are running some jobs in our non-SAP system.

 

Some times few of our jobs are hanging in the running status with the below operator message. We have to cancel and resubmit them whenever we face this issue.

'The job failed to receive a continuation signal from the server; job execution is delayed'

 

In the job logs it displays the below message

'warn  2016-03-23 03:38:56,120 Eastern Daylight Time [416-job-processor tid=0] job.main - Job-processor timeout waiting for acknowledgement; job execution delayed'

 

On the process server, operator message displays the below message

'JCS-116012: Warning: Transient communication failure: errno: 110 (Connection timed out), error: Connection timed out'

 

Our Windows admin says he cannot see in the event logs that the server went down during this period.

 

Please advise.

 

 

Regards,

Chandu


call PowerShell script from CPS

$
0
0

How can I call PowerShell script from CPS .Earlier it's called as an external system call from CPS to SAP host .Now after migrating into HANA we are facing challenges in calling the PowerShell script. Please guide

File event - Multiples node with NFS (Not Cluster)

$
0
0

Hi Folks,

 

We are using File events definitions for Linux and UNIX servers. We don't have clustering for this servers but multiples nodes with NFS (Network file share).

 

I have gone through multiples threads but it doesn't help in my case.

 

We have installed the agent on all nodes of servers. And we need to run jobs on all nodes. But in case of file events (as we have hard coded the Process servers), I am not sure how to configure the file events if one nodes goes down so its switch to other nodes.

 

I have tried to add multiple file event (with different nodes) in single event definitions but its raising multiples events. We Can't configure the single process servers for different nodes as we are not using clustering. 

 

Is there any way to do configure it ?

 

Thanks,

 

Regards,

Abhishek

SAP CPS - 1 Java server node

$
0
0

Redwood recommend 1 Java server node for running CPS on

However you lose the extra mitigation for failure of a node that you'd get by having 2 (or more)

 

Has anyone got more than 1 server node on NetWeaver AS Java running SAP CPS on top?

 

NB Looking at recent documents I wonder if recommendations have changed to support multi-node installations more?

BW job terminated in SAP BW but still running in SAP BPA

$
0
0

Hi,

 

A job launched in BW using SAP BPA is terminated in BW but still running in SAP BPA with the following message in the operating messages :

"Error occurred in SAP connector: JCS-122035: Unable to persist: JCS-MULTI: Modification vetoed: JCS-102075: Mandatory parameter not set: Parameter NAME for process 12020520 "

There's no job corresponding to the process 12020520 in SAP BPA.

 

The workaround is to kill the job in SAP BPA and restart it for the next schedule. That's not the goal of a scheduler.
Could someone help, please ?


Regards

Clement M.

How to setup chain dependencies in CPS

$
0
0


Hi All,

 

Just need a small help regarding chain dependencies in CPS. We are using free version and below is the requirement:

 

When Chain A is completed, Chains B & C should both start, which are totally independent of each other.

 

Kindly suggest how to accomplish this flow. Thanks in advance.

 

 

Angelo

Viewing all 1466 articles
Browse latest View live


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