Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

ECC 6.0 runtime abort -- "You cannot specify a length <= 0"

Former Member
0 Kudos

We have just now installed the new ECC 6.0 system and have begun testing our custom applications against it.

We have immediately encountered a new and strange runtime abort: SYNTAX_ERROR "You cannot specify a length <= 0" during a CALL FUNCTION.

Most of the parameters are CHAR. The only parameters which are not CHAR are two NUM Year/Month IMPORTING parameters containing valid values and a return code EXPORTING parameter defined \TYPE=SYSUBRC.

This CALL FUNCTION works correctly in ECC 5.0

Do you know why this is happening and what it is referring to?


Former Member
0 Kudos

This seems to be a glitch in ECC 6.0 -- there is a syntax error inside of the function module being called, but 6.0 is flagging the CALL FUNCTION MODULE rather than the statement which has the syntax error.