2007 Jun 07 6:05 AM
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
2007 Jun 07 6:14 AM
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
2007 Jun 07 6:08 AM
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
2007 Jun 07 6:10 AM
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
2007 Jun 07 6:14 AM
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
2007 Jun 07 6:30 AM
hi Anji
If possible can you give me sample code for this as i am new to ABAP
Thanks
Sheetal