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

Monitoring BW process chain CCMS jobs

$
0
0

Hi folks,

 

 

The business have raised a requirement where they would like BW process chains to be monitored. Our current set up is that if a BW process chain fails then an windows event log will be generated - which is read by our Alerting system and throws out an email.

 

In order for that to work we have <CRITICAL> set up in the comments field and when the job fails we have a trigger that reads the comment and kicks start the whole process.

 

Now we have several BW process chains in redwood, but the the business have asked us to fix a particular process chain if it fails. So initial we set the comment to contain <CRITICAL> so the job would alert if it fails, which it did but things got more complicated when we found out that the actual CCMS job failed at 12:51 but the alert was generated at 05:00. The alert generated at 05:00 because that is when the parent job had actually gone into an errored status (it had to wait for all the CCMS jobs to complete before proceding onto the next step).

 

We cant set the RSI_CCMS_JOB to have critical because it would alert for every time a CCMS job failed for every BW process chain.

 

Is there anyway round this or any solution?

 

Cheers Jazz


Error connecting external scheduler UC4

$
0
0

Hello,

 

I would like some opinions/help concerning connecting external scheduler UC4 with the option SMSE.

The idea is to activate the SAP Solution manager (work center) to automatic create the job in the external scheduler.

 

I am using the UC4 Automation Engine as external scheduler, and using the interface SMSE (Solution Manager Scheduling Enabler) in UC4.

The connection was created in UC4 with the RFC settings from SAP.

 

In SAP the RFC are created as a "TCP-IP connection"

 

 

Please reply If somebody has knowledge about this topic or even some material/link concerning this topic.

If so, i can send more details about the situation.

 

Many thanks.

Rodrigo

ROLL forward option on a WeekDay

$
0
0

I am having an issue, getting batch jobs in redwood, to roll on holidays.

 

For example, these are payroll jobs., they run, weekly Monday, but if Monday is a holiday, they are to roll forward to to run Tuesday.

I cannot get this to work?

ANy ideas?

Can Redwood intercept and combine the output of all jobs in one chain then put this on a network share?

$
0
0


We have a request from Security to use Redwood to run jobs for PS1, in the background, then intercept the output, combine it and send it to

a network share.

This would be 1 Chain with 10 steps with each step having its own spool output.  At the end of the Chain , Redwood would intercept all of this

output , zip it together, then send this zip file to a network share to be used by Security and Auditors.

CPS Interception - Schedule vs Schedule Intercepted (+ SAP_SynchronizeInterceptionCriteria)

$
0
0

Hi all,

 

We're just testing through the difference between these actions for XBP Job Control Rules for SAP CPS

 

Key 2 we're interested in are:

 

  1. Schedule
  2. Schedule Intercepted

 

The CPS GUI Admin guide definitions are:

 

ScheduleA reference to the job is created in SAP CPS. If the SAP job is found to be in a Released state in SAP (which means waiting to start at a certain point in time), it is dereleased (put back in status Scheduled in SAP). The job is scheduled to start in SAP CPS at the time it was intended to be in SAP.
Schedule InterceptedJobs that have been intercepted by the SAP system are scheduled in SAP CPS.

 

However to me they aren't suitably descriptive.

What we've found with "Schedule" if that you can continue to say that ..... "once CPS releases the Job the Scheduled version in SAP become active" - so it's actually like it puts the job in SAP in a suspended animation status and then activates it when it runs it.


But then what difference does Schedule Intercepted give you? The Schedule option clearly does intercept jobs - is this to do with activating Interception via the SAP system instead via CRITERIA_MANAGER? If so what are the pros and cons of each option?

 


Finally an appended point - CPS system job SAP_SynchronizeInterceptionCriteria does not seem to be required if you just setup some rules with the "Schedule" status - I haven't found that it's required at all in this scenario. Is it perhaps only required if you start using both CPS XBP Job Control Rules and CRITERIA_MANAGER in parallel?

 

Very interested in community discussion on these points

 

Regards, Jamie

How do you carry out an event if a job finishes with a return code 4?

$
0
0

Hi

 

A job which would complete successfully in SAP via the SM36 scheduler completes with an 'Error' in Redwood CPS because there are errors within the spool and it ends with a return code 4.

 

We don't want this to error in Redwood CPS, so we have set the return code mapping to Completed with entries of 0 and 4.

 

I.e. whether or not there is an error in the spool, the job will complete successfully in Redwood CPS.

 

However, we want to be alerted if there are errors in the spool.

 

