27.04.2013 Views

SAP Basis

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ADM100 Lesson: Background Processing: Other Topics<br />

Figure 108: Definition and Use of External Commands<br />

The creation of external command requires the following steps:<br />

1. Call transaction SM69 (Tools → CCMS → Configuration → External<br />

Commands).<br />

2. Choose Display/Change and then the Create button.<br />

3. Enter a name for your command. External commands are uniquely<br />

identified with a name (beginning with Y or Z) and an operating<br />

system type. The Type field is filled automatically.<br />

4. Specify an executable operating system command (if required with<br />

the complete path) and specify any additional required or optional<br />

parameters.<br />

5. Select the Additional parameters allowed fieldifusersmayspecify<br />

additional parameters when they schedule the command in a<br />

background job. The additional parameters are added in parameter<br />

strings specified under Parameters for Operating System Command.<br />

6. The Trace field should usually be left blank. To follow the execution<br />

of an external command, use the trace parameter for the function<br />

module SXPG_COMMAND_EXECUTE.<br />

7. If you have defined an additional authorization check, enter the<br />

name of the function module that performs the check under<br />

Check Module, usually a customer copy of the function module<br />

2003/Q3 © 2003 <strong>SAP</strong> AG. All rights reserved. 339

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!