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: 

read logdata from DBTABLOG

former_member190313
Active Participant
0 Kudos
2,296

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

Former Member
0 Kudos
559

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

Former Member
0 Kudos
559

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

Former Member
0 Kudos
559

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

Former Member
0 Kudos
560

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

0 Kudos
559

hi Anji

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

Thanks

Sheetal