I have to get the object name of the lookup field in any object. I am using:
sobjectType objectType=Schema.getGlobalDescribe().get('SA_S3_File__c').
then, to get the lookup field name, i am using
"fieldsMap.get(field).getDescribe().getType()+''=='REFERENCE'"
after getting the fieldname of lookup, how can i get the object name of those lookup fields?