SAP ABAP Data Element SEXT_CMD (Command line model for access method E)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CCM-PRN (Application Component) Print and Output Management
     SPOO (Package) Spool
Basic Data
Data Element SEXT_CMD
Short Description Command line model for access method E  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type TEXT132    
Data Type CHAR   Character String 
Length 132    
Decimal Places 0    
Output Length 132    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Model 
Medium 20 Command line model 
Long 38 Command line model for access method E 
Heading  
Documentation

Definition

This field describes a template for a command line to call an OMS command. The command line can be structured as required.

If an entry is used in the path then you must make sure that it is placed in front of the command template. If not, the template can contain several commands (depending on the shell possibilities of the operating system on which the command will be executed).

Alongside regular elements of the shell command syntax, other SAP-specific replacement characters can also be used. These begin with a '&' character. If the command is to contain a '&' character then this must be written as '&&'. The following replacement parameters are defined:
&C Number of copies
&D Department of the recipient
&F Name of file with the print date (including path)
&f Name of file without path
&H/<x>/<y>/ <x>, if host spool cover page required, <y> otherwise
&I Job name with DB ID
&J Job name without DB ID
&L Format type
&M Client of spool request owner
&m Client of print request owner
&O (SAP)Name of spool request owner
&o (SAP)Name of print request owner
&P Name of external output device
&p Path name of output file
&R Name of recipient
&S Name of SAP output device
&T Title
&t Fax number
&U Host spool cover page required (X=yes, N=no)
&Y SAP priority (1-99) 1 is the highest priority
&N Spool request number
&n Output request number

Alongside these standard parameters the following parameters are also available for the OMS command template:
&EI SAP spool ID
&EG Confirmation group
&ES SAP instance name for callback (if required, otherwise "-")
&ET Maximum buffer time for callback events
&EA Maximum number of buffered events
&EP Fax recipient (future addition)
&E1 SAP flag of LOMS
&E2 OMS flag of LOMS
&E3 SAP flag of ROMS
&E4 OMS flag of ROMS

An operating system-specific masking of special characters is necessary for the correct handling of command arguments. This also applies to the currently set values for the parameters.

To do this the following mechanism is used:

UNIX: The characters \, ', " and $ are masked by a \ . A separate \ is represented by \\ . Parameters should be bracketed with " characters, so that the special characters (including blank characters) are correctly transmitted (for example: '&T').

Windows/NT: The character " is masked with a \ . All \ characters before a " character are masked. % characters are replaced by # characters. This is necessary, as there is no way of masking the variable substitution of the NT shell.

History
Last changed by/on SAP  20010130 
SAP Release Created in