Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A


Hi all,

In the last days, it is impossible to open UDF Fields in a development database that I use.

The message that I get is "Incorrect Syntax Near 'Max' (AITM).

I get the message trying to open nvarchar fields on Items Object. On the other cases, sometimes I can open fields, sometimes I cannot.

For example, trying to open a numeric field I have no problem. On the other hand trying to open an Image field I confront the same issue.

Checking SQL Trace, there is a query running, when adding the field,

ALTER AITM Add (field_name) nvarchar(max),

which I think may cause the problem.

I run the query, also, both in SQL 2000 and SQL 2005 environment and I get the same error

Any ideas?

Thank you in advance


Former Member
Not what you were looking for? View more on this topic or Ask a question