打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
SAP数据库表DDLOG的设计原理

Today when I am reading this SAP help, I find out this sentence:

Then I have opened the definition of table DDLOG in the system and found I cannot directly view the content of field NOTEBOOK due to its data type LRAW.

So I have chosen one table with buffer activated, and made some changes on it.

Since I can only query this table via timestamp, I cannot figure out which entry is for my change on CRMC_PROC_TYPE.

Although I can fetch the content of NOTEBOOK in ABAP code via SELECT *, I do not how to parse this raw data to extract useful information. So I perform where used list on this table:

Then I have found two useful stuff:

(1) table buffer synchronization monitor use report RSDBBUF3:

(2) FM SBUF_SEL_DDLOG_RECS to parse content of field DDLOG-NOTEBOOK I wrote a simple report to use this FM:

DATA: lt_sync_tab    TYPE sync_tab_t,      lv_tstamp_from TYPE ddlog-timestamp,      lv_tstamp_to   TYPE ddlog-timestamp.lv_tstamp_from   = '20160621061955'.lv_tstamp_to    = '20160623000000'.CALL FUNCTION 'SBUF_SEL_DDLOG_RECS'  EXPORTING    from_time      = lv_tstamp_from    to_time        = lv_tstamp_to    max_cnt        = 10000    keep_db2_tstmp = 'X'  CHANGING    sync_tab       = lt_sync_tab.SORT lt_sync_tab BY tabname.

Now I can find the corresponding entry for my changes from changing parameter lt_sync_tab by table name:

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
Oracle自动统计信息的收集原理及实验
OpenXML in word processing – Introduction and how to use it in ABAP | SAP Blogs
[轉]SAP SD定价技术分析
SAP取汇率接口 OB08
ANT获取时间
linux 2.6的网络数据包时间戳
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服