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

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


While sending a mail to outlook using redwood then i got the below error ,please suggest on this.

$
0
0

Hi All,

 

While sending a mail to outlook using redwood then i got the below error ,please suggest  on this.

 

error log:

 

-- JOB RUN STACK TRACE --
javax.mail.MessagingException: Could not connect to SMTP host: SCL-SC-EXCHAPP1.CORP.SVBANK.COM, port: 25;
  nested exception is:
java.net.ConnectException: Connection timed out
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:167)
at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:71)
at com.redwood.scheduler.infrastructure.mail.Mailer.sendMessage(Mailer.java:41)
at com.redwood.scheduler.system.jobs.SendMail.sendMessage(SendMail.java:191)
at com.redwood.scheduler.system.jobs.SendMail.execute(SendMail.java:151)
at com.redwood.scheduler.systemjobservice.impl.JobWorker.doWork(JobWorker.java:253)
at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:75)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
... 14 more

Parameters are not passed within step of the job chains

$
0
0

Hi,

 

Since we upgrade yesterday from CPS M26 to M28, parameters are not passed within step of the job chains.

I have an output parameter in the first step which a passed to a ksh job in the second step as input parameter, and seems also that the input parameters of the second step are not taken in account by the job.

Could someone help, please ?

Any WebI reports / graphs for job chain performance over time?

$
0
0


I am trying to get reports over time that contain job and job chain information such as job chain, job description, elapsed time, job status, etc to allow for trend reporting against the job schedules.  Thanks for any help.  I would have thought that there was some basic reporting that could execute and be saved for reporting and reference.

SAP_AbapRun duplicated - SAP Language Step doesn't work

$
0
0

Hi,

 

I have duplicated "SAP_AbapRun" Job definition to a new one, and when submiting this new Job Definition SAP_Language_STEP (Parameter LANGUAGE) is ignored.

 

Our Build is: M33.104-74500.

 

After submit Job in CPS, IN parameter is 'PT' - Portugal but when I go to SM37 is in EN (English) and spool list is in English.

 

Anyone with the same problem?

 

Note: With SAP_AbapRun SAP_Language_STEP (Parameter LANGUAGE) works as expected.

 

Regards,

André

Dashboard functionality in CPS

$
0
0

Hi All,

 

Can any one tell me about the Dashboard functinality in Redwood CPS ? How to create the Dashboards for the jobs in CPS ?

 

Regards

Kiran

Issue related to SAP CPS

$
0
0

This is about an issue faced in SAP CPS.
After upgradation to CPS version M33.104-74500 from M33.74-62951 it has been noticed that the automated report that were configured in CPS to be sent as HTML attachment through an SMTP email is failing. In the job chain the report generation step is getting cpmpleted succesfully but the mail sent step is failing.

Following CPS programs and parameters are used:

 

System_ReportRun

Report/Expression: GLOBAL.Weekly_Backup_Job_POK_Status (name of CPS report/filter)

Report format /Expression: HTMLText

 

System_Mail_Send

To/Expression: xxxxxx@xxxxxx.com

Subject/Expression: Weekly POK Backup Status

Text/Expression: Weekly POK Backup Status

Relative Job/Expression: Generate Report, Job 1

Job file/Expression: report.html

 

The error log is as below:

-- JOB RUN STACK TRACE --

JCS-103005: Job not found. Relative job is "Generate Report, Job 1", current job is Job 108976008 (submitted from System_Mail_Send copy from 2010/04/01 15:00:19,276 America/New_York). Cannot find job 1

        at com.redwood.scheduler.apiint.model.helpers.RelativeJobFinder.a(RelativeJobFinder.java:74)

        at com.redwood.scheduler.apiint.model.helpers.RelativeJobFinder.locate(RelativeJobFinder.java:104)

        at com.redwood.scheduler.apiint.model.jobfile.JobFileExpression.locateRelativeJob(JobFileExpression.java:4)

        at com.redwood.scheduler.system.jobs.SendMail.sendMessage(SendMail.java:170)

        at com.redwood.scheduler.system.jobs.SendMail.execute(SendMail.java:151)

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

It was working fine prior to upgradation. Please suggest a solution. Thanks.

System_Mail_Send - Get user email address

$
0
0

Hi,

 

I am trying to use System_Mail_Send to send a notification in the end of a Job Chain.

 

How I can retrieve user email address from SAP CPS user(UME)?

 

I want to use this information as To destination.

 

Regards,

André Ferreira


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?

client software using Redwood

$
0
0

Hi,

 

I am setting up cps 8.0 M33 on my solution Manager I am going to connect to 5 satellite systems.

 

Do i have to install any client software on any of these satellite systems?

Do i just have to deploy the sca file on the central server(solution manager) and then do the configuration.

how are platform agents created?

can i update the client software from the Scheduler?

 

Please help me on this

 

Thanks

 

Joyce

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.

How do I send an email with an attachment using utl_smtp

$
0
0

Hello,

 

I am trying to send an email with an attached file utilizing utl_smtp. I want to be able to send the UNC file location (
desktop\share\filetoAttach) so that the procedure picks up the file from the shared location; attaches to the email and sends.

 

My current procedure that works (minus the attachment) that calls utl_smtp is as follows:

 

 

