ECC 6.0 syntax correction message.5 there shocould only be definitions in the top include

Source: Internet
Author: User

Message code messageg.5

==> There shocould only be definitions in the top include (or

Nested events des within it). This means that all kinds

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 shoshould contain data type definitions only. if the top include contains local class definitions and implementations then move the implementations in... FXX regiondes.

 

For an example have a look at function group mereq:

-Top include-> contains include lmereqdxx-> contains local classDefinitions

-Main Report-> contains include lmere0000xx-> contains further provided des 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 shoshould 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.