Redwood Documentation

Product Documentation

 

›SAP ABAP

RunMyJobsSAP Connector

Introduction

  • The SAP Connector
  • HANA Platforms

Configuration

  • Configuring the Central and Satellite Systems
  • Installing SAP JCo
  • Configuring an SAP System for Process Automation
  • SAP RFC User Privileges
  • Assigning SAP Authorizations to the RFC User
  • Connecting to SAP Systems
  • Connecting to SAP Systems with the Wizard
  • Connection Details for the ABAP Stack
  • Intercepting SAP Jobs
  • SAP Job Interception Configuration
  • Interacting with SAP Events
  • Configuration Details on Interacting with SAP Events
  • Parsing Log Files to set Status of SAP Jobs
  • Understanding the Different XBP Interface Releases

Importing SAP Objects

  • Importing Objects from SAP Systems
  • Importing ABAP Programs
  • Importing ABAP Program Parameter Definitions
  • Importing Archive Objects
  • Importing Batch Events
  • Importing SAP BusinessObjects Processes
  • Importing SAP Calendars
  • Importing SAP CCMS Jobs
  • Importing Communication Channels via PI/XI
  • Importing External Commands
  • Importing and Running Mass Activities
  • Importing Output Devices
  • Importing Process Chains
  • Importing Process Chain Definitions
  • Importing Recipients
  • Importing Variants
  • Importing Variant Definitions

SAP ABAP

  • Handling ABAP Programs
  • Controlling Batch Input Sessions
  • Handling Variants
  • Creating and Modifying Variants in Redwood Server
  • Maintaining Variants Manually
  • Maintaining Variants Automatically
  • Maintaining Variants Automatically (Advanced)
  • Using Temporary Variants
  • Default SAP Process Definitions

Business Objects

  • Main
  • Interface Configuration
  • Crystal Reports
  • Web Intelligence
  • Data Services
  • Triggering Events
  • Crystal Reports REST
  • Web Intelligence REST

Process Chains

  • Handling Process Chains
  • Running Process Chains
  • Monitoring Process Chains
  • Restarting Process Chains

SAP PI/XI

  • SAP Communication Channels with PI/XI
  • Controlling Communication Channels with Redwood Server via PI/XI

Adaptive Computing

  • SAP Adaptive Computing
  • Controlling SAP Adaptive Computing

SAP Monitoring

  • Integrating SAP Monitors
  • Configuration Details for Integrating SAP Monitors
  • Sending Monitoring Data to SAP Systems
  • Configuration Details for Sending Monitoring Data to SAP Systems
  • Monitoring Redwood Server Availability in CEN
  • Active XMB Monitoring
  • Active IDoc Monitoring

Advanced Configuration

  • Connect to an ABAP System via SAProuter
  • SNC connection to an SAP System
  • The SAP Cryptographic Library
  • Tuning Redwood Server

Legacy Systems Support

  • Enable XBP 2.0 or 3.0 Functionality
  • Enhanced SAP Interfaces with Redwood Transports
← Using Temporary VariantsMain →

Default SAP Process Definitions

SAP-specific process definitions can be recognized by their prefix SAP_ and their definition type which is SAPR3 for most. Some parameters have both long and short versions of their values. The long values are used in drop-down menus in the submit wizard. The long versions are more verbose than the short ones, however, the short version must be used in chains, so both are listed here.

Disabling Process Description Updates

Over the life-cycle of the process, the description is updated. You can disable this feature for all or only built-in SAP processes. You set the process server parameter SAP_JobDescriptionPolicy on the process server of the SAP system, the parameter accepts the following values:

  • All (A) - automatic description change is active for all SAP process definitions
  • StandardOnly (S) - automatic description change is active only for processes of process definitions listed in this topic
  • None (N)- description updates are disabled for all SAP processes

SAP Process Definitions

The following SAP process definitions are available:

  • SAP_AbapRun - Run ABAP Report
  • SAP_AbapRunPrint - Run an ABAP report with print parameters
  • SAP_AbapRunPrintExt - Run an ABAP report with print parameters and spool list recipient
  • SAP_ACC_Controller - Control SAP application services through the ACC-CCI interface
  • SAP_BObj_DataServicesJobRun - Runs a Data Services job
  • SAP_BObj_GenerateReportDefinition - Generates a process definition of an SAP BusinessObjects report in the scheduler repository
  • SAP_BObj_ImportReportDefinitions - Imports SAP BusinessObjects reports into the scheduler repository
  • SAP_BObj_ReportRun - Runs an SAP BusinessObjects Crystal Reports or Web Intelligence report
  • SAP_BObj_TriggerEvent - Triggers an event in the SAP BusinessObjects system
  • SAP_BW_GenerateInfoPackageGroup - Generate a chain definition for an SAP BW InfoPackage group
  • SAP_BW_GenerateJobDefinition - Generates the definition of a single BW process chain job in the scheduler repository
  • SAP_BW_ImportInfoPackageGroups - Import InfoPackage groups
  • SAP_BW_ImportInfoPackages - Import InfoPackages
  • SAP_BW_ImportProcessChainDefinition - Import process chain definition
  • SAP_BW_ImportProcessChains - Import Process Chains
  • SAP_BW_InfopackageRun - Runs an SAP BW InfoPackage
  • SAP_BW_MaintainProcessChainDefinition - Maintains the definition of an SAP BW process chain
  • SAP_BW_Process - Represents a process of an SAP BW process chain
  • SAP_BW_ProcessChain - Represents an SAP BW process chain
  • SAP_BW_ProcessChainRun - Runs an SAP BW process chain
  • SAP_BW_RestartProcess - Restart a process of an SAP BW process chain
  • SAP_BW_RestartProcessChain - Restarts an SAP BW process chain
  • SAP_CcmsJob - Monitored SAP batch job
  • SAP_CcmsJobCheckStatus - Reconcile the status of an SAP batch job according to the DB with the actual status
  • SAP_CcmsJobGetApplicationLog - Get an application log of an SAP batch job
  • SAP_CcmsJobGetApplicationLogExt - Get an application log in different formats of an SAP batch job
  • SAP_CcmsJobGetApplicationLogHandles - Get the list of application log handles of an SAP batch job
  • SAP_CcmsJobGetLog - Get the job log of an SAP batch job
  • SAP_CcmsJobGetSpoollist - Get a spool list of an SAP batch job
  • SAP_CcmsJobGetStatistics - Get the runtime statistics of an SAP batch job
  • SAP_CcmsJobGetStatus - Get the status of an SAP batch job
  • SAP_CcmsJobModifyHeader - Modifies the header data of an SAP batch job
  • SAP_ClosingCockpit_AbapRun - Run an ABAP report from SAP Closing Cockpit
  • SAP_ClosingCockpit_ManualTask - Manual task in SAP Closing Cockpit
  • SAP_ConvertSpoolFileToRtx - Convert SAP spool to RTX
  • SAP_ConvertSpoolFileToRtxLowLevel - Convert SAP spool to RTX with more parameters
  • SAP_CopyParameters - Add all missing parameters and constraints of the source ABAP job definition to the target ABAP job definition
  • SAP_CopyVariant - Copy a variant of an ABAP program
  • SAP_DeleteCcmsMonitors - Removes an SAP CCMS monitor from observation
  • SAP_DeleteJobs - Delete SAP Jobs
  • SAP_DeleteVariant - Delete a variant of an ABAP program
  • SAP_ExportRFCFunctionModuleInterface - Export the definition of a RFC function module
  • SAP_ExternalCommandRun - Run an external command
  • SAP_ExternalProgramRun - Run an external program
  • SAP_GenerateCcmsJobDefinition - Generates the definition of a single SAP batch job in the scheduler repository
  • SAP_GetBatchResources - Retrieves information about available application servers and batch work processes
  • SAP_GetEventHistory - Retrieves the batch event history
  • SAP_GetInstalledComponents - Retrieves the list of installed components
  • SAP_GetSyslog - Retrieves the SAP syslog
  • SAP_GetXmiLog - Retrieves XMI Log
  • SAP_ImportAbapParameterDefinition - Import the parameter definition an ABAP program
  • SAP_ImportAbapPrograms - Import ABAP Programs
  • SAP_ImportApplicationServers - Import SAP application servers
  • SAP_ImportArchiveObjects - Import archive objects and document types
  • SAP_ImportBatchEvents - Import SAP batch events
  • SAP_ImportCalendars - Import SAP Calendars
  • SAP_ImportCcmsJobs - Imports SAP batch jobs
  • SAP_ImportCcmsMonitors - Adds a CCMS monitor to the list of observed monitors
  • SAP_ImportExternalCommands - Import external commands
  • SAP_ImportOutputDevices - Import output devices and formats
  • SAP_ImportRecipients - Import the definition of the SAP recipients
  • SAP_ImportVariantDefinition - Import the definition of a variant of an ABAP program
  • SAP_ImportVariants - Import variants of ABAP programs
  • SAP_Info - Retrieves details of an SAP system
  • SAP_InterceptedJob - Intercepted SAP batch job
  • SAP_MaintainXbpOptions - Maintain XBP Options
  • SAP_MA_CopyParameters - Copy mass activity parameters
  • SAP_MA_CreateParameters - create a new mass activity parameter record (deprecated)
  • SAP_MA_DeleteDunningProposal - Delete the dunning proposal of a new mass activity
  • SAP_MA_ImportMassActivities - Import SAP mass activity definitions
  • SAP_MA_ImportMassActivity - Import an SAP mass activity definition
  • SAP_MA_MassActivityRun - create a parameter record and start a mass activity run (deprecated)
  • SAP_MA_MassActivityTemplateRun - Start a mass activity run using an existing parameter record
  • SAP_MA_ResumeMassActivity - Resume processing of an interrupted SAP mass activity run
  • SAP_MA_ShowMassActivity - Show SAP mass activity definition
  • SAP_MA_StopMassActivity - Stop an SAP mass activity run
  • SAP_PI_GetChannelStatus - Retrieves the current status of an SAP XI/PI channel
  • SAP_PI_ImportChannels - Imports SAP XI/PI channels
  • SAP_PI_StartChannel - Starts an SAP XI/PI channel
  • SAP_PI_StopChannel - Stops an SAP XI/PI channel
  • SAP_RaiseEvent - Raises a batch event in the SAP system
  • SAP_ReleaseInterceptedJobs - Releases intercepted SAP jobs
  • SAP_ReloadApplicationLinks - Reload SAP application link definitions
  • SAP_RfcAgent_RetrieveOutput - Retrieve SAP output; internal use, only.
  • SAP_RunTemplateJob - Copy and run an SAP batch job
  • SAP_SetXmiAuditLevel - Sets XMI Log Level
  • SAP_SolutionManager_AbapRun - Run an ABAP report from SAP Solution Manager
  • SAP_StoreVariant - Store a variant of an ABAP program
  • SAP_SwitchOperationMode - Switches the operation mode in the SAP system
  • SAP_SynchronizeEventHistoryCriteria - Synchronizes the event history criteria with the SAP system
  • SAP_SynchronizeInterceptionCriteria - Synchronizes the SAP interception criteria with job control rules
  • SAP_SynchronizeTerminatedCcmsJobs - Checks the status of all terminated SAP jobs

SAP_AbapRun

This process definition is used to run ABAP's via the XBP interface in SAP Systems.

This process definition works with every version of the XBP interface, yet it offers a limited set of print and archive parameters (only those that are available in XBP 1.0) if you do not load the Redwood Transport files.

Parameters

TabParameterDescriptionData TypeDefault ExpressionDefault List of Values
ParametersSAP_SYSTEMSSAP SystemString

ParametersCLIENTSAP clientString

ParametersJOBNAMESAP job nameString

ParametersABAP_PROGRAM_NAMEABAP programString

ParametersABAP_VARIANT_NAMEABAP variantString

ParametersTEMPORARY_VARIANTCreate temporary variant?StringNY, N
ParametersJOBCLASSSAP job classStringCA, B, C
ParametersSAP_USER_NAMESAP user nameString

ParametersLANGUAGESAP language for the stepString

ParametersTARGET_SERVERSAP target server nameString

ParametersTARGET_GROUPSAP target server group nameString

ParametersJOBCOUNTSAP job count stored in Out valueString

Print ParametersPRINT_ARCMODEPrint/Archive modeString1 (Print only)1 (Print only)
2 (Archive only)
3 (Print and Archive)
Print ParametersPRINT_DESTINPrinterString

Print ParametersPRINT_IMMEDIATEPrint immediately?StringNY, N
Print ParametersPRINT_RELEASERelease print job?StringNY, N
Print ParametersPRINT_COPIES# of copiesString1

Print ParametersPRINT_SHOWPASSWDAuthority for printingString

Print ParametersPRINT_SAPBANNERSAP cover page?StringD (System Default)D (System Default)
Y (Print)
N (Do not print)
Print ParametersPRINT_BANNERPAGESelection cover sheet?StringNY, N
Print ParametersPRINT_EXPIRATIONExpiration in daysString81-8 days
9 (Do not Delete)
Print ParametersPRINT_RECIPIENTSpool list recipientString

Print ParametersPRINT_NUMLINESPrint lines per pageString

Print ParametersPRINT_NUMCOLUMNSPrint columns per pageString

Archive ParametersARCHIVE_SAPOBJECTArchive SAP objectString

Archive ParametersARCHIVE_OBJECTDocument typeString

Archive ParametersARCHIVE_INFOArchive infoString

Job Output ParametersSHOWLOGRetrieve job log?(*)StringYY, N
Job Output ParametersSHOWSPOOLRetrieve spool list?(*)StringYY, N
Job Output ParametersSHOWAPPLLOGRetrieve Application Logs?(*)StringYY, N
Job Output ParametersIGNORE_APPL_RCIgnore Application Return Code?StringNY - Ignore return code
N - Use system default
U - Use return code
Job Output ParametersDELETE_JOBDelete job when finished?StringNY, N

If you set Print/Archive mode to Archive only or Print and Archive, the following additional Archive parameters must be filled:

  • Archive SAP object - Referred to as Obj.type in SAPGUI
  • Archive object - Referred to as Doc.type in SAPGUI
  • Archive info - Referred to as Information in SAPGUI
  • Archive text information field - Referred to as Text in SAPGUI
note

If you need to use the optional Archive text information field parameter, known as Text in SAPGUI, you will have to use the process definition SAP_AbapRunPrint or SAP_AbapRunPrintExt.

Waiting for SAP Events

By adding the following two parameters, you can make jobs wait on events in SAP:

ParameterDescriptionDirectionData Type
STARTCOND_EVENTIDbatch event idInString
STARTCOND_EVENTPARMparameter of the event idInString

Note that you have to duplicate the process definition and modify the duplicate.

Retrieving Spool Output as PDF

By duplicating the AbapRun process definitions and changing the default output format for the process definition to PDF, you can force the SAP system to convert the Spool to PDF. This way, you can see colors, if there are any. This should work if you can retrieve the spool as PDF from within SAPGui.

Additional Print Parameters

