SAP ABAP Class IF_VSCAN_INSTANCE (Provider of Virus Scan Services)
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_VSCAN_ADAPTER | Virus Scan Adapter Class Object | 20070814 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_VSCAN_SERVER | Virus Scan Server | 20030817 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_VSI | Virus Scan API for Application Developers | 20030829 |
Properties
| Class | IF_VSCAN_INSTANCE | |
| Short Description | Provider of Virus Scan Services | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20030815 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class IF_VSCAN_INSTANCE has no interface implemented.
Friends
Class IF_VSCAN_INSTANCE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | -3 | Active content in context where it is not permitted | 20120124 | ||
| 2 | Constant | Public | Type reference (TYPE) | I | 8 | Expression is invalid | 20070831 | ||
| 3 | Constant | Public | Type reference (TYPE) | I | -6 | Content does not meet the defined rules | 20120124 | ||
| 4 | Constant | Public | Type reference (TYPE) | I | 17 | Callback failed | 20070831 | ||
| 5 | Constant | Public | Type reference (TYPE) | I | 12 | Client I/O failed | 20070831 | ||
| 6 | Constant | Public | Type reference (TYPE) | I | -5 | Repair of at least one infection failed | 20030815 | ||
| 7 | Constant | Public | Type reference (TYPE) | I | -1 | Repair of all infections/macros was successful | 20030815 | ||
| 8 | Constant | Public | Type reference (TYPE) | I | 9 | Failed to load the driver | 20070831 | ||
| 9 | Constant | Public | Type reference (TYPE) | I | 15 | Unloading of the scan engine was not successful | 20041201 | ||
| 10 | Constant | Public | Type reference (TYPE) | I | 6 | Scan engine is obsolete (definition is vendor-dependent) | 20030815 | ||
| 11 | Constant | Public | Type reference (TYPE) | I | 4 | Invalid pointer in VSA | 20070831 | ||
| 12 | Constant | Public | Type reference (TYPE) | I | 3 | Invalid parameter transferred | 20030815 | ||
| 13 | Constant | Public | Type reference (TYPE) | I | 11 | Invalid scan object specified | 20070831 | ||
| 14 | Constant | Public | Type reference (TYPE) | I | 16 | Cannot stop adapter | 20041201 | ||
| 15 | Constant | Public | Type reference (TYPE) | I | 7 | Loading the scan engine was not successful | 20041201 | ||
| 16 | Constant | Public | Type reference (TYPE) | I | -3 | At least one macro found | 20030815 | ||
| 17 | Constant | Public | Type reference (TYPE) | I | 5 | Adapter not initialized | 20041201 | ||
| 18 | Constant | Public | Type reference (TYPE) | I | 14 | At least one obj. not scanned(for example: due to extension) | 20030815 | ||
| 19 | Constant | Public | Type reference (TYPE) | I | 1 | No memory free | 20041201 | ||
| 20 | Constant | Public | Type reference (TYPE) | I | 10 | Action/parameter not supported | 20030815 | ||
| 21 | Constant | Public | Type reference (TYPE) | I | 2 | Empty parameter transferred | 20041201 | ||
| 22 | Constant | Public | Type reference (TYPE) | I | 0 | No virus/macro found | 20030815 | ||
| 23 | Constant | Public | Type reference (TYPE) | I | -4 | Rule violation found | 20040817 | ||
| 24 | Constant | Public | Type reference (TYPE) | I | 13 | Problem occurred during the scan (See detailed data) | 20030815 | ||
| 25 | Constant | Public | Type reference (TYPE) | I | -2 | At least one virus found | 20030815 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Scan a byte sequence | 20030817 | |
| 2 | Instance method | Public | Method | Scanning of a Local (Application Server) File | 20040906 | |
| 3 | Instance method | Public | Method | Scan a text string | 20121030 |
Events
Class IF_VSCAN_INSTANCE has no event.
Types
Class IF_VSCAN_INSTANCE has no local type.
Method Signatures
Method SCAN_BYTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_DATA | Call by reference | Type reference (TYPE) | XSTRING | Nur bei IF_DO_CLEAN: Bereinigte Bytefolge | 20030830 | |||
| 2 | EF_SCANRC | Call by reference | Type reference (TYPE) | VSCAN_SCANRC | Scan-Ergebnis (CON_SCANRC_...) | 20030817 | |||
| 3 | ET_BAPIRET | Call by reference | Type reference (TYPE) | VSCAN_BAPIRET2_T | Tabelle mit Meldungen (auch ET_SCANERROR und ET_INFECTION) | 20030827 | |||
| 4 | ET_CONTENTINFO | Call by reference | Type reference (TYPE) | VSCAN_CONTENTINFO_T | Tabelle mit Scan-Inhaltsbeschreibungen | 20111012 | |||
| 5 | ET_INFECTION | Call by reference | Type reference (TYPE) | VSCAN_INFECTION_T | Tabelle mit gefundenen Viren (Details) | 20030827 | |||
| 6 | ET_SCANERROR | Call by reference | Type reference (TYPE) | VSCAN_SCANERROR_T | Tabelle mit Fehlern beim Scannen (Details) | 20030827 | |||
| 7 | IF_ACTIVE_CONTENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Activere Active Content Scan | 20070831 | ||
| 8 | IF_DATA | Call by reference | Type reference (TYPE) | XSTRING | Zu untersuchende Bytefolge | 20030817 | |||
| 9 | IF_DO_CLEAN | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Bytefolge bei Bedarf bereinigen | 20030830 | ||
| 10 | IF_JOB_ID | Call by reference | Type reference (TYPE) | VSCAN_JOB_ID | Job-IDdes Auftrages | 20030817 | |||
| 11 | IF_MIME_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Ermittle den MIME Typ | 20120124 | ||
| 12 | IF_NO_DETAILS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Keine detaillierten Scandaten | 20070831 | ||
| 13 | IF_PATTERN_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Aktiviere den Pattern Scan | 20120124 | ||
| 14 | IT_SCAN_PARAMETER | Call by reference | Type reference (TYPE) | VSCAN_PARAM_T | Tabelle mit Scan-Parametern | 20030817 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler in der Konfiguration | 20030827 | ||
| 2 | Interner Fehler | 20030827 | ||
| 3 | Virus Scan Server temporär nicht verfügbar | 20030827 |
Method SCAN_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_SCANRC | Call by reference | Type reference (TYPE) | VSCAN_SCANRC | Scan-Ergebnis (CON_SCANRC_...) | 20040906 | |||
| 2 | ET_BAPIRET | Call by reference | Type reference (TYPE) | VSCAN_BAPIRET2_T | Tabelle mit Meldungen (auch ET_SCANERROR und ET_INFECTION) | 20040906 | |||
| 3 | ET_CONTENTINFO | Call by reference | Type reference (TYPE) | VSCAN_CONTENTINFO_T | Tabelle mit Scan-Inhaltsbeschreibungen | 20111012 | |||
| 4 | ET_INFECTION | Call by reference | Type reference (TYPE) | VSCAN_SCANERROR_T | Tabelle mit gefundenen Viren (Details) | 20040906 | |||
| 5 | ET_SCANERROR | Call by reference | Type reference (TYPE) | VSCAN_SCANERROR_T | Tabelle mit Fehlern beim Scannen (Details) | 20040906 | |||
| 6 | IF_ACTIVE_CONTENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Activere Active Content Scan | 20070831 | ||
| 7 | IF_DO_CLEAN | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Datei bei Bedarf bereinigen | 20040906 | ||
| 8 | IF_FILENAME | Call by reference | Type reference (TYPE) | STRING | Dateiname der lokal zu scannenden Datei | 20040906 | |||
| 9 | IF_JOB_ID | Call by reference | Type reference (TYPE) | VSCAN_JOB_ID | Job-ID für einen Scanlauf | 20040906 | |||
| 10 | IF_MIME_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Ermittle den MIME Typ | 20120124 | ||
| 11 | IF_NO_DETAILS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Keine detaillierten Scandaten | 20070831 | ||
| 12 | IF_PATTERN_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Aktiviere den Pattern Scan | 20120124 | ||
| 13 | IT_SCAN_PARAMETER | Call by reference | Type reference (TYPE) | VSCAN_PARAM_T | Tabelle mit Scan-Parametern | 20040906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler in der Konfiguration | 20040906 | ||
| 2 | Virus Scan Server und Applikationsserver unterschiedlich | 20041201 | ||
| 3 | Interner Fehler | 20040906 | ||
| 4 | Virus Scan Server temporär nicht verfügbar | 20040906 |
Method SCAN_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_SCANRC | Call by reference | Type reference (TYPE) | VSCAN_SCANRC | Scan-Ergebnis (CON_SCANRC_...) | 20121030 | |||
| 2 | EF_TEXT | Call by reference | Type reference (TYPE) | XSTRING | Nur bei IF_DO_CLEAN: Bereinigte Bytefolge | 20121030 | |||
| 3 | ET_BAPIRET | Call by reference | Type reference (TYPE) | VSCAN_BAPIRET2_T | Tabelle mit Meldungen (auch ET_SCANERROR und ET_INFECTION) | 20121030 | |||
| 4 | ET_CONTENTINFO | Call by reference | Type reference (TYPE) | VSCAN_CONTENTINFO_T | Tabelle mit Scan-Inhaltsbeschreibungen | 20121030 | |||
| 5 | ET_INFECTION | Call by reference | Type reference (TYPE) | VSCAN_INFECTION_T | Tabelle mit gefundenen Viren (Details) | 20121030 | |||
| 6 | ET_SCANERROR | Call by reference | Type reference (TYPE) | VSCAN_SCANERROR_T | Tabelle mit Fehlern beim Scannen (Details) | 20121030 | |||
| 7 | IF_ACTIVE_CONTENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Akiviere Aktive Content Scan | 20121030 | ||
| 8 | IF_DO_CLEAN | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Textfolge bei Bedarf bereinigen | 20121030 | ||
| 9 | IF_JOB_ID | Call by reference | Type reference (TYPE) | VSCAN_JOB_ID | Job-IDdes Auftrages | 20121030 | |||
| 10 | IF_MIME_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Ermittle den MIME Typ | 20121030 | ||
| 11 | IF_NO_DETAILS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Keine detaillierten Scandaten | 20121030 | ||
| 12 | IF_PATTERN_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Aktiviere den Pattern Scan | 20121030 | ||
| 13 | IF_TEXT | Call by reference | Type reference (TYPE) | STRING | Zu untersuchende Textfolge | 20121030 | |||
| 14 | IT_SCAN_PARAMETER | Call by reference | Type reference (TYPE) | VSCAN_PARAM_T | Tabelle mit Scan-Parametern | 20121030 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler in der Konfiguration | 20121030 | ||
| 2 | Interner Fehler | 20121030 | ||
| 3 | Virus Scan Server temporär nicht verfügbar | 20121030 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |