The SAPUSER statement specifies the SAP system user the job runs under. The SAPUSER statement overrides the SAP user specified in the connection properties file.
Supported Job Types
This statement is optional for the following job types:
Syntax
This statement has the following format:
SAPUSER user_name
Specifies the name of the user the job runs under. The value corresponds to the SAPGUI User field on the Create Step dialog.
Limits: Up to 32 valid SAP characters; case-sensitive; it cannot contain delimiters (such as spaces)
Notes:
Example: Specify the User ID the Job Runs Under
This example runs the BTCTEST ABAP under the authority of the USERXXX01 user ID, as the STEPUSER statement is not included:
SAPJOBNAME SAPTEST AGENT SAPHTAGENT SAPUSER USERXX01 ABAPNAME BTCTEST VARIANT TEST SAPTARGETSYSTEM tst005
Example: Run a Job under the Default User ID
This example runs the job under the authority of the default user ID specified in the connection properties files, as the SAPUSER and STEPUSER statements are not included:
SAPJOBNAME SAPTEST AGENT SAPHTAGENT ABAPNAME BTCTEST VARIANT TEST SAPTARGETSYSTEM tst005
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|