Thank you very much. This has helped me a lot. But only this works for me (your first version):
sap.ui.getCore().byId(“ScreenId–ButtonId”).firePress();
Enter the destination URL
Or link to existing content