Hi,
How is the Credit memo is created in your system ?
If it's being created through a BAPI /IDOC for that , the above exit will be called.
i.e as long as the Credit memo isbeing created through FM/BAPI or some standard SAP process the above exit will be called.
Regards
Ram