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

Run End and Remote Run End not in sync in CPS

$
0
0

Hello,

 

 

Sometimes, for some of the jobs which are scheduled in SAP, "Run End"  and "Remote Run End" are not in sync in CPS . Please find attached screenshot of the CPS job 'CS_E1919_ECC_MONTHLY_CUST_READ' whose "Run End Time" is not in sync with "Remote Run End Time". On 23rd its "RunEnd" is 3:50:12am and "RemoteRunEnd" is 3:22:15AM. We are on M33.120. Please advise.

 

Screernshot.jpg

 

 

 

Regards,

Chandu


Need to back up sap cps redwood production jobs....

$
0
0

Hi all:

            When we were upgrading our development sap cps redwood system our basis team had to delete all of our development jobs to accomplish the upgrade. We were able to copy over our production jobs to the development box which helped, but also caused problems for us...

Next we are going to be upgrading the production box, and we don't want to lose our jobs, events, and definitions that we have developed.

I know that exporting and re-importing the jobs after the upgrade is a possibility, but we are talking a lot of job chains etc....

Does anyone know of a more precise way to back up our production sap cps redwood environment,  or a simpler faster way to accomplish this ???

 

Patrick Donnelly

How to schedule background job for transport import every 30 minutes

$
0
0

The challenge is job name of the transport job varies each time you schedule. For instance

TMS_0000000022TMS_TP_IMPORT

TMS_0000000023TMS_TP_IMPORT

I would like to schedule transports regularly every 30 minutes instead of manually importing into QAS. The job should checks whether any transports are released from DEV and import them. I hope I am clear in my query.

 

Is there any possibility. Thanks for your input in advance.

Handling Automation (Workflows) in Redwood

$
0
0

Hello Experts,

 

I would like to ask if Redwood can act on certain notifications/events and run some jobs for SAP & Non-SAP systems.

 

We have many scenarios where scheduling team has to run many jobs based on certain automated events.

 

Looking to build some kind of workflow either by Java Scripts or out of the box Redwood functions/rules if available.

 

appreciate if anyone has done this before and can shed some light.

 

Thanks,

Kamal Bhargava

selecting top 100 rows in query

$
0
0

Hi All,

 

I got stuck in writing query to fetch 100 records at a time.

Here is what I have tried.

 

select JobDefinition.* from JobDefinition LIMIT 100

 

 

select Top 100 JobDefinition.* from JobDefinition

 

 

select JobDefinition.* from JobDefinition FETCH FIRST 100 ROWS ONLY

 

All the above queries ended with sql exception.

Any pointers are really helpful.

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

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

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

$
0
0

Hello,

 

Present steup:

We have connected 200+ ABAP systems( development & test systems) to SAP CPS system to run the normal 12 houskeeping jobs.

we have creatred the job chain to run these 12 ABAP jobs on all the 200+ ABAP systems.

 

now we have got a request to run the report(xyzzz) on ONLY in TEST ABAP systems.

 

is there any simply way to determine the DEV or TEST ABAP systems for the redwood at runtime.

 

i am thinking..     job1 : check for DEV or TEST

                           job2 : run the report xyzzz

 

logic, if the job1 output is TEST then run the Job2.

         if the job1 outpit is DEV then skip the Job2.

 

in ABAP system, i can find the DEV/test system by checking the RZ11 parameter "transport/systemtype"

 

Regards,

Shridhar Gowda


Redwood Cronacle - Save spool by company code name

$
0
0

Hi All,

Can anyone suggest how to save spool by company code name automatically rather than i manually hard code the spool name for each step. I have a program which runs for 130+ company codes and each company code process the data and save a spool. Now we need to download those spools to a drive through redwood Cronacle. the first step in the chain triggers the SAP program which trigger the job in SAP and spools are generated for 130+ company codes.

Now i created second step to save the spool but its not saving all files.

The step1 gets spool in name like step1_spool1.text, step1_spool2.txt, step1_spool3.txt etc.

 

Now i tried to 'jgetfile -j -s "Step 1, job 1:step1_spool1.txt" -o "%destination%\spool1.txt" but now i have to create multiple lines like this and some time we will not have all company codes create spool because it will not have data to process.

Please advice how i can modify the above script to save all spools to a drive.

 

