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

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


SAP CPS API - executeQuery to find number of Partitions

$
0
0

Hi SCN,

 

I've played with executeObjectQuery (which returns an Iterator) to read through a list of objects. However now I'm trying to use executeQuery (in this instance to find number of Partitions).

 

This "execute[s] the given query and return[s] the object that represents it"

So if you run "Select count(Partition.*) from Partition" I would expect to get a result like "6"... but as an object.

 

Has anyone run this?
It will be very useful to get this sussed out

 

cheers, Jamie

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 when defining Solman connection

$
0
0

Dear Gurus.

When defining connection to Solman, the following error message appears:

000226-mRemoteNG - confCons.xml.png

The full log attached.

Please advice!

Regards

Vladimir

SAP BAE interface with CPS - pass through authentication doesn't work?

$
0
0

We are running a project to create an E2E Job Management Solution

with SolMan and SAP CPS integrated.

 

System 1: SolMan

Version: 7.10 SP4

 

System 2: SAP CPS by Redwood

Version: CPS v8 (M33.65) (on SAP NW 7.30 SP7)

 

What is happening?

We have setup the SAP Inbound connection fin CPS and are testing Job Requests and Job Documentation in SolMan and the interaction with

SAP CPS.

 

For this it seems that although the RFC generated in SolMan (by activating the CPS SAP Inbound connection); the actual security here is

pass-through authentication. I.e. user JOHNSMITH in SolMan picks up any security associated with JOHNSMITH in CPS.

 

HOWEVER !

 

This pass through authentication seems to ONLY pick up privileges assigned directly to this user by name on specific CPS objects. Any CPS

privileges assigned by roles (obviously the only workable method on a large scale) does not get picked up. So for example the user can

login to CPS directly and have FULL ADMIN access - but through the BAE they can only, for example, see Queue Q001 if their ID is specifically

assigned on that object.

 

If this is a real issue that BAE pass-through authentication isn't working and will not pickup access via CPS security roles then this is

a really massive problem and maybe a serious bug in the design.

 

I am hoping there is a tweak somewhere in config to get this working.

 

Very interested to hear from anyone else out there who has SolMan integrated with CPS -- the solution in theory is a really good one for job management...

Upgraded to M28.42-49089

$
0
0

Hello,

We recently built 2 new CPS instances using Build: M28.42-49089.  I am experiencing an issue with the new systems:

 

If I try to right click on an item (Job Definition, Completed Job in Job Monitor, etc), I get a small pop-up window in the corner of the screen that says:  "Exception during handling of the responseXML".  I receive the error in both Firefox and IE.

 

I am also unable to import any .car files (job definitions).  They just error out.  When I try to click on the error details to get the log files, I get the same error message as listed above:  "Exception during handling of the responseXML"

 

Any suggestions would be greatly appreciated.

Redwood group box not showing as Error

$
0
0


Redwood group box is not showing as error even some of the subboxes under the main box fails.

Please help to resolve this issue.

I need to show the group box as error even if any subboxes job fails .

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.


How to download existing job list from CPS

$
0
0

Hi,

 

I am new to CPS.

 

Our client is using CPS, and are looking for option to download the latest jobs that are set in CPS, so that future changes can be suggested accordingly. But I couldn't find any option to download (in excel) full list of jobs.

 

Can CPS guru suggest, if this is possible and if yes, how to extract the details.

 

Regards,

NR

Free version user limit

$
0
0

Experts,

 

We have reached the maximum limit of 10 users for our sap cps 8.0 free license. we tried deleting some of the users and tried creating a generic user, but it still complains user limit 10 reached. Please advise..

 

Thanks in advance,

Praveen

Export Import of redwood job Chain

$
0
0


Hi,

 

Our redwood M28 is running on Solman on netweaver 701 with redwood license. Now we have planned to migrate the redwood CPS to new standalone java system.

 

I have installed SAP netweaver java 7.31 with CPS M33.92 version and created environment SAP which automatically created a queue. Now we want to move all job chains from old redwood in solman to new system. I am able to export and import single job chain successfully but not able to export and import through car file. Is it possible to export all job chain and import in new system. We have the license for new redwood CPS also. I tried to look in many blogs mentioned below but could not find the correct solution.

 

http://wiki.scn.sap.com/wiki/display/SM/FAQ+Job+Scheduling+Management

http://scn.sap.com/thread/3381486

