Markus,
As part of the SAP note 1801092 - Context generation: Syntax error in CONTEXT_X_CRM_ADDR_LONG
Have you performed steps suggested.There are two options to resolve this issue.
Solution
The solution consists of two parts:
1) SAP Note 1801092 (this SAP Note)
You must correct the context generator. The correction is delivered with Support Packages. In advance, you can implement the correction using the attached correction instructions.
2) SAP Note 1802670 (see related notes)
a) The new generated version of the context CRM_ADDR_LONG should be imported with the Support Packages from the related SAP Note 1802670.
b) If you cannot carry out a), you can correct the error as follows. For this, the correction of part one (context generator) is required.
Call transaction SE33. Generate the context CRM_ADDR_LONG.
This corrects the problem in the current system. The generated program can also be transported as follows, to also correct the problem in follow-on systems:
i) Call transaction SE09. Create a transport request. Enter this object:
R3TR CNTX CRM_ADDR_LONG
ii) As an alternative for i), call transaction SE33, change the title of the context CRM_ADDR_LONG, save, and change back again.
Release the transport request. After you do this, the newly generated version of the context is transported into follow-on systems.
Regards
Anand