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

Multiple ".csv" to confirm before using "Trigger.txt" for Job Chain to start

$
0
0

Hi,

 

(Can not find something similar).

The condition I have been given is that before starting the job chain using the trigger file "trigger.txt" the folder should have 4 different ".csv" files.

- Blue.csv

- Red.csv

- Green.csv

- Yellow.csv

- Trigger.txt

 

So If any file will be missing, Job Chain should not get started.  Please tell me how can I do that. I am very new to CPS Redwood.

 

Thanks.

 

Junoon


Query

$
0
0

Hello,

 

I Need a table with the following Information

 

JobName, Value of Parameter1, Value of Parameter2, NextSubmitBaseTime

 

I tried this with the following query

 

select j.Description, jp.InValueString, j.NextSubmitBaseTime from Job j, JobParameter jp where jp.Job = j.UniqueId and j.Description like 'SERACHSTRING'

 

But so I get all Parameters and not only Parameter 1 and 2.

 

How I have to change the query?

 

Best regards

Dana

SAP BPA 9.0

$
0
0

Hi All,

 

We are currently using SAP CPS 8.0 build M33.92. Can you please advise on the below questions.


If we go for SAP BPA Version 9.0, "SAP support said to recreate the jobs after the upgrade".

 

 

1. As we are now on V8 in our DEV(Using the same box for DEV and QA) environment. Does it mean that we have to modify each and every job after we upgrade our DEV system to V9. We have jobs of type ABAP and CMD.

 

2. We are also planning to build a new DEV system with V9 version. Instead, If we move our V8 objects to the freshly installed V9 system. Can we export and import all the applications at one time or do we need to export and import each and every object and modify it.


Please help and thank you.

 

Regards,

Chandu

"Exception processsing" for repeating jobs

$
0
0

We have a very specific requirement, and wonder whether SAP CPS supports it.  The requirement is "exception processing" for temporary changes to repeating jobs. Specifically, the desire is for an option to make a one-time change to the time of a job, and after that changed execution time has passed, the job scheduler (CPS) should automatically revert to the original job time for future executions.


I haven't read every word, but from a reasonable look I don't think the online documentation covers this.


Does anyone know whether CPS supports such a requirement, either directly or via some workaround?


Thanks, Jeremy

Linux Platform agent uninstall

$
0
0


Hi All,

 

We have installed platform agent on our SAP Linux server. We are facing some issues. Could you please help us the steps in uninstalling the platform agent so that we will try to reinstall it again.

 

Thank you,

 

 

Regards,

Chandu

Redwood Agent consuming high storage space

$
0
0

Hi ,

 

 

I encounter an issue where by an redwood agent installed in the unix server for less than 6 months but already taking up to 40GB of storage space, is this something normal or something have went wrong ? Anyone having similar experience before?

 

 

Regards,

Chris

Redwood Dashboard

$
0
0


Hi Guys,

 

anyone familir with the redwood CPS Dashboard?  i cannot find much documentation regarding the dashbaord on it full functionality, appreciate if anyone fimiliar with the Redwood Dashboard to share some thought/info on that. Thanks.

 

 

Regards,

Chris

Date comparison in Redwood Script

$
0
0

Hi,

 

I want to compare todays date with what user selects the date as part of in parameter for the JOB.


Please find the below logic which i am using, but Iam getting error for the same.  Please let me know how to compare the date between Java.util.Date and com.redwood.scheduler.api.date.DateTimeZone.


 

TO_DATE we are getting as in parameter

currentDate = new Date();

 

if(TO_DATE.before(currentDate)){

    //Logic

}

 

 

 

I am getting the below error.

 

JCS-102183: Compile failed for Job Definition Z_Script_Audit_Security_NC2 (Latest Version): Z_Script_Audit_Security_NC2.java:user code 105:25:after(com.redwood.scheduler.api.date.DateTimeZone) in com.redwood.scheduler.api.date.DateTimeZone cannot be applied to (java.util.Date) if(TO_DATE.after(currentDate){

 

Thanks

Nidhish


SAP CPS alerts with basic alerting module

$
0
0

Hi All,

 

We have only basic alerting module and we are using M33.68971 version Can you please advise, if it is possible to do the below things with the basic alerting module? If so, please advise.

 

1) From Monday to Friday,  whenever a job gets failed in CPS, an email needs to be sent to servicedesk@abc.com.

 

2) On Saturday and Sunday, whenever a job gets failed in CPS, an email need to be sent to the corresponding group as per the application area.

 

Thank you in advance.

 

 

Regards,

Ramana

