Application Development and Automation 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: 
Read only

SLIN error

Former Member
0 Likes
743

Hi All,

I have declared in Types statement as below.

dbrtg LIKE knkk-dbrtg.

When checking SLIN, its displaying error as

<b>Messages:

Please start ID with a letter. - </b>

Kidnly help to rectify this issue.

Points Assured.

Regards,

Suresh

4 REPLIES 4
Read only

Former Member
0 Likes
594

hi,

Try by replacing ' like' with ' type '.

Thanks,

Praveena

Read only

Former Member
0 Likes
594

Doesnt seem like the error is for the declaration.

Still you can try to change LIKE to TYPE.

dbrtg TYPE knkk-dbrtg.

Also, pls. check if you have defined any field starting with a number instead of character.

Read only

Former Member
0 Likes
594

Hi Suresh,

There is no declaration error in this statement.

You check other statement written above & below this statement.

some times slin doesn't pointout errors onto specific statement.

I think you are specifying sone ID with a numeric digit in place of a letter.

Check it.

Try it with 'TYPE' inplace of 'LIKE' also.

Regards,

Hemant

Message was edited by:

Hemant Goyal

Read only

Former Member
0 Likes
594

Suresh,

You execute the SLIN once more time - U ll find <b>somewhere u have declared a variable whose name starts with a numeric instead of character</b>.

1matnr is not allowed - it will give error in SLIN ... but MATNR1 is OK.

may be u were modifying codes while executing SLIN - thats why u ended up on an incorrect line.