The additional print parameters can be generated when importing CCMS jobs by setting the parameter Generate Extra Print Parameters? (EXTENDED_PRINT_PARAMETERS) to Yes.

It is also possible to duplicate any of the AbapRun process definitions and add the parameters there. The following parameters are recognized:

  • EMAIL_ADDRESS - The email address for the mail printer
  • PAGE_FROM / PAGE_TO - page range, numeric values
  • DRAFT_MODE - draft mode. Valid values: Y (Yes) and N (No)
  • PAGE_ORIENTATION - page orientation. Valid values: L (Landscape) and P (Portrait)
note

Due to the limited size of the field in SAP, the max length of the email address is limited to 50 characters.

note

According to SAP Note 513352, printing with access method "M" (email printer) will not be developed further.

Retrieving Part of the Job Log

You can retrieve part of the job log by duplicating one of the AbapRun process definitions and specifying one of the following parameters:

  • JOBLOG_FIRST_LINES - retrieve the first <n> lines of the job log
  • JOBLOG_LAST_LINES - retrieve the last <n> lines of the job log

When filled with a value > 0, only the given number of lines either from the beginning or from the end of the joblog is retrieved.

Temporary Variants

By duplicating the AbapRun process definitions and adding job parameters, you can make use of temporary variants. A temporary variant is created for the job and deleted once the job has finished.

You specify the values and select options by creating job parameters with names matching the technical name of the parameter or select option and setting Create Temporary Variant? or TEMPORARY_VARIANT to Y. You can use the SAP Object Editor to inspect previously imported variants for the specific names, see Creating and Modifying Variants in Redwood Server for more information.

More Information

Handling ABAP programs

SAP_AbapRunPrint

This process definition is used to run ABAP's via the XBP interface in SAP Systems.

This process definition makes use of the extended capabilities of the XBP 2.0 interface, which provides an extended set of print and archive parameters.

This process definition works on every version of the XBP interface, yet on versions below 2.0 the new functionality is disabled if you do not have the transport files installed.

Parameters

TabParameterDescriptionData TypeDefault ExpressionDefault List of Values
ParametersSAP_SYSTEMSSAP SystemString

ParametersCLIENTSAP clientString

ParametersJOBNAMESAP job nameString

ParametersABAP_PROGRAM_NAMEABAP programString

ParametersABAP_VARIANT_NAMEABAP variantString

ParametersTEMPORARY_VARIANTCreate temporary variant?StringNY, N
ParametersJOBCLASSSAP job classStringCA, B, C
ParametersSAP_USER_NAMESAP user nameString

ParametersLANGUAGESAP language for the stepString

ParametersTARGET_SERVERSAP target server nameString

ParametersTARGET_GROUPSAP target server group nameString

ParametersJOBCOUNTSAP job count stored in Out valueString

Print ParametersPRINT_ARMODPrint/Archive modeString1 (Print only)1 (Print only)
2 (Archive only)
3 (Print and Archive)
Print ParametersPRINT_PDESTPrinterString

Print ParametersPRINT_PRTXTCover Page TitleString

Print ParametersPRINT_PRCOP# of copiesString1

Print ParametersPRINT_PRNEWNew spool?StringYY, N
Print ParametersPRINT_PLISTSpool list nameString

Print ParametersPRINT_PRIMMPrint immediately?StringNY, N
Print ParametersPRINT_PRRELRelease print job?StringNY, N
Print ParametersPRINT_PEXPIExpiration in daysString81-8 days
9 (Do not Delete)
Print ParametersPRINT_LICTPrint lines per pageString

Print ParametersPRINT_LISZPrint columns per pageString

Print ParametersPRINT_PAARTPrint formatString

Print ParametersPRINT_PRBIGSelection cover sheet?StringNY, N
Print ParametersPRINT_PRSAPSAP cover page?StringD (System Default)D (System Default)
Y (Print)
N (Do not print)
Print ParametersPRINT_PRRECSpool list recipientString

Print ParametersPRINT_PRABTDepartment on cover pageString

Print ParametersPRINT_PRBERAuthority for printingString

Print ParametersPRINT_PRDSNSpool dataset nameString

Print ParametersPRINT_PTYPESpool typeString

Print ParametersPRINT_FOOTLPrint a footer?StringNY, N
Print ParametersPRINT_PRUNXOS cover sheet?StringD (System Default)D (System Default)
Y (Print)
N (Do not print)
Print ParametersDRAFT_MODEDraft Mode?StringNY, N
Print ParametersPAGE_ORIENTATIONPage OrientationString (None) - None
L - Landscape
P - Portrait
Print ParametersNO_FRAMENo Frame CharactersStringNY, N
Print ParametersSMSSpool list with structure informationStringNY, N
Print ParametersNO_SHADESuppress colors/shades when printingStringNY, N
Print ParametersEMAIL_ADDRESSE-Mail address (only for mail printer)String

Archive ParametersARCHIVE_ARCTEXTArchive text information fieldString

Archive ParametersARCHIVE_AR_OBJECTDocument typeString

Archive ParametersARCHIVE_INFOArchive infoString

Archive ParametersARCHIVE_SAP_OBJECTArchive SAP objectString

Job Output ParametersSHOWLOGRetrieve job log?(*)StringYY, N
Job Output ParametersSHOWSPOOLRetrieve spool list?(*)StringYY, N
Job Output ParametersSHOWAPPLLOGRetrieve Application Logs?(*)StringYY, N
Job Output ParametersIGNORE_APPL_RCIgnore Application Return Code?StringNY - Ignore return code
N - Use system default
U - Use return code
Job Output ParametersDELETE_JOBDelete job when finished?StringNY, N

If you set Print/Archive mode to Archive only or Print and Archive, the following Archive parameters should be filled:

  • Archive SAP object - Referred to as Obj.type in SAPGUI
  • Archive object - Referred to as Doc.type in SAPGUI
  • Archive Info - Referred to as Information in SAPGUI

Waiting for SAP Events

By adding the following two parameters, you can make jobs wait on events in SAP:

ParameterDescriptionDirectionData Type
STARTCOND_EVENTIDbatch event idInString
STARTCOND_EVENTPARMparameter of the event idInString

Note that you have to duplicate the process definition and modify the duplicate.

Retrieving Spool Output and Log as Different Formats

When the EnableFLParameters registry does not exist (default) or is set to true, the FL_SHOWSPOOL, FL_SHOWLOG, and FL_SHOWAPPLLOG parameters are available. They override the SHOWSPOOL, SHOWLOG, and SHOWAPPLOG parameters, respectively, and allow you to specify one or more formats for the output, log, and application log files.

By duplicating the AbapRun process definitions and adding the FL_SHOWSPOOL parameter (data type String) you specify the format(s) you want to retrieve the spool as. Multiple formats are separated by semi-colon (;), see Spool Output for more information.

Likewise, the FL_SHOWLOG is used to specify the format of the log output. The Standard, PDF, and Text formats are supported; None disables log retrieval. This parameter only accepts a single format, see Log.

Likewise, the FL_SHOWAPPLLOG is used to specify the format of the application log output. Multiple formats can be specified semi-colon separated, see (FL_SHOWSPOOL).

The parameters can also be set to None which will not retrieve the file.

This should work if you can retrieve the spool, log, or application log in the desired format from within SAPGui.

Additional Print Parameters

The additional print parameters can be generated when importing CCMS jobs by setting the parameter Generate Extra Print Parameters? (EXTENDED_PRINT_PARAMETERS) to Yes.

It is also possible to duplicate any of the AbapRun process definitions and add the parameters there. The following parameters are recognized:

  • EMAIL_ADDRESS - The email address for the mail printer
  • PAGE_FROM / PAGE_TO - page range, numeric values
  • DRAFT_MODE - draft mode. Valid values: Y (Yes) and N (No)
  • PAGE_ORIENTATION - page orientation. Valid values: L (Landscape) and P (Portrait)
note

Due to the limited size of the field in SAP, the max length of the email address is limited to 50 characters.

note

According to SAP Note 513352, printing with access method "M" (email printer) will not be developed further.

Retrieving Part of the Job Log

You can retrieve part of the job log by duplicating one of the AbapRun process definitions and specifying one of the following parameters:

  • JOBLOG_FIRST_LINES - retrieve the first <n> lines of the job log
  • JOBLOG_LAST_LINES - retrieve the last <n> lines of the job log

When filled with a value > 0, only the given number of lines either from the beginning or from the end of the joblog is retrieved.

Temporary Variants

By duplicating the AbapRun process definitions and adding job parameters, you can make use of temporary variants. A temporary variant is created for the job and deleted once the job has finished.

You specify the values and select options by creating job parameters with names matching the technical name of the parameter or select option and setting Create Temporary Variant? or TEMPORARY_VARIANT to Y. You can use the SAP Object Editor to inspect previously imported variants for the specific names, see Creating and Modifying Variants in Redwood Server for more information.

More Information

Handling ABAP programs

SAP_AbapRunPrintExt

This process definition is used to run ABAP's via the XBP interface in SAP Systems; it makes use of the extended capabilities of the XBP 3.0 interface to set the spool list recipient and retrieve application log and batch statistics of the SAP job.

This process definition works on every version of the XBP interface, yet on versions below 3.0 the new functionality is disabled if you do not have the transport files installed.

Parameters

TabParameterDescriptionData TypeDefault ExpressionDefault List of Values
ParametersSAP_SYSTEMSSAP SystemString

ParametersCLIENTSAP clientString

ParametersJOBNAMESAP job nameString

ParametersABAP_PROGRAM_NAMEABAP programString

ParametersABAP_VARIANT_NAMEABAP variantString

ParametersTEMPORARY_VARIANTCreate temporary variant?StringNY, N
ParametersJOBCLASSSAP job classStringCA,B,C
ParametersSAP_USER_NAMESAP user nameString

ParametersLANGUAGESAP language for the stepString

ParametersTARGET_SERVERSAP target server nameString

ParametersTARGET_GROUPSAP target server group nameString

ParametersJOBCOUNTSAP job count stored in Out valueString

Print ParametersPRINT_ARMODPrint/Archive modeString1 (Print only)1 (Print only)
2 (Archive only)
3 (Print and Archive)
Print ParametersPRINT_PDESTPrinterString

Print ParametersPRINT_PRTXTCover Page TitleString

Print ParametersPRINT_PRCOP# of copiesString1

Print ParametersPRINT_PRNEWNew spool?StringYY, N
Print ParametersPRINT_PLISTSpool list nameString

Print ParametersPRINT_PRIMMPrint immediately?StringNY, N
Print ParametersPRINT_PRRELRelease print job?StringNY, N
Print ParametersPRINT_PEXPIExpiration in daysString81-8 days
9 (Do not Delete)
Print ParametersPRINT_LICTPrint lines per pageString

Print ParametersPRINT_LISZPrint columns per pageString

Print ParametersPRINT_PAARTPrint formatString

Print ParametersPRINT_PRBIGSelection cover sheet?StringNY, N
Print ParametersPRINT_PRSAPSAP cover page?StringD (System Default)D (System Default)
Y (Print)
N (Do not print)
Print ParametersPRINT_PRRECSpool list recipientString

Print ParametersPRINT_PRABTDepartment on cover pageString

Print ParametersPRINT_PRBERAuthority for printingString

Print ParametersPRINT_PRDSNSpool dataset nameString

Print ParametersPRINT_PTYPESpool typeString

Print ParametersPRINT_FOOTLPrint a footer?StringNY, N
Print ParametersPRINT_PRUNXOS cover sheet?StringD (System Default)D (System Default)
Y (Print)
N (Do not print)
Print ParametersDRAFT_MODEDraft Mode?StringNY, N
Print ParametersPAGE_ORIENTATIONPage OrientationString (None) - None
L - Landscape
P - Portrait
Print ParametersNO_FRAMENo Frame CharactersStringNY, N
Print ParametersSMSSpool list with structure informationStringNY, N
Print ParametersNO_SHADESuppress colors/shades when printingStringNY, N
Print ParametersEMAIL_ADDRESSE-Mail address (only for mail printer)String

Archive ParametersARCHIVE_ARCTEXTArchive text information fieldString

Archive ParametersARCHIVE_AR_OBJECTDocument typeString

Archive ParametersARCHIVE_INFOArchive infoString

Archive ParametersARCHIVE_SAP_OBJECTArchive SAP objectString

Archive ParametersARCHIVE_ARCHIV_IDTarget Storage SystemString

Recipient ParametersREC_TYPERecipient typeStringU (Internet User)U (Internet User)
B (SAP user)
O (SAP-Office user)
P (Personnel distribution list)
C (Shared distribution list)
F (Fax number)
A (External User)
Recipient ParametersREC_RECIPIENTSpool list recipientString

Recipient ParametersREC_COPYRecipient copy flagStringNY, N
Recipient ParametersREC_BLIND_COPYRecipient blind copy flagStringNY, N
Recipient ParametersREC_EXPRESSRecipient express flagStringNY, N
Recipient ParametersREC_NO_FORWARDINGRecipient no forwarding flagStringNY, N
Recipient ParametersREC_NO_PRINTRecipient no print flagStringNY, N
Recipient ParametersREC_DELIVERReport send statusString_ (System Default)_ (System Default)
A (Always)
E (On error)
N (Never)
Recipient ParametersREC_MAILSTATUSReport status by e-mailString_ (System Default)_ (System Default)
A (Always)
E (On error)
N (Never)
Job Output ParametersSHOWLOGRetrieve job log?(*)StringYY, N
Job Output ParametersSHOWSPOOLRetrieve spool list?(*)StringYY, N
Job Output ParametersSHOWAPPLLOGRetrieve Application Logs?(*)StringYY, N
Job Output ParametersDELETE_JOBDelete job when finished?StringNY, N

If you set Print/Archive mode to Archive only or Print and Archive, the following Archive parameters should be filled:

  • Archive SAP object - Referred to as Obj.type in SAPGUI
  • Archive object - Referred to as Doc.type in SAPGUI
  • Archive Info - Referred to as Information in SAPGUI

Waiting for SAP Events

By adding the following two parameters, you can make jobs wait on events in SAP:

ParameterDescriptionDirectionData Type
STARTCOND_EVENTIDbatch event idInString
STARTCOND_EVENTPARMparameter of the event idInString

Note that you have to duplicate the process definition and modify the duplicate.

Retrieving Spool Output as PDF

By duplicating the AbapRun process definitions and changing the default output format for the process definition to PDF, you can force the SAP system to convert the Spool to PDF. This way, you can see colors, if there are any. This should work if you can retrieve the spool as PDF from within SAPGui.

Additional Print Parameters

The additional print parameters can be generated when importing CCMS jobs by setting the parameter Generate Extra Print Parameters? (EXTENDED_PRINT_PARAMETERS) to Yes.

It is also possible to duplicate any of the AbapRun process definitions and add the parameters there. The following parameters are recognized:

  • EMAIL_ADDRESS - The email address for the mail printer
  • PAGE_FROM / PAGE_TO - page range, numeric values
  • DRAFT_MODE - draft mode. Valid values: Y (Yes) and N (No)
  • PAGE_ORIENTATION - page orientation. Valid values: L (Landscape) and P (Portrait)
