I'm facing issue while posting AP Invoice documents through BAPI "BAPI_ACC_DOCUMENT_POST".
While posting documents through Tcode F-02, TDS amount is updated in BSEG-QBSHB and BSIK-QBSHB. but while posting through bapi, TDS amount is not updating.
For viewing purpose, I'm using FBL1N tcode.
Kindly let me know the reason for the same and guide me to correct it