Function Module Overview
Simple call
|
Function Module |
Use |
|---|---|
|
BAL_LOG_CREATE |
Create log with header data |
|
BAL_LOG_MSG_ADD |
Put message in log |
|
BAL_LOG_EXCEPTION_ADD |
Put exception in log |
|
BAL_DSP_LOG_DISPLAY |
Display messages in memory |
Different methods for collecting messages
|
Function Module |
Use |
|---|---|
|
BAL_LOG_CREATE |
Create log with header data |
|
BAL_LOG_MSG_ADD |
Put message in log |
|
BAL_LOG_EXCEPTION_ADD |
Put exception in log |
|
BAL_LOG_MSG_CUMULATE |
Add message cumulatively |
|
BAL_LOG_MSG_REPLACE |
Replace last message |
|
BAL_GLB_MSG_CURRENT_HANDLE_GET |
Get current message handle |
|
BAL_LOG_MSG_DELETE |
Delete message |
|
BAL_LOG_EXCEPTION_DELETE |
Delete exception |
|
BAL_LOG_MSG_CHANGE |
Change message |
|
BAL_LOG_EXCEPTION_CHANGE |
Change exception |
|
BAL_GLB_MSG_DEFAULTS_GET |
Get message defaults |
Find and read messages in memory
|
Function Module |
Use |
|---|---|
|
BAL_GLB_SEARCH_LOG |
Find logs in memory |
|
BAL_GLB_SEARCH_MSG |
Find messages in memory |
|
BAL_LOG_HDR_READ |
Read log header and other data |
|
BAL_LOG_MSG_READ |
Read message and other data |
|
BAL_LOG_EXCEPTION_READ |
Read exception and other data |
Log display and display profiles
|
Function Module |
Use |
|---|---|
|
BAL_DSP_LOG_DISPLAY |
Display logs |
|
BAL_DSP_PROFILE_STANDARD_GET |
Standard profile SLG1) for a lot of logs |
|
BAL_DSP_PROFILE_SINGLE_LOG_GET |
Standard profile (SLG1) for one log |
|
BAL_DSP_PROFILE_NO_TREE_GET |
Display without tree (fullscreen) |
|
BAL_DSP_PROFILE_POPUP_GET |
Display without tree (popup) |
|
BAL_DSP_PROFILE_DETLEVEL_GET |
Hierarchy by message DETLEVEL |
Display log in subscreen
|
Function Module |
Use |
|---|---|
|
BAL_DSP_OUTPUT_INIT |
Initialize output |
|
BAL_DSP_OUTPUT_SET_DATA |
Set dataset to be displayed |
|
BAL_DSP_OUTPUT_FREE |
End output |
Log display in Control Container
|
Function Module |
Use |
|---|---|
|
BAL_CNTL_CREATE |
Create Control for log display |
|
BAL_CNTL_REFRESH |
Put new data in log display |
|
BAL_CNTL_FREE |
Release control |
Save, load, find, and delete logs in the database
|
Function Module |
Use |
|---|---|
|
BAL_DB_SAVE |
Save logs in the database |
|
BAL_DB_SAVE_PREPARE |
Prepare save |
|
BAL_DB_SEARCH |
Find logs in the database |
|
BAL_DB_LOAD |
Load logs from the database |
|
BAL_LOG_REFRESH |
Delete log from memory |
|
BAL_GLB_MEMORY_REFRESH |
(Partially) reset global memory |
|
BAL_DB_DELETE |
Delete logs from the database |
Change log
|
Function Module |
Use |
|---|---|
|
BAL_DB_ENQUEUE |
Lock log |
|
BAL_DB_LOAD |
Load log(s) |
|
BAL_DB_SAVE |
Save log(s) |
|
BAL_DB_DEQUEUE |
Unlock log |
|
BAL_LOG_MSG_CHANGE |
Change message |
|
BAL_LOG_EXCEPTION_CHANGE |
Change exception |
|
BAL_LOG_MSG_DELETE |
Delete message |
|
BAL_LOG_EXCEPTION_DELETE |
Delete exception |
|
BAL_LOG_HDR_CHANGE |
Change log header |
|
BAL_LOG_DELETE |
Delete log (from database also at Save) |
|
BAL_LOG_REFRESH |
Delete log from memory |
Transaction Start: Initializations
|
Function Module |
Use |
|---|---|
|
BAL_GLB_CONFIG_SET |
Set configuration |
|
BAL_GLB_CONFIG_GET |
Read configuration |
|
BAL_GLB_AUTHORIZATION_GET |
Assign authorization |
|
BAL_GLB_AUTHORIZATION_RESET |
Reset authorization |
|
BAL_GLB_MEMORY_REFRESH |
(Partially) initialize memory |
|
BAL_MSG_DISPLAY_ABAP |
Message output as ABAP MESSAGE |
Working roll area-independently
|
Function Module |
Use |
|---|---|
|
BAL_GLB_MEMORY_EXPORT |
Put function group memory in ABAP-MEMORY |
|
BAL_GLB_MEMORY_IMPORT |
Get function group memory from ABAP-MEMORY |
Data and existence checks
|
Function Module |
Use |
|---|---|
|
BAL_LOG_HDR_CHECK |
Check log header data for consistency |
|
BAL_LOG_MSG_CHECK |
Check message data for consistency |
|
BAL_LOG_EXIST |
Check existence of a log in memory |
|
BAL_LOG_MSG_EXIST |
Check existence of a message in memory |
Read or check Application Log object and subobject
|
Function Module |
Use |
|---|---|
|
BAL_OBJECT_SELECT |
Read Application Log objects table record |
|
BAL_SUBOBJECT_SELECT |
Read subobject table record |
|
BAL_OBJECT_SUBOBJECT |
Check whether object and subobject exist and the combination is allowed |
Log Display: Detail screen
|
Function Module |
Use |
|---|---|
|
BAL_DSP_MSG_LONGTEXT |
Display message long text |
|
BAL_DSP_MSG_PARAMETERS |
Either output extended long text or call a callback routine (based on the data in BAL_S_MSG-PARAMS) |
|
BAL_DSP_MSG_TECHNICAL_DATA |
Outputs the message technical data such as work area, error number, etc. |
|
BAL_DSP_LOG_PARAMETERS |
Either output extended long text or call a callback routine (based on the data in BAL_S_LOG-PARAMS) |
|
BAL_DSP_LOG_TECHNICAL_DATA |
Outputs all log header data |