SAP Message BRAIN299 - System error in program & and form & (see long text)

Diagnosis
This internal error is an intended termination resulting from a programstate that is not permitted.

Procedure
Analyze the situation and inform SAP.
If the termination occurred when you executed a query or Web template,or during interaction in the planning modeler, and if you can reproducethis termination, record a trace (transaction RSTT).
For more information about recording a trace, see the documentation forthe trace tool environment as well as SAP Note 899572.