In a few months, SAP Community will switch to SAP Universal ID as the only option to login. Don’t wait, create your SAP Universal ID now! If you have multiple S- or P- accounts, use the Consolidation Tool to merge your content.
Get started with SAP Universal ID now!
Follow the instructions to install in this blog. You would need to create a new HTTP service and then use it to "run" the class.https://blogs.sap.com/2023/04/14/abap2ui5-6-7-installation-configuration-debugging/