Skip to Content
-2

SMARTFORMS ERROR NEITHER DEFINE

Jun 20, 2017 at 10:38 AM

53

avatar image

I have alreday declare variable , work area and internal table in Global definition but when i am using that variable , work area and internal table in program lines i am getting error that

Field "EMAIL" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA" statement. how can i resolve this issue.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

B. Wallagh Jun 20, 2017 at 11:03 AM
1

Do not forget to add the global fields as input and/or output parameters of the object where you are using them. So for example, global variable GV_TEST to be used (filled) in the Initialization, add to Output Parameters of the Initiation.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Agreed with the above ^. Also if you're using these in program logic make sure they are input output parameters of those as well.

0
Richard Harper Jun 21, 2017 at 07:20 AM
0

You'll need to pass the global variables as parameters to procedures as they are not truly 'global'.

Share
10 |10000 characters needed characters left characters exceeded