http://scn.sap.com/thread/1571783

 

Also I have noted that,  export tree option under the application SAP is disabled. I have tried export using export rule set but it did not worked.

 

Any help with  regards to export/ import of the job chains will be great

 

Regards,

Vinz

Redwood Script - Application assignment issue

$
0
0

Hi,

Build version M33.104.

 

I'm trying to submit the SAP_BW_ImportProcessChains using Redwood Script and  when i used the following code:

Application app = jcsSession.getApplicationByName("TEST");
aJob.getJobParameterByName("APPLICATION").setInValueString(app.getName());

there is no output, the job definition doesn't get created in CPS.

 

I also tried the following alternatives:

Application app = jcsSession.getApplicationByName("GLOBAL.TEST");
aJob.getJobParameterByName("APPLICATION").setInValueString(app.getName());

also

Application app = jcsSession.getApplicationByName("TEST");
aJob.getJobParameterByName("APPLICATION").setInValueString(app.getUniqueId().toString()); //from the cookbook

Still no, output. and this time, when i checked the job parameters, it had an number value for the Application.

The application TEST is in the GLOBAL partition.

 

when i comment the above two lines of code , the import completes successfully.

I also experienced the same issue, when i tried to set the PARTITION parameter for Import Process Chains same way as above.

 

Please let me know how to correct my issue.

 

Thanks

Nanda

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

Redwood script - NPE for duplicate(), but the job exists.

$
0
0

Hi Everyone,

M33.104 - build version.

 

I'm tried the following code

 

{
JobDefinition newABAPJob = jcsSession.getJobDefinitionByName("DUP_TEST");
if (newABAPJob == null) {
newABAPJob = jcsSession.getJobDefinitionByName("SAP_AbapRun").duplicate();
newABAPJob.setName("DUP_TEST");
jcsSession.persist();
}
else {
jcsOut.println("JobDefinition already exists");
}
}

When i replaced SAP_AbapRun with a job definition i already have (as below), i received a Null Pointer Exception.

newABAPJob = jcsSession.getJobDefinitionByName("ECC_FIN_AP_TEMPLATE").duplicate();

Error:

57 more
Caused by: java.lang.NullPointerException: while trying to invoke the method com.redwood.scheduler.api.model.JobDefinition.duplicate() of a null object returned from com.redwood.scheduler.api.model.SchedulerSession.getJobDefinitionByName(java.lang.String)
at com.redwood.scheduler.custom.ShellScript_nandak.execute(ShellScript_nandak.java:17)
at com.redwood.scheduler.custom.ShellScript_nandakStub.jcsExecute(ShellScript_nandakStub.java:20)
... 62 more

 

The Job definition exists - screenshot below. The job is not a template. I tried with different job definitions that i created, it always failed.

But when i used SAP_AbapRun or SAP_AbapRunPrint, it is successful.

7-31-2014 5-48-15 PM.png


Please let me know what am i doing wrong?



Thanks

Nanda

Redwood script error and no output for redwood script job?

$
0
0

Hi everyone,

M33.104 - build version

I wrote a script to set the parameter SAP_USER_NAME in all the job definitions that had a specific substring.

 

{
JobDefinitionParameter jobdefparam;
for (Iterator it = jcsSession.executeObjectQuery("select JobDefinition.* from JobDefinition where Name like '%_PRC_TEAM_%'", null); it.hasNext(); )
{
JobDefinition jobdef = (JobDefinition) it.next();
jcsOut.println(jobdef.getName());
jobdefparam = jobdef.getJobDefinitionParameterByName("SAP_USER_NAME");
jobdefparam.setDefaultExpression("SAP_USER");
jcsOut.println(jobdefparam.getDefaultExpression());
jcsSession.persist();
}
}

When i executed this script in shell, some of the jobs got changed but not all of them because i got an error - Script engine Evaluation.

 

