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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Erro: The parameter ("p_fieldname" here) can be up to 8 characters long

Former Member

hi,

When activating our program, get error at the following statement:

PARAMETERS: p_fieldname LIKE Z_tablename-fieldname Default Value 'abc '.

And the error msg is:

The parameter name ("p_fieldname" here) can be up to 8 characters long.

In our table Z_tablename, the field fieldname is defined with Type: Char. and the Lengh is 4. Why we've got this msg? how to resolve it?

Thanks and We will give you reward points!

1 ACCEPTED SOLUTION

Former Member

parameter name is exceeding its length. Delcare it as p_name or p_field or any other meaningful less than 8 char.

Thanks,

SKJ

3 REPLIES 3

Former Member

parameter name is exceeding its length. Delcare it as p_name or p_field or any other meaningful less than 8 char.

Thanks,

SKJ

0 Kudos

Thanks.. it's obvious after your explanation.

Former Member
0 Kudos

hi ,

the length of a parameter is always 8.

for this check like this,

right..

parameters:p1234567 type c.

wrong..

parameters:p12345678 type c.

regards,

venkat.