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

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.


Error in OS job

$
0
0


After installing platform agent i am trying to execute the job but i am getting following error.

 

Error log.

 

error 2015-03-20 13:58:25,651 CET [30843-job-processor tid=f7796b30] opsys.job - @locale@:com.redwood.scheduler.jobservice.remote.jobprocessor.NoSwitchUser~root
error 2015-03-20 13:58:25,656 CET [30843-job-processor tid=f7796b30] opsys.job - @locale@:com.redwood.scheduler.jobservice.remote.jobprocessor.OSError~Operation not permitted
error 2015-03-20 13:58:25,663 CET [30843-job-processor tid=f7796b30] job.main - @locale@:com.redwood.scheduler.jobservice.remote.jobprocessor.CouldNotStartJob
error 2015-03-20 13:58:25,673 CET [30843-job-processor tid=f7796b30] opsys.file - Cannot get attributes for /usr/sap/redwood/agent_CPS08/output_joblog/jobs/47470000-47479999/47478631/JobFiles/stdout.log: No such file or directory
error 2015-03-20 13:58:25,674 CET [30843-job-processor tid=f7796b30] opsys.file - Cannot get attributes for /usr/sap/redwood/agent_CPS08/output_joblog/jobs/47470000-47479999/47478631/JobFiles/stderr.log: No such file or directory

 

 

 

 

Thanks

Sharath

Dashboard question

$
0
0


Hello Everyone,

 

In dashboard view the count of job chains is showing: 123

 

The result of the below sql query is giving 125

 

select count(*) from JobChain

 

If I do the manual count of job chains, the count is 119.

 

 

Can you please help me in understanding why is the difference of count in all these scenarios.

 

 

Regards,

Tinku

Trying to find roadmap for SAP BPA v9.0 patch releases

$
0
0

I'm trying to find a proposed schedule for SAP BPA v9.0 patch releases or updates.  Couldn't find anything in PAM...thanks.

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

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

Execute a SQLPlus command in a ksh script

$
0
0

I have developped a SAP CPS  KSH script to be executed in a job chain. This script includes a command line like : sqlplus -s <user>/<password> \@<sql_file_to_be_execute>

 

When I execute the script I have the error :

ERROR: ORA-01017: invalid username/password; logon denied

 

But when I logon the server with the user I used to execute the job in SAP CPS and execute exactly the same command line as below I have no error !

 

What's the matter ? (The user is declared in SAP CPS security, Identification information.

 

Please help. Thanks.

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


Get event raiser job name in alerting email

$
0
0

Hi There,

 

I am trying to setup an alert for long running job in SAP CPS. The scenario has been setup such that an event is triggered based on the time duration mentioned in Runtime Limits Tab of a job. This event is set as a wait event for a job chain which consists of one step System_Mail_Send.

 

I am trying to retrieve the raiser job name as subject for the alert email to be send but didn't have any luck yet, the closer I could come was using expression- waitEvents.<name>.raiserComment which always return with the statement "Maximum Runtime Limit breached. Raising an event for job <id>". I did not find any mechanism to override this default comment.

 

I do not have license for alerting mechanism and hence need to do this workaround. Do let me know if there a way in order to get the raiser job name in the alert email.

 

Appreciate any help provided. Thanks in advance.

 

 

Regards,

Ginson Rajan

TimeWindows for Summer/Winter Pacific Time

$
0
0

Hi Everyone,

CPS build M33.104.

 

We have two jobs, one for PST and another for PDT and are mutually exclusive.

The days on which the Day light savings switch happens is not constant, it changes from year to year.

2015 - Mar 8 - Nov 1

2014 - Mar 9 - Nov 2

 

How do i create a time window that is open only for summer and another, only for winter.

 

thanks

Nanda

CPS Questions

$
0
0

Hi Everyone,

 

 

We are using CPS M33.104

 

We are in the process of setting up of CPS Production system. Can you please clarify the below questions..

 

1. In what circumstances do we need to define 'Execution Size' process server parameter. Is it mandatory to define this parameter?. Can we leave this field as empty?

 

2. In what circumstances do we need to define 'Load Threshold' process server parameter. Is it mandatory to define this parameter?. Can we leave this fields as empty?

 

3. In what circumstances do we need to define max RFC connections SAP System parameter in XBP tab?. Is it mandatory to define this parameter?. Can we leave this fields as empty?

 

4. Is cps automatically takes care of load balancing in SAP or do we need to define load factors on  SAP process server?

 

 

 

Thanks,

Lohit

Heartbeat job failed

$
0
0

Hi Gurus,

 

I was importing an job into Redwood. During the import, I suspected, that I have given wrong parameter so I killed this import job. After this, something happened and all the jobs for that Production server started failing and we started getting alerts.

 

The log for the failed jobs read as

 

Socket receive error

OS-10054: An existing connection was forcibly closed by the remote host.

unable to connect to localhost port 21848; error -1

read  instead of OK  from server

Socket creation error: host=null port=152920

 

The Heartbeat job had also got cancelled.

 

Upon investigation, it was discovered that Redwood dropped its connection with the SAP system's DB. Holding the Redwood queue and re-starting the listener service brought everything to normal

 

My doubt over here is that can Redwood connection to SAP DB take a drop if an import job is killed?

 

