如何不受限制地阅读源码?
有一个任务读取ABAP报告的源代码。我通常使用函数:RFC_READ_DEVELOPMENT_OBJECT或RFC_READ_REPORT。但这些函数有一些限制:行中不应超过 72 个字符(如果超过则出错)。 72 个字符,因为表 QTAB = 72 个字符在线
There is a task reading the source codes of ABAP reports. I usually use the function: RFC_READ_DEVELOPMENT_OBJECT or RFC_READ_REPORT. But these functions have some limits: in the line should not exceed 72 characters (if more then error).
72 characters because table QTAB = 72 characters on line
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如 vwegert 在他的评论中建议的那样,您可以编写自己的远程功能模块。这很容易。请参阅以下博客文章获取建议: http://ceronio .net/2009/06/improved-abap-source-code-search/
该函数利用了
阅读报告
< /a> 语句读取程序的源代码。唯一的缺点是如果您没有开发人员密钥。
As vwegert suggests in his comment, you could write your own remote-enabled function module. It is very easy. Refer to the following blog post for a suggestion: http://ceronio.net/2009/06/improved-abap-source-code-search/
The function makes use of the
READ REPORT
statement to read source code of a program.The only drawback is if you don't have a developer key.