SAP Function CACS_LOG_GET_STATISTICS - Determines The Number of A and E-Messages For A Log

Parameter Reference Type Length Default Optional Text
IV_LOG_HANDLE BALLOGHNDL C 22 X Application Log: Log Handle

Parameter Reference Type Length Text
EB_ERROR CACSCASEERROR C 1 X: Log Contains At Least One Message of Type A or E
EB_REJECTED CACSCASEREJECT C 1 X: Log Contains At Least One Message of Type E

Exception Text
NO_LOG_FOUND No Log Found

Functionality
The function module returns it to the caller whether the log contains atleast one termination message or error message.
The relevant log can be explicitly specified (importing parameterIV_LOG_HANDLE). Alternatively, the statistic of the default log of thecurrent process (global variable GV_LOG_HANDLE) is returned.
The statistic is updated while sending an error message or terminationmessage (in function module MESSAGE_STORE_WITH_DISPLAY).