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

HOW TO REMOVE SLIN ERROR?

Former Member
0 Likes
2,492

Hi,

i declared internal table in the given form.

data begin of itab occurs 0.

include structure mara.

data end of itab.

when i check SLIN...it is showing warning as "Line contains a single period"

Thanks in Advance,

Venkat

Hi,

i declared internal table in the given form.

data begin of itab occurs 0.

include structure mara.

data end of itab.

when i check SLIN...it is showing warning as "Line contains a single period"

Thanks in Advance,

Venkat

11 REPLIES 11
Read only

vinod_vemuru2
Active Contributor
0 Likes
1,773

Hi,

This error is not related to ur itab declaration.

There is only one period in one of the line(Only one dot) No executable statements. When u click on the error it might went to that declaration. Check the dot. It must be some where near by.

Also avoid using OCCURS 0.

Use like this.

DATA: i_mara TYPE STANDARD TABLE OF mara,

wa_mara TYPE mara.

Thanks,

Vinod.

Read only

0 Likes
1,773

Hi Vinod Thanks for your reply,

but when i clicking on that line in SLIN screen. it is going to that internal table declaration.

Regards,

Venkat n

Read only

0 Likes
1,773

In your some where you have double periods.

example:-

   data: vbeln type vbeln ..   

if you can remove one of the period , it will be solved.

Read only

0 Likes
1,773

Hi Venkat,

Just try to commentout that internal table declaration and declare it some where else in the code. Now activate and do extended check. I am sure this time it wont go to same table again.

Check all ur data declarations carefully. There must be double period some where/Single period without any executable statement/data declarations statement.

Please paste ur data declarations so that we can findout where the error is.

Thanks,

Vinod.

Read only

Former Member
0 Likes
1,773

Hi venkat,

This warning will show if u have any extra "." as this might present next to Declarations so it is showing in Declaration Part. Check for that that might the reason for Your Warning.

Read only

Former Member
0 Likes
1,773

Hi,

There would be only a single dot somewhere above or below the data declaration. Check each & every blank line & you would find a single dot. Delete the same & activate.

Best regards,

Prashant

Read only

0 Likes
1,773

Thanks patil..

it is very helpful answer...

now solved my problem

Regards,

Venkat

Read only

Former Member
0 Likes
1,773

hi,

Try the following

Data: begin of <itab>.

include structure mara.

Data: end of <itab>.

Regards

Sumit Agarwal

Read only

Former Member
0 Likes
1,773

Hi venkat,

Refer to this link.

Regards,

Muneesh Gitta.

Read only

Former Member
0 Likes
1,773

hiii

it displys warning message or message like this only when you have put two dot after statement.like below

data begin of itab occurs 0..

include structure marc.

data end of itab.

regards

twinkal

Read only

Former Member
0 Likes
1,773

Hi Venkat,

data : begin of itab occurs 0 ,

include structure mara ,

end of itab.

Check it now.

Better to declare internal table using Types instead of Data :

Like the below code.

TYPES : BEGIN OF T_MARA,
              INCLUDE STRUCTURE MARA,
              END OF T_MARA.
DATA : I_MARA TYPE STANDARD TABLE OF T_MARA.

Regards,

Suresh.S