‎2008 Jun 19 11:01 AM
Hi Experts,
As i was using the function module in my program EDITOR_SYNTAX_CHECK for checking the errors,warnings and upgrade for a particular program. But this function module is not catching the data dictionary fields error of new version(6.0).Instead of this function module is their any new function module to check the errors,warnings and upgrade for a particular program.
Please let me know if you have any queries.
Thanks in advance,
aadi.
‎2008 Jun 19 11:19 AM
Try with the below code;
DATA:
l_err_mess(120) TYPE c,
l_err_line TYPE i,
l_err_word(120) TYPE c.
SYNTAX-CHECK FOR t_source_code
MESSAGE l_err_mess
LINE l_err_line
WORD l_err_word
PROGRAM p_program.
IF sy-subrc NE 0.
ENDIF.
Regards,
Kiran Bobbala
‎2008 Jun 19 11:04 AM
‎2008 Jun 19 11:15 AM
Hi Venkat,
For RS_SYNTAX_CHECK it contain only the source table and how can it differentiate the errors. For EDITOR_SYNTAX_CHECK it contains the tables for warnings and syntax errors . i have tried with RS_SYNTAX_CHECK also but its even worst than editor_syntax_check.
So please if you find any other let me know.
regards,
aadi.
‎2008 Jun 19 11:06 AM
‎2008 Jun 19 11:19 AM
Try with the below code;
DATA:
l_err_mess(120) TYPE c,
l_err_line TYPE i,
l_err_word(120) TYPE c.
SYNTAX-CHECK FOR t_source_code
MESSAGE l_err_mess
LINE l_err_line
WORD l_err_word
PROGRAM p_program.
IF sy-subrc NE 0.
ENDIF.
Regards,
Kiran Bobbala
‎2008 Jun 27 8:21 AM