Skip to content

Latest commit

 

History

History
491 lines (313 loc) · 5.42 KB

File metadata and controls

491 lines (313 loc) · 5.42 KB

CL_BALI_LOG_FILTER (Interface IF_BALI_LOG_FILTER)

Class CL_BALI_LOG_FILTER allows to define a filter which can be used if logs shall be read from the database and if the log handles are not known. The public interface of the instance methods is IF_BALI_LOG_FILTER.

Public Methods

Create an instance of the filter class:

CREATE (static)

Name

Description

Returning parameter

FILTER

Filter object: A reference to interface IF_BALI_LOG_FILTER

Set object, subobject and external identifier of the log. It overwrites all previous filter settings of object, subobject and external identifier:

SET_DESCRIPTOR

Name

Description

Importing parameters

OBJECT

(Optional): Object of the log (no wildcards)

SUBOBJECT

(Optional): Subobject of the log (wildcards allowed)

SUBOBJECT_TABLE

(Optional): Table with subobjects (wildcards allowed)

EXTERNAL_ID

(Optional): External identifier of the log (wildcards allowed)

EXTERNAL_ID_TABLE

(Optional): Table with external identifiers (wildcards allowed)

Returning parameter

NEW_FILTER

Reference to current filter object

Exceptions (inherit from CX_BALI_RUNTIME)

CX_BALI_NOT_POSSIBLE

ERROR_CODE: CX_BALI_NOT_POSSIBLE=>OBJECT_NOT_ALLOWED:

Access to the log object is not allowed

Note:

If parameter EXTERNAL_ID is supplied and empty, the filter searches for logs with empty external identifier.

If parameters OBJECT, SUBOBJECT, SUBOBJECT_TABLE, or EXTERNAL_ID_TABLE are supplied and empty, they are ignored

Set information about the log creation like the user. It overwrites all previous filter settings about the log creation:

SET_CREATE_INFO

Name

Description

Importing parameters

USER

(Optional): Log user (wildcards allowed)

USER_TABLE

(Optional): Table with log users (wildcards allowed)

Returning parameter

NEW_FILTER

Reference to current filter object

Note:

If parameters USER or USER_TABLE are supplied and empty, they are ignored.

Set the date and time interval of the log creation. It overwrites all previous filter settings of the time interval:

SET_TIME_INTERVAL

Name

Description

Importing parameters

START_TIME

UTC time stamp of the start time of the time interval

END_TIME

UTC time stamp of the end time of the time interval

Returning parameter

NEW_FILTER

Reference to current filter object

Set the maximum number of logs which are processed:

SET_MAXIMUM_LOG_NUMBER

Name

Description

Importing parameters

MAX_LOG_NUMBER

Maximum number of logs which are processed (0 = all logs are processed which is the default)

Returning parameter

NEW_FILTER

Reference to current filter object

Get all filter values:

GET_ALL_VALUES

Name

Description

Exporting parameters

OBJECT_TABLE

Table of objects (no wildcards)

SUBOBJECT_TABLE

Table of subobjects (wildcards allowed)

EXTERNAL_ID_TABLE

Table of external identifiers (wildcards allowed)

USER_TABLE

TIME_INTERVAL

Date and time interval

MAX_LOG_NUMBER

Maximum number of logs processed