Hi,
"When GR is done in EWM it creates a inspection document in ERP and when usage decision (UD) is made in ERP will it auto trigger the posting change to move from inspection to destination?"
Well, yes, it will do a posting change from quality inspection to unrestricted stock or whatever your UD triggers it to.
"Currently when UD is triggered we are seeing a message stuck in smq2 with description XBTS000XX, when navigated it goes into XI XML message error."
The original idea of integrating ERP QM with external QM systems is through XI / PI. But as note 1278425 describes you can also connect them via qRFC. Check the note if the BAdI described there was properly implemented.
Brgds
Juergen
---
Want to learn EWM?
Check for EWM courses @ https://training.sap.com/curriculum/scm_ewm
Get a SAP Learning Hub Subscription: https://training.sap.com/shop/learninghub