Call Import data file in button in MSD axapta

First write code on button clicked event

 void clicked()  
 {  
 super();  
 new MenuFunction(menuitemactionstr(SysDataImportExcel),MenuItemType::Action).run();  
 }  

then select file to import data in table.