Would you really send a text message in formal language? ASAP is commonly used in casual business communication. If you were speaking (formally or semi-formally) you'd say the whole phrase 'as soon as possible' rather than saying ASAP. If you were speaking to a coworker that you're comfortable with you might just read the acronym.
It gets a little more difficult as you move to shorter communications. For an email, if you're talking to someone that you don't have a more casual relationship with, it would be better to write out the phrase.
Text messages, twitter, chat programs get a little tricky. Usually these communication methods are considered to be more informal because the goal is to get information out quickly rather than worry about polite necessities. In general, I'd take your cue from your client. If your client is using formal language, pretend you're still communicating via email and mirror his/her language.