How do we do this? The manual says "A job can raise one or more events when the job gets a specific job status or return code" - where is this set? I can see on the 'Event' tab of a job definition you can raise an Event when the job enters a specific status, but I only want to raise an event (or carry out a step / send an email etc) if I get a return code 4 (none of the job statuses are relevant) - how can I do this?

 

Thanks

 

Ross

Error connecting external scheduler UC4

$
0
0

Hello,

 

I would like some opinions/help concerning connecting external scheduler UC4 with the option SMSE.

The idea is to activate the SAP Solution manager (work center) to automatic create the job in the external scheduler.

 

I am using the UC4 Automation Engine as external scheduler, and using the interface SMSE (Solution Manager Scheduling Enabler) in UC4.

The connection was created in UC4 with the RFC settings from SAP.

 

In SAP the RFC are created as a "TCP-IP connection"

 

 

Please reply If somebody has knowledge about this topic or even some material/link concerning this topic.

If so, i can send more details about the situation.

 

Many thanks.

Rodrigo

CPS 8.0 Upgrade on NW 7.31

$
0
0

Hello,

 

I am trying to install

 

ETPRJSCHEDULER33P_92-20007176.SCA 8.00.33.92

 

on a system which has ETPRJSCHEDULER  7.31.9.0 installed.

 

SUM won't let me upgrade to CPS 8.0:

 

Rejected due to following reason(s):

• 001 : Component sap.com/ETPRJSCHEDULER cannot be updated to higher release

• 005 : Component sap.com/ETPRJSCHEDULER is part of the following usage type: JOB-SCHED;

 

According to some OSS notes and the installation guide one should use JSPM but this is not supported anymore in NW 731.

 

How do I upgrade to CPS 8.0 now?

 

Regards

Andreas


ROLL forward option on a WeekDay

$
0
0

I am having an issue, getting batch jobs in redwood, to roll on holidays.

 

For example, these are payroll jobs., they run, weekly Monday, but if Monday is a holiday, they are to roll forward to to run Tuesday.

I cannot get this to work?

ANy ideas?

Error occured when starting process chain

$
0
0

When we want to start a process chain via SAP_BW_ProcessChainRun we get the following error log:

 

-

-


Failed to start process chain /NSN/C_DSP_TR_GLOBAL_II. No logid was returned by the BW-SCH API.

 

com.redwood.scheduler.connector.sap.rfc.connection.exception.SapBapiException: BAPI exception while calling RSPC_API_CHAIN_START: E RSPC 022 Processes with Error

 

BAPI exception while calling RSPC_API_CHAIN_START: E RSPC 022 Processes with Error

     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.handleRscpApiErrors(ClientConnectionImpl.java:808)

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

     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.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.BwProcessChainCommand.execute(BwProcessChainCommand.java:98)

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

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

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

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

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

-

-


 

What could be the reason?

Thanks

Br

Günter

 

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.

Hi folks, A curious Q.

$
0
0

Dear Redwooders,

 

Am new to this community as well as redwood, i have just reserved an instance here : https://cft.wdf.sap.corp/virtualmachines/views/index.php?env=front&view=ViewModuleGroupVms&groupId=1309

 

i would like to setup a schedule, to run a batch file on my server - how to do this using redwood ? Can anyone guide me please

Points needed,

How to create a job for the same

Where to set my server in redwood

Where to set the schedule

How to make it run daily.

 

The question might sound silly, but since there is not much documentation am expecing a reply from the community. Let me know ASAP.

 

sai.

queue provider execution size reached no process server found

$
0
0

Hi,

 

I have a ramped up Redwood installation deployed into an existing XI system.  I've hit a problem with several job chains I have submitted where the above error message appears when I ask Redwood to "Explain Job Status" on a chain that is sitting queued and will not move on to running.  I have checked the queue that the job was submitted to run in and the Process Server that is serving the queue and both report an execution size of 2 for the relevant queue.   I have tried increasing this, but still to no effect.

 

Has anyone else encountered this issue as I can find no reference to this message or symptom in SAP notes, SDN or Google?  (In fact the paucity of documentation and notes is worrying for a scheduler I am being asked to deploy in a productive environment.  Am I missing out on some other source of info regarding Redwood and SAP?)

 

Thanking you in advance for any assistance offered.

 

Guy

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?

Job is getting cancelled in CPS

$
0
0

Hi,

 

We have implemented CPS on SOLMAN, and  when we were submitting a job for one of the SAP system and we are using Job chain method for submiting the job.

 

Job is getting cancelled with the below error,please find the below error and log.

 

 

Failed to create the job in the SAP system