note

Due to the limited size of the field in SAP, the max length of the email address is limited to 50 characters.

note

According to SAP Note 513352, printing with access method "M" (email printer) will not be developed further.

Retrieving Part of the Job Log

You can retrieve part of the job log by duplicating one of the AbapRun process definitions and specifying one of the following parameters:

  • JOBLOG_FIRST_LINES - retrieve the first <n> lines of the job log
  • JOBLOG_LAST_LINES - retrieve the last <n> lines of the job log

When filled with a value > 0, only the given number of lines either from the beginning or from the end of the joblog is retrieved.

Temporary Variants

By duplicating the AbapRun process definitions and adding job parameters, you can make use of temporary variants. A temporary variant is created for the job and deleted once the job has finished.

You specify the values and select options by creating job parameters with names matching the technical name of the parameter or select option and setting Create Temporary Variant? or TEMPORARY_VARIANT to Y. You can use the SAP Object Editor to inspect previously imported variants for the specific names, see Creating and Modifying Variants in Redwood Server for more information.

More Information

Handling ABAP programs

SAP_ACC_Controller

This process definition allows you to control (for example start and stop) SAP application services via Adaptive Computing Controller - Controller Command Interface (ACC-CCI).

Parameters

ParameterDescriptionDirectionData TypeDefault ValueValues
UrlURL of the ACC-CCI interfaceInString

UsernameUser nameInString

PasswordPasswordInString

CommandACC-CCI CommandInString

ServiceIdService IdInString

HostnameHostnameInString

ForceSmallServerForce start on small server?InStringfalsetrue, false
ReplyLogGet reply logInStringtruetrue, false

More Information

  • Controlling SAP Adapting Computing Environments with Redwood Server

SAP_BObj_DataServicesJobRun

Runs a Data Services job.

Parameters

ParameterDescriptionDirectionData TypeDefault ValueValues
SAP_SYSTEMSSAP SystemInString

DS_REPO_NAMERepository nameInString

DS_JOB_NAMEJob nameInString

DS_JOB_SERVERJob serverInString

DS_JOB_SERVER_GROUPJob server groupInString

SAP_BObj_GenerateReportDefinition

Generates a process definition of an SAP BusinessObjects report in the scheduler repository.

Parameters

ParameterDescriptionDirectionData TypeDefault ValueValues
SAP_SYSTEMSSAP SystemInString

REPORT_PATHReport pathInString

REPORT_CUIDReport CUIDInString

OVERWRITEOverwrite Existing Job Definitions?InStringYY, N
JOBDEF_NAMEName of Generated Job DefinitionInString

APPLICATIONApplicationInString

PARTITIONPartitionInString

GENERATE_DESTINATION_PARAMSGenerate destination parameters?InString

The Report path (REPORT_PATH) parameter accepts the path to the report within BusinessObjects (for example Feature Samples/Drilldown); note that this is the path in the user interface, not the path on the file system. The folder Public Folder is implied and should not be specified. You may use wildcards, however, no more than 200 reports will be imported; this is a limitation of the BusinessObjects API. Also, /**/*/ is added to the end of the report folder if you omit it; /**/ means sub-folders. You may specify the SI_KIND in the value as such //InfoObjects/Root Folder/**/*[SI_KIND='Webi'] or //InfoObjects/Root Folder/**/*[SI_KIND='CrystalReport'].

SAP_BObj_ImportReportDefinitions

Imports SAP BusinessObjects reports into the scheduler repository.

Parameters

TabParameterDescriptionDocumentationDirectionData TypeDefault ValueValues
ParametersSAP_SYSTEMSSAP SystemSAP BusinessObjects system to import fromInString

ParametersREPORT_PATHReport pathThe report path; Public Folder is impliedInString

ParametersTEST_RUNTest run?By default, the definition will import nothing and generate a list of definitions it would have imported if Test run? had been set to YInStringYY - Do not actually perform the import
N - Import the definitions
Generation SettingsJOBDEF_NAMEName of Generated DefinitionBy default, the definition will have the report name as found in BusinessObjects; this parameter allows you to specify a name or prefixInString

Generation SettingsJOBNAME_GENERATIONUse name asThis parameter specifies how the value specified in JOBDEF_NAME is to be used, as a definition name or a prefix to the report nameInStringFF Name of definition - Use the name specified in JOBDEF_NAME as the definition name
P Prefix in front of source name - Use the name specified in JOBDEF_NAME as a prefix in front of the report name
Generation SettingsOVERWRITEOverwrite Existing Definitions?By default, the import process will overwrite any existing definitions in Redwood Server.InStringYY - Overwrite existing process definitions
N - Do not overwrite any process definitions
Generation SettingsAPPLICATIONApplicationApplication to assign to imported definitionsInString

Generation SettingsPARTITIONPartitionPartition to assign to imported definitionsInString

Generation SettingsGENERATE_DESTINATION_PARAMSGenerate destination parameters?Add Destination parameters to the generated definitions to allow you to send the report via email or FTP, place it into a user's Inbox, or store it on the file systemInStringYY - Generate Destination parameters
N - Do not generate Destination parameters

The Report path (REPORT_PATH) parameter accepts the path to the report within BusinessObjects (for example Feature Samples/Drilldown); note that this is the path in the user interface, not the path on the file system. The folder Public Folder is implied and should not be specified. You may use wildcards, however, no more than 200 reports will be imported; this is a limitation of the BusinessObjects API. Also, /**/*/ is added to the end of the report folder if you omit it; /**/ means sub-folders. You may specify the SI_KIND in the value as such //InfoObjects/Root Folder/**/*[SI_KIND='Webi'] or //InfoObjects/Root Folder/**/*[SI_KIND='CrystalReport'].

SAP_BObj_ReportRun

Start SAP BusinessObjects reports from within Redwood Server.

Parameters

ParameterDescriptionDocumentationDirectionData Type
SAP_SYSTEMSSAP SystemSAP BusinessObjects system to import fromInString
REPORT_PATHReport pathThe report path; Public Folder is impliedInString
REPORT_CUIDReport CUIDThe CUID of the report as found in the report properties in BusinessObjectsIn OutString
REPORT_IDReport IdThe ID of the report as found in the report properties in BusinessObjectsOutString
REPORT_KINDReport KindThe process will detect the report type and fill this parameter when the report ran successfullyOutString

The Report path (REPORT_PATH) parameter accepts the path to the report within BusinessObjects (for example Feature Samples/Drilldown); note that this is the path in the user interface, not the path on the file system. The folder Public Folder is implied and should not be specified. You may use wildcards, however, no more than 200 reports will be imported; this is a limitation of the BusinessObjects API. Also, /**/*/ is added to the end of the report folder if you omit it; /**/ means sub-folders. You may specify the SI_KIND in the value as such //InfoObjects/Root Folder/**/*[SI_KIND='Webi'] or //InfoObjects/Root Folder/**/*[SI_KIND='CrystalReport'].

SAP_BObj_TriggerEvent

Triggers an event of type Custom in the SAP BusinessObjects system. Note that events of type File or Schedule are used by SAP BusinessObjects and cannot be triggered.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
EVENT_IDEventInString

SAP_BW_GenerateInfoPackageGroup

Generate an InfoPackage group in an SAP System.

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
SAP_SYSTEMSSAP SystemInString

INFOPACKAGEGROUP_NAMESAP BW InfoPackage groupInString

JOBDEF_NAMEName for the generated process definitionInString

OVERWRITEOverwrite existing process definitions?InStringY
PARTITIONPartitionInString

APPLICATIONApplicationInString

SHOWLOGRetrieve job log?(*)InStringY

SAP_BW_GenerateJobDefinition

Generates the definition of a single BW process chain job in the scheduler repository. Submit this process definition to start the BW process chain from within Redwood Server.

Parameters

TabParameterDescriptionDirectionData TypeDefault ValueValues
ParametersSAP_SYSTEMSSAP SystemInString

ParametersPCHAIN_NAMETechnical Name of SAP BW Process ChainInString

ParametersCCMS_JOB_DEFINITIONTemplate CCMS process definition to use for generated process definitions.InString

ParametersCLIENTTarget Client; the client the process will use.InString

Generation SettingsOVERWRITEOverwrite Existing Job Definitions?InStringNY, N
Generation SettingsJOBDEF_NAMEName of Generated Job DefinitionInString

Generation SettingsAPPLICATIONApplicationInString

Generation SettingsPARTITIONPartitionInString

Generation SettingsCHAIN_RESTARTABLEMake Processes Restartable If Errors Occur?InStringFF (Failed)
A (All)
N (Not restartable)
Generation SettingsSYNCHRONOUSSynchronous Run?InStringNY, N
Job Output ParametersSHOWLOGRetrieve Job Log?InStringYY, N
Job Output ParametersSHOWSPOOLRetrieve Spool Lists?InStringYY, N
Job Output ParametersSHOWAPPLLOGRetrieve Application Logs?InStringNY, N
Job Output ParametersIGNORE_APPL_RCIgnore Application Return Code?InStringYY - Ignore return code
N - Use system default
U - Use return code

SAP_BW_ImportInfoPackageGroups

Import InfoPackage groups from an SAP System.

Parameter

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString

SAP_BW_ImportInfoPackages

Import InfoPackages.

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
SAP_SYSTEMSSAP SystemInString

INFOPACKAGE_NAMETechnical name of the SAP BW InfoPackageInString

MAX_COUNTMax. countInNumber

DROP_OLD_SELECTIONDrop old selection?InStringY
IPAK_INFOSOURCEInfo source of the SAP BW InfoPackageInString

IPAK_SOURCESYSTEMSource system of the SAP BW InfoPackageInString

IPAK_DATASOURCEData source of the SAP BW InfoPackageInString

SAP_BW_ImportProcessChainDefinition

Import the definition of a Process Chain.

Parameters

ParameterDescriptionDirectionData TypeDefault ExpressionValues
SAP_SYSTEMSSAP SystemInString

PCHAIN_NAMETechnical name of the SAP BW Process ChainInString

DROP_OLD_SELECTIONDrop old selection?InStringYY, N

More Information

Running Process Chains

SAP_BW_ImportProcessChains

Import process chains.

Parameters

TabParameterDescriptionDirectionData TypeDefault ExpressionValues
ParametersSAP_SYSTEMSSAP SystemInOutString

ParametersPCHAIN_NAMETechnical Name of SAP BW Process ChainInString

ParametersPCHAIN_TEXTDescription of SAP BW Process ChainInString

ParametersMAX_COUNTMaximum CountInNumber

ParametersIMPORT_CHAIN_DEFINITIONImport Process Chain Definition?InStringNY, N
ParametersCREATE_JOBDEFSCreate a Job Definition?InStringNY, N
ParametersDROP_OLD_SELECTIONDrop Old Matching Values?InStringYY, N
ParametersTEST_RUNTest run?InStringNY, N
ParametersCCMS_JOB_DEFINITIONTemplate CCMS process definition to use for generated process definitions. Applicable when parameter Create a Job Definition? (CREATE_JOBDEFS) is set to YInString

ParametersCLIENTTarget Client; the client the process will use.InString

Generation SettingsNAMEName of Generated Job DefinitionInString

Generation SettingsJOBNAME_GENERATIONUse name asInStringFF Name of definition - Use the name specified in JOBDEF_NAME as the definition name
P Prefix in front of source name - Use the name specified in JOBDEF_NAME as a prefix in front of the report name
Generation SettingsAPPLICATIONApplicationInString

Generation SettingsPARTITIONPartitionInString

Generation SettingsOVERWRITEOverwrite Existing Job Definitions?InStringYY, N
Generation SettingsCHAIN_RESTARTABLEMake Processes Restartable If Errors Occur?InStringFF (Failed)
A (All)
N (Not restartable)
Generation SettingsSYNCHRONOUSSynchronous Run?InStringNY, N
Generation SettingsSIMULATESimulate Run?InStringNY, N
Generation SettingsNOPLANNo Plan?InStringNY, N
Job Output ParametersSHOWLOGRetrieve Job Log?InStringYY, N
Job Output ParametersSHOWSPOOLRetrieve Spool Lists?InStringYY, N
Job Output ParametersSHOWAPPLLOGRetrieve Application Logs?InStringNY, N
Job Output ParametersIGNORE_APPL_RCIgnore Application Return Code?InStringYY - Ignore return code
N - Use system default
U - Use return code

More Information

Running Process Chains

SAP_BW_InfopackageRun

This process definition is used to run InfoPackages in SAP BW.

Parameters

ParameterDescriptionData TypeDirectionDefault ExpressionValues
JOBNAMESAP BW job nameInString

NAMETechnical name of the SAP BW InfoPackageInString

REQUESTIDRequest ID of an SAP BW InfoPackage runOutString

SAP_SYSTEMSSAP SystemInString

SHOWLOGRetrieve job log?(*)InStringYY, N
SHOWSPOOLRetrieve spool list?(*)InStringYY, N
SHOWAPPLLOGRetrieve Application Logs?(*)InStringYY, N
IGNORE_APPL_RCIgnore Application Return Code?InStringYY - Ignore return code
N - Use system default
U - Use return code

SAP_BW_MaintainProcessChainDefinition

Maintain the definition of a Process Chain.

Parameters

ParameterDescriptionDirectionData TypeDefault ExpressionDefault List of Values
SAP_SYSTEMSSAP SystemInString

PCHAIN_NAMETechnical name of the SAP BW Process ChainInString

BW_PROCESS_TYPEType of the SAP BW processInString

BW_PROCESS_VARIANTVariant (name) of the SAP BW processInString

BW_MAX_RESTARTSNumber of automatic restarts on errorInNumber

BW_RESTART_DELAYDelay needed to restart.InNumber10

BW_RESTART_DELAY_TIME_UNITUnit of the delay (seconds or minutes)InStringM (Minutes)M (Minutes)
S (Seconds)
BW_RESTART_UNCHECKEDRestart uncheckedInString

BW_ERROR_PROCESS_TYPEType of the SAP BW process to restart on errorInString

BW_ERROR_PROCESS_VARIANTVariant (name) of the SAP BW process to restart on errorInString

See Also

Handling Process Chains

SAP_BW_Process

This process definition represents a process of a BW Process Chain. It is not supposed to be scheduled by the user.

Parameters

GroupParameterDescriptionData TypeDefault ExpressionValues
ParametersNAMESAP BW process nameString

ParametersIDSAP BW process idString

ParametersTYPESAP BW process typeString

ParametersLOGIDSAP BW process chain logidString

ParametersJOBCOUNTSAP BW Process Batch Job CountString

ParametersCCMS_JOB_DEFINITIONTemplate CCMS process definition to use for generated process definitions.InString

