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

how to do syntax check programmatically

Former Member
0 Likes
601

Hi,

Please help me if there is any FM or any other way to check the syntax of program programmatically

I tried this FM EDITOR_SYNTAX_CHECK, but whatever input i give,it is giving me error

'REPORT/PROGRAM statement missing, or program type is I (INCLUDE).'

Regards,

Sowjanya

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
493

[Syntax check |http://help.sap.com/abapdocu/en/ABAPSYNTAX-CHECK_FOR_ITAB.htm#!ABAP_ADDITION_1@1@]

2 REPLIES 2
Read only

Former Member
0 Likes
493

Hi Sowjanya,

I think you are doing syntax check for an include...

if it is giving the that type of error.. "'REPORT/PROGRAM statement missing, or program type is I (INCLUDE"

do below

with out checking the sytax just activate....even it comes activate forcefully.... (ie. Activate Anyway..

solves your problme..

Thanks!

Read only

former_member156446
Active Contributor
0 Likes
494

[Syntax check |http://help.sap.com/abapdocu/en/ABAPSYNTAX-CHECK_FOR_ITAB.htm#!ABAP_ADDITION_1@1@]