Application Development and Automation 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: 
Read only

read logdata from DBTABLOG

Former Member
0 Likes
4,070

hello all

I want to get the updated table record from Log Table DBTABLOG.

This updated record is stored in the field LOGDATA ( type : lrow) of DBTABLOG

can any one tell me how to read this field and get actual updated record??

Regards Sheetal

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,333

Hi

Fetch the record of that LRAW (16000 ) and do the offsetting of this record in the loop of the internal table data (into different strings)

and see the few contents so that you will come to know few fields of that were modified/logdata of few fields.

this is how we do the same IDOC data record from EDIDD table where similar data record field is there.

Reward points for useful Answers

Regards

Anji

4 REPLIES 4
Read only

Former Member
0 Likes
2,333

hi,

You can use the FM : DBLOG_READ

Pass the tables that you want to read in the patameter

OBJ_LIST

Also there are 2 other FM's

DBLOG_READ_ARCHIVES

DBLOG_READ_WITH_STATISTIC

Read only

Former Member
0 Likes
2,333

or

Try to make use of option DESCENDING on field LOGTIME when selecting the data to fetch the latest updated entry for a table.

or

Use report RSTBHIST or RSVTPROT or RDDPRCHK for reading the table

Regards,

Naveen

Read only

Former Member
0 Likes
2,334

Hi

Fetch the record of that LRAW (16000 ) and do the offsetting of this record in the loop of the internal table data (into different strings)

and see the few contents so that you will come to know few fields of that were modified/logdata of few fields.

this is how we do the same IDOC data record from EDIDD table where similar data record field is there.

Reward points for useful Answers

Regards

Anji

Read only

0 Likes
2,333

hi Anji

If possible can you give me sample code for this as i am new to ABAP

Thanks

Sheetal