How to send a job log/Spool once the job completed?

$
0
0

Could you please help me how to send a job log/Spool once the job completed.

 

There was an option is available System Send mail to send a mail once the job completed . So could you please help me how we can send a job log using this option .

 

I have tried the below but i didn't get any mail . Could some one help this please !

 

 

For example :

 

Job chain name : Test_spool

 

                Step1 : Reportstep

 

                                Job definition u2013 XXX_YYY

 

                Step2:  Mailstep

                                 

                                Job definition: system_mail_send

 

Expression :  Reportstep,job<(what i need to mention here )>:reportstep/log.txt

Check the ablove mentioned is correct and correct me , still i didnu2019t get the log in the mail please .

 

 

 

Thanks

Ramkumar

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.

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

Connecting to SAP using MSHOST string - doesn't work

$
0
0

Hi all,

CPS version M33.69-61130.

I am trying to connect to a SAP system using the connection string:

 

MSHOST=HOSTNAME R3NAME=SID GROUP=REDWOOD

The hostname corresponds to the hostname of a high availabilty server running on Windows.

I have manually added the following entries into the services file

sapmsSID 3600/tcp

sapdpSID 3200/tcp

sapgwSID 3300/tcp

I am not able to telnet to hostname at port 3600

I am able to open the sapgui using the command

sapgui hostname 00

So the MSHOST string is not connecting.

 

the error i am getting:

8:02:34 AM: Connection Failed: RFC: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=HOSTNAME GROUP=REDWOOD R3NAME=SID MSSERV=sapmsSID PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner 'XXX.XXX.XXX.XXX:sapmsSID' not reached TIME Mon Jan 14 08:02:33 2013 RELEASE 720 COMPONENT NI (network interface) VERSION 40 RC -10 MODULE nixxi.cpp LINE 3286 DETAIL NiPConnect2: XXX.XXX.XXX.XXX:3600 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 6 at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:557) at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1099) at com.sap.mw.jco.JCO$Client.connect(JCO.java:3590) at com.redwood.scheduler.connector.sap.rfc.jco2.connection.RfcConnectionCheckerImpl.checkConnection(RfcConnectionCheckerImpl.java:31) at com.redwood.scheduler.connector.sap.rfc.connection.impl.AbstractRfcConnec

Please help me solve this.

CPS copy run "Job could not be locked" Error

$
0
0

Hello,

we have an issue with one job launched as copy run in CPS, job definition is in SAP.

When the job is scheduled, we receive the following message :

 

com.redwood.scheduler.connector.sap.rfc.connection.exception.SapBapiException: BAPI exception while calling BAPI_XBP_JOB_COPY: E XM 194 Job could not be locked

 

 

BAPI exception while calling BAPI_XBP_JOB_COPY: E XM 194 Job could not be locked [BAPI_XBP_JOB_COPY, , , ]

Parameters:

  Cronacle

  16125500

  APGA_ALL_PEA_S_ATPMSP_02

  0

  APGA_ALL_PEA_S_ATPMSP_02

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

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

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

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

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

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

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

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

          at com.redwood.scheduler.connector.sap.rfc.command.impl.TemplateJobRunCommand.execute(TemplateJobRunCommand.java:148)

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

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

          at com.redwood.scheduler.connector.sap.rfc.service.operation.RunJobOperation.doWork(RunJobOperation.java:104)

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

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

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

 

 

Anny sugestion, what could cause this ? Sounds for me like CPS cannot access as the resource ( job definition ) is locked in SAP ?

Not able to Delete the process server - Getting Error

$
0
0

Hi Friends,

 

I am getting the following error while trying to delete the process server. Currently this PS is not active and no jobs were running. Please help.

 

__________________________________________________________

 

 

JCS-122030: Unable to persist: JCS-102260: Process Server SERVER01 is used by multiple other objects; first object is Non-visible Deleted Job File 746,296,801

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

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

at com.redwood.scheduler.ui.model.impl.FormImpl.modelActions(FormImpl.java:787)

at com.redwood.scheduler.ui.model.impl.LifeCycle.run(LifeCycle.java:226)

at com.redwood.scheduler.ui.servlet.Servlet.handleRequest(Servlet.java:98)

at com.redwood.scheduler.ui.servlet.Servlet.doPost(Servlet.java:54)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)

at com.redwood.scheduler.module.impl.ModuleFilter.doFilter(ModuleFilter.java:157)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.redwood.scheduler.security.filter.SecurityFilter.doFilter(SecurityFilter.java:708)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.redwood.scheduler.servlet.RequestCharsetFilter.doFilter(RequestCharsetFilter.java:197)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