Job Output ParametersSHOWLOGRetrieve job log?(*)StringYY, N
Job Output ParametersSHOWSPOOLRetrieve spool list?(*)StringYY, N
Job Output ParametersSHOWAPPLLOGRetrieve Application Logs?(*)StringYY, N
Job Output ParametersIGNORE_APPL_RCIgnore Application Return Code?StringYY - Ignore return code
N - Use system default
U - Use return code
Job Output ParametersJOBCOUNTSAP BW process batch job countString

SAP_BW_ProcessChain

This process definition represents an SAP BW Process Chain. It is not supposed to be scheduled by the user.

Parameters

ParameterDescriptionDirectionData TypeDefault ExpressionValues
SAP_SYSTEMSSAP SystemInString

NAMETechnical name of the SAP BW Process ChainInString

LOGIDSAP BW process chain LogIDIn/OutString

SYNCHRONOUSSynchronous run?InStringNY, N
SIMULATESimulate run?InStringNY, N
NOPLANNo plan?InStringN

SHOWLOGRetrieve job log?(*)InStringYY, N
SHOWSPOOLRetrieve spool list?(*)InStringYY, N
IGNORE_APPL_RCIgnore Application Return Code?InStringYY - Ignore return code
N - Use system default
U - Use return code
SHOWAPPLLOGRetrieve Application Logs?(*)InStringYY, N

SAP_BW_RestartProcess

This job restarts an instance of a process of an SAP BW Process Chain. You do not have to submit this job definition, when a job of a process chain fails, the parent job of the job chain will have an operator message with which you can restart the process chain or one or more of its children. Restarting process chains requires ProcessServerService.SAP.ProcessChainRestart license key.

Parameters

ParameterDescriptionDirectionData TypeDefault ExpressionValues
SAP_SYSTEMSSAP SystemInString

CLIENTSAP ClientInString

NAMESAP BW process nameInString

IDSAP BW process idInString

TYPESAP BW process typeInString

CHAIN, TRIGGER, ABAP...
PCHAIN_NAMETechnical name of the SAP BW Process ChainInString

LOGIDSAP BW process chain LogIDInString

BW_RESTART_UNCHECKEDRestart uncheckedInStringNY, N
JOBCOUNTSAP BW process batch job countInString

SHOWLOGRetrieve job log?(*)InStringNY, N

More Information

Restarting Process Chains

SAP_BW_RestartProcessChain

This job restarts an instance of a process of an SAP BW Process Chain. You do not have to submit this job definition, when a job of a process chain fails, the parent job of the job chain will have an operator message with which you can restart the process chain or one or more of its children. Restarting process chains requires ProcessServerService.SAP.ProcessChainRestart license key.

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
SAP_SYSTEMSSAP SystemInString

NAMETechnical name of the SAP BW Process ChainInString

LOGIDSAP BW process chain LogIDIn/OutString

BW_RESTART_UNCHECKEDRestart uncheckedInStringY

SAP_BW_ProcessChainRun

This process definition is used to run BW Process Chains in SAP.

Parameters

ParameterDescriptionData TypeDefault ExpressionDefault List of Values
SAP_SYSTEMSSAP SystemString

CLIENTSAP ClientString

NAMETechnical name of the SAP BW Process ChainString

CHAIN_RESTARTABLEMake processes restartable on error?StringF (Failed)F (Failed)
A (All)
N (Not restartable)
LOGIDSAP BW process chain LogIDString

SYNCHRONOUSSynchronous run?StringNY, N
SIMULATESimulate run?StringNY, N
NOPLANNo plan?StringNY, N
SHOWLOGRetrieve job log?(*)StringYY, N
SHOWSPOOLRetrieve spool list?(*)StringYY, N
SHOWAPPLLOGRetrieve Application Logs?(*)StringYY, N
IGNORE_APPL_RCIgnore Application Return Code?StringNY - Ignore return code
N - Use system default
U - Use return code

SAP_CcmsJob

This process definition represents an SAP batch process that is monitored by Redwood Server yet running under full control of the SAP System. It is not supposed to be scheduled by the user.

You can duplicate it and set it on the SAP System to customize all processes scheduled by that remote SAP system, for example.

Parameters

ParameterDescriptionData TypeDefault ExpressionValues
CLIENTSAP clientString

DELETE_JOBDelete job when finished?StringNY, N
JOBCOUNTSAP job countString

JOBNAMESAP job nameString

SAP_USER_NAMESAP user nameString

SHOWLOGRetrieve job log?(*)StringYY, N
SHOWSPOOLRetrieve spool list?(*)StringYY, N
SHOWAPPLLOGRetrieve Application Logs?(*)StringYY, N

SAP_CcmsJobCheckStatus

This job checks if the status of an SAP batch jobs in the database is valid and updates the database otherwise. It is not supposed to be scheduled by the user.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
CLIENTSAP clientInString
JOBNAMESAP job nameInString
JOBCOUNTSAP job countInString
JOB_STATUSJob statusOutString
JOB_DB_STATUSJob status according to databaseOutString

SAP_CcmsJobGetApplicationLog

Get an application log of an SAP batch job.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
CLIENTSAP clientInString
JOBNAMESAP job nameInString
JOBCOUNTSAP job countInString
JOB_IDJob idInNumber
LOGHANDLEApplication log handleInString

SAP_CcmsJobGetApplicationLogExt

Get an application log of an SAP batch job in different formats.

Parameters

GroupParameterDescriptionDirectionData TypeDefault ValueValues
ParametersSAP_SYSTEMSSAP SystemIn OutString

ParametersCLIENTSAP ClientIn OutString

ParametersJOBNAMESAP Job NameInString

ParametersABAP_PROGRAM_NAMEABAP ProgramInStringSBAL_DISPLAY_2

ParametersABAP_VARIANT_NAMEABAP VariantIn OutString

ParametersTEMPORARY_VARIANTCreate Temporary Variant?InStringYY, N
ParametersJOBCLASSSAP Job ClassInStringCA, B, C
ParametersSAP_USER_NAMESAP User NameIn OutString

ParametersLANGUAGESAP Language for the StepIn OutString

ParametersTARGET_SERVERSAP Target Server NameIn OutString

ParametersTARGET_GROUPSAP Target Server Group NameInString

ParametersJOBCOUNTSAP Job CountOutString

ParametersSEL_SO_HDLLogHandlerInString

ParametersFL_SHOWSPOOLFL_SHOWSPOOLInString

ParametersPAR_PA_DFDate fromInString

ParametersPAR_PA_TFTime fromInString000000

ParametersPAR_PA_DTDate toInString

ParametersPAR_PA_TTTime toInString235959

Print ParametersPRINT_ARCMODEPrint/Archive ModeInString11 (Print only)
2 (Archive only)
3 (Print and Archive)
Print ParametersPRINT_DESTINPrinterInString

Print ParametersPRINT_IMMEDIATEPrint Immediately?InStringNY, N
Print ParametersPRINT_RELEASEDelete Spool After Print?InStringNY, N
Print ParametersPRINT_COPIESNumber of CopiesInString1

Print ParametersPRINT_SHOWPASSWDAuthority for PrintingInString

Print ParametersPRINT_SAPBANNERSAP Cover Page?InStringDD (System Default)
Y (Print)
N (Do not print)
Print ParametersPRINT_BANNERPAGESelection Cover Page?InStringNY, N
Print ParametersPRINT_EXPIRATIONExpiration in DaysInString81-8 days
9 (Do not Delete)
Print ParametersPRINT_RECIPIENTSpool List RecipientInString

Print ParametersPRINT_NUMLINESPrint Lines per PageInString

Print ParametersPRINT_NUMCOLUMNSPrint Columns per PageInString

Archive ParametersARCHIVE_SAPOBJECTArchive SAP ObjectInString

Archive ParametersARCHIVE_OBJECTDocument TypeInString

Archive ParametersARCHIVE_INFOArchive InformationInString

Job Output ParametersSHOWLOGRetrieve Job Log?InStringNY, N
Job Output ParametersSHOWSPOOLRetrieve Spool Lists?InStringYY, N
Job Output ParametersSHOWAPPLLOGRetrieve Application Logs?InStringNY, N
Job Output ParametersIGNORE_APPL_RCIgnore Application Return Code?InStringNY - Ignore return code
N - Use system default
U - Use return code
Job Output ParametersDELETE_JOBDelete job when finished?InStringNY, N

SAP_CcmsJobGetApplicationLogHandles

Get the list of application log handles of an SAP batch job.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
CLIENTSAP clientInString
JOBNAMESAP job nameInString
JOBCOUNTSAP job countInString
JOB_IDJob idInNumber

SAP_CcmsJobGetLog

Get the job log of an SAP batch job.

Parameters

ParameterDescriptionDirectionData TypeDefault Value
CLIENTSAP clientInString

CONSIDER_SIZE_CONSTRAINTSConsider file size constraints?InStringN
JOBCOUNTSAP job countInString

JOBNAMESAP job nameInString

JOB_IDJob idInNumber

SAP_SYSTEMSSAP SystemInString

SAP_CcmsJobGetSpoollist

Get a spool list of an SAP batch job.

ParameterDescriptionDirectionData TypeDefault Value
CLIENTSAP clientInString

CONSIDER_SIZE_CONSTRAINTSConsider file size constraints?InStringN
JOBCOUNTSAP job countInString

JOBNAMESAP job nameInString

JOB_IDJob idInNumber

SAP_SYSTEMSSAP SystemInString

SPOOLIDSpool list IDInString

STEP_NUMBERStep number of the SAP batch jobInNumber

SAP_CcmsJobGetStatistics

Get the runtime statistics of an SAP batch job.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
CLIENTSAP clientInString
JOBNAMESAP job nameInString
JOBCOUNTSAP job countInString
JOB_IDJob idInNumber

SAP_CcmsJobModifyHeader

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
CLIENTSAP clientInString

EVENT_IDEvent IDInString

EVENT_PARAMETEREvent parameterInString

JOBCOUNTSAP job countInString

JOBNAMESAP job nameInString

PERIODICPeriodic job?InString

READ_JOB_INFORead job info?InStringY
RELEASE_JOBRelease job in SAP?InStringN
SAP_SYSTEMSSAP SystemInString

START_TIMEStart timeInDateTimeZone

TARGET_GROUPSAP target server group nameInString

TARGET_SERVERSAP target server nameInString

SAP_CcmsJobGetStatus

This job retrieves the status of an SAP batch job.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
CLIENTSAP clientInString
JOBNAMESAP job nameInString
JOBCOUNTSAP job countInString
JOB_STATUSJob statusOutString
JOBNAME_1SAP Job Name 1InString
JOBCOUNT_1SAP Job Count 1InString
JOB_STATUS_1SAP Status 1OutString
JOBNAME_2SAP Job Name 2InString
JOBCOUNT_2SAP Job Count 2InString
JOB_STATUS_2SAP Status 2OutString
JOBNAME_3SAP Job Name 3InString
JOBCOUNT_3SAP Job Count 3InString
JOB_STATUS_3SAP Status 3OutString
JOBNAME_4SAP Job Name 4InString
JOBCOUNT_4SAP Job Count 4InString
JOB_STATUS_4SAP Status 4OutString
JOBNAME_5SAP Job Name 5InString
JOBCOUNT_5SAP Job Count 5InString
JOB_STATUS_5SAP Status 5OutString
JOBNAME_6SAP Job Name 6InString
JOBCOUNT_6SAP Job Count 6InString
JOB_STATUS_6SAP Status 6OutString
JOBNAME_7SAP Job Name 7InString
JOBCOUNT_7SAP Job Count 7InString
JOB_STATUS_7SAP Status 7OutString
JOBNAME_8SAP Job Name 8InString
JOBCOUNT_8SAP Job Count 8InString
JOB_STATUS_8SAP Status 8OutString
JOBNAME_9SAP Job Name 9InString
JOBCOUNT_9SAP Job Count 9InString
JOB_STATUS_9SAP Status 9OutString
JOBNAME_10SAP Job Name 10InString
JOBCOUNT_10SAP Job Count 10InString
JOB_STATUS_10SAP Status 10OutString

SAP_ClosingCockpit_AbapRun

Run an ABAP report from SAP Closing Cockpit.

Parameters

TabParameterDescriptionDirectionData TypeDefault ExpressionDefault List of Values
ParametersSAP_SYSTEMSSAP SystemInString

ParametersCLIENTSAP clientInString

ParametersJOBNAMESAP job nameInString

ParametersABAP_PROGRAM_NAMEABAP programInString

ParametersABAP_VARIANT_NAMEABAP variantInString

ParametersTEMPORARY_VARIANTCreate temporary variant?InStringNY, N
ParametersJOBCLASSSAP job classInStringCA, B, C
ParametersSAP_USER_NAMESAP user nameInString

ParametersTARGET_SERVERSAP target application server nameInString

ParametersJOBDOCIDJob documentation IDInString

Print ParametersPRINT_ARMODPrint/Archive modeInString1 (Print only)1 (Print only)
2 (Archive only)
3 (Print and Archive)
Print ParametersPRINT_PDESTPrinterInString

Print ParametersPRINT_PRTXTCover sheet titleInString

Print ParametersPRINT_PRCOP# of copiesInString1

Print ParametersPRINT_PRNEWNew spool?InStringYY, N
Print ParametersPRINT_PLISTSpool list nameInString

Print ParametersPRINT_PRIMMPrint immediately?InStringNY, N
Print ParametersPRINT_PRRELRelease print job?InStringNY, N
Print ParametersPRINT_PEXPIExpiration in daysInString81-8 days
9 (Do not Delete)
Print ParametersPRINT_LICTPrint lines per pageInString

Print ParametersPRINT_LISZPrint columns per pageInString

Print ParametersPRINT_PAARTPrint formatInString

Print ParametersPRINT_PRBIGSelection cover sheet?InStringNY, N
Print ParametersPRINT_PRSAPSAP cover page?InStringD (System Default)D (System Default)
Y (Print)
N (Do not print)
Print ParametersPRINT_PRRECSpool list recipientInString

Print ParametersPRINT_PRABTDepartment on cover pageInString

Print ParametersPRINT_PRBERAuthority for printingInString

Print ParametersPRINT_PRDSNSpool dataset nameInString

Print ParametersPRINT_PTYPESpool typeInString

Print ParametersPRINT_FOOTLPrint a footer?InStringNY, N
Print ParametersPRINT_PRUNXOS cover sheet?InStringD (System Default)D (System Default)
Y (Print)
N (Do not print)
Archive ParametersARCHIVE_SAP_OBJECTArchive SAP objectInString

Archive ParametersARCHIVE_AR_OBJECTDocument typeInString

Archive ParametersARCHIVE_INFOArchive infoInString

Archive ParametersARCHIVE_ARCTEXTArchive text information fieldInString

Recipient ParametersREC_RECIPIENTSpool list recipientInString

