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

Changes in ABAP code for SAP HANA

former_member184871
Contributor
0 Likes
1,608

Hi Community,

What are the key points that need to be taken care while developing an application in ABAP 7.02 keeping in mind that the system will be upgraded to 7.4 to leverage SAP HANA?  What can be the major and minor changes W.R.T previously developed applications ?

Regards

Kumar Mayuresh

1 ACCEPTED SOLUTION
Read only

schneidertho
Product and Topic Expert
Product and Topic Expert
0 Likes
847

Hi Kumar,

not sure if I can answer your question inclusively. Here are some thoughts:

  • you should (just like for any application) try to come up with a good software design (layering, seperation of concerns etc.)
  • Open SQL guidelines (the '5 golden rules'): many guidelines for high-performance ABAP programming will not change fundamentally when running on SAP HANA, try to consider them, e.g. use field lists instead of SELECT *, use JOINS where possible (instead of nested SELECTS or SELECT... FOR ALL ENTRIES)...
  • think about whether your application in the future will only support SAP HANA or all databases
  • ensure to encapsulate logic which you might later want to run inside the database
  • don't only think about performance - how else could SAP HANA improve the user experience of your application (e.g. new search possibilities to populate fields)?
  • read (in case you have not done it already) Tobias Trapp's blog about his first experience with ABAP for SAP HANA
  • try to familiarize yourself with 7.4 early (I know that we currently have not published a lot of information, but e.g. during TechEd CD202 will give an outlook and we are also working on documents for SCN)
  • familiarize yourself with advanced SQL features and how to work with SQL script which you might need when implementing calculation views / stored procedures in SAP HANA later (even though my general suggestion when working with ABAP would be to use Open SQL as much as possible and only switch to SAP HANA specific coding when this can bring an additional advantage)

We plan to make a beta version of 7.4 available to a restricted number of customers / partners already by end of this year. If you are interested, write an eMail to [email protected].

Best regards

Thorsten

Hi Community,

What are the key points that need to be taken care while developing an application in ABAP 7.02 keeping in mind that the system will be upgraded to 7.4 to leverage SAP HANA?  What can be the major and minor changes W.R.T previously developed applications ?

Regards

Kumar Mayuresh

3 REPLIES 3
Read only

schneidertho
Product and Topic Expert
Product and Topic Expert
0 Likes
848

Hi Kumar,

not sure if I can answer your question inclusively. Here are some thoughts:

  • you should (just like for any application) try to come up with a good software design (layering, seperation of concerns etc.)
  • Open SQL guidelines (the '5 golden rules'): many guidelines for high-performance ABAP programming will not change fundamentally when running on SAP HANA, try to consider them, e.g. use field lists instead of SELECT *, use JOINS where possible (instead of nested SELECTS or SELECT... FOR ALL ENTRIES)...
  • think about whether your application in the future will only support SAP HANA or all databases
  • ensure to encapsulate logic which you might later want to run inside the database
  • don't only think about performance - how else could SAP HANA improve the user experience of your application (e.g. new search possibilities to populate fields)?
  • read (in case you have not done it already) Tobias Trapp's blog about his first experience with ABAP for SAP HANA
  • try to familiarize yourself with 7.4 early (I know that we currently have not published a lot of information, but e.g. during TechEd CD202 will give an outlook and we are also working on documents for SCN)
  • familiarize yourself with advanced SQL features and how to work with SQL script which you might need when implementing calculation views / stored procedures in SAP HANA later (even though my general suggestion when working with ABAP would be to use Open SQL as much as possible and only switch to SAP HANA specific coding when this can bring an additional advantage)

We plan to make a beta version of 7.4 available to a restricted number of customers / partners already by end of this year. If you are interested, write an eMail to [email protected].

Best regards

Thorsten

Read only

0 Likes
847

Hi Thorsten,

Thanks for your inputs and its helpful too. I will definitely drop a mail for 7.4 beta version so that i can have a in depth overview of upcoming changes..

Best Regards

Kumar Mayuresh

Read only

HermannGahm
Product and Topic Expert
Product and Topic Expert
0 Likes
847

Hi,

in addition to Thorsten's comprehensive answer i owuld like to add / suggest

to make use of the SAP Code Inspector (or the ABAP Test Cockpit). Many

of the things Thorsten suggests can be checked automatically.

Regarding OPEN SQL as Thorsten said the existing rules will not change significantly

(maybe their priority a little bit). So make sure you are following the existing rules

that are described here for example:

http://scn.sap.com/docs/DOC-10416

http://www.saptechies.com/sap-pdf-books-download/ABAP_DB_ACCESS_Optimization3211282128314.pdf

Kind regards,

Hermann