Shama,
have you debug your code? set a breakpoint inside the success callback.
if your data is coming back correctly and the table is create but not bound to the data, it may be because it loaded async.
I suggest you declare your ui5 controls (button, table, etc) in the view file and
the events on your controller.
I truly think it is just a matter of formatting it and using the async execution correctly as you mentioned that the data is loading correctly