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

what is the difference between HANA code and ABAP Code

Former Member
0 Kudos
14,282

Hi Expects,

I have lot of confusion with ABAP and HANA.

My customer was using HANA database in SAP. when i login that system its allowing to written ABAP code.  Its working fine.

My doubt is,

HANA is only database server or its having some other coding technique like ABAP?.

 

its have separate coding means, SAP is complete ABAP code then how the HANA code will work

Regards

Karthikeyan K

1 ACCEPTED SOLUTION
Read only

pfefferf
Active Contributor
0 Kudos
4,399

Hello Karthikeyan,

you have to differentiate between ABAP on HANA and HANA native development.

From that what you wrote I assume that you are using an ABAP Netweaver Stack with HANA as database. As you wrote with that set up of course it is possible to write ABAP applications on the Netweaver stack, because that level is independent from the database using the database interface with a specific database specific library. With Netweaver 7.40 (and the following SPs 05, 08) several enhancements were introduced in ABAP and OpenSQL to benefit from the HANA capabilities in ABAP (e.g. enhanced OpenSQL to define more "complex" SQL statements to be able to push down work to the database; CDS; AMDPs). If you are interested in details I would recommend you to have a look to the openSAP course "ABAP Development for SAP HANA" (ABAP Development for SAP HANA - Dr. Jasmin Gruschke and Jens Weiler).

To come to your doubt regarding HANA. No, HANA is not just a database. HANA is a complete platform which allows you to write native HANA applications and to do a lot more things. On the HANA platform you cannot write ABAP coding, you implement native applications mainly with Serverside-JavaScript and SQLScript. For more information regarding the capabilities please have a look to the following sources:

Best regards,

Florian

6 REPLIES 6
Read only

pfefferf
Active Contributor
0 Kudos
4,400

Hello Karthikeyan,

you have to differentiate between ABAP on HANA and HANA native development.

From that what you wrote I assume that you are using an ABAP Netweaver Stack with HANA as database. As you wrote with that set up of course it is possible to write ABAP applications on the Netweaver stack, because that level is independent from the database using the database interface with a specific database specific library. With Netweaver 7.40 (and the following SPs 05, 08) several enhancements were introduced in ABAP and OpenSQL to benefit from the HANA capabilities in ABAP (e.g. enhanced OpenSQL to define more "complex" SQL statements to be able to push down work to the database; CDS; AMDPs). If you are interested in details I would recommend you to have a look to the openSAP course "ABAP Development for SAP HANA" (ABAP Development for SAP HANA - Dr. Jasmin Gruschke and Jens Weiler).

To come to your doubt regarding HANA. No, HANA is not just a database. HANA is a complete platform which allows you to write native HANA applications and to do a lot more things. On the HANA platform you cannot write ABAP coding, you implement native applications mainly with Serverside-JavaScript and SQLScript. For more information regarding the capabilities please have a look to the following sources:

Best regards,

Florian

Read only

praveshnegi
Product and Topic Expert
Product and Topic Expert
0 Kudos
4,399

Hi Karthikeyan,

I think you are mixing up two different things here.

ABAP Stack lies as a middleware between your frontend and database layer ( in this case HANA).

This follows 3 tier architecture ( Database, ABAP stack, Frontend )

HANA does allow you to put application logic in the database layer ( 2-tier architecture). Here you probably woud not have ABAP stack (Only frontend and database ).

In your scenario seems to be 3 tier arch. where, Database layer would not have application logic, instead is used only for fetching data and accessing native database functions and methods.

Regards,

Pravesh

Read only

Former Member
0 Kudos
4,399

Thank u Pravesh and Florian.

My another doubt is SAP was fully coded with ABAP.

Is it work for 2 tire Arch process ?

In two tire woud not have ABAP stack right.

Regards

Karthikeyan K

Read only

praveshnegi
Product and Topic Expert
Product and Topic Expert
0 Kudos
4,399

Hi Karthikeyan,

HANA has its own SAP implementation and works as it used to work in 3 tier arch.

The products go out as HANA Live, Suite on HANA. Also refer:

And yes, 2 tier arch. does not have abap stack.

Regards,

Pravesh

Read only

0 Kudos
4,399

Hi Pravesh,

You mean that SAP HANA Having own coding technique and ABAP will not work in that correct.

thanks for your immediate help.

Regards

Karthikeyan K

Read only

vky1
Newcomer
0 Kudos
2,671

Hi  Team ,

Please tell me Difference between sap abap and sap hana

Regards,

Virendra