Dear Varun,
Do you want to calculate the withholding tax amount or you want to simulate the FI posting ?
Both transaction you need to inform the Withhloding Tax information in tables
WITHTAXDATA and ACCOUNTWT. Those BAPIs do not calculate by themselves selecting Vendor WHT information. You have to do that and inform on those table.
Best regards,
Gabriel Coleti