ECC 6.0 Syntax Correction Message.5 There should only be definitions in the TOP include
2012-03-13 15:50
435 查看
Message Code MESSAGEG.5
==> There should only be definitions in the TOP include (or
nested includes within it). This means that all kinds of
implementation (CLASS... IMPLEMENTATION, not meaningful. is
not meaningful.
Assuming that the error is caused by a function group then it means that the TOP include of this function group should contain data type definitions only. If the TOP include contains local class definitions and implementations then move the implementations in ...Fxx includes.
For an example have a look at function group MEREQ:
- TOP include -> contains INCLUDE LMEREQDXX -> contains local class definitions
- main report -> contains INCLUDE LMEREQFXX -> contains further includes with local classimplementations
It seems you have defined a class & implemented as well in the TOP INCLUDE of your program.
Remove the IMPLEMENTATION part of your class from Top Inlcude & add it to the main program.
TOP INCLUDE should only have definition/data declarations.
The message which SAP provides is misleading. But, When you click on display / change on the message, it points towards the segment which is not supposed to be in TOP include.
In my scenario, It was a selection screen event which was in the TOP include.
Digest: http://scn.sap.com/thread/679242
==> There should only be definitions in the TOP include (or
nested includes within it). This means that all kinds of
implementation (CLASS... IMPLEMENTATION, not meaningful. is
not meaningful.
Assuming that the error is caused by a function group then it means that the TOP include of this function group should contain data type definitions only. If the TOP include contains local class definitions and implementations then move the implementations in ...Fxx includes.
For an example have a look at function group MEREQ:
- TOP include -> contains INCLUDE LMEREQDXX -> contains local class definitions
- main report -> contains INCLUDE LMEREQFXX -> contains further includes with local classimplementations
It seems you have defined a class & implemented as well in the TOP INCLUDE of your program.
Remove the IMPLEMENTATION part of your class from Top Inlcude & add it to the main program.
TOP INCLUDE should only have definition/data declarations.
The message which SAP provides is misleading. But, When you click on display / change on the message, it points towards the segment which is not supposed to be in TOP include.
In my scenario, It was a selection screen event which was in the TOP include.
Digest: http://scn.sap.com/thread/679242
相关文章推荐
- 【原创】EJB Deployment:This class should only be located in the ejb-jar file.
- What are the top 10 things that we should be informed about in life
- error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/
- configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/
- You should be the top dog in your department and always keep an eye on the outside world.
- appears more than once in the keychain The codesign tool requires there only be one
- - Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <script>, as they will not be parsed.
- The "data" option should be a function that returns a per-instance value in component definitions.
- mac编译PHP报错 configure: error: Please reinstall the libcurl distribution - easy.h should be in <curl-dir>/include/curl/
- nginx -t "nginx: [warn] only the last index in "index" directive should be absolute in 6 "的问题解决
- ECShop出现Strict Standards: Only variables should be passed by reference in的解决方法
- The codesign tool requires there only be one.问题解决办法
- 安装 ecshop后报错 Strict standards: Only variables should be passed by reference in
- ECshop Strict Standards: Only variables should be passed by reference in
- php 出现Strict Standards: Only variables should be passed by reference in的解决方法
- Why is there extra padding at the top of my UITableView with style UITableViewStyleGrouped in iOS7
- [Err] 1293 - there can be only one TIMESTAMP column with CURRENT_TIME in DEFAULT or ON UPDATE clause
- Why can templates only be implemented in the header file?
- Only one expression can be specified in the select list when the subquery is not introduced with(求助)
- An error occurred at line: 7 in the generated java file Only a type can be imported. java.util.list