Copying Job Steps from an Existing SAP Job
You can create a new SAP job in TA based on a CCMS job that has already run or has been scheduled with a unique SAP job ID. The new job will either be linked to the original job or it will be a copy of the original.
To copy job steps from an existing job:
-
Click Import to load to load the job steps from the SAP job entered in the Lookup existing SAP job list to the TA database.
-
Click Link with Selected Run or Link with Last Run to display data in the SAP Job Steps pane from the SAP job in the Lookup existing SAP job list. It also creates a link to the job’s definition in the SAP database.
Linked Jobs vs. Imported Jobs
If the new job is linked to the original job, it refers back to the original definition when it runs. If you make changes to the job steps of a linked job, the changes are made directly to the SAP database.
If the new job is imported from an existing job, the data is copied to the TA database and any changes are applied to the copy, not the original SAP job. Importing a previously run (or scheduled) job is equivalent to using the original job as a template, so the new job has no further connection to the original job.
-
Navigate to the SAP Steps tab of the SAP Job Definition dialog.
-
Enter a job mask to create a pick list in the Copy existing SAP job list.
You can click down arrow to display a list of the existing jobs in the SAP instance matching the job mask entered. If you do not use a mask, this warning message is displayed: “You have requested retrieval of all SAP jobs. This can take several minutes. Due to the large number of results only the first 200 records will be retrieved. You may also want to use a job mask to limit the number of results. Do you still want to proceed?”
-
Click OK to retrieve the first 200 records. TA provides multiple ways to filter through the SAP jobs. If you have some idea of the job name, you can enter a few letters and use wildcard characters to filter the number of jobs displayed in the list. Note that only uppercase letters without any spaces are accepted.
Note: The jobs that are available are restricted by the system configuration setting for the Copy Existing SAP Job list. See Adding an SAP Connection to TA.
Example: enter C* to limit your search to jobs with names starting with C.
Note: In the Copy Existing SAP Job list, the number in brackets to the right of each job is the unique SAP ID (Job Count) number assigned by SAP to each job instance.
If you do not know the job name, or if numerous jobs have similar names, you can click Browse to display the SAP Job Selection dialog and use additional criteria to filter the existing SAP jobs. You can search for an SAP job by any combination of this criteria: job name, user name, a date and time range or by the SAP job status.
-
Enter the criteria and choose Refresh to display a list of jobs that meet the specified criteria (Transaction SM37).
-
Modify the criteria and again click Refresh to refine the list of selected jobs.
Note: You can also use this screen to delete an SAP job selectively rather than load a copy of it. Choose it from the list of displayed jobs and click the Delete button.
-
Click Defaults to restore the default selection criteria and remove your job selection criteria quickly.
-
Click a job in the list of displayed jobs to choose an SAP job to copy, and then click OK.
-
To clear the job and all its related steps click Clear, and remove all the information on the SAP Steps tab of the SAP Job Definition dialog. However, the SAP Job Name, Job Class, Owner and Parent Group fields are retained. Any information entered on other tabs also remains intact.
-
To copy the job steps of the selected job to the current job definition, click Import to use the original job as a template and a completely new job. The name of the copied job is cleared from the Copy Existing SAP Job pane to indicate that the jobs are no longer linked.
-
To link the current job definition to the selected job, click Link with Selected Run. The job steps from the job are shown.
Note: You cannot modify the individual job steps that comprise the linked job. You can only view these steps.
-
To link the current job definition to the last run job, click Link with Last Run. The job steps from the job are displayed.
Note: The last linked jobs always clone the latest job run and run the cloned job while launching the job. Also while editing the last linked job, SAP steps are displayed based on the last run.
Note: You cannot see the job count after selecting Link with Last Run in the Copy Existing SAP Job pane.
-
To remove the link between the jobs, click Import.
-
-
Choose Include application log in the job output to include application log content and application return code in the job output tab.
Click Spool List Recipient to pass an email address as recipient for the spool list of a job via the Recipient Determination screen.
Note: In order to use corrections for SAP, Note 1171295 must be in the SAP System.
Click Use existing SAP job name while running linked job in SAP to run the last linked job with SAP Job name instead of Tidal job name.
This dialog contains these elements:
-
Email Recipient – Enter the email address for the recipient.
-
General attributes:
Copy – Click this option if you want the email copied to you.
Blind copy – Click this option if you want the recipient blind copied.
Express – Click this option to express the email.No forwarding – Click this option if you do not want the email forwarded.
-
Confirmation:
Send Message – Click the settings for sending the message.
Email Status – Click the settings for the email status.
No Print – Do not print the email.