If its not easy to save spool with company code we are ok to save as is like step1_spool1.txt or spool1.txt.

 

Would be happy to share more information.

Thank you,

Arun

Grant access to trigger only few jobs!

$
0
0

Hi All,

Can someone plz help to resolve this issue. I am trying to grant a user access to only submit three job chains. So i have put all the jobs and chains to a different partition and granted access to this partition only for submit and view. But while trying submitted as this user i can see in the job name and when i click on next its not showing me the queue name to select. So i then granted access to queue for submission then it said associated process server is not assigned to queue so i have granted access to process server also.

Now i can see queue and when i try to submit i get error

10:44:42 PMJCS-102201: Non-visible Queue 18,341 is used by Job 709137

This is second step in the chain and this runs on different queue and to this queue also i granted access but still does not work.

 

So my question is to allow some individual to submit a job do we need to grant access to

1. particular chain through partition

2. queue to which job should be submitted to?

3. to process server of that queue

4. any other places we need to grant access?

 

Happy to share any more information if needed.

Thank you,

Arun

 

 

More details about the above error:

JCS-122030: Unable to persist: JCS-102201:  is used by Job 709137 (submitted from Global_Finance_Closing.ZPLACE_AFAB_DEPRECIATION_SPOOLFILE copy from 2016/04/28 22:33:42,496 Europe/Berlin)
at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:975)
at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:929)
at com.redwood.scheduler.ui.model.impl.FormImpl.modelActions(FormImpl.java:858)
at com.redwood.scheduler.ui.model.impl.LifeCycle.run(LifeCycle.java:285)
at com.redwood.scheduler.ui.servlet.Servlet.handleRequest(Servlet.java:147)
at com.redwood.scheduler.ui.servlet.Servlet.doPost(Servlet.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.redwood.scheduler.module.impl.ModuleFilter.doFilter(ModuleFilter.java:157)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.redwood.scheduler.security.filter.SecurityFilter.doFilter(SecurityFilter.java:804)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.redwood.scheduler.servlet.RequestCharsetFilter.doFilter(RequestCharsetFilter.java:200)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:295)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: com.redwood.scheduler.model.exception.ForeignKeyViolationVetoException: JCS-102201:  is used by Job 709137 (submitted from Global_Finance_Closing.ZPLACE_AFAB_DEPRECIATION_SPOOLFILE copy from 2016/04/28 22:33:42,496 Europe/Berlin)
at com.redwood.scheduler.model.JobImpl.checkLocalIsolation(JobImpl.java:6978)
at com.redwood.scheduler.model.JobImpl.checkIsolation(JobImpl.java:7497)
at com.redwood.scheduler.model.BaseSchedulerEntityImpl.vetoPhaseHandler(BaseSchedulerEntityImpl.java:1263)
at com.redwood.scheduler.model.SchedulerEntityImpl.vetoPhaseHandler(SchedulerEntityImpl.java:453)
at com.redwood.scheduler.model.DetailImpl.vetoPhaseHandler(DetailImpl.java:94)
at com.redwood.scheduler.model.JobImpl.vetoPhaseHandler(JobImpl.java:10672)
at com.redwood.scheduler.model.listeners.PerformVetoListener.modelModified(PerformVetoListener.java:39)
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.informListeners(LowLevelPersistenceImpl.java:1058)
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectListRetry(LowLevelPersistenceImpl.java:336)
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.access$0(LowLevelPersistenceImpl.java:246)
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl$WriteDirtyObjectListUnitOfWork.execute(LowLevelPersistenceImpl.java:120)
at com.redwood.scheduler.persistence.impl.OuterPersistenceUnitOfWorkManager.execute(OuterPersistenceUnitOfWorkManager.java:38)
at com.redwood.scheduler.persistence.impl.LowLevelPersistenceImpl.writeDirtyObjectList(LowLevelPersistenceImpl.java:198)
at com.redwood.scheduler.cluster.persistence.ClusteredLowLevelPersistence.writeDirtyObjectList(ClusteredLowLevelPersistence.java:67)
at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:971)
... 29 more

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

Need to back up sap cps redwood production jobs....

$
0
0

