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 get all Syntax errors at a same time?

Former Member
0 Likes
2,778

Hi Experts,

I am doing Upgradation Work , In that i need to Populate all Syntax errors at a same time , How can i do this ?

In ABAP editor we have Check option to get Syntax errors but

For example : I have error in 2nd line , 4th line and in 6th line , With normal check at first it shows 2nd line error alone,

once i corrected this , it will show 4th line , Instead of that i need to show all the errors at a same time.

Can any 1 suggests some Fun Mod or any idea how to do this !

Thanks in advance.

Regards,

Edited by: saravanasap on Nov 18, 2010 6:03 AM

7 REPLIES 7
Read only

Former Member
0 Likes
1,611

HI,

Check with SLIN transaction.

Regards,

Madhukar Shetty

Read only

0 Likes
1,611

Thanks for the Reply,

I have alredy tried with SLIN T.code and also with EXTENDED_PROGRAM_CHECK, EXTENDED_PROGRAM_CHECK_SHOW , But it showing errors 1 by 1 not at a stretch . I have used EDITOR_SYNTAX_CHECK also could u tell how to get o/p after using this F M , Like Extended_Program_Check_show we have any Fun mod or any way to get o/p of EDITOR_SYNTAX_CHECK ,

Could u tell some other suggestions .

Regards

Read only

Former Member
0 Likes
1,611

Hi Saravana,

If you look at menu Utilities -> Settings -> Editor in SE38, there is a option available "Display all syntax errors". if you set this checkbox, you will see all syntax errors at one show. Try it

Regards

Sarav

Read only

Former Member
0 Likes
1,611

Hi saravana ,

i checked with my code . if u click check button it will give all syntax errors in your program . just follow the steps what saravraj suggested . you will get all syntax error at a time

Edited by: karthikeyanks on Nov 18, 2010 6:37 AM

Read only

0 Likes
1,611

Hi,

data: one(22) type i,

two(22) type i

sum(22) type i.

write:/ one

write:/ two .

sum = one + two.

write:/ sum

I have removed Comma in (two(22) type i ) and Periods in (write:/ one) , (write:/ sum) .

If u check it will show errors one by one not all the 3 at a time.

Read only

0 Likes
1,611

Hi,

As per your code, it does not find a period in data statement. So it tries to compile every statement after that as a single line. But this single line has an error (multiple keywords without a period). so it shows you one error. Every compiler works that way.

If you wanna check for other errors, just try removing 'd' from DATA:. you will get multiple errors. but for Period you will get only one error.

Read only

former_member229034
Participant
0 Likes
1,611

Hi Saravana,

I suppose, the solution given by Sarvaraj would have worked. Else, you can run UCCHECK for the program ( go to Transaction - UCCHECK). I am sure it will display all the errors.

Best regards,

Chaitanya