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: 

check syntax of function (report)

Former Member
0 Kudos

Hello experts,

I want to create program, which will check the syntax of functions.

Do you know anybody, which function is called by using button CHECK(Ctrl+F2) or do you have another solution ?

Thanks in advance

Martin

6 REPLIES 6

alex_m
Active Contributor
0 Kudos

Why do you need like this, whats your requirement.

Former Member
0 Kudos

i don know wht is requirement but may be it wil help..

see program - SAPLS38E ,screen 0500 and see Pai module - module

execute_editor_function.

module process_fcode_0400.

Former Member
0 Kudos

I want to find out all user-defined functions with syntax error.

Martin

Former Member
0 Kudos

Hi martin,

1. We can use SYNTAX-CHECK

command of abap.

2. Just see f1 help on it.

3. Before using this statement,

we will also have to read the source code of the program,

into internal table using read report command.

regards,

amit m.

Former Member
0 Kudos

Hi

Try to see the object CL_WB_PGEDITOR, method CHECK_SOURCE

Max

raymond_giuseppi
Active Contributor
0 Kudos

Look at FM CAT_FUNCTION_GENERATE to see a program close to your needs.

regards.