Previous Topic: STATUS Statement—Specify the Status of the Process, Service, or IP Address to MonitorNext Topic: STORED_PROCEDURE Statement—Specify Stored Procedure or Stored Function to Run


STEPUSER Statement—Specify the SAP System User the ABAP Runs Under

The STEPUSER statement specifies the user under whose authorization the ABAP program runs.

Supported Job Types

This statement is optional for the following job types:

Syntax

This statement has the following format:

STEPUSER user_name
user_name

Specifies the name of the user under whose authorization the ABAP program runs.

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

Notes:

Example: Specify the User for an ABAP Program

This example runs the BTCTEST ABAP under the authority of the user14 user ID:

SAPJOBNAME SAPTEST
AGENT SAPHTAGENT
STARTMODE I
ABAPNAME BTCTEST
   STEPUSER user14
   VARIANT TEST
   SAPTARGETSYSTEM tst005