You can use pwd in the script to get the absolute path.
pwd
If you are looking for getting the absolute path for already running script, then you can try which <script name>. If it is located somewhere in the predefined path, then you will be able to see it. But this may not work.