11-15-2010 7:29 AM
Hi,
I have a problem , in my program (ABAP editor) i want to check the syntax line by line and then wants to show all the errors together .
like now we go to abap editor n press check button it displays only one error at a time , my requirement is to check each word and statements line by line and then display all the errors on a single screen.
Is there any function module, class or method to solve my problem.
Please provide the solution ?
11-15-2010 8:05 AM
11-15-2010 8:54 AM
Have you tried the option "display all syntax errors" in the ABAP editor, Utilities -> Settings -> Tab "ABAP Editor"?
Thomas
11-15-2010 9:30 AM
Hi all,
thanx for giving replies but the solutions you have provided are for automatic syntax check, i do not want automatic my requirement is to code a program where you give any program and line by line it will check all the errors not warnings and then display . It is a part of project on the basis of this logic only i can move ahead.
.Please provide some solution .
11-15-2010 9:42 AM
Hi,
have a look at Function Module 'EXTENDED_PROGRAM_CHECK'... this might help you (it's called within TA SLIN)
Regards,
Max
11-15-2010 9:51 AM
If you look through the list of ABAP commands, you'll find there is one called "SYNTAX-CHECK". Write your program using this command.
matt
11-15-2010 10:16 AM
can you give more details on SYNTAX-CHECK
i have checked in documentation but for PROGRAM they have not explained means no example is there.
11-15-2010 11:06 AM
>
> can you give more details on SYNTAX-CHECK
> i have checked in documentation but for PROGRAM they have not explained means no example is there.
Which bit didn't you understand?
Use addition PROGRAM to specify in prog the name of an existing ABAP program to use its program attributes for the syntax check
11-15-2010 10:57 AM