05-18-2006 12:14 PM
Hi,
i have a logging on a table in SAP.
You can use report RSVTPROT for reporting the changes.
BUT: i have to look for changes in my own ABAP. How can i use the table log ? I found some function modules
like DBLOG_READ, but they seem to be very complex, and
the output is a 'log data' with unreadable 255-byte-strings ???
Is there a simply way to read the logging information in a own abap ?
05-18-2006 3:29 PM
Hi,
What you can do is access directly to table DBTABLOG which contains all records for table log (very huge table !)
See code of FM DBLOG_READ_TABLE and apply the same (or find a way to call it with proper parameters)
05-18-2006 3:40 PM
Take a look at program :
RSTBCOUNT
RSTBHIST
RSTBZAHL
and Fms
DBLOG_CVRT_C_TO_D
DBLOG_CVRT_C_TO_T
DBLOG_EVAL_CALL_FOR_BC_SET
DBLOG_EVAL_CALL_FOR_SEL_CHAP
DBLOG_EVAL_CALL_FOR_SEL_OBJECT
DBLOG_GET_ARCHIVES_FOR_PERIOD
DBLOG_READ_WITH_STATISTIC
<b> call function 'DBLOG_READ_TABLE'</b>
exporting
from_day = from_day
from_time = from_time
to_day = to_day
to_time = to_time
obj_list = obj_list
user_list = user_list
log_keys = log_keys
changing
log_list = log_list[].
Hope thisll give you idea!!
<b>P.S award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise"