Skip to Content
0
Jan 22, 2020 at 11:42 AM

HTTP 500 in SAP WebIDE Personal when importing from ABAP Repository

2196 Views Last edit Jan 22, 2020 at 02:18 PM 3 rev

Hello,

I'm starting my adventure with S4H development. Went through WebIDE Personal install guide blog post by Florian Henninger and trying to connect to my S4H system. However I'm getting HTTP Error 500 when clicking on File>Import> Select Application from SAPUI5 ABAP Repository

Here's what I see in the console:

My destination 'S4H' file:

Description=xxxxxxx S4H
Type=HTTP
TrustAll=true
Authentication=NoAuthentication
Name=S4H
ProxyType=Internet
URL=http\://re.moved.net\:44300
WebIDEUsage=dev_abap,odata_abap,ui5_execute_abap
WebIDESystem=S4H
WebIDEEnabled=true
sap-client=100

I made sure the SICF services are active in SAP NW.

I am able to download xml file from SAP NW url: /sap/bc/adt/discovery using Chrome browser. However the WebIDE has a problem with this for some reason.

Using the newest eclipse SAP WebIDE Personal 1.53.9 trial

No further ideas what can be wrong :( Please help.

PS. I managed to capture the traffic from eclipse orion to the SAP Netweaver server. I noticed that no credentials are passed in the request headers:

GET /sap/bc/adt/discovery HTTP/1.1
    X-CSRF-Token: Fetch
    Accept: application/atomsvc+xml
    Connection: keep-alive
    Referer: http://localhost:8080/webide/index.html
    Sec-Fetch-Site: same-origin
    Sec-Fetch-Mode: cors
    Accept-Encoding: gzip, deflate
    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36
    Accept-Language: pl-PL,pl;q=0.9,en-GB;q=0.8,en;q=0.7,de-DE;q=0.6,de;q=0.5,en-US;q=0.4
    X-ProxyBaseUrl: http://localhost:8080/webidedispatcher/destinations/S4H/
    sap-client: 100
    Host: x.x.net:44300

Is this intended to be so? When I tried downloading /sap/bc/adt I had to specify user and password. Can this be the problem here?

My SICF /sap/bc/adt node is configured like this:

Attachments

webide-error.png (13.6 kB)
webide-error2.png (68.3 kB)
webide-error3.png (41.1 kB)