05-15-2008 6:58 PM
Hi,
I have a question and maybe someone can help me on that.
I wanna know from a "Z" objects list which ones have errors during the generation process; like a syntax errors.
Probably there is a way to check this a program or standard function that I can call to check those.
Thanks in advance
05-15-2008 7:47 PM
Hello,
You can use de code inspector (transaction SCI ) and define an object set to be verified.
Regards,
05-15-2008 10:15 PM
Write a report and use the following statements
INSERT REPORT prog FROM itab.
INSERT REPORT prog+<your program name 'Z'> FROM itab<this table should have the program code- you may use ws_upload or read from table>.+
Now use the following code for syntax check
SYNTAX-CHECK FOR itab ...MESSAGE f ...LINE g ...WORD h.
refer ABAP Dcoumentation for further information..
award points if useful.
Edited by: Nallasamy Ponnusamy on May 15, 2008 5:15 PM
05-16-2008 5:48 AM
Hi Tiago,,
As mentioned go for T-code SCI(SAP source code inspector), or for u r Z-program click on program on left side top of screen,check---then go for extended check, with strict as check level and can chose various options on that screen.
Hope it will help u.
Cheers
Mohinder Singh Chauhan
05-16-2008 2:26 PM
Hi Silva!!
Goto t.code SLIN
give ur program name and check the relevant check boxes according to ur choice and thn execute.U will get a list of error/warnings in ur program.
kindly reward if helpful.