API Functions not Working for SAP ASE Mart

When SAP ASE is used as the Mart database and the Mart is accessed through API, the LocateMartDirectory and LocateMartDirectoryUnit functions do not work properly.