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

why abap language?

Former Member
0 Likes
2,237

why sap created a own language ABAP to write code , why cant it depend on c , c++ ,etc.?

7 REPLIES 7
Read only

Former Member
0 Likes
1,334

As SAP Has to work with most of the Database and also it requires the Business logic to be incorporated in the language.

It can use the open sql available in the market but then patent issues and propritory isues come into picture.

Regards,

Amandeep Kumar

Read only

Former Member
0 Likes
1,334

Hi Ranjith gupta

ABAP : Advanced Business Application Programming

4 : Fourth generation Language

Multi Lingual

Only Tool for developing SAP applications.

ABAP Workbench contains all tools, we need to create ABAP/4 Programs.

ABAP/4 program contains all usual control structures and modularization concepts.

After coding, we will save and generate. During generation, the system creates a Run Time object. When we execute, the system executes this Run Time Object.

These are different from sequential programming languages such as FORTRAN, PASCAL and C.

Instead it shares certain features with event Oriented programming languages such as VB and JAVA.

An ABAP/4 program has modular structure.

Source text (processing Block) always consists, Collection of One or more programming modules .

Programming module consists of sequential statements.

With in the processing Block, we can use general Control statements such as DO, IF, WHILE and CASE statements.

For Execution of ABAP/4 Programs you need a special Run Time Environment .

This Run Time Environment is responsible for calling the individual program modules one after the other .

This Run Time Environment is nothing but ABAP/4 Processor .

Declarative Elements for declaring Data.

Operational Elements for Manipulating data.

Control statements for processing program flow.

Functions for processing character strings.

Subroutines with or without passing values.

Central Library with special type of Subroutines called Function modules.

Open SQL (a subset of SQL) to read and change data base tables.

Allows you to define and process Internal Tables.

Allows you to store data as Sequential files on Application and Presentation Servers.

Executable program (1)

INCLUDE program (I)

Module pool (M)

Function group (F)

Subroutine pool (S)

SAP differentiates between two general types of ABAP/4 Programs.

Report Programs

Dialog Programs

Read only

0 Likes
1,334

IMHO SAP created ABAP, because it needed a way to make programming more flexible....R/3 was developed 90% ABAP and 10% C.

C/C++ are very hard to learn programming languages....ABAP is easy to learn and is oriented to Business Applications....

Greetings,

Blag.

Read only

Former Member
0 Likes
1,334

hi,

well it can use c or c++,but it has its own tables for different modules,its own predefined applications that makes the user to just use those things when needed,instead of creating each and every thing.

let us suppose to create a table we have to write a lot of code in c or c++,

but if it is with abap only we will define the fields and ots structure ,thats it.

Read only

0 Likes
1,334

Hello SriLatha garu.. ekadi nuchi...

Read only

Former Member
0 Likes
1,334

Hi Ranjith,

To answer your question, I would recommend that you read the following blog: "<a href="http://martinceronio.net/?p=5">Why I like ABAP</a>". I think it may prove interesting to you.

Regards,

Martin

Read only

Former Member
0 Likes
1,334

Hi!

SAP is a business application.

So, the foremost thing for any application is easy understandability and for that it should use a programming language that could be easily understood by people.

most of the syntax in ABAP are like normal English statements like

WRITE , DO 5 TIMES.... etc.

so, anybody, even those who don't have much knowledge on ABAP can understand it easily.

Hope ur doubt is clear.

Reward points if it is useful.

Regards,

Neha Bansal.

Message was edited by:

Neha Bansal