Application Development and Automation 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: 
Read only

check syntax of function (report)

Former Member
0 Likes
881

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
Read only

alex_m
Active Contributor
0 Likes
816

Why do you need like this, whats your requirement.

Read only

Former Member
0 Likes
816

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.

Read only

Former Member
0 Likes
816

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

Martin

Read only

Former Member
0 Likes
816

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.

Read only

Former Member
0 Likes
816

Hi

Try to see the object CL_WB_PGEDITOR, method CHECK_SOURCE

Max

Read only

RaymondGiuseppi
Active Contributor
0 Likes
816

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

regards.