Sei sulla pagina 1di 21

10/30/2016

ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard

SAP YARD

YOUR BACKYARD FOR SAP TECHNICAL TIPS AND SOLUTIONS


HOME

SEE ALL POSTS

TUTORIALS

CODE SNIPPETS

KNOW THY YARD MEN

HELP FORUM

BOOKS & JOBS

SAP QUIZ
76
Shares

ABAP on SAP HANA. Part II. ADT Eclipse


and HANA Studio
TOPICS: ADT

Debugging In HANA Studio

HANA Studio

Enteremail

Subscribe

We Respect Your Privacy !

SEARCH

Transport Organizer In HANA


Follow@sapyard

http://www.sapyard.com/abaponsaphanapartii/

1/21

10/30/2016

ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard

POSTED BY: SAP YARD

MAY 26, 2016

SAPYard

ADT Eclipse/HANA Studio for ABAPers


In the SAP ABAP on HANA Part I, we talked about some common
questions and answers. We also created our rst program in HANA Studio. In
this article, we would get accustomed with the HANA Studio screen, various
buttons and icons. How/Why to use them and also we would try to correlate
the functionalities of HANA screen icons to that of classic GUI icons.
76
Shares

656likes

Liked

Youand2otherfriendslikethis

HANA Studio Toolbar

SAP ABAP LINKS

Abapinho

7MostPopular&FeaturedArticles

SAP HANA from Space


Level

Most of the icons are self-explanatory.

Lazy and Smart ABAPers

Open ABAP Development Object: The system-wide search for development


objects is possible.
Search: The workspace-wide search for development objects is possible.
With this function, we can search for ABAP development objects across all
http://www.sapyard.com/abaponsaphanapartii/

DELETING rows of the internal


table within the LOOP. Is it a
2/21

10/30/2016

ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard

usable ABAP projects.

Taboo? A big NO NO?

A. What is NOT there in ADT Eclipse/HANA Studio, which was


available in ABAP GUI editor?

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

WEB DYNPRO ABAP TUTORIALS

DECEMBER 26, 2014

Lets Web Dynpro.


Part V

NOVEMBER 24, 2014

76

Lets Web Dynpro.


Part IV

Shares

NOVEMBER 11, 2014

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.

Lets Web Dynpro.


Part III

NOVEMBER 5, 2014

Lets Web Dynpro.


Part ZZ

NOVEMBER 3, 2014

Lets Web Dynpro.


Part II

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

Limitation of Transport Organizer in HANA Studio:


Transport request CANNOT be created within the Transport Organizer view of
ABAP Development Tools. But, if you create/edit an object (say
table/program/FM/package etc) in Studio ADT and it asks for a new
transport, you can create new transport within that corresponding wizard.
Remember, transports can be created from those wizards and not stand
alone from Transport Organizer.
Advantage of Transport Organizer in HANA Studio:
The Search option in the Transport Organizer. Any object
(table/program/FM/package etc) can be searched for, to check the TR and task it
belongs to. In SAP GUI transaction SE10, we cannot search that easily.
Although we have other t-codes and ways to gure it out. But the ease and
user experience in Transport Organizer in HANA Studio is unmatched.
http://www.sapyard.com/abaponsaphanapartii/

10/21

10/30/2016

ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard

76
Shares

Read more: SAP HANA at Ground Zero


C. The new features in Eclipse/HANA Studio ABAP editor, which were
not available in GUI editor.
1. Syntax Error Marker:
Check the red cross on the left side of the code editor. This feature warns
you of any error lines while you are typing your program and even before you
hit the syntax checker. This comes really handy for the ABAPers to type the
right syntax as and when he/she is.

2. Local code comparison:


Compares current saved version with the selected saved version.

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

Check, the code difference can be so easily identi ed.

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

5.Smart Data Integrator & Data Load In SAP HANA


to be updated..

33

76

Shares

Isn't it Fair to Share??


Related Posts:

Real Time Analytics

http://www.sapyard.com/abaponsaphanapartii/

18/21

10/30/2016

ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard

Lets Web Dynpro.


Part VII

Lets Web Dynpro.


Part III

Previous post

76
Shares

6 COMMENTS

Next post

ON "ABAP ON SAP HANA. PART II. ADT ECLIPSE AND HANA STUDIO"

murugan ramamoorthy | June 8, 2016 at 2:06 pm | Reply


thanks for your effort.Really its very usefull

SAP Yard | June 10, 2016 at 4:03 pm | Reply


Dear Murugan Thank you so much. Appreciate
your kind words. Glad that you found our article
useful. Please keep visiting.
Regards,
Team SAPYard.

http://www.sapyard.com/abaponsaphanapartii/

19/21

10/30/2016

ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard

Soyab | June 8, 2016 at 2:38 pm | Reply


Very good information
.. thanks for sharing n keep it up

SAP Yard | June 10, 2016 at 4:05 pm | Reply

76
Shares

Dear Soyab Thank you very much for your


comment. We are happy, you found our post
informative.
Please keep visiting.
Regards,
Team SAPYard.

fhenn | July 1, 2016 at 5:35 pm | Reply


In a few months I will work on SAP HANA (for the
moment SAP ECC 6)
So thank you very much for your share.
It is very interesting.

SAP Yard | July 1, 2016 at 6:30 pm | Reply


http://www.sapyard.com/abaponsaphanapartii/

20/21

10/30/2016

ABAPonSAPHANA.PartII.ADTEclipseandHANAStudioSAPYard

Dear Fab You are lucky to be able to get the


opportunity to work in SAP HANA. Congrats.
Welcome to our blog. Hope these articles would
help you transition better when HANA is on-boarded in your
workplace.
All the best.
76
Shares

Regards,
Team SAPYard.

Comment, Criticism, Opinion, Feedback. Please do not


hold back. Share your Thoughts!!
Enteryourcommenthere...

COPYRIGHT 2016 | MH NEWSDESK LITE BY MH THEMES

http://www.sapyard.com/abaponsaphanapartii/

21/21

Potrebbero piacerti anche