... 57 more
Caused by: JCS-122035: Unable to persist: JCS-102090: Object 'Job Definition OTX.ECC_D_FI_OT_VIM_KPI_COLLECTION (Copy from 2014/07/22 06:58:07,454 America/Los_Angeles)' of type Job Definition cannot be modified
at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:941)
at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:882)
at com.redwood.scheduler.custom.ShellScript_nandak.execute(ShellScript_nandak.java:23)
at com.redwood.scheduler.custom.ShellScript_nandakStub.jcsExecute(ShellScript_nandakStub.java:20)
... 62 more
Caused by: com.redwood.scheduler.model.exception.NonModifiableObjectException: JCS-102090: Object 'Job Definition OTX.ECC_D_FI_OT_VIM_KPI_COLLECTION (Copy from 2014/07/22 06:58:07,454 America/Los_Angeles)' of type Job Definition cannot be modified
at com.redwood.scheduler.model.method.impl.BranchedUniqueNamedApplicationObjectMethodImpl.vetoPhaseHandler(BranchedUniqueNamedApplicationObjectMethodImpl.java:154)
at com.redwood.scheduler.model.method.impl.JobDefinitionMethodImpl.vetoPhaseHandler(JobDefinitionMethodImpl.java:1061)
at com.redwood.scheduler.model.BaseSchedulerEntityImpl.vetoPhaseHandler(BaseSchedulerEntityImpl.java:1015)

 

Then i created a Redwood script job and executed, there was no output file, also when i checked, the same set of jobs which were not updated with the parameter value when i executed from shell, remained the same. So

 

  1. Why did i get the error when i executed in shell? why only few jobs got updated? Why did i get an error saying that job definition cannot be modified?
  2. Why did the redwood script job did not produce any output files? i was hoping to see a text file sort of log to validate the changes. Am i missing something?

 

PS: these job definitions are just created, none of them are scheduled yet.

 

Thanks

Nanda


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.

Passing the Parameter value from one variant to another

$
0
0

Hi ,

Build version M33.104.

I'm trying to pass the parameter value from one variant to another.

Variant 1 of Job 1, has two parameters, which i want to set as out parameters of Job 1 and map it to the duplicate of Store Variant job parameters.

 

The Variant 1 has a lot of parameters, so i'm trying to iterate through them to the one i want (also because there is no getSAPAbapVariantParametersByName() method is not available, or is it? there is one for selection but not a parameter?)

 

The following code didn't compile, because of the error: object mismatch between vpar and it.next().

Iterator it = variant.getSAPAbapVariantParameters();
while(it.hasNext()){
SAPAbapVariantParameter vpar = it.next();
if((vpar.getName()).equals("PAR_BUDA")){
//more code where i get the parameter's value
}

 

Following are my questions:

  1. Why is the returned object of getSAPAbapVariantParameters() is a collection of SAPAbapVariantParameters but i couldn't assign it to the object vpar, through it.next();?
  2. should i use this --> String param1 = (String)it.next(); to get the parameter?
    casting helped:
    SAPAbapVariantParameter vpar = (SAPAbapVariantParameter) it.next();
  3. I am not able to figure out how to get the value of the parameter inside the if condition.
    • getHigh and  getLow methods are available, but the API documentation says, they are deprecated and not to use.
      Tried the  getLow() method, didn't work.

 

 

Please help me fix this, or an alternate solution you might have come across.

 

Thanks

Nanda

 

Message was edited by: Nanda Kumar

Error when defining Solman connection

$
0
0

Dear Gurus.

When defining connection to Solman, the following error message appears:

000226-mRemoteNG - confCons.xml.png

The full log attached.

Please advice!

Regards

Vladimir

Importing Web Service in SAP CPS

$
0
0

Hi everyone,

Build version M33.104.

 

We are trying to import web services using the WSDL url.

When i use a URL, that doesn't prompt for userid/password, it is possible to import the job definition.

When i use a URL, that prompts for userid/password (when access through browser), the import fails at initial parsing.

 

8-5-2014 8-34-37 PM.png

 

I maintained a credential with SOAP protocol and endpoint URL same as the WSDL url.

Still no luck. Please let me know what am i doing wrong?

 

To make sure i'm not missing any per-requisites:

  1. I do have an empty slot in WebServices.OutboundServer.limit
    • does that mean i have to create a process server? is yes how?
  2. Maintain the credential
    • I have maintained the credential, but how does the import web services job definition know to use that credential. In other words, how does the credential and Import_Web_Service job definition are linked?

 

Thanks

Nanda

Migrate Jobs in Redwood

$
0
0

Hi,

I am new to Redwood CPS.

 

Could some of you pls give me some information on ..

 

Where and how to create a new job (in SAP/Redwood)?

How to migrate across the landscape (Dev/QA/Prod)?

 

Any documentation around this would certainly help.

bw.sandy@gmail.com

 

Thanks!

Viewing all 1466 articles
Browse latest View live


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