Recipient ParametersREC_TYPERecipient typeInStringU (Internet User)U (Internet User)
B (SAP user)
O (SAP-Office user)
P (Personnel distribution list)
C (Shared distribution list)
F (Fax number)
Recipient ParametersREC_COPYRecipient copy flagInStringNY, N
Recipient ParametersREC_BLIND_COPYRecipient blind copy flagInStringNY, N
Recipient ParametersREC_EXPRESSRecipient express flagInStringNY, N
Recipient ParametersREC_NO_FORWARDINGRecipient no forwarding flagInStringNY, N
Recipient ParametersREC_NO_PRINTRecipient no print flagInStringNY, N
Recipient ParametersREC_DELIVERReport send statusInString_ (System Default)_ (System Default)
A (Always)
E (On error)
N (Never)
Recipient ParametersREC_MAILSTATUSReport status by e-mailInString_ (System Default)_ (System Default)
A (Always)
E (On error)
N (Never)
Closing Cockpit ParametersSAP_CC__LDAY_PClosing key day (as single value)InString

Closing Cockpit ParametersSAP_CC__LDAY_SClosing key day (as range)InString

Closing Cockpit ParametersSAP_CC__PERIOD_PPeriod (as single value)InString

Closing Cockpit ParametersSAP_CC__PERIOD_SPeriod (as range)InString

Closing Cockpit ParametersSAP_CC__GJAHR_PFinancial year (as single value)InString

Closing Cockpit ParametersSAP_CC__GJAHR_SFinancial year (as range)InString

Closing Cockpit ParametersSAP_CC_RESPONSIBLEResponsibleInString

Closing Cockpit ParametersSAP_CC_EXECUTIVEExecutionerInString

Closing Cockpit ParametersSAP_CC_ESTIMATED_RUNTIMEEstimated runtimeInNumber

Closing Cockpit ParametersSAP_CC_MAX_START_DELAYMax. start delayInNumber

Closing Cockpit ParametersSAP_CC_CONTEXT_IDContext IDInString

Closing Cockpit ParametersSAP_CC_CONTEXT_DESCRContext descriptionsInString

Closing Cockpit ParametersSAP_CC_EXE_USR_SMTPExecutioner user email addressInString

Closing Cockpit ParametersSAP_CC_RES_USR_SMTPResponsible user email addressInString

Closing Cockpit ParametersSAP_CC_SMTP_SERVERSMTP serverInString

Job Output ParametersSHOWLOGRetrieve job log?(*)InStringYY, N
Job Output ParametersSHOWSPOOLRetrieve spool list?(*)InStringYY, N
Job Output ParametersSHOWSTATRetrieve job statistics?InStringYY, N
Job Output ParametersSHOWAPPLLOGRetrieve Application Logs?(*)InStringYY, N
Job Output ParametersDELETE_JOBDelete job when finished?InStringNY, N

More Information

Handling ABAP programs

SAP_ClosingCockpit_ManualTask

Manual task in the context of SAP Closing Cockpit.

Parameters

ParameterDescriptionDirectionData Type
JOB_IDJob idInNumber
SAP_CC_CONTEXT_DESCRContext descriptionsInString
SAP_CC_CONTEXT_IDContext IDInString
SAP_CC_ESTIMATED_RUNTIMEEstimated runtimeInNumber
SAP_CC_EXECUTIVEExecutionerInString
SAP_CC_EXE_USR_SMTPExecutioner user email addressInString
SAP_CC_MAX_START_DELAYMax. start delayInNumber
SAP_CC_RESPONSIBLEResponsibleInString
SAP_CC_RES_USR_SMTPResponsible user email addressInString
SAP_CC_SMTP_SERVERSMTP serverInString
SAP_CC__GJAHR_PFinancial year (as single value)InString
SAP_CC__GJAHR_SFinancial year (as range)InString
SAP_CC__LDAY_PClosing key day (as single value)InString
SAP_CC__LDAY_SClosing key day (as range)InString
SAP_CC__PERIOD_PPeriod (as single value)InString
SAP_CC__PERIOD_SPeriod (as range)InString

SAP_CopyParameters

Add all missing parameters and constraints of the source ABAP job definition to the target ABAP job definition.

Parameters

ParameterDescriptionDirectionData TypeDefault Value
TARGET_JOBDEFTarget DefinitionInString

SOURCE_JOBDEFSource DefinitionInString

SAP_CopyVariant

Copy a variant from Redwood Server or from one SAP System to another.

Parameters

ParameterDescriptionDirectionData TypeDefault ExpressionDefault List of Values
SAP_SYSTEMSSAP SystemInString

CLIENTSAP clientInString

ABAP_PROGRAM_NAMEABAP programInString

ABAP_VARIANT_NAMEABAP variantInString

TARGET_SAP_SYSTEMSTarget SAP SystemInString

TARGET_CLIENTTarget clientInString

TARGET_VARIANTTarget variant nameInString

WRITE_MODEIf the variant already exists in the SAP SystemInStringE (Fail)E (Fail)
S (Skip)
R (Replace)
C (Change)

More Information

Handling Variants

SAP_ConvertSpoolFileToRtx

This process definition converts SAP spool to Redwood RTX.

Parameters

NameDescriptionDocumentationData TypeDirectionDefault ExpressionValues
spoolFileSpool fileThe SAP spool fileFileIn

SAP_SYSTEMSSAP System

StringIn

CLIENTSAP Client

StringIn

ABAP_PROGRAM_NAMEABAP Program Name

StringIn

tableNameTable name

StringIn

ABAP_VARIANT_NAMELayout

StringIn

SAP_USER_NAMEUser name for user-specific storage

StringIn

excludedFieldsExcluded fieldsList of fields that are not shown in the Spoolfile, although the Layout included these fieldsStringIn

languageLanguageThe language in SAP, which is used to generate the spool file. This is needed to be able to convert text to numbers or dates.StringIn

integerPatternWhole number patternThe pattern to use for the conversion of INT1, INT2 and INT4 values to whole numbers.StringIn

floatingPointPatternFloatingpoint number patternThe pattern to use for the conversion of QUAN and FLTP values to floating point numbersStringIn

currencyPatternAmounts patternThe pattern to use for the conversion of DEC and CURR (amounts) values to floating point numbersStringIn

datePatternDate patternThe pattern to use for the conversion of DATS (date) values to datesStringIn

decimalSeparatorDecimal separator

CharacterIn

groupingSeparatorGrouping separator

CharacterIn

exponentSeparatorExponent separator

StringIn

minusSignMinus sign

CharacterIn

percentPercent sign

CharacterIn

perMillPermill sign

CharacterIn

zeroDigitZero digit

CharacterIn

tableDescriptionsTable descriptionsThe descriptions of the tables in their Metadata in the resulting RTX outputStringIn

rowKeyFormatFormat of row keysThe format of the keys of the rows in the resulting RTX output. The supported formats are none, id or idPageRow.StringInnonenone
rownum
idPageRow
headerExtractionPatternsRegular expressions to extract additional columns.These regular expressions are matched with lines outside tables. When they match, the name of named groups will be added as additional columns to the next table and the value of these named groups will be the column values in the following rows of that table.StringIn

tableCountNumber of tables extracted from the spool file

NumberOut

tablesTables extracted from the spool file

StringOut

totalRowCountTotal of rows parsed (sum of all rows of all tables)

NumberOut

rowCountsRows parsed per table

NumberOut

SAP_ConvertSpoolFileToRtxLowLevel

This process definition converts SAP spool to Redwood RTX.

Parameters

NameDescriptionDocumentationData TypeDirectionDefault ExpressionValues
spoolFileSpool fileThe SAP spool fileFileIn

minimumNumberOfColumnsMinimum number of columnsOnly convert tables from the SAP spool file that have a least this number of columnsNumberIn

=0 <= value && value <= Logic.nvl(parameters.maximumNumberOfColumns, 2147483647)
maximumNumberOfColumnsMaximum number of columnsOnly convert tables from the SAP spool file that have a most this number of columnsNumberIn

=value >= Logic.nvl(parameters.minimumNumberOfColumns, 0)
columnNamesColumn names to use in the output RTXColumn names to use in the output RTXStringIn

columnWidthsColumn widthsMandatory, when the table in the SAP spoolfile is not separated by a vertical bar (pipe). When specified, only the tables with these column widths are converted.NumberIn

=value >= 0
sapDataTypesSAP data typesThe SAP data types of the columns. This is also used to convert it to the correct data types in the RTX output.StringIn

ACCP=Posting period.
CHAR=Fixed-length character string.
CLNT=Client field.
CUKY=Currency key. Fields of this type are referenced by fields of type CURR.
CURR=Currency field. Corresponds to the DEC field. Field refers to a field of type CUKY.
DATS=Date values.
DEC=Calculation/amount field.
DF16_RAW=Normalized decimal floating point number
DF16_SCL=Scaled decimal floating point number
DF34_RAW=Normalized decimal floating point number.
DF34_SCL=Scaled decimal floating point number
FLTP=Floating-point number.
INT1=Very small signed, exact whole number.
INT2=Small signed, exact whole number.
INT4=Regular signed, exact whole number.
LANG=Language key, which has its own field format for special functions.
LCHR=Fixed-length character string.
LRAW=Uninterpreted varying-length byte string.
NUMC=Text string.
PREC=The precision of a QUAN field.
QUAN=A quantity that corresponds to the DEC field.
RAW=An uninterpreted byte string.
RAWSTRING=Byte sequence
SSTRING=Short Character string
STRING=Character string
TIMS=Time value.
UNIT=Units key and referenced by a QUAN data type.
VARC=Varying-length character string data.
shortColumnDescriptionsShort column descriptionsThe short column descriptions; if any of the column description parameters are set, only tables that match the relevant column descriptions in the column-headers are convertedStringIn

mediumColumnDescriptionsMedium column descriptionsThe medium column descriptions; if any of the column description parameters are set, only tables that match the relevant column descriptions in the column-headers are convertedStringIn

longColumnDescriptionsLong column descriptionsThe long column descriptions; if any of the column description parameters are set, only tables that match the relevant column descriptions in the column-headers are convertedStringIn

languageLanguageThe language in SAP, which is used to generate the spool file. This is needed to be able to convert text to numbers or dates.StringIn

integerPatternWhole number patternThe pattern to use for the conversion of INT1, INT2 and INT4 values to whole numbers.StringIn

zeroDigitZero digit

CharacterIn

tableDescriptionsTable descriptionsThe descriptions of the tables in their Metadata in the resulting RTX outputStringIn

rowKeyFormatFormat of row keysThe format of the keys of the rows in the resulting RTX output. The supported formats are none, id or idPageRow.StringInnonenone
rownum
idPageRow
headerExtractionPatternsRegular expressions to extract additional columns.These regular expressions are matched with lines outside tables. When they match, the name of named groups will be added as additional columns to the next table and the value of these named groups will be the column values in the following rows of that table.StringIn

tableCountNumber of tables extracted from the spool file

NumberOut

tablesTables extracted from the spool file

StringOut

totalRowCountTotal of rows parsed (sum of all rows of all tables)

NumberOut

rowCountsRows parsed per table

NumberOut

floatingPointPatternFloatingpoint number patternThe pattern to use for the conversion of QUAN and FLTP values to floating point numbersStringIn

currencyPatternAmounts patternThe pattern to use for the conversion of DEC and CURR (amounts) values to floating point numbersStringIn

datePatternDate patternThe pattern to use for the conversion of DATS (date) values to datesStringIn

decimalSeparatorDecimal separator

CharacterIn

groupingSeparatorGrouping separator

CharacterIn

exponentSeparatorExponent separator

StringIn

minusSignMinus sign

CharacterIn

percentPercent sign

CharacterIn

perMillPermill sign

CharacterIn

SAP_DeleteCcmsMonitors

This process definition is used to delete CCMS monitors from the alert tree of Redwood Server so that these monitors are no longer fed with values from the SAP CCMS monitoring infrastructure.

Parameters

ParameterDescriptionData Type
MONITOR_NAMECCMS monitor nameString
MONITOR_SET_NAMECCMS monitor set nameString
SAP_SYSTEMSSAP SystemString

More Information

Integrating CCMS Monitors

SAP_DeleteJobs

Delete SAP Jobs according SAP job name, SAP user, and/or times and dates.

Parameters

ParameterDescriptionDirectionData TypeDefault Value
SAP_SYSTEMSSAP SystemInString

CLIENTSAP ClientInString

JOBNAMESAP Job NameInString

JOB_STATUSESJob statuses to considerInString

SAP_USER_NAMESAP User NameInString

FROM_TIMESTAMPStarting fromInDateTimeZone

TO_TIMESTAMPUp toInDateTimeZone

TEST_RUNTest run?InStringY

SAP_DeleteVariant

Delete a variant from an SAP System.

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
SAP_SYSTEMSSAP SystemInString

CLIENTSAP clientInString

ABAP_PROGRAM_NAMEABAP programInString

ABAP_VARIANT_NAMEABAP variantInString

CLIENT_ONLYClient only?InStringY
DELETE_DEFINITIONDelete variant definition?InStringY

More Information

Handling Variants

SAP_ExportRFCFunctionModuleInterface

You use this process definition to export an RFC function module

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
SAP_SYSTEMSSAP SystemInString

FUNCTION_MODULEFunction Module NameInString

SAP_ExternalCommandRun

This process definition is used to run external commands in SAP. This process definition requires XBP 2.0.

Parameters

ParameterDescriptionDirectionData TypeDefault ExpressionValues
CLIENTSAP clientIn/OutString

DELETE_JOBDelete job when finished?InStringYY, N
EXT_COMMAND_NAMEExternal command nameInString

EXT_COMMAND_PARAMETERSExternal command parametersInString

JOBCLASSSAP job classInStringCA, B, C
JOBCOUNTSAP job countOutString

JOBNAMESAP job nameInString

LANGUAGESAP language for the stepInString

OPERATING_SYSTEMOperating systemInString

SAP_SYSTEMSSAP SystemInString

SAP_USER_NAMESAP user nameInString

SHOWLOGRetrieve job log?(*)InStringYY, N
STDERRCNTLLog external errors to job log?InStringYY, N
STDOUTCNTLLog external output to job log?InStringYY, N
TARGET_GROUPSAP target server group nameInString

TARGET_HOSTTarget host to run the external commandInString

TARGET_SERVERSAP target server nameInString

TRACECNTLActivate external trace?InStringNY, N
WAIT_FOR_TERMINATIONWait for external terminationInStringYY, N

Waiting for SAP Events

By adding the following two parameters, you can make jobs wait on events in SAP:

ParameterDescriptionDirectionData Type
STARTCOND_EVENTIDbatch event idInString
STARTCOND_EVENTPARMparameter of the event idInString

Note that you have to duplicate the process definition and modify the duplicate.

Retrieving Spool Output as PDF

By duplicating the AbapRun process definitions and changing the default output format for the process definition to PDF, you can force the SAP system to convert the Spool to PDF. This way, you can see colors, if there are any. This should work if you can retrieve the spool as PDF from within SAPGui.

Additional Print Parameters

The additional print parameters can be generated when importing CCMS jobs by setting the parameter Generate Extra Print Parameters? (EXTENDED_PRINT_PARAMETERS) to Yes.

