https://userapps.support.sap.com/sap/support/knowledge/en/3590631
3590631 - Unexpected clearing of Storage Location in BAPI_CONTRACT_CHANGE - SAP ERP and SAP S/4HANA...
Despite the ITEMX-STGE_LOC being NULL, the Storage Location is cleared when the contract is updated through BAPI_CONTRACT_CHANGE.