收到错误-不是 SAP 方法中缺少的内部表“OCCURS n”规范
您需要将 et_flights 参数定义为 SFLIGHT 类型。根据定义的方法,您将此类型作为结构类型并且同时声明透明表 SFLIGHT。
您应该在 et_flight 中使用具有 SFLIGHT 行结构的已用字典表类型。
您应该在类定义中的方法内部声明 et_flights 作为私有成员或作为方法的返回值。
class myclass definition. public section. types ty_mytable type standard table of sflight. methods mymethod exporting mydata type ty_mytable. endclass. class myclass implementation. method mymethod. select * from sflight into table mydata. endmethod. endclass.
广告
数据结构
网络
RDBMS
操作系统
Java
iOS
HTML
CSS
Android
Python
C 编程
C++
C#
MongoDB
MySQL
Javascript
PHP