‎2010 Nov 18 5:02 AM
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
‎2010 Nov 18 5:16 AM
‎2010 Nov 18 5:27 AM
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
‎2010 Nov 18 5:27 AM
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
‎2010 Nov 18 5:36 AM
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
‎2010 Nov 18 5:43 AM
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.
‎2010 Nov 18 7:48 AM
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.
‎2010 Nov 18 8:03 AM
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