Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

evaluation of change logs - how to read it in ABAP ?

Former Member
0 Kudos

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 ?

2 REPLIES 2

franois_henrotte
Active Contributor
0 Kudos

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)

former_member181966
Active Contributor
0 Kudos

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 this’ll give you idea!!

<b>P.S award the points.</b>

Good luck

Thanks

Saquib Khan

"Some are wise and some are otherwise"