PROCEDURE SYSJCS.SEND_MAIL (

pSender    VARCHAR2,

pRecipient VARCHAR2,

pSubject   VARCHAR2,

pMessage   VARCHAR2) IS

 

mailhost  CONSTANT VARCHAR2(30) := 'smtpmailserver.company';

crlf      CONSTANT VARCHAR2(2):= CHR(13) || CHR(10);

mesg      VARCHAR2(4000);

mail_conn utl_smtp.connection;

 

BEGIN

   mail_conn := utl_smtp.open_connection(mailhost, 25);

mesg := 'From: '|| pSender || crlf ||

        'Subject: '|| pSubject || crlf ||

        'To: '||pRecipient || crlf || '' || crlf || pMessage;

 

   utl_smtp.helo(mail_conn, mailhost);

   utl_smtp.mail(mail_conn, pSender);

   utl_smtp.rcpt(mail_conn, pRecipient);

   utl_smtp.data(mail_conn, mesg);

   utl_smtp.quit(mail_conn);

END send_mail;

 

Any insights would be appreciated.

 

Kind Regards,

David Carr

BASIS Administrator

How can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

$
0
0

We need the Request Restart ability when scheduling a single reoccurring job in Redwood. Most of our jobs are scheduled in CHAINs which offers the Final Status Handler on Step level, and the schedule is "paused" when a job in the CHAIN has failed ( the next instance does not populate until the OP MSG has been Replied to) , and once the OPERATOR message is replied to, the CHAIN can resume running again ( desired ) . But we need this same ability when scheduling a single job not in a CHAIN. In our testing, we set up a job with Request Restart chosen on the Error , Killed and Unknown selections on the Restart Behavior Tab. But we found when a job is scheduled say once a day at 8AM, and when it fails, an OPERATOR msg appears allowing a Restart choice ( desired), but the next day's schedule also populates ( undesired) and we do NOT want the schedule to continue on yet because we need a chance to fix the error before the next insance runs for business reasons. So how can you get the schedule of a single reoccurring job with Restart ability in Redwood to pause when it has failed...?

'IS' checked on Time Windows

$
0
0

I cannot find in the manual, what the 'is'
means, when you check it within time windows.

 

I notice when we look through our list of the, some are checked, some are not.  

  1. What is the difference.
  2. What is the impact, if you do not select this, when you should?

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


REL =waitEvents.. Jobname?

$
0
0


Hello,

 

how can I get the jobname of a job which raised an event with REL?

 

The jobId I can get with =waitEvents.<Event>.raiserJobId.

 

At the moment I extract the jobname from "waitEvents.<Event>.raiserComment" with "substring" and "indexOf", but I hope there could be a better possibility.

 

 

Thanks and best regards

Dana

SAP/Redwood Capacity

$
0
0

Good Day Everyone,

 

I have tried in vain to see if there is a capacity limit to how many jobs a single Redwood server can handle in a given 24 hour period  Seeing that Redwood has a server/client relationship, I would imagine the number could be high but I was wondering if there is any documentation that states so.  We here typically blast out 17, 000 jobs a day on a single server instance but we are starting to run into performance nuances  so the first question asked to me was can Redwood handle this many jobs.  I'm curious, how much work do other shops produce?  Your responses are greatly appreciated.

Issue related to SAP CPS

$
0
0

This is about an issue faced in SAP CPS.
After upgradation to CPS version M33.104-74500 from M33.74-62951 it has been noticed that the automated report that were configured in CPS to be sent as HTML attachment through an SMTP email is failing. In the job chain the report generation step is getting cpmpleted succesfully but the mail sent step is failing.

Following CPS programs and parameters are used:

 

System_ReportRun

Report/Expression: GLOBAL.Weekly_Backup_Job_POK_Status (name of CPS report/filter)

Report format /Expression: HTMLText

 

System_Mail_Send

To/Expression: xxxxxx@xxxxxx.com

Subject/Expression: Weekly POK Backup Status

Text/Expression: Weekly POK Backup Status

Relative Job/Expression: Generate Report, Job 1

Job file/Expression: report.html

 

The error log is as below:

-- JOB RUN STACK TRACE --

JCS-103005: Job not found. Relative job is "Generate Report, Job 1", current job is Job 108976008 (submitted from System_Mail_Send copy from 2010/04/01 15:00:19,276 America/New_York). Cannot find job 1

        at com.redwood.scheduler.apiint.model.helpers.RelativeJobFinder.a(RelativeJobFinder.java:74)

        at com.redwood.scheduler.apiint.model.helpers.RelativeJobFinder.locate(RelativeJobFinder.java:104)

        at com.redwood.scheduler.apiint.model.jobfile.JobFileExpression.locateRelativeJob(JobFileExpression.java:4)

        at com.redwood.scheduler.system.jobs.SendMail.sendMessage(SendMail.java:170)

        at com.redwood.scheduler.system.jobs.SendMail.execute(SendMail.java:151)

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

It was working fine prior to upgradation. Please suggest a solution. Thanks.

Start CPS with the queues held?

$
0
0

Let´s say that for some reason the CPS system is down and I want to prevent jobs from being submitted upon start. Is there any way to start CPS in a mode that hold the queues, which normally starts along with CPS?

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.

Viewing all 1466 articles
Browse latest View live


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