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

Syntax error on include of Function Module (user exit) EXIT_SAPLRSAP_002

Former Member
0 Likes
914

When I do a syntax check in the a routine within inlude ZXRSAU02 of FM EXIT_SAPLRSAP_002, I get an error. This object has been in production so I must be doing the syntax check incorrectly. The error is 'Field i_t_data is unknown. It is neither in one of the specified tatble nor defined by a 'DATA' statement. This is strange because this field is defined in main body of this user exit. Please advise the correct way to do syntax check.

Thank you.

When I do a syntax check in the a routine within inlude ZXRSAU02 of FM EXIT_SAPLRSAP_002, I get an error. This object has been in production so I must be doing the syntax check incorrectly. The error is 'Field i_t_data is unknown. It is neither in one of the specified tatble nor defined by a 'DATA' statement. This is strange because this field is defined in main body of this user exit. Please advise the correct way to do syntax check.

Thank you.

2 REPLIES 2
Read only

Former Member
0 Likes
646

Hi,

The reason for this might be, though it is used in main body- check the main body is not in the routine. Check the field is declared globally, if not try to check the field assigned to what type, & try to re-assign to same one(like your target place where to update the values, continue to Declare& add accordingly.)

- Dileep .C

Read only

Former Member
0 Likes
646

I believe it was system error. I just activated again, as done before but this time, it activated without errors.