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

Connecting to SAP using MSHOST string - doesn't work

$
0
0

Hi all,

CPS version M33.69-61130.

I am trying to connect to a SAP system using the connection string:

 

MSHOST=HOSTNAME R3NAME=SID GROUP=REDWOOD

The hostname corresponds to the hostname of a high availabilty server running on Windows.

I have manually added the following entries into the services file

sapmsSID 3600/tcp

sapdpSID 3200/tcp

sapgwSID 3300/tcp

I am not able to telnet to hostname at port 3600

I am able to open the sapgui using the command

sapgui hostname 00

So the MSHOST string is not connecting.

 

the error i am getting:

8:02:34 AM: Connection Failed: RFC: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=HOSTNAME GROUP=REDWOOD R3NAME=SID MSSERV=sapmsSID PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner 'XXX.XXX.XXX.XXX:sapmsSID' not reached TIME Mon Jan 14 08:02:33 2013 RELEASE 720 COMPONENT NI (network interface) VERSION 40 RC -10 MODULE nixxi.cpp LINE 3286 DETAIL NiPConnect2: XXX.XXX.XXX.XXX:3600 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 6 at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:557) at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1099) at com.sap.mw.jco.JCO$Client.connect(JCO.java:3590) at com.redwood.scheduler.connector.sap.rfc.jco2.connection.RfcConnectionCheckerImpl.checkConnection(RfcConnectionCheckerImpl.java:31) at com.redwood.scheduler.connector.sap.rfc.connection.impl.AbstractRfcConnec

Please help me solve this.


Libraries for scripting

$
0
0

Hi,

 

I have written some Redwood scripts that help us automatize some tasks in the system. Currently, the source code is directly visible in the job definitions. Now, in order to prevent anyone from fiddling with the code, I'd like to put it into a library and just call the methods from within the Code section of the Job definition. However, since the scripts make heavy use of the Redwood API and I don't have them available as I would have the standard Java SDK, I cannot really compile any classes as the objects and methods are not known outside CPS.

 

Is there any way of accomplishing this?

 

Thanks,

Alex

CPS:Process chain restart skipping step in error

$
0
0

Hi all,

 

This is to ask for input on how to handle BW process chain restart, skipping failed steps. Business case would be for instance as follows :

 

A process chain has 4 steps.

When submitted step 1 ends OK, step 2 fails. The process chain ends up in status Console and steps 3 & 4 are in status Skipped.

Objective is then to restart the chain from step 3 (i.e. step 2 in error would be skipped)

 

A first attempt was done by restarting the chain in BW directly but then the processing is not reflected in CPS. I’d assume this is expected behavior but I’m not sure. Is that correct ?

 

Then I tried to submit the process chain with parameter “Make Process Restartable If Errors Occur” = All.

When the process chains ends in “Console” status, replying to the “Restart process chain?” message allows me to select the jobid of any step. When selecting the one of the step 3, then the process chain ends in status “error”, the step 3 is not restarted (still skipped) and following error is produced at step 3 level:

 

Operator Message An error has occurred in the SAP connector: Exception while calling RSPC_API_PROCESS_RESTART: 126: ONLY_UNCHECKED


RSPC_API_PROCESS_RESTART is actually a SAP function module and ONLY_UNCHECKED is an "Exception" related to it. But error msg is not telling a lot.

 

Any idea what the issue could be and how to sort it out ?

 

Thanks in advance

 

Regis

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 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.

Integrate CPS with Solution Manager

$
0
0

Hi everyone,

I am planngin to deploy 3 CPS enviroments (dev-q&a-prod) and i have to integrate the CPS to the Solution Manager.

The doubt is if i have to integrate the 3 enviroments to the SOLMAN or just the producction system. Do you know what is recommended in this case?

Thanks in advance,

Sabin Larranaga

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

SAP CPS : Thread Count reaches max.

$
0
0

Hello,

 

SAP CPS 8.33.85

During the SAP CPS jobs execution , the thread count reaches maximum, how to close the idle threads. is there a parameter?

 

SAPMMC >> Shared table > thread count

used =8000

peak = 10000

limit =10000

 

Regrads

Shridhar Gowda


Basis batch jobs

$
0
0

Hi, i am new on this.

I need to get a list of the Basis jobs running in our instances (PBI, PR3, DBI, DRP, etc).

