博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ABAP program lines are wider than the internal table (转载)
阅读量:6614 次
发布时间:2019-06-24

本文共 1031 字,大约阅读时间需要 3 分钟。

转载:http://blog.sina.com.cn/s/blog_4986104501015ncm.html

错误详细描述: 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。
今天写个ABAP程序,一运行就荡掉,刚开始也没仔细看出错提示,以为是自己的代码写的问题,最后才搞懂,唉,原来是SAP系统不允许书写的代码长度超过72个字符,我的注释行的字符数太多了,导致了荡掉,唉,把长度很长的代码行,包括注释行,都变成72个字符以内后,就OK啦。

转载于:https://www.cnblogs.com/springzt/p/10399520.html

你可能感兴趣的文章
设计模式(3)-抽象工厂模式详解(易懂)
查看>>
重读 Swift 之二:Operator Declaration(运算符重载)
查看>>
Java 8 lambda 表达式10个示例
查看>>
RDS读写分离,海量数据一键搞定
查看>>
iOS多线程详解:概念篇
查看>>
虚拟DOM
查看>>
【刷算法】二进制中1的个数
查看>>
聊聊reactor-netty的PoolResources的两种模式
查看>>
Android动态权限总结
查看>>
22 岁毕业做程序员,他们 50 岁时的人生轨迹是怎样的?
查看>>
kotlin开发经验谈2
查看>>
isa swizzling
查看>>
一点点入坑JetPack:LiveData篇
查看>>
基于ZXing Android实现生成二维码图片和相机扫描二维码图片即时解码的功能
查看>>
如何守住你的年终奖?
查看>>
gulp自动化构建html静态资源路径版本号添加和替换
查看>>
iOS AutoLayout进阶(四)Content Hugging Priority和Content Compression Resist综合运用
查看>>
savedInstanceState和 fragment.setRetainInstance以及 viewmodel的区别
查看>>
一个能让你了解所有函数调用顺序以及函数耗时的Android库 (更新版)
查看>>
Android 编译时注解-初认识
查看>>