But I think that I already did like you said, my controller is like this:
sap.ui.controller("company.ui.ZPLAN_CPRAZO.view.Detail", {
populaCombo:function(oEvent){
debugger;
var oComboBox = this.oView.byId("ComboMesAno");
...
},
onInit : function() {
...
this.populaCombo(null); ...
},