Defining Virus Scan Profiles
Prerequisites
-
You have created scanner groups.
Context
Application programs use virus scan profiles to check data for viruses. A virus scan profile contains a list of scanner groups that check a document. You can also use a virus scan profile to assign configuration parameters for the virus scanner. If you scan for viruses with this virus scan profile, the virus scanner receives the parameters.
A virus scan profile specifies steps that are to be processed during the virus scan. A step is either a virus scanner, which is found using the scanner group, or a step specifies, in turn, a virus scan profile, which is then performed as part of the enclosing virus scan profile.
A virus scan is performed under the name of a virus scan profile. The system administrator can use the profile to activate or deactivate the virus scan for each component.
By default, each SAP application that integrates a virus scan provides a virus scan profile. The names of these virus scan profiles is constructed as follows /<Name of the package of the application>/<Name of the function>. Check the virus scan profiles delivered by SAP (for example, using Delivered Virus Scan Profiles), and determine for which components you want to activate or deactivate the virus scan.
If you want to create your own virus scan profiles, you can use the namespaces Y* and Z*.
Procedure
-
In the (transaction VSCANPROFILE), and, if necessary, switch to change mode.
The View: Change "Virus Scan Profile": Overview screen is displayed.
-
Choose New Entries.
The New Entries: Overview of Added Entries screen appears.
-
Specify the scan profile data.
Field
Possible Values
Comment
Scan Profile
<Name of the virus scan profile>
Specifies the name of a virus scan profile.
Profile Text
<Description of the virus scan profile>
Explanatory text for a virus scan profile.
Active
Selection
Specifies that this virus scan profile is active. The virus scan profile can only be used if this indicator is active. SAP applications can use fixed profile names, which are delivered. The default setting is that these profiles are not active, meaning that the application program works without a virus scan. You can activate the virus scan for each application by setting this indicator.
Default Profile
Selection
Indicator that this virus scan profile is the default profile. You can set this indicator for a maximum of one virus scan profile. This virus scan profile is used in the following cases:
-
If an application requests a virus scanner without specifying a virus scan profile
-
If a virus scan profile is requested for which the Use Reference indicator is set, and the Reference Profile is empty
Use Reference
Selection
To operate multiple applications using the same virus scan profile, set the Use Reference indicator and specify the reference profile.
Reference Profile
The input help provides a list of all of the profiles that have already been defined.
If you leave the field empty, the system uses the default profile.
Specifies the name of the reference profile. Since a virus scan profile can use another virus scan profile as a reference profile, you can operate multiple applications using the same virus scan profile.
If the indicator Use Reference Profile is set in the virus scan profile, this field specifies the name of the reference profile to be used. Instead of the settings of the current virus scan profile, the settings of the reference profile are then used. This means that several virus scan profiles can use the settings of a shared reference profile, such as the scanner groups to be used.
Evaluate Profile Configuration Parameters
Selection
Indicator that the configuration parameters in the sections Profile Configuration Parameters and MIME Types are evaluated for this profile.
Linkage
All Steps Successful: The virus scan must have performed all steps without errors.
At Least One Step Successful: It is sufficient that one step of the virus scan was successfully performed.
Specifies the type of logical link for the steps in the virus scan profile. If multiple steps that are to be performed during the virus scan with a virus scan profile are defined for a profile, you can use this field to control how the overall result of the virus scan is to be evaluated. Using multiple steps allows you to scan documents with scan engines from different vendors at the same time. The program interprets a virus scan as error-free only if the scan engine returns the return value Check performed successfully or (in the case of cleanups) Cleanup performed successfully. All other return values are regarded as unsuccessful virus scans. This also includes situations such as:
-
The program did not check the document because the file name extension is categorized as non-critical.
-
The program could not check the document, because the document is a password-protected archive.
-
The scan engine is obsolete.
-
-
Save your entries.
-
To define steps for the profile, select the Steps node in the Dialog Structure by double-clicking it.
-
Choose New Entries.
-
Enter the following data for the definition of the step:
Field
Possible Values
Comment
Position
< Integer>
Specifies the position of the scanner group in the virus scan profile.
If a virus scan profile uses multiple scanner groups, you can place these in the desired sequence by assigning a position number.
Type
Group or Profile
Specifies whether a step in the virus scan profile refers to a scanner group or another virus scan profile.
If you choose Group, the system uses a virus scan provider from this group (or a BAdI implementation) for the virus scan.
If you choose Profile, the program processes the specified virus scan profile instead of this step.
You can define any conditions by combining the steps of the virus scan profile with the linkage type of the steps (AND/OR).
Scanner Group
The input help provides a list of all existing scanner groups.
Combines multiple virus scan providers or allows the use of a BAdI implementation.
All of the Virus Scan Providers of a scanner group have the same set of configuration parameters and will therefore use the same scan engine.
Virus Scan Profile
The input help provides a list of all existing profiles.
Specifies the name of a virus scan profile that you can include as a step in the profile that you are currently processing.
-
Save your entries.
-
To create configuration parameters for a step, double-click the Step Configuration Parameters node.
-
Choose New Entries.
-
Enter the following data for the definition of the step configuration parameters:
Field
Possible Values
Comment
Parameter
The input help provides a list of all existing constants.
Specifies the key of a configuration parameter.
A virus scanner requires configuration data. The set of possible configuration parameters is defined by SAP in the form of an assigned set of symbolic constants.
Value
<Value>
Specifies the value specified by the vendor for a configuration parameter.
-
Save your entries.
Results
You have defined a virus scan profile and therefore performed the last configuration step for the virus scan provider. Afterwards, you should check the configuration.

