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

How to send SMS about the job completion

$
0
0

Hi ,

 

Could you please some help me how to send the SMS alert about the job completion .

 

Thanks

Ramkumar


SAP CPS return code mapping

$
0
0

Hi All,

 

Can you please clarify the below query.

 

How can I force all SAP jobs into 'Completed' which are running on ECC process server for the return codes '0-4' for  whatever is the message class, message number and message type.


Thank you in advance.


Regards,
Ramana

Workflows & Automation (Redwood)

$
0
0

Hello Experts,

 

I am looking for some information on Redwood automation area, where I am trying to believe technically that its possible.

 

  • Redwood accepts email notifications & kick in certain jobs & chains.
  • Workflow capabilities in Redwood or any other application that make this possible.

 

Thanks,

Kamal Bhargava

Getting data from Job Definition

$
0
0

Hi All,

 

This might be the simplest question but not sure how could I go forward with this.

 

I have 5k jobs in Job Def table and keep clause is not defined. System is up and running from past 4 years.

I want to get the list of Jobs that were defined but not ran never.

 

```

select jd.* from JobDefinition jd where jd.UniqueId not in (select j.JobDefinition from Job j);

```

 

The above query gives the list of jobs in job def but not in job. The problem is server is timing out due to humongous size of Job table. Please suggest some optimal solution to get the results.

 

Many thanks in advance.

How to schedule jobs in CPS with time intervals

$
0
0

Hi experts,

 

Need assistance in scheduling jobs in CPS with time intervals. Below is the requirement:

 

Inside ChainA are 3 jobs:

 

JobA starts

JobB starts 3 mins after JobA (regardless of JobA status)

JobC starts 5 mins after JobB (regardless of JobA status)

 

Pls take note we are just using free version of CPS. Any help is highly appreciated. Thanks in advance.

 

 

regards,

Angelo


Redwood CPS job goes to status ERROR but job works completes ok in SAP

$
0
0

Hi

 

When I schedule a particular ABAP job to run in SAP from Redwood CPS it always completes with the Error status in CPS, but the job runs okay and ends in the Finished status in SAP.

 

I tried a different ABAP job and this ran okay, with the CPS status going to Completed.

 

I had a look at the CPS log files for the Erroring job and there were no errors in the 'log' file but in the 'step1/spool1' file there is the line 'Processing completed with errors'. Is CPS doing a little more than SAP as regards checking job statuses and looking in the spool file for errors?

 

Checked the operator messages and all it says is:

 

Job 1501323 (submitted from ZGB_FI_KO8G_SETTLEMENT copy from 2009/08/24 15:34:54,250 Europe/London)) has aborted due to at least one error while running the jobs in step: Job 1501324 (submitted from ZGB_FI_KO8G_SETTLEMENT copy from 2009/08/24 15:34:54,250 Europe/London))

 

- doesn't elaborate why the job has status Error.

 

Is this saying the CPS part had an error or the ABAP part??

 

Ross

CPS monitoring capabilities

$
0
0

Hi Gurus.

I am new to CPS. Was exploring on its capabilities and features which could benefit us:

 

- If we have 2 systems A & B, and a job is scheduled in system A, Job 2 is to be run in System B after Job 1 in system A completes. I think iit is possible to do so. Right? After that, when the job in system B is completed, can we send an email notification to some users informing them about the status of the job - whether it is complete / failed etc?

 

- Is the above functionality available in the free version of CPS? 

 

- Let's say user runs a job manually via SA38 i.e. without scheduling it. I read in one of the blogs that intercepting this job via Redwood is possible. So does that mean that I could still use CPS to monitor this locally run job? Can I again alert the user in this case on completion of job even if he did not provide any info while running it background - i.e. based on his user id, can Redwood send him mail on completion of this job?

 

- Last question is abt integration of PI and CPS. Is a scenario like this possible - System A is sending a file through PI to System B. System B will release a scheduled job once the file has reached it. Now using PI, I will send the file to system B. Can PI talk to CPS in such a way as to tell it that the file has come, and now you can release the job - i.e., as soon as file comes in system B, the job is released without any manual intervention?

 

Thanks in advance gurus.

BI Process chain

$
0
0


Hi All,

 

Could you please clarify the below questions.

 

We ran a BI process chain via SAP_BW_ProcessChainRun. But ended up with following error log.

 

1. Is this mean the rfc user who started the process chain didn't have enough rights?

2. Do we use only rfc user to start a process chain or can we use any other user to start a process chain?. Unlike for ABAP jobs where we can use the SAP_USER_NAME in SAP_ABAPRUN to execute a abap program?

 

 

 

com.redwood.scheduler.connector.sap.rfc.connection.exception.SapBapiException: BAPI exception while calling RSPC_API_CHAIN_START: E RSPC 031 0 Chains Were Selected

 

BAPI exception while calling RSPC_API_CHAIN_START: E RSPC 031 0 Chains Were Selected [ZPV_D_MTRTEST_RED, , , 0]

Parameters:

  ZPV_D_MTRTEST_RED

 

 

 

  I_T_VARIABLES

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

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

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.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: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:763)

 

 

Thank you in advance.

 

 

Regards,

Ramana


RFC error: XM034 Wrong Variant (even though its correct).

$
0
0

Hi,

 

I'm getting (another) strange error message back from CPS when executing a job. Basicly its saying that I'm using the incorrect variant... it then lists the correct variant, one of which is the one I'm using.

 

                            •   ERROR LOG   *******************

TBLCLOSERECONKEYS/14130700: opened

ABAP_RUN: R/3 call BAPI_XBP_JOB_ADD_ABAP_STEP failed

RFC error: XM034

