Technical Articles
First version: SDK for ABAP development tools
I gave you a short overview about our idea to provide a software development kit (SDK) for ABAP development tools (ADT) in the lab preview about the SDK, half a year ago.
The first version of the SDK for ADT is available for SAP NetWeaver Application Server ABAP 7.4 (support package 2), now. Therefore, I would like to give you a brief overview about the content of this first version of the SDK.
Connect Eclipse to an ABAP system
In the first version of the SDK, we put the focus on making the resource framework of ADT available. The resource framework allows the creation of RESTful services (REpresentational State Transfer, see http://en.wikipedia.org/wiki/Representational_State_Transfer). This means, the ABAP backend defines its resources (i.e., entities) that can be addressed via unique resource identifiers (URIs). The ABAP backend exposes these resources at their corresponding URIs and the Eclipse frontend consumes them (like a web browser).
The SDK for ADT allows you to
- connect from Eclipse to the ABAP system
- define your own resources in the ABAP backend and
- consume these resources via appropriate APIs in Eclipse.
This enables you to reuse the connection to the ABAP system for an ABAP project and communicate in Eclipse with the ABAP backend in a standardized way.
You find a tutorial about implementing your own resources and consuming them in the how-to guide about the SDK.
Further client APIs
Beside the APIs for the resource framework, the fist version of the SDK also some further APIs in the Eclipse client.
The APIs of the SDK for ADT allows you (for example) to
- navigate to an ABAP development object and open the corresponding editor
- search for development objects
- set additional markers for ABAP development objects (like errors and warnings)
All released APIs are documented via javadoc which can be downloaded here.
Again, it’s up to you
I am sure you have already some ideas how you would like to use the SDK. Try to realize your ideas by using the SDK. As already mentioned, the how-to guide might be a good document to get started.
Hi there,
i have a little problem attachning the JavaDoc to eclipse, doesn't matter if I attach it as a file or folder, it never shows up. I use Juno and ADT core version 2.16. Any hints?
Thanks and Regards
Hello Mathias,
i have added the java doc as archive to the jar "com.sap.adt.destinations.ui_2.16.0.jar" and it works fine. Currently i'm using Eclipse Kepler with the latest ADT Version.
On which jar did you applied the folder/file?
Christian
Hello Christian,
it doesn't matter which i try, none is working, tried the "com.sap.adt.destinations.ui_2.16.0.jar" as well, still no Javadoc. I guess you add it via "Configure Build path" as well?
Edit:
I just checked Luna(4.4) same problem, when attaching to the *.destination.ui.jar and pressing validate i get the error "Location might be invalid no package-list and index.html was found"
There is an index.html but no package-list in the zip file. I guess you downloaded the same file i did?
Regards
Mathias
Edit 2:
Alright got it working, but very funny.. if anybody has the same problem, i attached the extracted Javadoc via properties of the jar. BUT then i had to open the Javadoc view and press the button "open attached javadoc in Browser" after that it worked for that specific jar.
Nevertheless isn't there a way the set it for all ADT jars? Pretty cumbersome otherwise..
Hi, Michael,
I am trying to reproduce an example in the how-to guide, but I am stuck at the step
2.3.3 Creating an Enhancement Implementation.
The problem is that the BADI definition BADI_ADT_REST_RFC_APPLICATION is marked as Can only be implemented SAP-internally so I can't implement it.
I am working in cloud solution SAP NetWeaver Application Server ABAP 7.4 on SAP MaxDB - Trial Edition.
Is there anything I can do?
Thanks!
KR,
Igor
Hi Igor,
please implement note:
http://service.sap.com/sap/support/notes/1774777
Regards,
Christian
Hi, Christian,
Thanks for the super-fast solution! Indeed, my system is 7.4 SP2.
Thanks!
KR,
Igor
Hi Igor,
which SP-level do you have? In my system the definition "BADI_ADT_REST_RFC_APPLICATION" is not marked as SAP internal.
My system is not an AS Trail version. I think the trial version might have an old SP-level?
regards,
Tao
Hi,
I don't know is this the right place or shall I switch to a forum, but I have a problem in following the how-to guide.
The chapter 3.1 names prerequisites:
I am an Eclipse beginner and have no idea what is this about. Tried to look it up in the Internet, found some instructions for creating a *.target file (is this it?), but didn't get much further. The thing is, I don't really understand what is a "target platform", how do I add it to a Run Configuration, how do I add an ABAP project to it and how do I use it later.
Please shed some light.
Thanks!
Igor
Hi,
I created a small Eclipse Plugin that utilises some of the ADT bundles. However does anyone know how I can attach the JavaDoc for the ADT Bundles for all libs? Normaly i would do this:
right click on my project -> properties -> Java Build Path -> Libraries and then add the JavaDoc to the lib that I want to use.
However I realy don't want to manually add the JavaDoc for 10 libs by hand. There must be a better way.
Thanks,
Tim
Last time i tried there was no easy solution, somehow the Javadoc source was lost as well sometimes :/