Skip to Content
Technical Articles
Author's profile photo Andre Fischer

Preview function in the service binding does not work and starts Notepad

Since I saw this issue now for the second time I wanted to post the issue alongside with the solution as a blog.

A developer has published an OData service using a service binding and wants to use the preview using the simple list reporting Fiori application build into ABAP Development Tools for Eclipse as described here.

When the developer clicks on the Preview button the following error message

Cannot find the .txt file” pops up.


The problem here is that the file extension .html is not associated to a browser such as Chrome or Edge but to notepad.txt.

The problem can be fixed by changing the default program for files with the extension .html as described in the Microsoft Online help.

Start searching for “default”.

and click on the icon for “Default-apps” and choose the link “default apps by file type“.

Here you have to change the setting for “.html” from Notepad to your favorite browser.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Himanshu Gupta
      Himanshu Gupta

      Thanks Andre - it fixed the long pending issue.

      Author's profile photo Pooja Thareja
      Pooja Thareja

      Hi Andre

      I am facing an issue where I created a SB and Preview button is neither opening a browser nor I am getting txt file pop up.I checked the settings in eclipse->windows->preference->General->Web Browser changing to external web browser i cant see any action happening. If you can show some pointers probably they can be of help.

      Author's profile photo Andre Fischer
      Andre Fischer
      Blog Post Author

      The settings in Eclipse are not relevant for the preview.

      As you can see my settings are such that the internal web browser is supposed to be used by default.

      But ADT obviously uses the default system web browser or better said (on windows) the application that is configured as the default app for html files.

      Have you checked what is configured on Windows operating system level which app is supposed to be started when a html file is to be opened ?


      Author's profile photo Sumon Sinha
      Sumon Sinha

      Hello Andre,

      Thank you so much for posting this!

      This has solved my issue of not being able to preview the Application.

      Thanks & Regards.

      Sumon Sinha.

      Author's profile photo Sri Sana
      Sri Sana

      This solved my issue too.

      Thank you,

      Sridhar Sana

      Author's profile photo FI Technical Requester
      FI Technical Requester

      I'm getting this message while creating a service binding "Service Binding not supported in the selected project" , I tried different version of eclipse but no luck.


      it was working before but suddenly starts getting this message.

      Author's profile photo Andre Fischer
      Andre Fischer
      Blog Post Author

      What ABAP Application Server version are you using?

      ABAP Environment in SAP BTP ?

      SAP S/4HANA on premise?  If yes, which version?

      Author's profile photo FI Technical Requester
      FI Technical Requester

      Hi Andre ,,

      Thanks for your response.

      We are on : SAP S/4HANA on premise 2020 Initial Shipment Stack