Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
SAP YARD
TUTORIALS
CODE SNIPPETS
HELP FORUM
SAP QUIZ
76
Shares
HANA Studio
Enteremail
Subscribe
SEARCH
http://www.sapyard.com/abaponsaphanapartii/
1/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
SAPYard
656likes
Liked
Youand2otherfriendslikethis
Abapinho
7MostPopular&FeaturedArticles
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
Fiori App - An
Introduction from an
1. Change/Display Icon
We were not able to gure out the change/display toggle icon in HANA
Studio ABAP editor. Whenever we opened the program in our development
system, it opened in change mode. If any reader knows about the
76
Shares change/display icon (or shortcuts) in eclipse, please do mention it in the
comment section or email us and educate all.
2. Pattern Icon
Another signi cant button which we could not gure out in HANA Studio is
the Pattern Icon. When we want to auto generate the FM/Class/Method or
any custom pattern, we are so habituated to use this Pattern icon in ABAP
editor. We were little surprised, not to nd this commonly used button. But you
need not be disappointed. Type initial letters of the syntax you want to use
and then use Ctrl + Space and Shift + Enter to insert the full signature (e.g. for
function module / method selected).
ABAPer
SAP HANA at Ground
Zero
ABAP on SAP HANA.
Part I. First Program in
ABAP HANA
Get Latitude and
Longitude of any place
using Google Map API in
SAP
NetworkedBlogs
Blog:
SAPYard
Topics:
Abap,Sap,Hana
Followourblog
http://www.sapyard.com/abaponsaphanapartii/
3/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
76
Shares
3. Pretty Printer
There is no pretty printer icon. How would developers impress their team leads
and quality reviewers without the pretty printer?
Do not worry, the pretty
printer button might not be there, but the functionality still exists. Go to
Windows -> Preference -> ABAP Development -> Source Code Editor ->
Formatter to set up the formatting needs.
NOVEMBER 5, 2014
NOVEMBER 3, 2014
http://www.sapyard.com/abaponsaphanapartii/
4/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
76
Shares
You might not see the Formatter option upfront. You need to click on Source
Code Editors. Then you would see settings for different options (number 5 in
above image) and Formatter is one of them.
Once you set the format, Shift + F1 is the shortcut for the desired
formatting.
So, Pretty Printer in GUI = Shift + F1 in HANA Studio
These are some commonly used icons/buttons which are missing in Eclipse ADT.
Please note, this is not the whole elaborate list.
Also Read:SAP HANA from space level.
B. Check the common/similar or near similar features in Vanilla ABAP
editor and Eclipse/HANA Studio ABAP editor
http://www.sapyard.com/abaponsaphanapartii/
5/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
1. Outline View
Let us start with the Outline View in HANA Studio. Check the outline view
on the lower left corner of the studio.
76
Shares
The Outline view displays the internal structure of a program or class that is
currently open in the ABAP source code editor. The Outline view is synonyms
to the Object detailed screen of ABAP editor in SE80. Just like when we click
any element on SE80, it takes to that element in the main program,
similarly, the outline is synchronized with the contents of the editor. Hence,
when an element in the Outline view is selected, we can navigate quickly to
the corresponding position in the ABAP source code.
Just like in SE80 editor, for each element in Outline View in Studio, we can
navigate to the declaration part in the source code editor or the
implementation part (e.g. in the case of methods of a class).
2. Keyword Completion/Suggestion
Just like in GUI, ABAP editor on HANA studio suggests keywords as you type
the syntax. The GUI shortcut Ctrl +Space holds good in eclipse too.
http://www.sapyard.com/abaponsaphanapartii/
6/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
76
Shares
3. Where-Used List
This powerful feature is still available.
4. Revision History.
Like in GUI ABAP editor, we can compare changes from one transport of source
http://www.sapyard.com/abaponsaphanapartii/
7/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
code to another in ADT. Right click on the source code area of the program
and choose Compare with -> Revision History.
76
Shares
4. Transport Organizer
Transport Organizer in ADT for Eclipse enables ABAP developers to perform
the below Transport related operation through Studio.
i) Adding user to Transport request (TRs)
ii) Changing owner of TRs and tasks.
iii) Checking consistency
iv) Releasing and deleting TRs
http://www.sapyard.com/abaponsaphanapartii/
8/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
76
Shares
Right-click on the transport to see all the activities you can perform. One
example of adding a user under an existing transport is shown below.
http://www.sapyard.com/abaponsaphanapartii/
9/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
76
Shares
10/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
76
Shares
http://www.sapyard.com/abaponsaphanapartii/
11/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
76
Shares
Right click on the code area of the program and choose Compare with ->
Local History. Choose one of the previously saved version and see the
comparison. This local change history gives the comparison between saves in
the ADT, showing changes in the code as stored in the local workspace.
http://www.sapyard.com/abaponsaphanapartii/
12/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
76
Shares
3. Rename elements/texts.
Although we have Find and Replace (or Ctrl + H) option in SAP GUI, but
http://www.sapyard.com/abaponsaphanapartii/
13/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
Eclipsed based ADT has better renaming experience. Just right click on the
source editor and select Rename or hit Alt+Shift+R, to open the replace
wizard.
76
Shares
Select the element you want to replace and hit Rename (Alt+Shift+R), give
the new name for the element and hit Next.
http://www.sapyard.com/abaponsaphanapartii/
14/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
76
Shares
Before it nishes, it would show the Original code and the new code after the
change. It would also show all the lines which would be changed.
http://www.sapyard.com/abaponsaphanapartii/
15/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
76
Shares
Hit Finish and the element is renamed throughout the entire source code.
Also Read: View the HANA Views from different angles
Summary of some prominent misses and inclusions
http://www.sapyard.com/abaponsaphanapartii/
16/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
Hope, with the help of this article, you have realised that we need not be
scared of HANA Studio. It is old wine (ABAP) in a new bottle. In the next
article, we would see how we can debug our ABAP program in Eclipse Studio
and more.
76
Shares
If you want to get such useful articles directly to your inbox, please
SUBSCRIBE. We respect your privacy and take protecting it seriously.
If you liked this post, please hit the share buttons and like us on facebook.
Thank you very much for your time!!
Check our series on SAP ABAP on HANA
1. ABAP on SAP HANA. Part I
2. ABAP on SAP HANA. Part II
3. ABAP for SAP HANA Points to remember
Other articles on HANA
1. SAP HANA from Space Level
2. SAP HANA at Ground Zero
3.View the HANA Views from different angles
4. SAP HANA ; S/4 HANA and S/4 HANA Finance in Nutshell
http://www.sapyard.com/abaponsaphanapartii/
17/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
33
76
Shares
http://www.sapyard.com/abaponsaphanapartii/
18/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
Previous post
76
Shares
6 COMMENTS
Next post
ON "ABAP ON SAP HANA. PART II. ADT ECLIPSE AND HANA STUDIO"
http://www.sapyard.com/abaponsaphanapartii/
19/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
76
Shares
20/21
10/30/2016
ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard
Regards,
Team SAPYard.
http://www.sapyard.com/abaponsaphanapartii/
21/21