Application Development 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: 

Urgent:Function-module

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

check RS_SYNTAX_CHECK

0 Kudos

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.

Former Member
0 Kudos

Hey,

Run transaction SCII.

Thanks...

Former Member
0 Kudos

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

Former Member
0 Kudos

thanx