Taskorientated Work with Eclipse and ABAP
As I have recognized that a lot of people using eclipse nowadays I thought talking a little bit how to get more out of it.
Why do we need taskorientation?
Here’s a quote from wikipedia:
The advantage of task-oriented leadership is that it ensures that deadlines are met and jobs are completed, and it’s especially useful for team members who don’t manage their time well. Additionally, these types of leaders tend to exemplify a strong understanding of how to get the job done, focusing on the necessary workplace procedures and delegating work accordingly to ensure that everything gets done in a timely and productive manner
No matter what, I don’t want to discuss how to setup a project at all. It is more the kind of how to manage your own task and moreover how to find your information again way back later.
—————————————————————————————————————————–
Hint for the hardcore-users
If you already know what I’m talking about, because your an eclipse-pro it might be boring to go further. Please don’t stop and tell me if there is something I can do better on it. It’s always a maingoal for me personal to also get some feedback on how I do things and if there is space for improvement (and I’m sure there is) leave me a comment or drop me a personal message.
—————————————————————————————————————————–
Ok, back to the context we’re talking about.
I recognize when talking to developers without expirience with eclipse that they really see a one to one connection like in the old days we all stuck to the integrated development-tools.
So that mean, there is one connection to dev-system and everything else is handled there.
And here is my question:
Why don’t you have multiple connection to the same system?
And most of the times I get as an answer that there is no need for it, because of *placewhateveryouthink*
My point of view is simple:
Everybody of us has a ticket-system in the back or something similar which provides the task for us. Ok, could also named pass task to us because we have to earn money:-)
That kind of process happens every day to us and after we have done our job everything is fine and we go on to the next one.
BUT that is just half of the story.
Everytime we have finished a task someone else is doing their work on it and hopefully also a quality check. No matter if it passes or not, software is something not stable. There will be the time you have to fix, enhance or replace parts of your own codelines.
So the historical way (lol, sounds like I’m an old developer) to do it, is to find the technical documentation and everything else around and start reading it again, until I have received the point when I can remember enough about the topic or if I still cannot remember it I logon to the system and try to find my lines again with the help of my technical document.
Hopefully I really have documented everything I need and understand the documentation 🙂
After getting the oppurtunity to have eclipse with ABAP I changed the process to this one:
For every single task I create a new project via eclipse.
The first indicator what type of task it is visible at the project-name itself. In my organisation we use a Online Ticket Toll which has a unique number as identifiyer. It is a bit like a transport-request name.
Below that I add all necessary packages as favorites
And additional to that I mark all the spots I have with a bookmark, which again makes the task more specific and additional to that give me the oppurtunity to make notes (not comments inside the code itself) which let me perform faster and moreover also raises the quality at all.
Additional to that, there are more advantages than I named before. But that kind of what you personally get out of it is something which might be very individual for everyone of us.
So happy coding and rock with ADT.
Cheers
Florian
Something to add? Questions, thoughts or an personal statement. Feel free to leave a comment.
And do not try to find an excuse:-)
Hi Florian,
nice post.
Are you aware of the possibility to organise your work using tasks in eclipse: https://blogs.sap.com/2015/02/27/use-mylyn-tasks-to-organize-your-abap-in-eclipse-workspace/
This for me was a real productivity boost. Basically, eclipse automatically associated dev objects to tasks. So when you switch between tasks (e.g. work on an other JIRA ticket), automatically all the dev object are saved. Once you revisit a previous task you are immediately back to where you left.
There are many plugins available to integrate mylyn with different ticketing systems.
Best
Christian
Hi Christian,
Â
oh yes I know it, unlucky I have to use different systems to handle my task with my customers and I’m a one man show on the mylyn-ground. So what I described is my personal “make the best out of that” and the last weeks I recognized, that this is something all the devs can do it in a similar way when switching from the se80/se38 without walking too far from the way they know right now:-)
~Florian
PS: I would have loved to discuss it with you personal at SITFra. Will put it on the bucket list for Teched:-)
Hi Florian,
you know I’m one of those trying to use Eclipse in my everyday work, and of course I want to benefit from that in the long run, so I’m always happy to get some tips.
As you mention, it’s not only “SE80: this way; Eclipse: that way” but also thinking about ways, where Eclipse enables us to do things that were not even thinkable in SE80.
Â
I think we shortly touched this “task orientation / multiple connections to the same system” in regards to Global Code-Inspector Variants (~ https://blogs.sap.com/2014/11/28/remote-syntax-check-for-abap-developers/ [Edit: I found the link I actually had been thinking about: https://answers.sap.com/questions/84903/adt-eclispe-run-as-atc-with-doesnt-exist.html ]) already, but it’s nice to read up on your concept in more detail!
Â
But there is still one question: how do you name ABAP-Projects the way you want? It doesn’t work for me, the name is always [System_ID]_[Client]_[user]_[Language] , like here:
I haven’t found a way to re-name them, either.
Â
(Please note: I don’t pick systems form SAP-Logon-Data (I don’t have SAPLogon, I use Business Client), but use the “new system connection” link:
)
Â
Â
best
Joachim
Â
PS: you should also (secondary-) tag your Blogs with “SAP Mentor”, making them more visible (at least to me, I guess for others, too)!
Oh: and congrats on making it to the front page:
(The blog not having the Mentor-Tag, that's actually how I found it!)
Hi Joachim,
have a look here, it is at a popup screen while also selecting the favorites:
Click on next instead of Finish and here we go:
Sorry for the german shots.. "CITRIX-Installation" as I'm out of office atm.
~Florian
Hi Florian,
thanks a lot, I can confirm that it works that way, cool!
(I have always clicked "finish" as early as I was able to, that's why I never saw it 🙂  )
But it provokes another question: If I want to change the name, how do I do that?! (I didn't find it under "properties"...)
I guess "delete and create again" will work, but surely there should be another way?!
best
Joachim
Hey Florian,
today I remembered your blog and re-read it, in order to try it out (again).
I do like the concept of task-orientation, and I do agree that coding often comes back to you eventually.
It’s great you found a work with the tools that are there, but if I could play “make a wish” here are my thoughts on it:
– Favorite packages are fine, but often, they are to big, especially if you work on legacy code (“ZSD” anyone?
 )
I would like to be able to add favorites to a project on file-level.
– Actually, transport tequests would do exactly that – it would be nice to be able to assign them to a project.(Bonus: auto-add them, when you create them)
– I like the idea of keeping comments in source code short – you say you use bookmarks for that.
<strike out>Â
But if I saw it correctly, bookmarks do only have 1 string – there’s no long text?!
-> I would wish for something like “local comments” -> I could write lots of text (in my native language) without blowing up the source to something un-readable.
-> Source-comments can be nice and short (and in universal language), but if a task comes back to me, I instantly have access to my full notes on what I did last time.
</strike out>
[Edit: I now see that Bookmarks can do exactly that, nice!Â
Trick was not to try to right-click the bookmark-icon next to the line number, but to get it via the bookmakrs-view:
Â
Â
Â
Â
Next, I’ll have a look on the mylyn blog link Christian provided .
best
Joachim