So while importing an OCS package using SPAM the process gets stuck in the TP connected state.
I have seen many suggestions online including to run report RDDNEWPP in SE38 and deleting any entries in table TRBAT using se30
My own solution was to check in /usr/sap/trans/log for information of the error. Which was indicating that a certain file in /usr/sap/trans/tmp was already in use!
So in /usr/sap/trans/tmp check for the file indicated in the logs and rename it then retry...!!!