SAP SCDO 表的修改日志记录(2)

来源:网络收集 时间:2025-06-30 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xuecool-com或QQ:370150219 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

TABLES

Source code

data:editpos type table of cdred with header line, aeditpos type table of cdred with header line. data:wk_repid type repid.

if tablekey[] is initial.

call function 'CHANGEDOCUMENT_READ' exporting

objectclass = objectclass objectid = objectid username = username tablename = tablename tables

editpos = aeditpos exceptions

no_position_found = 1 wrong_access_to_archive = 2 time_zone_conversion_error = 3 others = 4.

else.

loop at tablekey .

call function 'CHANGEDOCUMENT_READ' exporting

objectclass = objectclass objectid = objectid

tablekey = tablekey-tabkey tablename = tablename

username = username tables

editpos = editpos exceptions

no_position_found = 1 wrong_access_to_archive = 2 time_zone_conversion_error = 3 others = 4.

loop at editpos.

append editpos to aeditpos. endloop. endloop. endif.

if aeditpos[] is initial. message s010(zac00). else.

if tcode ne space.

delete aeditpos where tcode ne tcode. endif.

wk_repid = objectclass.

call function 'CHANGEDOCUMENT_DISPLAY' exporting

i_applicationid = wk_repid i_objectclas = objectclass tables

i_cdred = aeditpos. endif.

注: 修改日志在AEDITPOS表中,

可以按需自己定义输入的屏幕,不需要调用函数CHANGEDOCUMENT_DISPLAY输出

五. 在程序中. 条用Z_READ_HISTORY来显示修改日志.

call function 'Z_READ_HISTORY' exporting

objectclass = ' ZMG_TEST001' objectid = lv_objid tablename = lv_tabname * USERNAME = * TCODE = tables

tablekey = tablekey .

“文档对象 “对象值 如PO号 “表名

百度搜索“70edu”或“70教育网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,70教育网,提供经典综合文库SAP SCDO 表的修改日志记录(2)在线全文阅读。

SAP SCDO 表的修改日志记录(2).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.70edu.com/wenku/607534.html(转载请注明文章来源)
上一篇:花青素
下一篇:高考英语模拟试题3
Copyright © 2020-2025 70教育网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:370150219 邮箱:370150219@qq.com
苏ICP备16052595号-17
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:7 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219