SAP Message 5P224 - &: Function exit incorrectly defined. Define as &xxxxx(rrrrrrrr) DOCUMENTATION DiagnosisThe function exit you have defined has an incorrect structure.ProcedureThe correct structure is &xxxxx(rrrrrrrr); xxxxx stands forthe feature name and rrrrrrrr for the report name.