It is also possible to duplicate any of the AbapRun process definitions and add the parameters there. The following parameters are recognized:

  • EMAIL_ADDRESS - The email address for the mail printer
  • PAGE_FROM / PAGE_TO - page range, numeric values
  • DRAFT_MODE - draft mode. Valid values: Y (Yes) and N (No)
  • PAGE_ORIENTATION - page orientation. Valid values: L (Landscape) and P (Portrait)
note

Due to the limited size of the field in SAP, the max length of the email address is limited to 50 characters.

note

According to SAP Note 513352, printing with access method "M" (email printer) will not be developed further.

Retrieving Part of the Job Log

You can retrieve part of the job log by duplicating one of the AbapRun process definitions and specifying one of the following parameters:

  • JOBLOG_FIRST_LINES - retrieve the first <n> lines of the job log
  • JOBLOG_LAST_LINES - retrieve the last <n> lines of the job log

When filled with a value > 0, only the given number of lines either from the beginning or from the end of the joblog is retrieved.

Temporary Variants

By duplicating the AbapRun process definitions and adding job parameters, you can make use of temporary variants. A temporary variant is created for the job and deleted once the job has finished.

You specify the values and select options by creating job parameters with names matching the technical name of the parameter or select option and setting Create Temporary Variant? or TEMPORARY_VARIANT to Y. You can use the SAP Object Editor to inspect previously imported variants for the specific names, see Creating and Modifying Variants in Redwood Server for more information.

SAP_ExternalProgramRun

This process definition is used to run external programs in SAP.

Parameters

ParameterDescriptionDirectionData TypeDefault ExpressionValues
CLIENTSAP clientIn/OutString

DELETE_JOBDelete job when finished?InStringNY, N
EXT_PROGRAM_NAMEExternal program nameInString

EXT_PROGRAM_PARAMETERSExternal program parametersInString

JOBCLASSSAP job classInStringCA, B, C
JOBCOUNTSAP job countOutString

JOBNAMESAP job nameInString

LANGUAGESAP language for the stepInString

SAP_SYSTEMSSAP SystemInString

SAP_USER_NAMESAP user nameInString

SHOWLOGRetrieve job log?(*)InStringYY, N
STDERRCNTLLog external errors to job log?InStringYY, N
STDOUTCNTLLog external output to job log?InStringYY, N
TARGET_GROUPSAP target server group nameInString

TARGET_HOSTTarget host to run the external commandInString

TARGET_SERVERSAP target server nameInString

TRACECNTLActivate external trace?InStringNY, N
WAIT_FOR_TERMINATIONWait for external terminationInStringYY, N

Waiting for SAP Events

By adding the following two parameters, you can make jobs wait on events in SAP:

ParameterDescriptionDirectionData Type
STARTCOND_EVENTIDbatch event idInString
STARTCOND_EVENTPARMparameter of the event idInString

Note that you have to duplicate the process definition and modify the duplicate.

Retrieving Spool Output as PDF

By duplicating the AbapRun process definitions and changing the default output format for the process definition to PDF, you can force the SAP system to convert the Spool to PDF. This way, you can see colors, if there are any. This should work if you can retrieve the spool as PDF from within SAPGui.

Additional Print Parameters

The additional print parameters can be generated when importing CCMS jobs by setting the parameter Generate Extra Print Parameters? (EXTENDED_PRINT_PARAMETERS) to Yes.

It is also possible to duplicate any of the AbapRun process definitions and add the parameters there. The following parameters are recognized:

  • EMAIL_ADDRESS - The email address for the mail printer
  • PAGE_FROM / PAGE_TO - page range, numeric values
  • DRAFT_MODE - draft mode. Valid values: Y (Yes) and N (No)
  • PAGE_ORIENTATION - page orientation. Valid values: L (Landscape) and P (Portrait)
note

Due to the limited size of the field in SAP, the max length of the email address is limited to 50 characters.

note

According to SAP Note 513352, printing with access method "M" (email printer) will not be developed further.

Retrieving Part of the Job Log

You can retrieve part of the job log by duplicating one of the AbapRun process definitions and specifying one of the following parameters:

  • JOBLOG_FIRST_LINES - retrieve the first <n> lines of the job log
  • JOBLOG_LAST_LINES - retrieve the last <n> lines of the job log

When filled with a value > 0, only the given number of lines either from the beginning or from the end of the joblog is retrieved.

Temporary Variants

By duplicating the AbapRun process definitions and adding job parameters, you can make use of temporary variants. A temporary variant is created for the job and deleted once the job has finished.

You specify the values and select options by creating job parameters with names matching the technical name of the parameter or select option and setting Create Temporary Variant? or TEMPORARY_VARIANT to Y. You can use the SAP Object Editor to inspect previously imported variants for the specific names, see Creating and Modifying Variants in Redwood Server for more information.

SAP_GenerateCcmsJobDefinition

This process definition is used to generate a process definition in Redwood Server based on the job in SAP. The job name and job count must match exactly one SAP job (these parameters may not contain wildcard characters).

See SAP_ImportCcmsJobs for more information on these parameters.

Parameters

ParameterDescriptionDirectionData TypeDefault ExpressionValues
ADD_STEP_NUMBERSAdd step numbers to SAP job names?InStringNY, N
APPLICATIONApplicationInString

CLIENTSAP clientInString

CLIENT_SPECIFICGenerate process definitions for this client only?InStringNY, N
CREATE_JOBDEFS_FOR_STEPSCreate a process definition for each step?InStringNY, N
DELETE_JOBDelete job when finished?InStringNY, N
EXTENDED_PRINT_PARAMETERSGenerate additional print parameters?InStringNY, N
GENERATE_RECIPIENTPARAMETERSGenerate recipient parameters?InStringNY, N
GENERATE_ARCHIVEPARAMETERSGenerate archive parameters?InStringNY, N
GENERATE_PRINTPARAMETERSGenerate print parameters?InStringNY, N
JOBCOUNTSAP job countInString

JOBDEF_NAMEName for the generated process definitionInString

JOBNAMESAP job nameInString

OVERWRITEOverwrite existing process definitions?InStringYY, N
OVERWRITE_LANGUAGEForce step languageInString

OVERWRITE_USERForce step userInString

SAP_SYSTEMSSAP SystemInString

SHOWLOGRetrieve job log?(*)InStringYY, N
SHOWSPOOLRetrieve spool list?(*)InStringYY, N
SHOWAPPLLOGRetrieve Application Logs?(*)InStringYY, N
IGNORE_APPL_RCIgnore Application Return Code?InStringNY - Ignore return code
N - Use system default
U - Use return code
DELETE_JOBDelete job when finished?InStringNY, N
TEMPLATE_JDNAMETemplate Definition NameInString

SAP_GetBatchResources

This process definition is used to retrieve the batch resources of an application server of an SAP instance at a given date.

Parameters

ParameterDescriptionDirectionData Type
ON_DATEOn dateInDateTimeZone
SAP_SYSTEMSSAP SystemInString
TARGET_SERVERSAP target server nameInString

SAP_GetEventHistory

This process definition is used to retrieve synchronized batch event history from an SAP System.

Parameters

ParameterDescriptionDirectionData Type
FROM_TIMESTAMPStarting fromInDateTimeZone
SAP_SYSTEMSSAP SystemInString

SAP_GetInstalledComponents

This process definition is used to retrieve the list of installed components of an SAP System.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString

SAP_GetSysLog

Retrieves the system log.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
FROM_TIMESTAMPStarting fromInDate Time Zone
TO_TIMESTAMPUp toInDate Time Zone
TARGET_SERVERSAP Target Server NameInString

SAP_GetXmiLog

Retrieves the XMI log.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
XMI_INTERFACEXMI interfaceInString
FROM_TIMESTAMPStart time of the XMI logInDate Time Zone
TO_TIMESTAMPEnd time of the XMI logInDate Time Zone
SESSION_IDXMI session IDInString
OBJECTObjectInString

SAP_ImportAbapParameterDefinition

This job imports the parameter definition of an ABAP program.

Parameters

ParameterDescriptionData TypeDirectionDefault Expression
SAP_SYSTEMSSAP SystemInString

ABAP_PROGRAM_NAMEABAP programInString

ABAP_DEF_OVERWRITEOverwrite ABAP parameters?InStringY

More Information

Importing ABAP Program Parameter Definitions

SAP_ImportAbapPrograms

Import ABAP programs.

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
SAP_SYSTEMSSAP SystemInString

ABAP_PROGRAM_NAMEABAP programInString

MAX_COUNTMax. countInNumber

DROP_OLD_SELECTIONDrop old selection?InStringY

More Information

Importing ABAP Programs

SAP_ImportApplicationServers

This is an internal process definition to retrieve the list of application servers in an SAP instance and is mainly used for load balancing. This process definition does not need to be submitted by a user.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString

SAP_ImportArchiveObjects

Imports SAP objects and the document types they support.

note

This process definition requires XBP 3.0 enabled on the target system.

Parameters

ParameterDescriptionData TypeDefault Expression
SAP_SYSTEMSSAP SystemInString
DROP_OLD_SELECTIONDrop old selection?StringY

More Information

Importing Archive Objects

SAP_ImportBatchEvents

This process definition allows you to import SAP batch events, these values are used to create drop-down menus for event history.

note

XBP 3.0 is required.

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
SAP_SYSTEMSSAP SystemInString

ABAP_PROGRAM_NAMEABAP programInString

MAX_COUNTMax. countInNumber

DROP_OLD_SELECTIONDrop old selection?InStringY

More Information

Importing Batch Events

SAP_ImportCalendars

Import SAP calendars.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
CALENDAR_TYPESAP Calendar typeInString

More Information

Importing Calendars

SAP_ImportExternalCommands

Import external commands.

ParameterDescriptionDirectionData TypeDefault Expression
SAP_SYSTEMSSAP SystemInString

EXT_COMMAND_NAMEExternal command nameInString

OPERATING_SYSTEMOperating systemInString

MAX_COUNTMax. countInNumber

DROP_OLD_SELECTIONDrop old selection?InStringY

More Information

Importing External Commands

SAP_ImportCcmsJobs

This process definition is used to import CCMS jobs into Redwood Server. These CCMS jobs can then be scheduled to run through Redwood Server allowing you to use the advanced scheduling features of Redwood Server. The job name and job count parameters may contain wildcard characters. In this case all matching jobs will be imported. This process definition scans the SAP System for jobs matching the parameters and calls SAP_GenerateCcmsJobDefinition with the job name and job count of the matched jobs, where the actual import of the job happens. Moreover, it does conflict resolution when multiple jobs with the same name are found, it will select the latest job that matches the search criteria. It is a good practice to create as few parameters as possible on SAP process definitions.

Parameters

NameDescriptionDocumentationData TypeDirectionDefault ExpressionValues
SAP_SYSTEMSSAP System

StringIn

CLIENTSAP Client

StringInOut

JOBNAMESAP Job Name

StringIn

JOBCOUNTSAP Job Count

StringIn

SAP_USER_NAMESAP User Name

StringIn

JOB_STATUSESJob statuses to consider

StringIn

FROM_TIMESTAMPStarting from

Date Time ZoneIn

CLIENT_SPECIFICGenerate Definitions for This Client Only?

StringInNY, N
TEST_RUNTest run?

StringInNY, N
JOBDEF_NAMEName of Generated Definition

StringIn

JOBNAME_GENERATIONUse name as

StringInFF Name of definition - Use the name specified in JOBDEF_NAME as the definition name
P Prefix in front of source name - Use the name specified in JOBDEF_NAME as a prefix in front of the report name
OVERWRITEOverwrite Existing Definitions?

StringInNY, N
OVERWRITE_LANGUAGEForce Step Language

StringIn

OVERWRITE_USERForce Step User

StringIn

APPLICATIONApplication

StringIn

PARTITIONPartition

StringIn

CREATE_JOBDEFS_FOR_STEPSCreate a Definition for Each Step?

StringInNN (Never)
A (ABAP)
S (Step)
M (Single process definition)
EXTENDED_PRINT_PARAMETERSGenerate additional print parameters?

StringInNY, N
GENERATE_RECIPIENTPARAMETERSGenerate recipient parameters?

StringInNY, N
GENERATE_ARCHIVEPARAMETERSGenerate archive parameters?

StringInNY, N
GENERATE_PRINTPARAMETERSGenerate print parameters?

StringInNY, N
ADD_STEP_NUMBERSAdd Step Numbers to SAP Job Names?

StringInNY, N
SHOWLOGRetrieve Job Log?

StringInYY, N
SHOWSPOOLRetrieve Spool Lists?

StringInNY, N
SHOWAPPLLOGRetrieve Application Logs?

StringInNY, N
IGNORE_APPL_RCIgnore Application Return Code?

StringInNY - Ignore return code
N - Use system default
U - Use return code
DELETE_JOBDelete job when finished?

StringInNY, N
TEMPLATE_JDNAMETemplate Definition Name

StringIn

Note that the `JOB_STATUSES` parameter takes a string of CCMS job statuses; the following statuses are valid:
  • Canceled - The job finished with error, or has been killed.
  • Finished - The job finished successfully.
  • Intercepted - The job has been intercepted.
  • Ready - The job has been picked up by a batch work process but not started yet.
  • Released - The job has been scheduled and is now waiting for execution according to its start conditions.
  • ReleaseSuspended - The job has been suspended because an upgrade of the SAP batch system is currently running.
  • Running - The job is currently running.
  • Scheduled - The job is created with no start condition.

For example, to match all jobs that have a final state, you specify the following:

Finished, Canceled

More Information

Importing SAP CCMS Jobs

SAP_ImportCcmsMonitors

This process definition is used to import CCMS monitors from an SAP System. Once the monitors are imported, they will be automatically fed with values from the SAP CCMS monitoring infrastructure, provided XAL is enabled.

Parameters

ParameterDescriptionData Type
MONITOR_NAMECCMS monitor nameString
MONITOR_SET_NAMECCMS monitor set nameString
SAP_SYSTEMSSAP SystemString

SAP_ImportOutputDevices

Imports output devices (printers) and the formats they support.

note

This process definition requires XBP 2.0 enabled on the target system.

Parameters

ParameterDescriptionData TypeDefault Expression
SAP_SYSTEMSSAP SystemString

OUTPUT_DEVICEThe output device to importString*
OUTPUT_DEVICE_LONGThe long name of output device to import(XBP 3.0 only)String*
OUTPUT_DEVICE_CHANGE_TIMESTAMPChange time stamp (XBP 3.0 only)DateTimeZone*
DROP_OLD_SELECTIONDrop old selection?StringY

More Information

Importing Output Devices

SAP_ImportRecipients

This process definition is used to import the list of recipients from an SAP System, and will allow drop-down menus with all available recipients of an SAP System. This helps prevent problems due to human errors, like typos.

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
CLIENTSAP clientInString

DISTRIBUTION_LISTDistribution listInString

DROP_OLD_SELECTIONDrop old matching values?InStringN
SAP_SYSTEMSSAP SystemInString

SAP_USER_NAMESAP user nameInString

SAP_ImportVariantDefinition