I know how to get that list.

Also, i need to look for the meaning of those Basis jobs, i need to know what each one of them do.

Where can i find that information?

For example, this is one of the jobs: RSAL_BATCH_TOOL_STARTUPDISP, i need to know what this job doese on the system.

How could i find the meaning of each job? i mean, what it is working for on the system.

 

Thank you so much.

Daniela.

Jobs stuck in "queued" ststus

$
0
0

Hello,

 

Discovered many jobs stuck in "queued" status. I checked the RFC agen job and it appeared to be running. Also checked "All messages" but there were no entries. I ended up shutting down and restarting the scheduler and that seemed to resolve most of the problems. My question is 3 fold:

 

First is how did this happen?

 

Second, there still seems to be some jobs in queued state with the message "RFC agent still in starting phase". The RFC job is running fine and there are numerous other jobs runing through this with no problems.

 

Third: Is there a way to monitor if this hung condition occurs again? It appeared to have beenin this state for 16 hours before I noticed it.

 

Thanks for anyones help.

 

David Carr

Redwood Process Server Question

$
0
0

Good Day Everyone,

 

I have run into a puzzling development which is why I am reaching out to this Forum.  I have two process servers that are defined to one queue.  The reasoning behind this is that one server (Process Server “A” for this discussion) is the active server.  The other server (Process server “B”) sits in a passive mode.  Every Saturday, the active server goes into passive mode and the passive server goes into passive mode. (So far – so good?)  Since both of these servers are defined to one queue, I was under the impression that when the failover occurs on Saturday, the jobs running against that queue wouldn’t care – they would continue to run as if nothing happened.  Oh – so wrong was I!!  The jobs continue to run against the server that was active but is now passive – thus lots and lots of failures.  The only way around this anomaly was to stop/start the queue which seems to clear up the problem (so I thought).  Recently however, some jobs, for whatever reason, will try to run against the passive side anyway. At first I thought that it was a resource thing so I tried various things like Locks and Resources ball to no avail.  Finally I got disgusted and just removed the passive process server from the queue but that really sucks because I’ll have to re-ad once again on Saturday so that it can the active server.  Has anyone every run into this situation before?  I swear that it a Redwood “thing” but I am not sure how to resolve it.  HELP!  Many thanks.

Continue chain but mark it error

$
0
0

Hello,

 

we use Jobchains in SAP CPS as general container for all kinds of Jobs.

Sometimes we have several Jobs which are logically independet from each other and do the same thing e.g. for different company codes, but we put them together in one jobchain because they follow the same scheduling pattern, which makes them easier to handle.

 

Because these Jobs are independet from each other we set the status handler On Error: Continue and On Killed: Continue, so that the other jobs still run, when another has failed (we don't want them to run parallel because they access the same database tables, which would slow them down).

 

The thing is that we don't see it in the monitor when one of those "subchains" runs on error because the "mainchain" is marked as completed.

 

Is there a possibilty to mark the "mainchain" with error even though the chain continues if one step runs on error?

 

Changing the Monitor so that it displays also subchains on error is not an option because sometimes it is also the other way round, and it is desired that the mainchain is marked as completed although a step went on error, and this would drastically decrease the overview in our monitor.

 

Greetings

Tim

Connecting to SAP using MSHOST string - doesn't work

$
0
0

Hi all,

CPS version M33.69-61130.

I am trying to connect to a SAP system using the connection string:

 

MSHOST=HOSTNAME R3NAME=SID GROUP=REDWOOD

The hostname corresponds to the hostname of a high availabilty server running on Windows.

I have manually added the following entries into the services file

sapmsSID 3600/tcp

sapdpSID 3200/tcp

sapgwSID 3300/tcp

I am not able to telnet to hostname at port 3600

I am able to open the sapgui using the command

sapgui hostname 00

So the MSHOST string is not connecting.

 

the error i am getting:

8:02:34 AM: Connection Failed: RFC: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=HOSTNAME GROUP=REDWOOD R3NAME=SID MSSERV=sapmsSID PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner 'XXX.XXX.XXX.XXX:sapmsSID' not reached TIME Mon Jan 14 08:02:33 2013 RELEASE 720 COMPONENT NI (network interface) VERSION 40 RC -10 MODULE nixxi.cpp LINE 3286 DETAIL NiPConnect2: XXX.XXX.XXX.XXX:3600 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 6 at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:557) at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1099) at com.sap.mw.jco.JCO$Client.connect(JCO.java:3590) at com.redwood.scheduler.connector.sap.rfc.jco2.connection.RfcConnectionCheckerImpl.checkConnection(RfcConnectionCheckerImpl.java:31) at com.redwood.scheduler.connector.sap.rfc.connection.impl.AbstractRfcConnec

