For charging withholding tax ensure two steps:
1. Withholding tax type/ code entered in the vendor master and marked as liable
2. Withholding tax type/ code entered in the posting term in contract
To meet the current tax requirement that TDS is applicable only on rent portion and not rent + service tax, take assistance of FI consultant. You have to change the base in withholding tax code configuration in FI