You can use the CL_BALI_OBJECT_HANDLER class as Application Log Design Time API to create, change, read, or delete application log objects or subobjects. It uses the public interface IF_BALI_OBJECT_HANDLER.
Public Methods
GET_INSTANCE (static)
|
Parameter |
Type |
Description |
|---|---|---|
|
RO_OBJ_HANDLER |
Returning |
Create, change or delete application log objects |
Create a new application log object, optionally with subobjects.
IF_BALI_OBJECT_HANDLER~CREATE_OBJECT
|
Parameter |
Type |
Description |
|---|---|---|
|
IV_OBJECT |
Importing |
New application log object |
|
IV_OBJECT_TEXT |
Importing |
Description for new application log object |
|
IT_SUBOBJECTS |
Importing |
Table of new application log subobjects |
|
IV_PACKAGE |
Importing |
Package |
|
IV_TRANSPORT_REQUEST |
Importing |
Transport request |
The input of a table of subobjects for parameter
IT_SUBOBJECTSis optional. If parametersIV_PACKAGEandIV_TRANSPORT_REQUESTare not provided, it is assumed that a local object shall be created.
Delete an application log object and all of its subobjects.
IF_BALI_OBJECT_HANDLER~DELETE_OBJECT
|
Parameter |
Type |
Description |
|---|---|---|
|
IV_OBJECT |
Importing |
Application log object |
|
IV_TRANSPORT_REQUEST |
Importing |
Transport request |
Add a new subobject to an existing application log object.
IF_BALI_OBJECT_HANDLER~ADD_SUBOBJECT
|
Parameter |
Type |
Description |
|---|---|---|
|
IV_OBJECT |
Importing |
Application log object |
|
IV_SUBOBJECT |
Importing |
New application log subobject |
|
IV_SUBOBJECT_TEXT |
Importing |
Description for new application log subobject |
|
IV_TRANSPORT_REQUEST |
Importing |
Transport request |
Delete a subobject from an application log object.
IF_BALI_OBJECT_HANDLER~DELETE_SUBOBJECT
|
Parameter |
Type |
Description |
|---|---|---|
|
IV_OBJECT |
Importing |
Application log object |
|
IV_SUBOBJECT |
Importing |
Application log subobject |
|
IV_TRANSPORT_REQUEST |
Importing |
Transport request |
Read an application log object and all of its subobjects
IF_BALI_OBJECT_HANDLER~READ_OBJECT
|
Parameter |
Type |
Description |
|---|---|---|
|
IV_OBJECT |
Importing |
Application log object |
|
EV_OBJECT_TEXT |
Importing |
Description for an application log object |
|
ET_SUBOBJECTS |
Importing |
Table of application log subobjects |
For all methods,
IV_TRANSPORT_REQUESTis not required for local objects.All methods of
IF_BALI_OBJECT_HANDLERinclude exceptionCX_BALI_OBJECTS.