Please help me solve this.

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

CPS UME Action AccessSchedulerBusiness - strange effects

$
0
0

The original symptom that drove this issue and SCN discussion:

We have SolMan integrated with SAP CPS.

We are trying to setup the SAP standard functionality that generates a SolMan Job Documentation link in an instance of a job in SAP CPS. We found that while this worked for ADMINISTRATORS for other users the link was generated back to SolMan with a "0" ID and so was not working.

We checked the logs and found an error saying we didn't have the action "AccessSchedulerBusiness". We didn't know for sure if this was the cause but we couldn't see any other issues, so we tried adding it.

 

The effect of the action - adding AccessSchedulerBusiness action:

We added this action to the 1 test user in DEV - et voila - it worked. The Job Doc URL link generation in CPS worked. Super

 

The Problem that arose:

Once we rolled this out to all users they all, immediately, began to get the error message as follows:

AccessSchedulerBusiness__Action__related__issues_001.png

So that is obviously a problem - no one could login. So obviously we rolled this change out again.

 

 

The summary

So the problem here is a conflict around the AccessSchedulerBusiness action (which we added to all our roles, which previously ONLY had action AccessScheduler in the NetWeaver UME). Adding this Action fixes the Job Doc URL link generation issue..... but breaks user login to the system.

 

My normal route would be to dig to the detail level here.... but there is not much documentation for this Action that I can find. And there are no clear associated CPS level Security Privileges that I can seem to link back to it. Does anyone know anything about it?


A good fix would be either to work out a more granular & specific way of fixing the Job Doc URL generation issue.... or to stop the login issue - perhaps by changing our license? But I cannot see any logical link to our license in this error....

 

 

The Additional consideration...

 

An interesting additional consideration, not 100% tested yet, is that it seemed that local UME users could still login. This meant our community could not as they are LDAP users... however our few TEST local UME users (with the Action) seemed to be OK.

 

 

Any input and involvement in this discussion is very welcome! I will post updates on resolution to help the community


SAP CPS : How to export & import the job definition from SAP CPS system 1 to system2

$
0
0

Hello,

 

How to export & import the job definition from SAP CPS system 1 to SAP CPS system 2 ?

 

How to export &import  the complete Job chain from System1 to System2 ? does this import the job definitions also.

 

Regards

Shridhar Gowda

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 Cronacle 7.0

$
0
0

Hi, my customer has the standalone version of CPS Cronacle 7.0  (the version prior to SAP CPS for NW 7.0)  which seems to be out of maintenance as of May 2014.  They are planning to proceed with an upgrade to SAP CPS V8 in the 2nd half of 2014 but there will be a period of non-maintenance between the end of CPS Cronacle 7.0 maintenance and their upgrade go-live ! We usuallu offer extended/customer specific maintenance periods but  didn’t find any info on that version on the service market place product availability matrix.

 

Any advise will be welcome...

 

Thanks

Darius

 

SAP CPS DR setup

$
0
0

Dear Experts,

 

Once CPS has been fully configured in the PRD environment the availability of the CPS is also mandatory as critical jobs are scheduled via CPS.

Hope we can able to configure the DR setup for the CPS. However am having below things to be clear before confirming the same.

  • Licensing part for the SAP CPS
  • In DR setup we are going to replicate the DB with some time frame so making the DR server up and running to continue the jobs scheduling is possible. However please confirm the same.

 

Regards,

Raja. G

Process Server Alert emails needed

$
0
0

Hi all,

 

Can you please let me know if I can receive emails, if Process server in CPS goes to shutdown or any other undesirable status.

 

I know that operator messages will be created but how do I receive mails to my inbox.

 

Let me know the steps.

 

Thanks,

Ramakrishnan R

Viewing all 1466 articles
Browse latest View live