-7018: Variable not allowed in view definition Locate the document in its SAP Library structure

Explanation:

Parameters must not be specified in the <CREATE VIEW statement>.

User Action:

Use constants instead of variables.