Import variants definitions of ABAP programs.

Parameters

ParameterDescriptionDirectionData TypeDefault ExpressionList of Values
SAP_SYSTEMSSAP SystemInString

CLIENTSAP clientInString

ABAP_PROGRAM_NAMEABAP programInString

ABAP_VARIANT_NAMEABAP variantInString

DROP_OLD_SELECTIONDrop old selection?InStringYY, N
IMPORT_ABAP_VARIANTImport AbapProgram/Variant? (optional)InStringNY, N

More Information

  • Handling Variants
  • Importing Variants
  • Importing Variant Definitions

SAP_ImportVariants

Import variants of ABAP programs.

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
ABAP_PROGRAM_NAMEABAP programInString

ABAP_VARIANT_NAMEABAP variantInString

CLIENTSAP clientInString

DROP_OLD_SELECTIONDrop old matching values?InStringY
IMPORT_DEFINITIONImport variant definition?InString

MAX_COUNTMax. countInNumber

SAP_SYSTEMSSAP SystemInString

More Information

  • Handling Variants
  • Importing Variants
  • Importing Variant Definitions

SAP_Info

This process definition is used to retrieve information about the SAP System, like code-page, version, or list of installed components.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString

SAP_InterceptedJob

note

This process definition is deprecated in favor of SAP_CcmsJob.

This process definition used to represent an SAP batch process that was intercepted in the SAP System. It has been replaced with SAP_CcmsJob and is not supposed to be scheduled by the user.

Parameters

ParameterDescriptionData TypeDefault Expression
CLIENTSAP clientString

DELETE_JOBDelete job when finished?StringN
JOBCOUNTSAP job countString

JOBNAMESAP job nameString

SAP_USER_NAMESAP user nameString

SHOWLOGRetrieve job log?(*)StringY
SHOWSPOOLRetrieve spool list?(*)StringY

SAP_MA_CopyParameters

This job copies a mass activity parameter record and changes the parameters according to the provided parameter set.

This process definition requires the Mass Activity Redwood transport files to be loaded.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
CLIENTSAP clientString

MASS_ACTIVITYMass activityInString
MASS_ACTIVITY_PARAMETER_SETMass activity parameter setInString
MASS_ACTIVITY_SOURCE_DATE_IDSource Date IDInDate Time Zone
MASS_ACTIVITY_SOURCE_IDSource IdentificationInString
MASS_ACTIVITY_TARGET_DATE_IDTarget Date IDInDate Time Zone
MASS_ACTIVITY_TARGET_IDTarget IdentificationInString
MASS_ACTIVITY_DATE_SHIFTDate shiftInNumber
MASS_ACTIVITY_DUNNING_DATE_IDDunning Date IdInDate Time Zone
MASS_ACTIVITY_DUNNING_IDDunning IdInString

If MASS_ACTIVITY_DATE_SHIFT is left blank, dates will be automatically shifted the number of days between source and target date ID's, when you set it to 0, then no date shift is performed.

SAP_MA_CreateParameters

This job creates a mass activity parameter record and changes the parameters according to the provided parameter set. (deprecated in favor of SAP_MA_CopyParameters )

This process definition requires the Mass Activity Redwood transport files to be loaded.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
CLIENTSAP clientIn/OutString
MASS_ACTIVITYMass activityInString
MASS_ACTIVITY_PARAMETER_SETMass activity parameter setInString
MASS_ACTIVITY_TARGET_DATE_IDTarget Date IDInDate Time Zone
MASS_ACTIVITY_TARGET_IDTarget IdentificationInString

SAP_MA_DeleteDunningProposal

This job deletes a dunning proposal of a new mass activity.

This process definition requires the Mass Activity Redwood transport files to be loaded.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
CLIENTSAP clientIn/OutString
MASS_ACTIVITYMass activityInString
MASS_ACTIVITY_DATE_IDDate IDInDate Time Zone
MASS_ACTIVITY_IDIdentificationInString

SAP_MA_ImportMassActivities

This job imports SAP mass activity definitions.

This process definition requires the Mass Activity Redwood transport files to be loaded.

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
SAP_SYSTEMSSAP SystemInString

CLIENTSAP clientIn/OutString

DROP_OLD_SELECTIONDrop old matching values?InStringN

More Information

Importing and Running Mass Activities

SAP_MA_ImportMassActivity

This job imports an SAP mass activity definition.

This process definition requires the Mass Activity Redwood transport files to be loaded.

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
SAP_SYSTEMSSAP SystemInString

CLIENTSAP clientIn/OutString

MASS_ACTIVITYMass activityInString

MASS_ACTIVITY_TCODEMass activity transaction codeInString

DROP_OLD_SELECTIONDrop old matching values?InStringN

More Information

Importing and Running Mass Activities

SAP_MA_MassActivityRun

This job creates a parameter record and starts a mass activity run. The entire parameter set must be specified in Redwood Server, if you do not wish to do this, you can use SAP_MA_CopyParameters followed by SAP_MA_MassActivityTemplateRun. (Deprecated in favor of SAP_MA_MassActivityTemplateRun )

This process definition requires the MassActivity Redwood transport files to be loaded.

Parameters

ParameterDescriptionDirectionData TypeDefault ValueValues
SAP_SYSTEMSSAP SystemInString

CLIENTSAP clientIn/OutString

SAP_USER_NAMESAP user nameInString

MASS_ACTIVITYMass activityInString

MASS_ACTIVITY_PARAMETER_SETMass activity parameter setInString

MASS_ACTIVITY_DATE_IDDate IDIn/OutDate Time Zone

MASS_ACTIVITY_IDIdentificationIn/OutString

MAX_NUMBER_ERRONEOUS_JOBSMaximum number of allowed erroneous jobsInNumber

SHOWLOGRetrieve job log?(*)InStringYY, N
SHOWSPOOLRetrieve spool list?(*)InStringYY, N
SHOWAPPLLOGRetrieve Application Logs?(*)InStringYY, N
IGNORE_APPL_RCIgnore Application Return Code?InStringNY - Ignore return code
N - Use system default
U - Use return code

More Information

Importing and Running Mass Activities

SAP_MA_MassActivityTemplateRun

This job starts a mass activity run using an existing parameter record.

This process definition requires the MassActivity Redwood transport files to be loaded.

Parameters

ParameterDescriptionDirectionData TypeDefault ValueValues
SAP_SYSTEMSSAP SystemInString

CLIENTSAP clientIn/OutString

SAP_USER_NAMESAP user nameInString

MASS_ACTIVITYMass activityInString

MASS_ACTIVITY_DATE_IDDate IDInDate Time Zone

MASS_ACTIVITY_IDIdentificationInString

MAX_NUMBER_ERRONEOUS_JOBSMaximum number of allowed erroneous jobsInNumber

SHOWLOGRetrieve job log?(*)InStringYY, N
SHOWSPOOLRetrieve spool list?(*)InStringYY, N
SHOWAPPLLOGRetrieve Application Logs?(*)InStringYY, N
IGNORE_APPL_RCIgnore Application Return Code?InStringNY - Ignore return code
N - Use system default
U - Use return code

More Information

Importing and Running Mass Activities

SAP_MA_ResumeMassActivity

This job resumes processing of an interrupted SAP mass activity run.

This process definition requires the Mass Activity Redwood transport files to be loaded.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
CLIENTSAP clientIn/OutString
MASS_ACTIVITYMass activityInString
MASS_ACTIVITY_DATE_IDDate IDInDate Time Zone
MASS_ACTIVITY_IDIdentificationInString

More Information

Importing and Running Mass Activities

SAP_MA_ShowMassActivity

This job shows the definition of an SAP mass activity. You use it to inspect the structure of a mass activity; the output lists all function modules, fields and data types.

This process definition requires the Mass Activity Redwood transport files to be loaded.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
CLIENTSAP clientIn/OutString
MASS_ACTIVITYMass activityInString

SAP_MA_StopMassActivity

This job stops an SAP mass activity run.

This process definition requires the Mass Activity Redwood transport files to be loaded.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP SystemInString
CLIENTSAP clientIn/OutString
MASS_ACTIVITYMass activityInString
MASS_ACTIVITY_DATE_IDDate IDInDate Time Zone
MASS_ACTIVITY_IDIdentificationInString

SAP_MaintainXbpOptions

This job maintains XBP options for interception and parent/child functionality.

Parameters

ParameterDescriptionDirectionData TypeDefault ExpressionDefault List of Values
SAP_SYSTEMSSAP SystemInString

INTERCEPTION_ACTIONInterception actionInStringR (Show)Disable (C)
Enable (S)
Enable (XBP 3.0) (3)
Show (R)
PARENTCHILD_ACTIONParent/Child actionInStringR (Show)Show (R)
Enable (S)
Disable (C)
INTERCEPTION_OPTIONInterception enabled?OutString

PARENTCHILD_OPTIONParent/Child enabled?OutString

Values

The job will output the current setting when run with R (Show), change the setting and output the result when you use the other values.

CodeDescription
SEnabled
CDisabled
3XBP 3.0 features enabled (valid only for interception)

The output can be found in the out parameters on the job and in the output file. Note that to use the XBP 3.0 features your system needs to have XBP 3.0.

More Information

  • Understanding the Different XBP Interface Releases
  • Enable XBP 2.0 or 3.0 Functionality
  • Enhanced SAP Interfaces with Redwood Transports

SAP_PI_GetChannelStatus

Purpose

Retrieves the current status of an SAP XI/PI channel.

Parameters

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP systemInString
CHANNEL_NAMEChannel nameInString
CHANNEL_IDChannel idInString
CHANNEL_STATUSChannel activation statusOutString
CHANNEL_STATEChannel stateOutString

SAP_PI_ImportChannels

Purpose

Imports SAP XI/PI channels so you can control the channels from within Redwood Server

Parameters

ParameterDescriptionDirectionData TypeDefault Value
SAP_SYSTEMSSAP systemInString

CHANNEL_NAMEChannel nameInString

CHANNEL_SERVICEChannel serviceInString

CHANNEL_PARTYChannel partyInString

DROP_OLD_SELECTIONDrop old matching values?InStringN

More Information

Importing Communication Channels

SAP_PI_StartChannel

Purpose

Starts an SAP XI/PI channel

Parameter

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP systemInString
CHANNEL_NAMEChannel nameInString
CHANNEL_IDChannel idInString
CHANNEL_STATUSChannel activation statusOutString
CHANNEL_STATEChannel stateOutString

SAP_PI_StopChannel

Purpose

Stops an SAP XI/PI channel

Parameter

ParameterDescriptionDirectionData Type
SAP_SYSTEMSSAP systemInString
CHANNEL_NAMEChannel nameInString
CHANNEL_IDChannel idInString
CHANNEL_STATUSChannel activation statusOutString
CHANNEL_STATEChannel stateOutString

SAP_RaiseEvent

This process definition is used to raise a batch event in SAP.

Parameters

ParameterDescriptionData Type
SAP_SYSTEMSSAP SystemString
EVENT_IDEvent IDString
EVENT_PARAMETEREvent parameterString

SAP_ReloadApplicationLinks

This process definition reloads the SAP Application links.

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
DROP_OLD_SELECTIONDrop old matching values?InStringN
SAP_SYSTEMSSAP SystemInString

SAP_ReleaseInterceptedJobs

Releases intercepted SAP jobs.

Parameters

ParameterDescriptionDirectionData Type
CLIENTSAP clientInString
JOBNAMESAP job nameInString
SAP_SYSTEMSSAP SystemInString
SAP_USER_NAMESAP user nameInString

SAP_RfcAgent_RetrieveOutput

Retrieves SAP output. Internal use only.

Parameters

NameDescriptionDocumentationData TypeDirectionDefault ExpressionValues
JSONParameters

StringIn

JSONOUTResult

StringOut

password

StringIn

SAP_RunTemplateJob

This process definition is used to run a job that exists in SAP by making a copy of this job and running this copy. The original job is not changed. Only jobs with ABAP steps can be run by this process definition.

Parameters

ParameterDescriptionDocumentationData TypeDefault ExpressionValues
SAP_SYSTEMSSAP SystemSAP System on which to find and run the batch jobString

CLIENTSAP clientSAP client to useString

JOBNAMESAP job nameName of the SAP batch job to use as template (mandatory)String

JOBCOUNTSAP job countJob count of the SAP batch job to use a templateString

SAP_USER_NAMESAP user name

String

TARGET_JOBNAMESAP target job name

String

FROM_STEPFrom step (0, 1 = all steps)

Number

TARGET_SERVERSAP target application server name

String

TARGET_GROUPSAP target group name

String

SHOWLOGRetrieve Job log?(*)

StringYY, N
SHOWSPOOLRetrieve Spool list?(*)

StringYY, N
SHOWAPPLLOGRetrieve Application log?(*)

StringYY, N
IGNORE_APPL_RCIgnore Application Return Code?

StringNY, N
DELETE_JOBDelete job when finished?

StringNY, N
JOB_STATUSESJob statuses to considerComma-separated list of allowed SAP batch job statuses the template job is allowed to have for it to be used.String

SAP Batch Job Statuses and Codes

The following SAP batch job statuses are supported:

  • Canceled: A
  • Finished: F
  • Intercepted: I
  • Ready: Y
  • Released: S
  • ReleaseSuspended: Z
  • Running: R
  • Scheduled: P

SAP_SetXmiAuditLevel

This process definition lets you manage the audit level of an XMI interface. Valid audit levels are integers ranging from 0 to 3.

Parameters

ParameterDescriptionData Type
SAP_SYSTEMSSAP SystemString
AUDIT_LEVELAudit levelNumber
XMI_INTERFACEXMI interfaceString

SAP_SolutionManager_AbapRun

Run an ABAP report from SAP Solution Manager.

Parameters

TabParameterDescriptionDirectionData TypeDefault ExpressionDefault List of Values
ParametersSAP_SYSTEMSSAP SystemInString

ParametersCLIENTSAP clientInString

ParametersJOBNAMESAP job nameInString

ParametersABAP_PROGRAM_NAMEABAP programInString

ParametersABAP_VARIANT_NAMEABAP variantInString

ParametersTEMPORARY_VARIANTCreate temporary variant?InStringNY, N
ParametersJOBCLASSSAP job classInStringCA, B, C
ParametersSAP_USER_NAMESAP user nameInString

ParametersTARGET_SERVERSAP target application server nameInString

ParametersJOBDOCIDJob documentation IDInString

Print ParametersPRINT_ARMODPrint/Archive modeInString1 (Print only)1 (Print only)
2 (Archive only)
3 (Print and Archive)
Print ParametersPRINT_PDESTPrinterInString

Print ParametersPRINT_PRTXTCover sheet titleInString

Print ParametersPRINT_PRCOP# of copiesInString1

Print ParametersPRINT_PRNEWNew spool?InStringYY, N
Print ParametersPRINT_PLISTSpool list nameInString

