SAP Message BEF_GENERATOR178 - &2 has been called in incorrect context: variable &1 not resolved

Diagnosis
The specified function module has been called incorrectly. This couldindicate a program error.

Procedure
Check the calls of the respective module.