Use a MATH instruction to calculate a variable deviation (Dev). The percentage value should be between 0.0 and 100.0
MATH Dev "(PV * Percentage) / 100.0)"
Then use Dev as the Deviation Limit in your ALDEV:
ALDEV Input:PV Setpoint:SP DeviationLimit:Dev PosAlarm:AlarmA NegAlarm:AlarmB