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

Re: How to dynamically define move directory for CPS event?

$
0
0

Setup a process server for each system and create an event for each directory and define the move directory per event.

 

thanks

Nanda


Re: Run End and Remote Run End not in sync in CPS

$
0
0

Hi Chandu,

Is this a BW process chain? I have noticed a little latency between the remote run end and run end. My opinion is, this could be caused my many reasons like, network load, remote system being 100% CPU busy, so it was not able to reply a handshake to CPS immediately, etc...

 

Below questions can help you isolate the root cause:

Is this happening for all the jobs?

Is this happening for all the systems?

Is this happening for a specific user running the job?

Is this happening during a specific time window?

What is the load on the remote system and network?

 

thanks

Nanda

Re: selecting top 100 rows in query

Re: How to dynamically define move directory for CPS event?

$
0
0

Thanks Nanda,  this should resolve

Re: selecting top 100 rows in query

$
0
0

Hi Nanda,

 

standard persist error is coming for all the queries I have tried. The main idea is to update keepclause for 100 jobs at once. However, I did the same in shell  directly by giving names.

 

I have another doubt here.

difference between Job and HistoryJob.

When I updated jobs with keepclause, the size of HistoryJob table decreased but not the Job table.

However when randomly checked a couple of jobs, I could see the job instances according to keepclause in Job monitor.

 

I am confused here whether cleaning up Job table is possible or not. The reason is we are getting connection timeout when we click Job Monitor and we thought deleting old jobs might solve the issue.

We have set the ICM connection time out as 600 secs.

 

Pointers pls

Re: Handling Automation (Workflows) in Redwood

CPS benchmarking

$
0
0

My company wants me to do some benchmarking with other companies about how CPS is being used.  We are still fairly new to CPS.

 

Would anybody be willing to answer a few questions about this, either through email or phone?

 

Thank you in advance.

Import Action

$
0
0

Hello,

 

the following Import Action is working for one Job, but if I have a car-File with more than one JobDefinition I get an error message (attached file). What I have to Change so that the Action is working also for a bundle of JobDefinitions?

 

Import Action:

{  for (Java.util.Iterator it = jcsImportRuleSet.getObjects().iterator(); it.hasNext();)  {    Object o = (Object) it.next();    if (o instanceof JobDefinition)    {      JobDefinition jd = (JobDefinition) o;      JobDefinition jdNeu = jd.duplicate();      jdNeu.setName(jd.getName().replace("FIG","FIW"));      jdNeu.setDescription(jd.getDescription().replace("FIG";"FIW"));      jdNeu.setParentApplication(jcsSession.getApplicationByName(jd.getParentApplication().getName()replace("FIG","FIW")));    }  }
}

Best regards

Dana Ullrich


Re: Import Action

$
0
0

Hi Dana,

 

In this case I would use an array, jcsImportRuleSet.size() will give you the total number of objects, even if not all are JobDefinitions, should be fine to initialize as the size of the List.

 

so:

 

Object[] jd = new Object[jcsImportRuleSet.size()];

int i = 0;

for(....
{
Object jd[i] = (Object) it.next();

 

if ( jd[i].instanceOf JobDefinition )

{

...

}

i++;
}

}

 

It does not work because you are overwriting o each time, that creates a dirty dirty list ... ;-)

 

Regards,

 

HP

Re: Run End and Remote Run End not in sync in CPS

$
0
0

Hello Nanda,

 

Thank you. It is an ECC ABAP job. It is happening only for few of the jobs running during that time window. A large number of jobs are running parallel during this time window. Might be this is causing the issue. We will try to trouble shoot the issue from this perspective.

 

Regards,

Chandu

Monitor Tree values

$
0
0

Hello,

 

In the monitor tree, the database tables 'JobParameter' and 'JobParameterInLine' have the severity values of 50 and 75 respectively. Please see below screenshot. Is this causes any issue?. Could you please suggest the steps we need to take to reduce this value.

 

Monitor tree screenshot.jpg

 

 

 

Regards,

Chandu

Re: Import Action

$
0
0

Hi Dana,

 

My suspicion is that some of the object you try to create already exist in the target system. You cannot overwrite them like this. Maybe if you change your code like this it will work, but I would still doubt it. It is not really the way to do this.

 

{    for (Java.util.Iterator it = jcsImportRuleSet.getObjects().iterator(); it.hasNext();)    {      Object o = (Object) it.next();      if (o instanceof JobDefinition)      {        JobDefinition jd = (JobDefinition) o;      String neuName = jd.getName().replace("FIG","FIW");      JobDefinition jdNeu = jcsSession.getJobDefinitionByName(jd.getPartition(), neuName);      if (jdNeu != null)      {        jdNeu.deleteObject();      }      jdNeu = jd.duplicate();      jdNeu.setName(jd.getName().replace("FIG","FIW"));        jdNeu.setDescription(jd.getDescription().replace("FIG";"FIW"));        jdNeu.setParentApplication(jcsSession.getApplicationByName(jd.getParentApplication().getName()replace("FIG","FIW")));      }    }  
}  

 

Regards Gerben

Re: Import Action

$
0
0

Hello,

 

thanks for your fast help.

I combined your's and Gerben's answer an it works fine.

 

Best regards

Dana Ullrich

Time Window Restriction

$
0
0

Dear Experts,
I want to restrict the time window in below mwntioned format.
For example, ( Month end - 7 working days )i.e. if a month has 31 days and 26,27 and 28 are holidays then the date it should choose is 21st of that month.
Thanks in Advance.

Regards,
Ruban.S

Re: Run End and Remote Run End not in sync in CPS

$
0
0

Hi Chandu,

check if there are enough Http connection available in the CPS side , it may be to maximum connection reached also .


Re: CPS GC settings

$
0
0

Hi Prasad,

 

Best solution in this case is stop all the spool fetch in the redwood system  , you can set parameter -1 for spool and you will not get this type of the error . I had faced same issue in our environment. Check the operator log and you will find the job which is causing the issue mostly bcoz of the spool .

 

Regards,

Jeet

Re: SAP CPS : run the jobs on selected (Test) systems

$
0
0

Hi Shiridhar ,

 

you can go to queue of test system and click on monitor related job .

For run time stats you can right click on job chain or job defination and select option show statistic report and you will find the run time report

Re: Time Window Restriction

$
0
0

Hi Ruban,

 

There is an example in the documentation which is just what you are looking for, well, sort of ... it calculates the 3rd working day of a month, instead of moving 3 days forward, you need to move 7 days back.

 

Question: Do you have a calendar, in CPS/BPA or SAP, that defines "working days" ?

 

Goto:

 

CPS: http://server:port/scheduler/help/user_guide/schedules/time_windows/time_windows_shift.html

BPA: http:/server:port/redwood/help/user_guide/schedules/time_windows/time_windows_shift.html

 

If you use a calendar in SAP, you could simply use the example, moving back 7 days instead of 3 days forward, of course, if you do not use the French SAP calendar fr, you must adapt that.

 

If you need to define a time window in CPS/BPA for your working days, let me know.

 

Regards,

 

HP

Re: Time Window Restriction

$
0
0

there are numerous examples on this forum that explain how to make a time window like this.

 

Regards Gerben

Re: Import Action

$
0
0

Sorry HP,

 

You are overthinking and making things complex. Overwriting objects and the dirty list 'ist nicht im frage' here.

 

Regards Gerben

Viewing all 2607 articles
Browse latest View live


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