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

Syntax Check Includes Programmatically

Former Member
0 Likes
1,052

Hello All,

I need to implement the logic of checking syntax for the Includes, Exits to be particular, programmatically. Can anyone let me know the approach in doing it.

regards,

Mahesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
940

hi Mahesh,

use the foll FM

EDITOR_SYNTAX_CHECK

RS_SYNTAX_CHECK

hope it resolves your query

regards,

Navneeth.K

7 REPLIES 7
Read only

Former Member
0 Likes
940

Hi,

Please clearly explain your requirement.

Reg,

Hariharan

Read only

0 Likes
940

Hi,

My requirement is, i need to develop an utility which will do a syntax check for all kinds of objects. now i am facing problem with doing syntax check for Exits as they are only Includes. I can do syntax check for the whole of the Function group, but will not serve the purpose because, the error does not necessarily be in the Include ( Exit ) which i am suppose to check.

Hence i need to have a logic which will do the syntax check for the Exit Independantly.

regards,

Mahesh

Read only

Former Member
0 Likes
940

use this FM <b>RFC_PROGRAM_CHECK_SYNTAX</b>

Read only

Former Member
0 Likes
941

hi Mahesh,

use the foll FM

EDITOR_SYNTAX_CHECK

RS_SYNTAX_CHECK

hope it resolves your query

regards,

Navneeth.K

Read only

0 Likes
940

Hi Navneeth,

FM mentioned by you will not perform syntax check for Includes.

regards,

Mahesh

Read only

0 Likes
940

Hi Mahesh,

If that include has any syntax errors then the program having that will be showing syntax errors. Becuase as such if you create a include in se38 and have a syntax check it will show no errors only once you use it in any exec prog or so any fm then it will show error.

regards,

Navneeth.K

Read only

0 Likes
940

Hi Navneeth,

In that case, i will have to do the syntax check for function group main program and then again i will have issues in finding out whether the syntax error occured in the particular exit that i intend to check, if there are any.

Anyways thanks for your effort.

regards,

Mahesh