SAP ABAP 开发管理报表:查询程序清单 SE38 PROGRAM
简介: 开发管理报表是指用于系统开发资产管理的一系列报表,主要面向开发对象,也面向系统提供的服务。这篇文章,讲述查询程序清单的技术实现和管理意义。
关键字:SAP
ABAP
开发管理报表
程序/PROGRAM
SE38
1 成果演示
- 报表选择屏幕
- 报表界面
说明:单击程序或双击行可以进入到SE38;
2 管理意义
- 程序概览。提供所有程序的报表,用于快速检索,如找到自己最近开发的程序,这在寻找开发模板时很有用。
- 检查程序命名规范。必要时重命名。
- 检查程序有效性。及时清理冗余程序,注意结合「位置使用清单」和「版本管理」。
- 检查程序是否挂在正确的包下,这对项目开发很重要。
3 技术实现
3.1 系统表
- REPOSRC Report Source Code 或者数据库视图 TRDIR
- TRDIRT TRDIR 中程序的标题文本
- TADIR 资源库对象的目录
3.2 关键 SQL
连接 TADIR 是为了获得开发类
select *
into corresponding fields of table gt_main
from reposrc as a
inner join trdirt as b on b~name = a~progname and b~sprsl = sy-langu
inner join tadir as c on c~obj_name = a~progname and c~pgmid = 'R3TR' and c~object = 'PROG'
where a~progname in s_prog
and a~subc in s_subc
and a~appl in s_appl
and a~cnam in s_cnam
and a~cdat in s_cdat
and a~unam in s_unam
and a~udat in s_udat
and c~devclass in s_devc.
其他
我的微信群、QQ群和其他发布平台。
长期提供开发和运维服务。