ABAP program lines are wider than the internal table详解编程语言

错误详细描述: An exception occurred that is explained in detail below.
The exception, which is assigned to class ‘CX_SY_READ_SRC_LINE_TOO_LONG’, was
not caught in
procedure “K_KKB_FIELDCAT_MERGE” “(FUNCTION)”, nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
There was an attempt to read program “Z1S01R001” from the database.
The READ REPORT statement allows you to copy a program text into an
internal table. The occupied line length in the program text must not
exceed the width of the internal table.
The internal table “/FUNCTION=K_KKB_FIELDCAT_MERGE/DATA=L_ABAP_SOURCE[]” is 72
characters wide. The program line is 93 characters wide。

默认情况下,系统不允许代码的长度包括注释长度超过72个字符,可以通过系统的设置来取消限制。对于这个限制,再早期的SAP系统版本中存在。

原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/19716.html

(0)
上一篇 2021年7月19日
下一篇 2021年7月19日

相关推荐

发表回复

登录后才能评论