Print ParametersPRINT_PRIMMPrint immediately?InStringNY, N
Print ParametersPRINT_PRRELRelease print job?InStringNY, N
Print ParametersPRINT_PEXPIExpiration in daysInString81-8 days
9 (Do not Delete)
Print ParametersPRINT_LICTPrint lines per pageInString

Print ParametersPRINT_LISZPrint columns per pageInString

Print ParametersPRINT_PAARTPrint formatInString

Print ParametersPRINT_PRBIGSelection cover sheet?InStringNY, N
Print ParametersPRINT_PRSAPSAP cover page?InStringD (System Default)D (System Default)
Y (Print)
N (Do not print)
Print ParametersPRINT_PRRECSpool list recipientInString

Print ParametersPRINT_PRABTDepartment on cover pageInString

Print ParametersPRINT_PRBERAuthority for printingInString

Print ParametersPRINT_PRDSNSpool dataset nameInString

Print ParametersPRINT_PTYPESpool typeInString

Print ParametersPRINT_FOOTLPrint a footer?InStringNY, N
Print ParametersPRINT_PRUNXOS cover sheet?InString``D (System Default)D (System Default)
Y (Print)
N (Do not print)
Archive ParametersARCHIVE_SAP_OBJECTArchive SAP objectInString

Archive ParametersARCHIVE_AR_OBJECTDocument typeInString

Archive ParametersARCHIVE_INFOArchive infoInString

Archive ParametersARCHIVE_ARCTEXTArchive text information fieldInString

Recipient ParametersREC_RECIPIENTSpool list recipientInString

Recipient ParametersREC_TYPERecipient typeInStringU (Internet User)U (Internet User)
B (SAP user)
O (SAP-Office user)
P (Personnel distribution list)
C (Shared distribution list)
F (Fax number)
Recipient ParametersREC_COPYRecipient copy flagInStringNY, N
Recipient ParametersREC_BLIND_COPYRecipient blind copy flagInStringNY, N
Recipient ParametersREC_EXPRESSRecipient express flagInStringNY, N
Recipient ParametersREC_NO_FORWARDINGRecipient no forwarding flagInStringNY, N
Recipient ParametersREC_NO_PRINTRecipient no print flagInStringNY, N
Recipient ParametersREC_DELIVERReport send statusInString_ (System Default)_ (System Default)
A (Always)
E (On error)
N (Never)
Recipient ParametersREC_MAILSTATUSReport status by e-mailInString_ (System Default)_ (System Default)
A (Always)
E (On error)
N (Never)
Job Output ParametersSHOWLOGRetrieve job log?(*)InStringYY, N
Job Output ParametersSHOWSPOOLRetrieve spool list?(*)InStringYY, N
Job Output ParametersSHOWSTATRetrieve job statistics?InStringYY, N
Job Output ParametersSHOWAPPLLOGRetrieve Application Logs?(*)InStringYY, N
Job Output ParametersDELETE_JOBDelete job when finished?InStringNY, N

More Information

Handling ABAP programs

SAP_StoreVariant

Store a variant of an ABAP program.

Parameters

ParameterDescriptionData TypeDefault ValueDefault List of Values
SAP_SYSTEMSThe SAP SystemString

CLIENTThe client of the SAP SystemString

ABAP_PROGRAM_NAMEThe variants ABAP programString

ABAP_VARIANT_NAMEVariantString

WRITE_MODEThe write mode allows you to specify how the job will handle duplicate entries.StringE (Error) - the job gets the status error, nothing is changed in the SAP SystemE (Error) - the job gets the status error, nothing is changed in the SAP System
S (Skip) - the variant is skipped
R (Replace) - the variant is overwritten with the variant definition from Redwood Server
C (Change) - only different parameters are changed, deleted variant parameters will not be removed (recommended)
ENVIRONMENTEnvironment for the variantStringAA (All)
B (Background)
O (Online)
PASSNULLVALUESCopy variant definition from SAPStringNY (Yes)
N (No)

You use the PASSNULLVALUES parameter to specify how you want empty/missing parameters to be interpreted. The parameter accepts the following values:

  • N - missing parameters are ignored, the SAP variant parameter/selopt default values will be used; empty parameters are passed on as is, variant parameter/selopt is empty (but set).
  • Y - missing parameters cause the corresponding SAP variant parameters/selopts to be unset; empty parameters are passed on as is, variant parameter/selopt is empty (but set).

To unset an existing parameter, specify >!<; Parameters with this value are not forwarded to the SAP system.

SAP_SwitchOperationMode

Switches the operation mode in the SAP system (ABAP stack). Requires Redwood transport files.

Parameters

ParameterDescriptionData Type
SAP_SYSTEMSSAP SystemIn
OPERATION_MODEOperation modeIn

SAP_SynchronizeEventHistoryCriteria

This process definition is used to synchronize batch event criteria in SAP. This process definition requires XBP 3.0. The Additional Conditions parameter allows you to use BNF expressions to create complex expressions, the syntax is as follows:

<expr>::= <term> { OR <term> }
<term>::= <factor> { AND <factor> }
<factor> ::= [ NOT ] <mask>
<mask>::= event id mask

Example

In the following example, you include all events in event history which have names (event id's) starting with EventBI or EventBW; you exclude the EventBITest event and all events starting with EventBWtest.

 not EventBITest and EventBI* or EventBW* and not EventBWtest*

Parameters

ParameterDescriptionDirectionData TypeDefault ExpressionDefault List of Values
ACTIVATE_RULESActivate rules after synchronizationInStringY

ADDITIONAL_CONDITIONSAdditional ConditionsInString

SAP_SYSTEMSSAP SystemInString

SAP_SynchronizeInterceptionCriteria

This process definition synchronizes interception criteria (job control rules) between Redwood Server and SAP. This process definition requires XBP 2.0.

Parameters

ParameterDescriptionData TypeDefault ExpressionDefault List of Values
OVERWRITEAppend or overwrite criteria in SAP?StringAA (Append)
O (Overwrite)
SAP_SYSTEMSSAP SystemString

SYNC_DIRECTIONSynchronization directionStringNN (Show Only)
S (SAP -> Scheduler)
B (SAP <-> Scheduler)
C (Scheduler -> SAP)

SYNC_DIRECTION

  • Show Only : view option, display current interception criteria as defined in the SAP System as well as job control rules of Redwood Server.
  • Scheduler -> SAP: all Redwood Server rules are transferred to SAP and afterwards the SAP table contains the same rules as in Redwood Server.
  • With Scheduler <-> SAP: all roles both from Redwood Server and SAP are synchronized. That means the rules of SAP are going into the Redwood Server tables and the rules of Redwood Server are going to the SAP tables. Final result is that both tables are equal with respect to the rule-definitions.
  • With SAP -> Scheduler: all SAP rules are transferred to Redwood Server and afterwards the Redwood Server table contain the same rules as in SAP.

OVERWRITE

Append and Overwrite options only work for syn_direction Redwood Server -> SAP and

Redwood Server <-> SAP.

  • Append: keeps the interception criteria that are already in the SAP table intact and adds our rules.
  • Overwrite: replaces all interception criteria that might be defined in SAP by our rules.

SAP_SynchronizeTerminatedCcmsJobs

This process definition synchronizes job states between Redwood Server and SAP. Normally, customers will schedule this process definition to run regularly, for example once per day.

Parameters

ParameterDescriptionDirectionData TypeDefault Expression
SAP_SYSTEMSSAP SystemInString

DELETE_JOBS_OLDER_THENDelete terminated jobs that are older then that number of daysInNumber

MAX_ALLOWED_EXCEPTIONSMax consecutive exceptions allowedInNumber

*) The child jobs get the output parameters (for example SHOWSPOOL) set according to the following order:

  1. From a matching job control rule.
  2. From the parent job.
  3. Default expression of SAP_CcmsJob.
← Using Temporary VariantsMain →
  • SAP_AbapRun
    • Parameters
    • Waiting for SAP Events
    • Retrieving Spool Output as PDF
    • Additional Print Parameters
    • Retrieving Part of the Job Log
    • Temporary Variants
    • More Information
  • SAP_AbapRunPrint
    • Parameters
    • Waiting for SAP Events
    • Retrieving Spool Output and Log as Different Formats
    • Additional Print Parameters
    • Retrieving Part of the Job Log
    • Temporary Variants
    • More Information
  • SAP_AbapRunPrintExt
    • Parameters
    • Waiting for SAP Events
    • Retrieving Spool Output as PDF
    • Additional Print Parameters
    • Retrieving Part of the Job Log
    • Temporary Variants
    • More Information
  • SAP_ACC_Controller
    • Parameters
    • More Information
  • SAP_BObj_DataServicesJobRun
    • Parameters
  • SAP_BObj_GenerateReportDefinition
    • Parameters
  • SAP_BObj_ImportReportDefinitions
    • Parameters
  • SAP_BObj_ReportRun
    • Parameters
  • SAP_BObj_TriggerEvent
    • Parameters
  • SAP_BW_GenerateInfoPackageGroup
    • Parameters
  • SAP_BW_GenerateJobDefinition
    • Parameters
  • SAP_BW_ImportInfoPackageGroups
    • Parameter
  • SAP_BW_ImportInfoPackages
    • Parameters
  • SAP_BW_ImportProcessChainDefinition
    • Parameters
    • More Information
  • SAP_BW_ImportProcessChains
    • Parameters
    • More Information
  • SAP_BW_InfopackageRun
    • Parameters
  • SAP_BW_MaintainProcessChainDefinition
    • Parameters
  • See Also
  • SAP_BW_Process
    • Parameters
  • SAP_BW_ProcessChain
    • Parameters
  • SAP_BW_RestartProcess
    • Parameters
    • More Information
  • SAP_BW_RestartProcessChain
    • Parameters
  • SAP_BW_ProcessChainRun
    • Parameters
  • SAP_CcmsJob
    • Parameters
  • SAP_CcmsJobCheckStatus
    • Parameters
  • SAP_CcmsJobGetApplicationLog
    • Parameters
  • SAP_CcmsJobGetApplicationLogExt
    • Parameters
  • SAP_CcmsJobGetApplicationLogHandles
    • Parameters
  • SAP_CcmsJobGetLog
    • Parameters
  • SAP_CcmsJobGetSpoollist
  • SAP_CcmsJobGetStatistics
    • Parameters
  • SAP_CcmsJobModifyHeader
    • Parameters
  • SAP_CcmsJobGetStatus
    • Parameters
  • SAP_ClosingCockpit_AbapRun
    • Parameters
    • More Information
  • SAP_ClosingCockpit_ManualTask
    • Parameters
  • SAP_CopyParameters
    • Parameters
  • SAP_CopyVariant
    • Parameters
    • More Information
  • SAP_ConvertSpoolFileToRtx
    • Parameters
  • SAP_ConvertSpoolFileToRtxLowLevel
    • Parameters
  • SAP_DeleteCcmsMonitors
    • Parameters
    • More Information
  • SAP_DeleteJobs
    • Parameters
  • SAP_DeleteVariant
    • Parameters
    • More Information
  • SAP_ExportRFCFunctionModuleInterface
    • Parameters
  • SAP_ExternalCommandRun
    • Parameters
    • Waiting for SAP Events
    • Retrieving Spool Output as PDF
    • Additional Print Parameters
    • Retrieving Part of the Job Log
    • Temporary Variants
  • SAP_ExternalProgramRun
    • Parameters
    • Waiting for SAP Events
    • Retrieving Spool Output as PDF
    • Additional Print Parameters
    • Retrieving Part of the Job Log
    • Temporary Variants
  • SAP_GenerateCcmsJobDefinition
    • Parameters
  • SAP_GetBatchResources
    • Parameters
  • SAP_GetEventHistory
    • Parameters
  • SAP_GetInstalledComponents
    • Parameters
  • SAP_GetSysLog
    • Parameters
  • SAP_GetXmiLog
    • Parameters
  • SAP_ImportAbapParameterDefinition
    • Parameters
    • More Information
  • SAP_ImportAbapPrograms
    • Parameters
    • More Information
  • SAP_ImportApplicationServers
    • Parameters
  • SAP_ImportArchiveObjects
    • Parameters
    • More Information
  • SAP_ImportBatchEvents
    • Parameters
    • More Information
  • SAP_ImportCalendars
    • Parameters
    • More Information
  • SAP_ImportExternalCommands
    • More Information
  • SAP_ImportCcmsJobs
    • Parameters
    • More Information
  • SAP_ImportCcmsMonitors
    • Parameters
  • SAP_ImportOutputDevices
    • Parameters
    • More Information
  • SAP_ImportRecipients
    • Parameters
  • SAP_ImportVariantDefinition
    • Parameters
    • More Information
  • SAP_ImportVariants
    • Parameters
    • More Information
  • SAP_Info
    • Parameters
  • SAP_InterceptedJob
    • Parameters
  • SAP_MA_CopyParameters
    • Parameters
  • SAP_MA_CreateParameters
    • Parameters
  • SAP_MA_DeleteDunningProposal
    • Parameters
  • SAP_MA_ImportMassActivities
    • Parameters
    • More Information
  • SAP_MA_ImportMassActivity
    • Parameters
    • More Information
  • SAP_MA_MassActivityRun
    • Parameters
    • More Information
  • SAP_MA_MassActivityTemplateRun
    • Parameters
    • More Information
  • SAP_MA_ResumeMassActivity
    • Parameters
    • More Information
  • SAP_MA_ShowMassActivity
    • Parameters
  • SAP_MA_StopMassActivity
    • Parameters
  • SAP_MaintainXbpOptions
    • Parameters
    • Values
    • More Information
  • SAP_PI_GetChannelStatus
    • Purpose
  • Parameters
  • SAP_PI_ImportChannels
    • Purpose
    • Parameters
    • More Information
  • SAP_PI_StartChannel
    • Purpose
    • Parameter
  • SAP_PI_StopChannel
    • Purpose
    • Parameter
  • SAP_RaiseEvent
    • Parameters
  • SAP_ReloadApplicationLinks
    • Parameters
  • SAP_ReleaseInterceptedJobs
    • Parameters
  • SAP_RfcAgent_RetrieveOutput
    • Parameters
  • SAP_RunTemplateJob
    • Parameters
    • SAP Batch Job Statuses and Codes
  • SAP_SetXmiAuditLevel
    • Parameters
  • SAP_SolutionManager_AbapRun
    • Parameters
    • More Information
  • SAP_StoreVariant
    • Parameters
  • SAP_SwitchOperationMode
    • Parameters
  • SAP_SynchronizeEventHistoryCriteria
    • Example
    • Parameters
  • SAP_SynchronizeInterceptionCriteria
    • Parameters
    • SYNC_DIRECTION
    • OVERWRITE
  • SAP_SynchronizeTerminatedCcmsJobs
    • Parameters
Docs
Getting StartedInstallationFinance InstallationConcepts
TroubleshootingArchiving
Learn and Connect
Support Portal
BlogEventsResources
ISO/ IEC 27001 Information Security Management
Automate to be human

2023 All Rights Reserved |

Terms of Service | Policies | Cookies | Glossary | Third-party Software | Contact | Copyright | Impressum |