Akash,
You may find this SAP note a good reference. It does not solve your problem but provides a good overview on how tax jurisdiction code is handled within the system and also provides a couple of options for enhancements.
501054 - FAQ: Taxes in purchasing
-Randell