Hi all:

            When we were upgrading our development sap cps redwood system our basis team had to delete all of our development jobs to accomplish the upgrade. We were able to copy over our production jobs to the development box which helped, but also caused problems for us...

Next we are going to be upgrading the production box, and we don't want to lose our jobs, events, and definitions that we have developed.

I know that exporting and re-importing the jobs after the upgrade is a possibility, but we are talking a lot of job chains etc....

Does anyone know of a more precise way to back up our production sap cps redwood environment,  or a simpler faster way to accomplish this ???

 

Patrick Donnelly

Job Table not updating even after keepclause implementation

$
0
0

Hi All,

 

I encountered with a situation where Job table is not getting deleted as expected.

Initially we dont have KeepClause implementation and later we implemented KeepClause in a phased manner and we could see the deletion of jobs from System_ProcessKeepClause logs.

 

However after implementing KeepClause for all the jobs, we could see that Job table size is doubled.

Any suggestions on cleaning Job table like re-creating indexes as suggested in Admin guide?

 

Thanks in advance,

Vishnu.

Cronacle: Using Pre run and Post run actions

$
0
0

Hello

 

I have a job which usually runs for 3 to 4 hours. But sometimes due to more data load it takes up to 8 hours to complete. I have a requirement to send an email notification when the job starts to run, and after 4 hours if its still running again a notification has to be sent and finally upon completion another email to be sent.

 

Is this possible to do using Job Actions (Pre-running and Post running)? If so how can i do it.

 

If not job actions, is there any other way to achieve it.

 

Please help

 

Thank You

Redwood Cronacle - Save spool by company code name

$
0
0

Hi All,

Can anyone suggest how to save spool by company code name automatically rather than i manually hard code the spool name for each step. I have a program which runs for 130+ company codes and each company code process the data and save a spool. Now we need to download those spools to a drive through redwood Cronacle. the first step in the chain triggers the SAP program which trigger the job in SAP and spools are generated for 130+ company codes.

Now i created second step to save the spool but its not saving all files.

The step1 gets spool in name like step1_spool1.text, step1_spool2.txt, step1_spool3.txt etc.

 

Now i tried to 'jgetfile -j -s "Step 1, job 1:step1_spool1.txt" -o "%destination%\spool1.txt" but now i have to create multiple lines like this and some time we will not have all company codes create spool because it will not have data to process.

Please advice how i can modify the above script to save all spools to a drive.

 

If its not easy to save spool with company code we are ok to save as is like step1_spool1.txt or spool1.txt.

 

Would be happy to share more information.

Thank you,

Arun


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

Schedule JOB to run on only SAP 2 Instances out of 6 instances

$
0
0

Dear all,

 

Is it possible to schedule a 40 Work Processes job to run on 2 SAP instances (DIA) only, while the SAP system has 6 SAP instances (CI + 5DIA).

 

We are using Control M  + CPS Redwood.

I suppose some RZ12/Logon groups or SM61 would be involved?  Or any concrete trick in CPS/ Control M?

 

 

Thanks in advance!

 

Marian

Redwood Cronacle

$
0
0

Hello All,

 

I am new to Rewood Cronacle. We are using Redwood Cronacle in SAP. Can any provide me the documentation of this software and also are there any training institutes in training this one. Thanks in advance.

 

Ram.

Job Table not updating even after keepclause implementation

$
0
0

Hi All,

 

I encountered with a situation where Job table is not getting deleted as expected.

Initially we dont have KeepClause implementation and later we implemented KeepClause in a phased manner and we could see the deletion of jobs from System_ProcessKeepClause logs.

 

However after implementing KeepClause for all the jobs, we could see that Job table size is doubled.

Any suggestions on cleaning Job table like re-creating indexes as suggested in Admin guide?

 

Thanks in advance,

Vishnu.

Handling Automation (Workflows) in Redwood

$
0
0

Hello Experts,

 

I would like to ask if Redwood can act on certain notifications/events and run some jobs for SAP & Non-SAP systems.

 

We have many scenarios where scheduling team has to run many jobs based on certain automated events.

 

Looking to build some kind of workflow either by Java Scripts or out of the box Redwood functions/rules if available.

 

appreciate if anyone has done this before and can shed some light.

 

Thanks,

Kamal Bhargava

Viewing all 1466 articles
Browse latest View live


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