cancel
Showing results for 
Search instead for 
Did you mean: 

Open Logon Page in Browser not working

transop
Explorer
0 Kudos

Tutorials: https://developers.sap.com/tutorials/abap-environment-trial-onboarding.html
--------------------------

when I get to step (Open Logon Page in Browser) I get the error as below.

You were successfully authenticated, but an error occurred during the Service Instance logon. Please ensure that you have a user for the Service Instance.

Please guide me how to fix

even though i have successfully logged in

Write here what you need help with ...

Accepted Solutions (0)

Answers (5)

Answers (5)

Armin_Beil
Product and Topic Expert
Product and Topic Expert

Some potential solutions are described in note 3254529. Most important is the described solution point 1 (this is more often the root cause than point 2). That means you really have to ensure that you created employees, business users and assigned a developer role (not admin role). Documentation and a tutorial on how to do that are also linked in the note / linked below.

Symptom

In ADT (ABAP Development Tools) in Eclipse you are trying to create a new ABAP cloud project and/or you are trying to log on via an existing ABAP cloud project. You are trying to log on to SAP BTP ABAP Environment and/or SAP S/4HANA Cloud ABAP Environment.

In ADT one of the following error messages appears:

  • "You were successfully authenticated, but an error occurred during the Service Instance logon. Please ensure that your user has the appropriate roles."
  • "You were successfully authenticated, but an error occurred during the Service Instance logon. Please ensure that you have a user for the Service Instance."
  • "Error while logging on to the service instance. If the problem persists, please create a support ticket on the component BC-CP-ABA."

and/or in the browser the following error message appears:

  • "No authorization to access the resource /sap/bc/adt/core/http/reentranceticket."

Solution

1) Ensure that you have created employees, business users and assigned a developer role/catalog to them. For more details see:

Please note that ADT is the primary tool for developers. Therefore administrator-roles / administrator-catalogs might not contain the necessary authorizations for an ADT logon.

2) Use a new fresh browser session

  • Start the creation of a new ABAP cloud project in ADT
  • Follow the instructions until you get to the wizard page "Logon to the SAP Cloud System", then click the button "Copy Logon URL to Clipboard"
  • Open a new incognito window in your browser and manually enter the copied URL into the address line of that new browser window
  • It is necessary that a logon page appears in the browser
  • Make sure to logon with the user that has a developer role/catalog (not admin)

This is especially relevant if you are the owner of multiple users (e.g. a developer-user and an admin-user). In that case you need to ensure that you actually use the developer-user in the ADT-triggered browser logon, not the admin-user. If you have been logged on in your main browser session as admin before, then the browser will probably reuse the existing logon-session of the admin-user. Therefore using a fresh browser session (e.g. a new incognito browser-session or using a completely different browser) can help to get a fresh logon where you can then explicitly use your developer-user.

For further documentation on how to get started in the ABAP Environment see: https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/2ffdd2412aff494dbf3de31089c965d4.html

For further BTP information see also https://community.sap.com/topics/btp-abap-environment

transop
Explorer

hi Sevdiye.i also used the way you said but still got the same error. I also tried adding email to the parameters of the instances but no such error.

because I see the login path as http://localhost:62855/logon/success. I don't know if I need to install any other services on my machine

ssarban
Employee
Employee
0 Kudos

Hi Tran,

you don't need to add your username as parameters to the service instance. I am assuming that you try to connect to SAP Business Technology, ABAP Environment. In order to connect to it, as described in this tutorial (Create an SAP BTP ABAP Environment Trial User | Tutorials for SAP Developers), you need to download the service key from the service instance of your ABAP Environment. Then you can create a new ABAP Cloud Project in ADT and enter the previously downloaded service key. After this step, you will be asked to enter your login details. Please check whether you use the right e-mail address that you have also used for your trial. You can clear your cache of your browser. But login in a private window should have also solved it. And please don't perform any changes on the service key.

ssarban
Employee
Employee

Hi Tran, can you click on 'Copy Logon URL to Clipboard' and open the url in a private browser? The new login might solve the problem.

ZhongpinWang
Advisor
Advisor
0 Kudos

Hi,

I have the exact same issue right now and I cannot find a solution. I used the US trial server as it is the only one that has the ABAP environment (EUW is no longer available).

Here is what I have tried:

- I tried to create the instance and service key manually, no luck.

- Also tried the Booster installation with the default instance and service key, same problem.

- I checked the user role, the account is indeed the "Subaccount Administrator", "Space Developer" and "Space Manager".

- I don't have another E-Mail account other than my I-User account. Nevertheless, I tried to use the right button to copy the link and open in incognito mode and also in other browser. Still didn't work.

- I definitely typed the same E-Mail as the logon user when manually creating the service key. And I checked that the logged in user is indeed with my SAP E-Mail.

- I tried other options for creating the "New ABAP Cloud Project" such as the first one "SAP S/4HANA Cloud ABAP Environment" by typing the instance URL and then login with my user ID / E-Mail and my password / BTP passcode (https://login.cf.us10.hana.ondemand.com/passcode). It always says wrong password.

- I tried the "Use Cloud Foundary Environment" and chose the US server (and also "other" with the API Endpoint). Then same as above, I tried all the combination of the username and password that may be possible. The system still won't let me in.

- I tried to directly copy the service key and also download it and then using import. They all lead me to the next step with these two buttons. Then neither of the buttons will work although the web page said "You have been successfully logged on".

- I tried the official eclipse with manual install of ADT. And I also tried the ADT version of the Eclipse modified by SAP. Same problem.

I am not sure what went wrong. I asked my colleagues for help and they never had the same problem before. Could someone please help me with this issue? Thanks a lot in advance!

Regards,

Zhongpin Wang

ZhongpinWang
Advisor
Advisor

Okay, honestly I don't know what happened. But now, after countless time of trying to recreate the instance, it magically works now. There is or was definitely something wrong with the BTP system.

transop
Explorer
0 Kudos

Hi Zhongpin Wang

That's so great.

Can you share (with pictures) with me the steps you have taken?

transop
Explorer

can't believe it's running fine this morning.

0 Kudos

It's unclear what system or application you are trying to log into and the specific error you are encountering. However, here are some general troubleshooting steps that may help:

Check your internet connection: Ensure that you are connected to the internet and that there are no issues with your network or firewall that could be blocking the login page.

Clear browser cache and cookies: Clearing your browser's cache and cookies can often resolve login issues. Try clearing them and then attempting to access the login page again.

Try a different browser: If clearing your browser cache and cookies doesn't work, try accessing the login page using a different browser to see if the issue is specific to your current browser.

Regards,

Rachel Gomez