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

Error message for function module

Former Member
0 Likes
502

I have created a custom function module. I have activated it. But when i'm trying to use it in a program it is showing an error. The function module has 'TABLES' but it is showing error as:

"field "TABLES" is unknown. It is neither in one of the specified tables nor defined by a DATA statement".

Please help me!!

Thank you.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
453

Hello Titan,

Generally you get these kind of syntax errors when there is some problem with the format of the program. Please recheck the format of the program in which you are calling the newly created function module. Please check if there are any erroneous '.' or ',' in the program before the 'Tables' partameter of the function module.

Please verify the same.

Regards,

Pavan

3 REPLIES 3
Read only

Former Member
0 Likes
453

Show us how you're calling the FM

Is probably a syntax error, but I can't figure it out without seeing the code

Read only

Former Member
0 Likes
455

Hello Titan,

Generally you get these kind of syntax errors when there is some problem with the format of the program. Please recheck the format of the program in which you are calling the newly created function module. Please check if there are any erroneous '.' or ',' in the program before the 'Tables' partameter of the function module.

Please verify the same.

Regards,

Pavan

Read only

Former Member
0 Likes
453

Thanks Pawan, It was a syntax error and as you said i put a "." and could not see it.

I corrected it now and its working fine thank you for your help.