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

Urgent:Function-module

Former Member
0 Likes
651

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
Read only

Former Member
0 Likes
611

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
Read only

Former Member
0 Likes
611

check RS_SYNTAX_CHECK

Read only

0 Likes
611

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.

Read only

Former Member
0 Likes
611

Hey,

Run transaction SCII.

Thanks...

Read only

Former Member
0 Likes
612

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

Read only

Former Member
0 Likes
611

thanx