Caused by: com.redwood.scheduler.model.exception.ForeignKeyViolationVetoWrapperException: JCS-102260: Process Server ISVBATCHT01_delete is used by multiple other objects; first object is Non-visible Deleted Job File 746,296,801

at com.redwood.scheduler.model.BaseSchedulerEntityImpl.checkNoObjectsReferenceMe(BaseSchedulerEntityImpl.java:606)

at com.redwood.scheduler.model.listeners.foreignkey.CheckForUnknownFKObjectLockedVetoListener.modelModified(CheckForUnknownFKObjectLockedVetoListener.java:45)

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

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

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

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

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

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

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

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

... 52 more


Failed to create the job in the SAP system

$
0
0

Some of our jobs scheduled from Redwood failed with below error:

-------------------------------------

Failed to create the job in the SAP system

  1. com.redwood.scheduler.connector.sap.rfc.connection.exception.SapBapiException: BAPI exception while calling BAPI_XBP_JOB_CLOSE: E XM 237 Receiver object could not be created [BAPI_XBP_JOB_CLOSE, No address exists, , ]

 

BAPI exception while calling BAPI_XBP_JOB_CLOSE: E XM 237 Receiver object could not be created [BAPI_XBP_JOB_CLOSE, No address exists, , ]

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

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

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

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

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

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

at com.redwood.scheduler.

  1. connector.sap.rfc.jco2.connection.impl.SapFunctionModuleWrapper.execute(SapFunctionModuleWrapper.java:200)
  2. ------------------------------------

These jobs are in error status upon re-run from from Redwood.

 

Please suggest here.

 

Regards,

Harsh

Issue in importing CAR FILES

$
0
0

Hi Everyone,

 

I am getting the below Error when trying to import the CAR file into our Quality system which I saved on my desktop.

 

I used the below procedure to import the CAR file which I saved on my desktop

 

Using Imports

1. Navigate to Promotion > Import

2. Choose Import from the context-menu.

Here I have choosen the option: Upload file to server( selected the file from my desktop)

 

 

ERROR 2015-03-03 18:31:01,637 America/New_York [Redwood Job Thread Pool: GLOBAL.System.System worker 0] job.System_Import_Archive.2773 - Import failed, no objects have been imported.

-- JOB RUN STACK TRACE --

java.util.zip.ZipException: Open failed for '/usr/sap/RQ1/J00/j2ee/cluster/server0/scheduler/0-9999/2773/JOB_2773carin.car.car' with errno 2

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(ZipFile.java:154)

at java.util.jar.JarFile.<init>(JarFile.java:141)

at java.util.jar.JarFile.<init>(JarFile.java:78)

at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:72)

at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)

at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:70)

at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)

at com.redwood.scheduler.model.imprt.JarDerivedUrlConnection.connect(JarDerivedUrlConnection.java:49)

at com.redwood.scheduler.model.imprt.CronacleArchiveReader.importAll(CronacleArchiveReader.java:82)

at com.redwood.scheduler.system.jobs.CronacleArchiveImport.runInternal(CronacleArchiveImport.java:397)

at com.redwood.scheduler.system.jobs.CronacleArchiveImport.run(CronacleArchiveImport.java:193)

at com.redwood.scheduler.system.jobs.CommonSystemJob.execute(CommonSystemJob.java:53)

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)

 

Please help

 

 

Thank you,

Chandu

REDWOOD calendars

$
0
0


When scheduling we use the redwood factory calendar for a country.

One month into the year, the holidays for that country changed, so, the updates were done in SAP.

In redwood we point to that factory calendar.

 

The factory calendars are reimported into redwood, so that the new holiday is represented In redwood for job scheduling.

question:  is just doing the import enough, or is there another step that has to be done to reallocate the scheduled jobs to recognize the new holiday?

What do you think is the best thing to do for this scenario.

Redwood Wait Events

$
0
0

Hi,

 

I have configure a job with 3 wait events as the conditio but currently the job is trigger if one of those wait event is raised but i need all the wait event to be raised then only the job should be trigger to run. Any thought on this?

 

 

Regards,

Chris

Overdue job state

$
0
0

Hi All,

 

Is there someone here who knows how to integrate overdue to a job def?

 

Example:

 

We have a weekend maintenance and after the release of queue, all the jobs that have been affected by the down time should not run immediately after the up of queue instead it will recalculate to the next run.

 

 

Thanks for helping!

 

 

Alyssa

Viewing all 1466 articles
Browse latest View live


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