BAPI exception while calling BAPI_XBP_JOB_ADD_ABAP_STEP: E XM 034 Internal problem (function BAPI_XBP_JOB_ADD_ABAP_STEP) [BAPI_XBP_JOB_ADD_ABAP_STEP, , , ]

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

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

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

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

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

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

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

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

     at com.redwood.scheduler.connector.sap.rfc.command.impl.AbapRunPrintCommand.doAddSteps(AbapRunPrintCommand.java:353)

     at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpJobRunCommand.execute(AbstractXbpJobRunCommand.java:177)

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

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

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

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

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


XM 034 - Failed to create the job in the SAP system

$
0
0

Hello,

 

I had 2 random job failures a few days ago at the same time that encountered the same issue. These jobs have been running without issue for a few weeks and continued to run successfully after these failures happened.

 

 

*******************************************************

Failed to create the job in the SAP system

com.redwood.scheduler.connector.sap.rfc.connection.exception.SapBapiException: BAPI exception while calling BAPI_XBP_JOB_START_ASAP: E XM 034 Internal problem (function BAPI_XBP_JOB_START_ASAP) [BAPI_XBP_JOB_START_ASAP, , , ]

 

BAPI exception while calling BAPI_XBP_JOB_START_ASAP: E XM 034 Internal problem (function BAPI_XBP_JOB_START_ASAP) [BAPI_XBP_JOB_START_ASAP, , , ]

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.AbstractXbpJobRunCommand.startJob(AbstractXbpJobRunCommand.java:829)

at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpJobRunCommand.execute(AbstractXbpJobRunCommand.java:501)

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

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

**********************************************************

 

 

I didn't find anything in the SM21 log but I found the following in RZ15 log

 

21:35:04   Internal problem (function BAPI_XBP_JOB_START_ASAP)

21:35:04   Error reported to scheduler: BAPI_XBP_JOB_START_ASAP; message: XM034

21:35:04   Continuation: <&2 empty> <&3 empty> <&4 empty>

21:35:04   Modification log: executing BAPI_XBP_JOB_START_ASAP with job name= PBC_UTIL_SM58_MONITOR, job number=21350400

SAP CPS Error Message Unable to delete job table entry [BAPI_XBP_JOB_DELETE, , , ]

$
0
0

Hello Friends

 

We are getting the below error mesage and the Jobs are getting failed.

 

BAPI exception while calling BAPI_XBP_JOB_DELETE: E XM 080 Delete a job: Unable to delete job table entry [BAPI_XBP_JOB_DELETE, , , ]

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

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

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

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

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

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

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

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

          at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpJobCommand.deleteJob(AbstractXbpJobCommand.java:207)

          at com.redwood.scheduler.connector.sap.rfc.command.AbstractXbpJobRunCommand.execute(AbstractXbpJobRunCommand.java:504)

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

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

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

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

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

 

 

Could you please analyze this Issue and help me in resolving this.

 

CPS Build: M28.35-44553

 

Regards

Yogesh Bhatt

CPS Report with Schedule and Job Parameter Information

$
0
0

Is it possible to create a report in CPS that will provide the below information?

 

Job Number

Job Name

Description

Program Name

Variant name

Time Window

Submit Frame

Job Chain Name

 

I am aware how to create a filter, then the report and use it with the system job to get the HTML format file through email.

What I am struggling to get is Schedule information (Time Window and Submit Frame) and Prog Name and Variant Information in the report (through a filter)

 

Best Regards,

Kedar

Query to clear raised events in CPS

$
0
0

Hi,

 

Is there a query to clear raised events in Redwood ?

Our CPS did not restart properly this WE and all the Event File Definition wich was started are now going in a pending status. The problem is that the raised ones are not visible in the monitoring (I cannot clear them !) and auto-submit jobs are not running anymore as new event file are pending !

How can I clear them (as they'aren't in the monitoring) ?

I solved my problem by creating a new file Event Definition for one of the job and it ran but I cannot do that (itu2019s not a solution) for all the jobs which were running correctly before.

We restart Redwood but event are still going in a pending status, I donu2019t see any operator message.

So, this problem is not similar with the one I opened a few days ago.

If someone can help, Iu2019ll really appreciate it.

 

Clement.

Scheduling CHECKDB job across multiple SAP systems

$
0
0

I have imported the CHECKDB job from one of our SAP systems and I would like to run this same job across multiple SAP systems in the landscape. However, when I try to run the same job in another system, I get an error with the message:

 

Failed to create the job in the SAP system

BAPI exception while calling BAPI_XBP_JOB_ADD_ABAP_STEP: E XM 262 Variant &0000000000610 for report RSDBAJOB does not exist

 

Any idea how I can run this job in multiple SAP systems?

Viewing all 1466 articles
Browse latest View live