To be a little bit more precise: In TSL the console is hidden, so you can't see what you're typing. To activate it you have to open swkotor2.ini in the SWKOTOR2 Directory and look for [Game Options]. At the bottom of this section add: EnableCheats=1. Now you are able to use the console.
Now while playing press [~] or [´] to activate it. To teleport yourself you have to use:
warp [name of the level]
where [name of the level] is a combination of numbers and characters. For example
will teleport you to the level with the console on peragus, from which you contact T3 at the Ebon Hawk.
You have to use kotor tool to look for the combinations.
Hope that helps a bit.