## 4.2.15.9.2.3.2  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   | 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) |
| Name                                      | Description                                                     |
|-------------------------------------------|-----------------------------------------------------------------|
| 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=>OB- JECT_NOT_ALLOWED:         |
<!-- image -->
##  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                   |
<!-- image -->
##  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   | Importing parameters                                  |
|------------------------|-------------------------------------------------------|
| START_TIME             | UTC time stamp of the start time of the time interval |
| Name                                                                            | Description                                                                                  |
|---------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
| 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                                                             |