The SAP NetWeaver interface in Automate Schedule brings added functionality over the CCMS scheduler and allows you to integrate SAP jobs with your other applications.


Adding SAP Jobs

Let's take a look at how easy it is to get Skybot Scheduler's SAP NetWeaver interface up and running. The SAP interface brings added functionality over the CCMS Scheduler as well as allows you to integrate SAP jobs with your other applications. So to begin, there are three steps.


Defining Your SAP System

The first one is to define your SAP system to Skybot. We've got a system to find out there and what you need to do is define the system using parameters that are from your SAP system. So on your connections, in the definition of your systems, here is my system. So this is the application server, the instance number, the system ID, and I put that same information into Skybot.

The next two parameters, then, are optional. I am going to pass on intercepted jobs right now, but I would recommend turning on polling. What the polling does is it allows Skybot to actually poll your SAP server and pull in the job definition for any jobs that are running on that server. And I will show you how that will make things a lot easier when you are setting up your Skybot jobs or your SAP jobs within Skybot.

You also need to enter a default environment, and this would be used to run the jobs at the time they are scheduled. This is our default that runs under SAP Star and we need to store the password. You can also create multiple environments for each system. So I can look at it and see here that I have three different environments that I can select based on the user profile that is running those jobs. So that is step one: set up your system definition.

Define Jobs or ABAP Steps

Step two, then, is to define the actual jobs or ABAP steps that are going to run when your Skybot jobs run. So if we take a look at this one, here is where you define the system that it is going to run on, the environment that it is going to use, and it pulls that in from your defaults. You can do some output distribution from this Skybot job, if you like, and then down here are the actual ABAP steps that you are going to run when this job runs.

Now I've got one sweeper step out there, but I am going to add another one to this job just to show you that what we've got is a finder. So if you start typing the name of the ABAP step that you want to run, Skybot will go over to your SAP server and find it. So I am going to go ahead and go over and select that. The other thing is, if there are program variants that are associated with that program, you can select from a finder from that as well. So I am going to pick this ten minutes. So now I am going to run two different SAP jobs in one of my Skybot jobs so I've defined SAP jobs. Step two is done.

Schedule SAP Definition in Skybot

Now what I want to do is take this SAP definition and schedule it in Skybot. So I go to the Skybot jobs. I've got one defined up there and this is where you add the SAP jobs to your Skybot jobs. So this is the agent that I am going to run it on and I am going to run this, and I am going to run this job every five minutes, but you can select any of the scheduling options that are available in Skybot. What I want to show you is the commands. So now when I set up this job, one of the options that I have is to select a NetWeaver job, and these are the jobs that are defined in Skybot. So I've got this demo job that I just created and I can create another one. So if I selecct a NetWeaver job, I can say run it on any of my systems or a specific one and then I can select from a list of SAP jobs that I've got defined there. I can run multiple SAP jobs in one Skybot job if I want to do that. So that's all it is to set up that.

Polling and SAP Jobs

So now I've got my system, my SAP job, and I've got it scheduled to run at a certain time as a Skybot job. The other thing I want to show you then is how that polling works to pull the job definitions from your SAP server. So if we take a look at the SAP NetWeaver jobs, here are all the different jobs. Now some of these are defined in Skybot and some of them are not. So, and I think we can see the duration of when these jobs run, the user that they run under.

What I can do if I want to add a new job into my Skybot schedule, I can just select right click on any one of these and select "create a job definition," and Skybot will go out and it will pull in the job nameîit will pull in the system information that it is using. This is a high priority job, and it will also pull in the ABAP steps that are being run. If I go ahead and save that, I've got to put a description, and I am also going to tag it and I will save this job. And now if I go back over to my NetWeaver job description, I will see a new job out there and now I can take this and schedule it in Skybot.

Again, I have polled all of the information that I need to run this job, including the steps that are run. Plug this into Skybot and it will run on any schedule that I need it to run. So that's it. It's three easy steps. And now you are up and running your SAP jobs in Skybot Scheduler and you are able to use all those functions, such as forecasting and security and job monitoring and job suites that Skybot has to offer.

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: October 24, 2019