2023 Jul 06 9:27 AM
Hi,
i have to read entries in DBTABLOG for a specific table in my Z-report.
The very old Table DBTABLOG has a LRAW field for the content which cannot be read directly.
I have searched SAP Notes and searched this forum here, but there is no "simple" solution for that: the functions modules DBLOG_READ*..... also only shows the LRAW field. The solution with submitting RSVTPROT and get back the ALV list into the report is horrible.
So is there any simple function module/class/method for reading the changes in a table -> i need the old value of a field and the new field.
br Martin
2023 Jul 06 10:47 AM
Hi Martin,
you might have a look here: https://answers.sap.com/questions/1703877/read-dbtablog.html
Even better might be to have a look at the "state to the art" access to the application log, see https://help.sap.com/docs/btp/sap-business-technology-platform/reading-application-log (in case you are already on a system featuring those interfaces ;-)).
Best,
Jasmin
2023 Jul 06 11:10 AM
jasmin.gruschke
Thank you, but link 1 i have already checked, it is exactly the problem i have -> there is no solution provided
About Link 2: the application log has nothing to do with my issue. I need a database-field change , there the application log is the wrong place 🙂
br Martin
2023 Jul 06 11:14 AM
Hi Martin,
did you try FM DBLOG_READ_TABLE as mentioned in the first link?
Best,
Jasmin
2023 Jul 07 9:18 AM
Hi Jasmin,
of course i have tried, but this FM also delivers the data ONLY in the LRAW format 😞
2023 Jul 06 10:49 AM
2023 Jul 06 1:49 PM
You could also look at my answer at Get old and new values from DBTABLOG table
2023 Jul 07 9:20 AM
raymond.giuseppi I already saw your answer before i posted my question here. But this is exactly what i said: i just want to have a simple "ready to go" FM or class/method for that issue. Why do we have to code it in that way ourself ? I mean sometimes SAP is questionable not to provide such things 😞 🙂
2023 Jul 07 9:59 AM
martin.svik2 ABAP stuff is full of missing API. It has been like that since the beginning. SAP local initiatives sometimes, but it's globally a desert of APIs. I guess it's a mix of business objectives (time/cost for developing), education, etc. Ask SAP people directly of course.
2023 Jul 07 10:18 AM
There is a SAP site Customer Influence and Adoption for this kind of request to SAP
2023 Jul 10 9:59 AM
raymond.giuseppi Sorry, but i need this within the nexe 2-3 weeks. Asking SAP for an Adoption will take...............until 2030 or so 🙂
2023 Jul 10 10:34 AM