Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP Developer Tools (ADT): Can't create HTTP Service from Eclipse

Gunter
Product and Topic Expert
Product and Topic Expert
0 Likes
3,402

Hi experts,

I was trying to do the SAP Cloud Platform ABAP Environment & ABAP RESTful Application Programming Model - Exercise 1 but didn't get much far. My ADT didn't allow me to create an "HTTP Service" from Eclipse. I use the latest ADT version (3.12.2) first with Eclipse 2019-06 now with a fresh install of Eclipse 2020-06.

The problem is, that the HTTP Service will be called in the GUI - you can see that the description field is gray:

When I click finish, then I see that:

Oh, really? That's why I did it from Eclipse. 🙂

Any idea what the problem could be? Backend system is S/4HANA1909FP02 (I tried 2 different instances with same result). It seems that in Eclipse HTTP Services are linked to the GUI and not to the Eclipse UI. Maybe there's a config-file to be tweaked to correct the linking?

Thanks,

Gunter

1 ACCEPTED SOLUTION
Read only

Gunter
Product and Topic Expert
Product and Topic Expert
2,868

I got an update from our experts: The HTTP Service is currently only available for SAP Cloud Platform ABAP on Cloud (aka: "Steampunk"). Therefore it is not possible (yet) to automatically create an HTTP service from ADT IDE.

It is possible - however - to create it manually in SICF and then create the handler-class with the ADT. In that case - at least to my knowledge - you need to use I/F IF_HTTP_EXTENSION in contrast to IF_HTTP_SERVICE_EXTENSION as was shown in the video (for ABAP on Cloud). Hope this helps, I was able to achieve my setup in that way.

3 REPLIES 3
Read only

kartikrajag
Participant
0 Likes
2,868

I'm also facing same issue, I could not figure out a solution yet, but in debugging I could see its looking for an entry in table UCONFILLCUST (Unified Connectivity Customization related table); I've attached a screen shot of debugging where its throwing the same error you reported, Its may be related to permission to create HTTP Service from Eclipse, when I played with the values in debugging, I was able to by-pass the error and was able to create HTTPService from Eclipse.

Alternatively, have you tried transaction SICF(HTTP Service Hierarchy Maintenance) to create HTTPService?

I could not find a tcode or table maintenance for UCONFILLCUST. I'm using Eclipse 2020-06 & S/4HANA 1909 on-prem.

Thanks

Kartik

Read only

Gunter
Product and Topic Expert
Product and Topic Expert
0 Likes
2,868

Hi Kartik,

thank you indeed for that useful comment. I'll look into it tomorrow as I'm traveling now. It might be worth checking if that's a bug or a feature. I'll keep you updated.

Gunter

Read only

Gunter
Product and Topic Expert
Product and Topic Expert
2,869

I got an update from our experts: The HTTP Service is currently only available for SAP Cloud Platform ABAP on Cloud (aka: "Steampunk"). Therefore it is not possible (yet) to automatically create an HTTP service from ADT IDE.

It is possible - however - to create it manually in SICF and then create the handler-class with the ADT. In that case - at least to my knowledge - you need to use I/F IF_HTTP_EXTENSION in contrast to IF_HTTP_SERVICE_EXTENSION as was shown in the video (for ABAP on Cloud). Hope this helps, I was able to achieve my setup in that way.