My understanding is that killing an running job is killing and running SQL statement which is fetching data from the same (Redwood's) Oracle DB or other (SAP system's) Oracle DB. And killing such an SQL MAY result in data corruption or data inconsistency; but definitely not a connection drop! Though we are not considering the rollback and commit concept over here

 

Can anyone please share their experiences on this

 

R.../-

How to start 3 separate Job Chains "independently".

$
0
0

Hi,

 

I have four (4) Job Chains, and I would like all four to start (may be together), but independently (means, If one fails or any part of one fails the other chains should not stand still) with one push of a button (scheduled or on-demand).

 

Should I create an "Event" and add that Event to all four Job Chain's "Wait Event" area, and when ever I want to run, I should manually "Raise Event" so all will start?

 

Job Chain 1  = (Job 1.1 - Job 2.1 - Job 3.1 - Job 4.1 - Job 5.1 - Job 6.1)

Job Chain 2  = (Job 1.2 - Job 2.2 - Job 3.2 - Job 4.2 - Job 5.2 - Job 6.2)

Job Chain 3  = (Job 1.3 - Job 2.3 - Job 3.3 - Job 4.3 - Job 5.3 - Job 6.3)

Job Chain 4  = (Job 1.4 - Job 2.4 - Job 3.4 - Job 4.4 - Job 5.4 - Job 6.4)

 

Capture.PNG

Please let me know what would be the best solution.

 

Thank you,

 

Junoon

Job alert source : Regex to match string ending with numbers

$
0
0

Hi all,

SAP CPS M33.104 build.

 

I am creating Job alert source for a set of job definitions that start with XX and end with a number generally.

Sample:

XX_D_TEST_01

XX_W_PASS_32

XX_W_PAF_67

XX_M_CHECK_JOB_192

XX_D_MISS_FILE_SAS_5

 

I tried matching with the Name Match Type set to Regex Insensitive and using the following Expression:

(XX).*?(\d*)

XX.*?\d*

XX_(D|W|M)_(.*(TEST|PA|CHECK|MIS|[0-9]\b))

 

but did not work out.

 

Can some one help?

 

thanks

Nanda

Top level job definitions

$
0
0


Hi All,

 


Can any one please help me with the query how to extract list of only Top Level master job definitions  excluding job chains and standard jobs.


Regards,
Chandu


Process chains already Completed to SAP but still in Waiting status in CPS

$
0
0

Hi,

 

 

We have this issue on process chains that are scheduled in redwood. Process chain stack in Waiting status but it is already completed in SAP. With this issue we need to force to unknown one by one the chain for their next schedule. We have a lot of chains running in the system so it is a burden for us to do force unknown it manually.

 

Do you think what is the problem or would be the solution for this?

 

Thanks in advance!

CPS Questions

$
0
0

Hi Everyone,

 

 

We are using CPS M33.104

 

We are in the process of setting up of CPS Production system. Can you please clarify the below questions..

 

1. In what circumstances do we need to define 'Execution Size' process server parameter. Is it mandatory to define this parameter?. Can we leave this field as empty?

 

2. In what circumstances do we need to define 'Load Threshold' process server parameter. Is it mandatory to define this parameter?. Can we leave this fields as empty?

 

3. In what circumstances do we need to define max RFC connections SAP System parameter in XBP tab?. Is it mandatory to define this parameter?. Can we leave this fields as empty?

 

4. Is cps automatically takes care of load balancing in SAP or do we need to define load factors on  SAP process server?

 

 

 

Thanks,

Lohit

Error when importing PI Channels - CPS 8 M33.85

$
0
0


Hello,

 

I am getting an error when attempting to run SAP_PI_ImportChannels. I have completed the pre-requisites and I am able to select that SAP system where the channels are located. Just wondering if anyone has seen this before I reach out to support. When I submit the import job I get the following error.

 

java.io.IOException: The markup in the document following the root element must be well-formed.

org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.

 

java.io.IOException: The markup in the document following the root element must be well-formed.

at com.redwood.scheduler.connector.sap.pi.channelmgr.PIChannelOperations.getChannels(PIChannelOperations.java:158)

at com.redwood.scheduler.connector.sap.pi.channelmgr.PIChannelOperations.getChannels(PIChannelOperations.java:51)

at com.redwood.scheduler.connector.sap.pi.service.jobs.ImportChannels.execute(ImportChannels.java:105)

at com.redwood.scheduler.connector.sap.pi.service.PIJobWorker.doWork(PIJobWorker.java:107)

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

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

Caused by: org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.

at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:246)

at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)

at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:160)

at com.redwood.scheduler.connector.sap.pi.channelmgr.PIChannelOperations.getChannels(PIChannelOperations.java:149)

... 5 more

 

Thanks,

Brian

SAP CPS Job logs

$
0
0


Hi All,

 

i currently using the SAP CPS version 8 and do anyone know this version have the ability to archive those job logs if we do not want to delete/remove those job logs via the keep feature in the job definition ?

 

 

Regards,

Chris

How to Create Job chain with steps using redwood script

$
0
0

Hi,

 

I need help in creating an job chain with 2 steps using redwood script. Can some one please send me the logic/script to create Job chains.

 

Thanks

Nidhish

Viewing all 1466 articles
Browse latest View live


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