Hi Dhinesh,
Its better if you can use sap config mode / admin mode to achieve your requirement.
You just start your application in admin mode i.e you run your application in stand alone and add url parameter &sap-config-mode = X and hide the required ui elements like table, buttons, etc & just save the changes into TR.
Please refer to my answer in the below thread.
Regards,
Rama