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

Relation between SAP-ABAP and Java-Objects

Former Member
0 Likes
874

Hi friends,

I have some doubts related to Sap Objects.

What is the relation between SAP and Java.

What is the middle ware between these 2 platforms.

And SAP is itself having database then why we are going for Java Objects. What is the necessity for the ABAP Objects.

Please tell me the answer with examples

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
795

hi uma,

you are doubt is interesting. It's very simple but logically very good for knowing 2 programming technologies at a time.

ABAP Objects is an object oriented extension of ABAP programming language with almost all standard OO features: inheritance, polymorphism, encapsulation, etc. First ABAP Objects were unofficially introduced in SAP R/3 4.0 - you could only declare local classes. Since SAP R/3 4.6c ABAP classes became another development object. In 4.7 object oriented exceptions were added.

Comparing with old ABAP language, classes have more strict syntax check. Most of old ambiguous ABAP (thus dangerous) constructs and statements are forbidden in ABAP classes - e.g. implicit internal table workarea, omitted type declaration of a variable, etc. The flavour of OO paradigm implemented in ABAP Objects reminds of Java language.

One of special features of ABAP Objects are events - a kind of Publish & Subscribe technology which allows object instances to communicate.

And also check the below websites.

http://help.sap.com/saphelp_nw70/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm

http://aspalliance.com/1144_Understanding_ABAP_Object

If any issues kindly let me know.

Reward me if it is useful.

7 REPLIES 7
Read only

Former Member
0 Likes
795

I don't think there is any relation between SAP-ABAP and Java -Objects apart from both being some kind of programming languages.

Due to the inherent advantages of the Object Oriented programming, SAP has introduced the OOPS concepts and called it ABAP Objects.

Regards,

Ravi Kanth Talagana

Read only

Former Member
0 Likes
795

Hello,

Please see these: [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/1c6f2e70-0701-0010-c1b8-c9ada8cedd0b]

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25a3df90-0201-0010-10b6-9712397c22fd].

Regards

Read only

Former Member
0 Likes
796

hi uma,

you are doubt is interesting. It's very simple but logically very good for knowing 2 programming technologies at a time.

ABAP Objects is an object oriented extension of ABAP programming language with almost all standard OO features: inheritance, polymorphism, encapsulation, etc. First ABAP Objects were unofficially introduced in SAP R/3 4.0 - you could only declare local classes. Since SAP R/3 4.6c ABAP classes became another development object. In 4.7 object oriented exceptions were added.

Comparing with old ABAP language, classes have more strict syntax check. Most of old ambiguous ABAP (thus dangerous) constructs and statements are forbidden in ABAP classes - e.g. implicit internal table workarea, omitted type declaration of a variable, etc. The flavour of OO paradigm implemented in ABAP Objects reminds of Java language.

One of special features of ABAP Objects are events - a kind of Publish & Subscribe technology which allows object instances to communicate.

And also check the below websites.

http://help.sap.com/saphelp_nw70/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm

http://aspalliance.com/1144_Understanding_ABAP_Object

If any issues kindly let me know.

Reward me if it is useful.

Read only

0 Likes
795

whats happening. you asked a question and you answer yourself and on top of it, requesting for points.

Raja

Read only

Former Member
0 Likes
795

hi,

Both are some kind of programming languages.

Due to the inherent advantages of the Object Oriented programming, SAP has introduced the OOPS concepts and called it ABAP Objects.

ABAP Objects is an object oriented extension of ABAP programming language with almost all standard OO features: inheritance, polymorphism, encapsulation, etc. First ABAP Objects were unofficially introduced in SAP R/3 4.0 - you could only declare local classes. Since SAP R/3 4.6c ABAP classes became another development object. In 4.7 object oriented exceptions were added.

Comparing with old ABAP language, classes have more strict syntax check. Most of old ambiguous ABAP (thus dangerous) constructs and statements are forbidden in ABAP classes - e.g. implicit internal table workarea, omitted type declaration of a variable, etc. The flavour of OO paradigm implemented in ABAP Objects reminds of Java language.

One of special features of ABAP Objects are events - a kind of Publish & Subscribe technology which allows object instances to communicate.

And also u can check the below websites.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/1c6f2e70-0701-0010-c1b8-c9ada8cedd...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25a3df90-0201-0010-10b6-9712397c....

http://help.sap.com/saphelp_nw70/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm

http://aspalliance.com/1144_Understanding_ABAP_Object

Read only

Former Member
0 Likes
795

Hi ,

Sorry for the inconvenience.

Actually i got the answer. But i used same footer and header for storing my answer. That is the mistake i did.

And i won't repeat this again.

Thank you very much for the suggestion.

Read only

0 Likes
795

uma k.

Why did you give "Solved Problem" points to me. I didnt answer your question. Unassing the points from me.

Regards

Raja