- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Getting error- is not an internal table “OCCURS n” specification is missing in SAP method
You need to define the et_flights parameter as of type SFLIGHT. As per method defined, you have this type as structure type and also declare transparent table SFLIGHT at the same time.
You should use an already available dictionary table type with row structure of SFLIGHT for et_flight.
You should declare et_flights inside the method in class definition as a private member or as a return value of the method.
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.
- Related Articles
- Getting error message: Scalar type not allowed in SAP HANA
- Getting error not assigned on running SAP ABAP program
- Getting an error on creating an Index in SAP HANA
- Error occurs when table name “references” is set while creating a table
- Field not getting save from table to transparent table in SAP
- Getting an error invalid Object Name in SAP Business One
- Modification not working for both internal table and control table in SAP ABAP
- Getting this error: "Element is not clickable at point"
- Checking number of rows in an internal table in SAP
- Getting an error- license key couldn’t be installed in SAP HANA
- Which event occurs in JavaScript when an element is getting dragged?
- Getting error while extracting data from SAP
- Inserting rows to an internal table through debug in SAP ABAP
- Getting details when a table is modified in SAP HANA DB
- Getting table name in SAP system

Advertisements