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


Asynchronous web service call from Redwood

$
0
0

Hi Everyone,

Build version M33.104.

We have a scenario where we have to call an asynchronous web service.

From the documentation i understand that the Redwood job will be in status Running until the web service completes.

How does the call back work from the web service to Redwood? How does Redwood know the asynchronous web service job completed?

 

From the documentation, the per-requisite is:

 

  • callback to UpdateJob1 web service at ServerAddress with JobId and FinalStatus as Out parameters
    • Should i create two out parameters for the web service job definition in Redwood? one JobId and another FinalStatus?
    • How do i get the URL to UpdateJob1 web-service, so that i can make my web service, call it, to update the Redwood job that called it?

 

 

thanks

Nanda

SAP Systems and Isolation Groups

$
0
0

Dear experts

We started to configure RW with free-of-charge license. So SAP system were created under Isolation Groups.

When Full license was activated, only GLOBAL Isolation Group is available for all configurations.

But we cannot see all SAP systems, created in named IG before. How can we move or objects, created in named IS when logging on to IS GLOBAL?

Regards

Vladimir Kogan

Is it possible to rename a user?

$
0
0

Dear Gurus. For Solution manager integration it's required to create the scheduling user in uppercase.

For example, user in Solman =   REDWOOD_USER .

User in J2EE UME should be in uppercase also = REDWOOD_USER. Finally this user is imported into CPS user list.

By mistake I have created it in J2EE in lowercase, so from CPS point of view user redwood_user is already exist and I cannot overwrite it with  new correct one.

Is it possible jut to rename ( turn to uppercase) the username in CPS?

Regards

Vladimir Kogan

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

Importing from command prompt - no error code

$
0
0

Hi everyone,

Build version M33.104.

 

Following this thread, I'm trying to implement the CTS+ for tracking the transports between different Redwood landscapes.

I want to follow the loose coupling for the export and close coupling for import using the script deployment method.

 

for the script deployment to work, i should map the return codes of the import job with the deploy script so that CTS+ understands it.

 

Now, I tested the commands and found that, the command prompt doesn't return error code if the import fails, instead i have to go and check the Promotion-->Imports section to see whether the import job completed successfully or not.

The command returns/says upload complete, irrespective of the status of the import job. Screenshot below:

 

car import cmd.png

 

import job.png

 

Can you please let me know of a way to output the error? or is there a command to query the status of the job from a remote server?

 

PS: using the -verbose option didn't help.

 

Thanks

Nanda

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

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.


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 .

Please help me to resolve this issue.

Please share if anyone have idea about Redwood.

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

Scheduling SAP BI Process Chain

$
0
0

Hello All,

 

I am trying to schedule process chains of SAP BI (BW).

A process chain named "CDE_TEST" has been created in BI in order to test the scheduling via Cronacle.

So we have done the following actions:

  - submit successfully the RFC Agent on BI system

  - submit successfully (?) the RSI_IMPORT_BW_CHAINS script: it had a completed status with a small output file (that contains only one line: "CDE_TEST                 /CDE_TEST")

  - submit the the RSI_IMPORT_BW_CHAINS_DEFINITION script: it submitted by itself 2 others jobs: the first one was successful (it was the same as the one launched by RSI_IMPORT_BW_CHAINS) but not the second which shows either errors on RFC ("erreur RFCÂ : FAILED" and "Message RFCÂ : FAILED") or systems ("erreur RFCÂ : RFC_ERROR_SYSTEM_FAILURE" and 'Message RFCÂ : Function module "/SCJS/XBP_VERSIONS_GET_INT" not found.")

  - submit the RSI_RUN_BW_CHAIN script, with default values, to run the "CDE_TEST" process chain. Then I get differents errors :

         => "erreur RFCÂ : RFC_ERROR_SYSTEM_FAILURE" and "Message RFCÂ : Message type 1 is unknown."

         => "erreur RFCÂ : FAILED" and "Message RFCÂ : FAILED"

         => "Exception : SYSTEM_FAILURE"

 

So I would like to know the pre requisites for these kind of functionnality. I mean, for example, it is mandatory to load the transport files in the BI systems to make this works ? or does this transport files have any effects on process chains functionnalities ?

 

Thanks you in advance for your help.

 

Regards,

Yi Jiang

 

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

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

Configuring Emails thru Cronacle Redwood

$
0
0

Hi All,

 

We are using Cronacle 7 and want to generate emails from Redwood. We have read through RWMail in Redwood help but not able to get much out of it. If someone has worked or has a step by step document for configuring Emails via redwood, kindly reply to us. Any other pointer as well are highly appreciated.

 

Thanks

Warm Regards

Rajeet

Email: Mathur.Rajeet@gmail.com

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


Using EventStatus as a pre-condition

$
0
0

Hi All,

We have SAP CPS M33.69-61130.

 

We have a requirement where one of the job chain step should be skipped, if the event is not raised.

So i decided to use the pre-condition, so i tried the following( without any knowledge in coding)

  1. =FileEventDefinition(TEST).EventStatus()
  2. =TEST.EventStatus()
  3. =waitEvents.TEST.EventStatus()
  4. =FileEventDefinition.TEST.EventStatus() 

 

my idea is to get a return value 'R' for the expression and get it in a parameter and then check it in the pre-condition if EVENT_STATUS=R.

 

Please let me know whether this is possible, if yes, please help me solve this.

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

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.

SMS Alerts on mobile phones through CPS

$
0
0

Hi,

 

Can anyone guide if it is possible to configure sending SMS alert from CPS in the event of a SAP batch job failure?

(Just like triggering SMTP email)

 

If yes, what is the process, configuration and hardware requirement, if any?

 

Best Regards,

Kedar Pujari

Issue with Periodic Jobs

$
0
0

Hello,

 

I am trying to schedule one periodic job on 1st of every month. I am done with every thing but there is an special requirement where i have to select only 6 columns from KNVV table, i have tried creating variant with selecting 6 fields but when i run that job it fetch all the columns. Could you please help on the same?

Viewing all 1466 articles
Browse latest View live


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