Skip to Content
author's profile photo Former Member
Former Member

Limitation when creating a batch job, or am I missing a trick?

I wanted to create a chain of batch jobs

MY_CHAIN

RSSNAPDL RSPO0041 RSBTCDEL

I duplicated the SAP_AbapRun job definition three times and renamed them RSSNAPDL, RSPO0041, etc. so that when I view the chain it would be self explanatory as to what jobs were being run in each step. However, this didn't offer any validation of variants etc. when keying in the details of each job in their job definitions.

So I ran the job SAP_ImportAbapPrograms and SAP_ImportVariants for each of these programs. Now if I run SAP_Abap_Run I get drop-down lists for the program name and appropriate drop-downs for variants. However, this method defines a batch job to run in SAP and doesn't give me a definition that I could use in the job chain as I had done previously.

Am I missing a trick here? Is there a way I can get the best of both worlds - creating job definitions that are "validated" and can be chained?

Thanks in advance for any guidance.

Guy

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2008 at 12:33 PM

    HI Guy,

    The simplest way to achieve solution for this type of solution is to create a job in your SAP system (containing all the steps which you want to run) and import this multi step job using script RSI_IMPORT_CCMS_JOBS. This will take care of all the parameters (including printer settings and all if any) and will create a job chain in SAP CPS (Cronacle).

    On this option a lot of information is available in Cronacle help.

    With the approach you are using the way forward is - you are required to edit the newly created scripts (in your case RSSNAPDL RSPO0041 RSBTCDEL) and in the parameters you are required to default the values for ABAP program and variant name.

    The path of the same is - Edit script -> Properties -> Parameters and then in parameter APAP_PROGRAM_NAME add the program name and in the APAP_VARIANT_NAME, default the variant name.

    More over, I find that these programs are the standard Basis jobs the scripts for these jobs already present in Cronacle. IF you are using version 7, please find the same in job chain with name RSI_SAP_HOUSEKEEPING_DAILY. If not, just look for the scripts in application RW_SAPR3_EXAMPLES.

    One small tip: Do not use program RSBTCDEL and instead use RSBTCDEL2. Refer SAP OSS Note 525933.

    Hope this helps.

    Best regards,

    Vithal

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Vithal,

      Thanks very much for your reply. I will go with the option of importing the definitions from SAP using the SAP_ImportCcmsJobs definition. I couldn't find a definition similar to your RSI_SAP_HOUSEKEEPING_DAILY suggestion so I will just import the individual jobs scheduled via the Standard Jobs facility within SM36 and import them as well.

      Many thanks

      Guy

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2008 at 02:06 PM

    Hi Guy,

    Which version of redwood Cronacle you are using. if it is version above version 7, you should have this job chain.

    Even if you are using version 6, all these automatically created scripts should be present in the application RW_SAPR3_EXAMPLES.

    Hope this helps.

    Best regards,

    Vithal

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Vithal,

      We are using Redwood Version SAP 7.00 Build: M24.5-24694. The only pre-defined job definitions are as follows:-

      System_Alert_Send

      System_ArchiveEvents

      System_Backup

      System_CreateMonitorTree

      System_DeleteJobFiles

      System_Derby_Backup

      System_DynamicTrace

      System_ExecuteExternalJob

      System_ExplainJobStatus

      System_Export_Application

      System_Export_RuleSet

      System_ForceJobStatusUnknown

      System_Import_Archive

      System_Info

      System_Mail_Configure

      System_Mail_Send

      System_OperatorMessage

      System_ProcessKeepClauses

      System_ReconfigureLogging

      System_RemoveDeletedJobFiles

      System_RemoveOldJobs

      System_SMS_Configure

      System_SMS_Send

      System_SNMP_SendTrap

      System_SetDefaultLanguage

      System_SetSystemDataRootDirectory

      System_Sleep

      System_UpdateJobStatistics

      System_Upgrade

      System_VersionInfo

      SAP_CcmsJobGetStatus

      SAP_ClosingCockpit_AbapRun

      SAP_ClosingCockpit_ManualTask

      SAP_CopyVariant

      SAP_DeleteCcmsMonitors

      SAP_DeleteVariant

      SAP_ExternalCommandRun

      SAP_ExternalProgramRun

      SAP_GenerateCcmsJobDefinition

      SAP_GetInstalledComponents

      SAP_GetXmiLog

      SAP_ImportAbapParameterDefinition

      SAP_ImportAbapPrograms

      SAP_ImportArchiveObjects

      SAP_ImportBatchEvents

      SAP_ImportCalendars

      SAP_ImportCcmsJobs

      SAP_ImportCcmsMonitors

      SAP_ImportExternalCommands

      SAP_ImportOutputDevices

      SAP_ImportVariantDefinition

      SAP_ImportVariants

      SAP_Info

      SAP_InterceptedJob

      SAP_RaiseEvent

      SAP_ReleaseInterceptedJobs

      SAP_RunTemplateJob

      SAP_SetXmiAuditLevel

      SAP_SolutionManager_AbapRun

      SAP_StoreVariant

      SAP_SynchronizeEventHistoryCriteria

      SAP_SynchronizeInterceptionCriteria

      SAP_SynchronizeTerminatedCcmsJobs

      Regards

      Guy

  • author's profile photo Former Member
    Former Member
    Posted on Aug 13, 2008 at 09:19 AM

    Hi Guy,

    I think you are using the version which is just out (might be in ramp up) from SAP and is installed on JAVA stack of Net Weaver.

    I am using version 7 of redwood Cronacle which is developed in PL/SQL. So there might be some difference.

    Best regards,

    Vithal

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.