Previous Topic: SAPSUCCESSMSG Statement—Specify Success Message for SAP JobNext Topic: SAPUSER Statement—Specify the SAP System User the Job Runs Under


SAPTARGETSYSTEM Statement—Specify SAP Application Server

The SAPTARGETSYSTEM specifies the name of the SAP system application server where the SAP job runs. If you omit this statement, the SAP system selects an application server based on available resources.

Supported Job Types

This statement is optional for the following job types:

Syntax

This statement has the following format:

SAPTARGETSYSTEM application_server
application_server

Specifies the host computer within the SAP system architecture that is capable of running SAP system workload.

Limits: Up to 32 valid SAP characters; case-sensitive

Note: Enclose values that contain delimiters (such as spaces) in double quotation marks.

Example: Specify the SAP System Application Server

This example defines a job that runs the BTCTEST ABAP at the tst005 SAP system regardless of the entries specified in the destination properties file:

SAPJOBNAME SAPTEST
AGENT SAPHTAGENT
SAPUSER J01PROD
ABAPNAME BTCTEST
   VARIANT TEST
   SAPTARGETSYSTEM tst005