Using laptop on UPS has no issues. the only thing that can be effected is your battery life. Just do a test :
"let your battery be charged on ups once and note charging time then use it to note usage time. Now repeat the process on normal electricity".
Reduced charging time or reduced working time of battery (charged on UPS) will mean shortened life of battery, say like a battery which might give you service for three years will give you service for 2 yrs (approx)
PS: I can support my theory with reasoning and details if required