‎2010 Nov 26 1:04 PM
Hi,
I put some includes into the source code section of a custom FM but there pops up a syntax error: "Incorrect nesting: Before the statement "Class", the structure introduced by "FUNCTION" must be concluded with "ENDFUNCTION".
These includes ARE between FUNCTION and ENDFUNCTION !
What is going wrong?
Thanks for your help in advance!
Zaya
‎2010 Nov 26 1:07 PM
That's the problem, the includes must not be inside the function module. Normally includes are inserted at function group level, so go to the frame program of the function group and insert the includes in the appropriate place. Look at the many examples that are available.
Thomas
‎2010 Nov 26 1:07 PM
That's the problem, the includes must not be inside the function module. Normally includes are inserted at function group level, so go to the frame program of the function group and insert the includes in the appropriate place. Look at the many examples that are available.
Thomas
‎2010 Nov 26 1:37 PM