Application Development 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: 

Z Objects

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

Hello,

You can use de code inspector (transaction SCI ) and define an object set to be verified.

Regards,

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.