‎2008 Jun 20 2:00 PM
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
‎2008 Jun 23 6:55 AM
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.
‎2008 Jun 20 2:07 PM
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
‎2008 Jun 20 2:09 PM
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
‎2008 Jun 23 6:55 AM
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.
‎2008 Jun 23 7:27 AM
whats happening. you asked a question and you answer yourself and on top of it, requesting for points.
Raja
‎2008 Jun 23 7:28 AM
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.
http://help.sap.com/saphelp_nw70/helpdata/en/ce/b518b6513611d194a50000e8353423/content.htm
‎2008 Jun 23 7:39 AM
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.
‎2008 Jun 23 7:56 AM
uma k.
Why did you give "Solved Problem" points to me. I didnt answer your question. Unassing the points from me.
Regards
Raja