RFC Message: Internal problem (function BAPI_XBP_JOB_ADD_ABAP_STEP)

Program error XM034 found in BAPI_XBP_JOB_ADD_ABAP_STEP for job TBLCLOSERECONKE\

YS/14130700:

Normally this is caused by specifying an incorrect VARIANT name. The VARIANT yo\

u used is: ZF_FPG4

This program can only have the following variants:

RFKKFIKEYCLOSE#ZF_FPG4

TBLCLOSERECONKEYS/14130700: deleted

 

                            • /ERROR LOG   *******************

                            •   SPOOL      *******************

PROGRAM                        = RFKKFIKEYCLOSE

VARIANT                        = ZF_FPG4

 

                            • /SPOOL      *******************

 

Any ideas

Redwood training ?

$
0
0

Hi…

Our SAP implementation has recently licensed the full version of CPS by Redwood to manage our job scheduling.

Unfortunately, I have been unable to find local training courses to get my team of developers up to speed quickly with the new software.

All we really have is the online Product Information as well as a few tutorials from the Redwood site.

 

Is there anyone out there who could recommend training courses or perhaps good text books which would enhance our learning of the software.

 

Thank you.

New version of sap cps Redwood doesn't work using Chrome browser.

$
0
0

Hi :

           I am getting the following error(screen shot attached) "404 Not Found"  Error: Cannot define forward location.

 

Error occurs on our new version of Sap cps version M33.116-80989.

 

This error never occurred on the old sap cps version M33.85-65736

 

I get the redwood logon screen, but after entering the userid and password I get this error.

 

Can anyone help on this ?

 

Patrick Donnelly

patrick.donnelly@agr.gc.ca

Redwood - How to send text via e-mail

$
0
0

Hi All,

I have created a new Process (type Mail) with the following "Source"

 

 

[Headers]

reply-to=${Mail_To}

subject="Test E-Mail"

[Body]

Content-Type=text/html; Charset=UTF-8

 

 

When I "Submit" the process I receive the mail but without body text.

 

I have tried to add a text in these positions but without success.

 

 

[Body]

<Text added>  <-------------------------- first attempt

Content-Type=text/html; Charset=UTF-8

<Text added>  <-------------------------- second attempt

 

 

 

Then I have observed that in case of error I don't receive the mail but I can't find a log to understand the error.

 

Thanks in advance for your kind support.

 

Regards,

 

    Giovanni

How to send a text with muliple lines via e-mail

$
0
0

Hi All,

I have been trying to send a text with multiple lines in this way

 

This is the first line <CR>

This is the second line

[Headers]

 

I have used as carriage return <CR>, <BR>, /n but without success.

 

Any idea?

 

Thanks in advance for your kind support.

 

Regards,

 

    Giovanni



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?

How to set a Chain in "completed" status when a step is in error status.

$
0
0

Hi All,

how is it possible to set a Chain in "completed" status if the chain is stopped because a step is in error status.

 

More exactly I want to avoid to execute all steps and "reset" the status of the Chain as "Completed", if this is possible.

 

I'm using Redwood 9.0.13.1

 

Any help will be greatly appreciated.

 

Thanks in advance for your kind support.

 

Regards,

 

   Giovanni


CPS Hanging modifying ENV objects

$
0
0

In our system we've started (after many months of being up) getting hangs when users edit SAP System objects (maybe others but only ones recorded so far).

 

There are no ORACLE alert log issues so DB looks AOK.

OS layer looks generally healthy - no file systems are full - no inodes usage full.

 

Wily shows that the servlet is just running to 30000ms on keepalive and repeating - can't see it doing anything clearly.

Have run Wily transaction trace - just shows this keepalive and "Unknown SQL"

 

Looking at the logs via SolMan (or local NWA) at the same time we can see security errors such as the one below - but I thought only AccessScheduler was required on roles (we build our own roles, so only action on most is AccessScheduler - then privileges all added at CPS layer). So this may be a red herring and not related...

 

User <user> does not have AccessSchedulerBusiness permission: java.security.AccessControlException: No authorization

 

Any thoughts out there?

Find job chain containing an ABAP program?

$
0
0

Hi everybody,

 

I need to have a report or SQL that will take an ABAP program name as a parameter and return the job chain(s) it is called by.  I have not been able to figure out how to link the necessary files together.  As far as I can tell this involves these files:   JobChain, JobChainStep, JobDefinition, SAPAbapProgram.  But I am having trouble figuring out which fields to match on between files.  Or is there a file that links all of these together?

 

Thank you in advance.

Redwood - Partition error

$
0
0

Hello All,

When I try to create a Time Windows I receive this error message by pressing the "save" button.

 

CS-103045: Privilege 'create' on object 'Time Window <Partition Not Set>.GB_Time_Windows' is required to perform this operation

JCS-102074: Field Partition on Time Window <Partition Not Set>.GB_Time_Windows must be specified

 

This is my first object time window that I'm trying to define. I have set a value for these fields:

 

Tag [Time Window]

Name

Description

 

Tag [Elements]

and from

until the

 

Tag [Opens At]

set the number of the day (for example 1) and pressed the icon.

 

What is the meaning of "Partition" in Redwood?

 

Any help will be greatly appreciated.

 

Thanks in advance for your kind support.

 

Regards,

 

      Giovanni

How to import a BOBJ report

$
0
0

Hi,

 

I am needing to import a BOBJ report and was going to use the SAP_BOBJ_ImportReportDefinitions job.  Can someone tell me if that is the correct method?  If so, how do I input the report path?

 

Any guidance for this will be greatly appreciated.

 

Best Regards,

Rick

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

Viewing all 1466 articles
Browse latest View live


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