‎2007 Apr 20 11:15 AM
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
‎2007 Apr 20 11:56 AM
hi Mahesh,
use the foll FM
EDITOR_SYNTAX_CHECK
RS_SYNTAX_CHECK
hope it resolves your query
regards,
Navneeth.K
‎2007 Apr 20 11:18 AM
‎2007 Apr 20 11:54 AM
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
‎2007 Apr 20 11:18 AM
‎2007 Apr 20 11:56 AM
hi Mahesh,
use the foll FM
EDITOR_SYNTAX_CHECK
RS_SYNTAX_CHECK
hope it resolves your query
regards,
Navneeth.K
‎2007 Apr 20 12:01 PM
Hi Navneeth,
FM mentioned by you will not perform syntax check for Includes.
regards,
Mahesh
‎2007 Apr 20 12:14 PM
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
‎2007 Apr 21 6:19 AM
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