I have tried many ways but Its not working. I tried this methods.
1) sap.ui.getCore().byId("GmapLocinput").focus();
2) var inputfield = new sap.m.input("",{placeholder:"Name"});
inputfield.focus();
This two method i tried but i'm not getting. please assist me.