2007 Feb 13 12:21 PM
Hi Can any one tell me the differences between procedural and object-oriented programming ? give me the links
Thanks and Regards,
Vijaya
2007 Feb 13 12:34 PM
Hi Can any one tell me the differences between procedural and object-oriented programming ? give me the links
Thanks and Regards,
Vijaya
2007 Feb 13 12:34 PM
2007 Feb 13 12:52 PM
With ABAP, you do not have to worry about the various advantages and disadvantages of object-oriented and procedural programming. ABAP allows you to use both. With regard to the syntactical possibilities of the ABAP language, you can choose between procedural and object-oriented programming. However, there a number of important reasons for using object-oriented programming that is, ABAP Objects wherever possible. Even if you do not want use object-oriented programming, using ABAP Objects is still a good idea since it provides some features that procedural programming does not. There are only two purposes for which procedural ABAP is essential:
· Encapsulation of classic screens in function modules.
· When you want to make functions available to other systems, but are not able to make class methods available externally using XI server proxies. In this case, you have to use function modules
http://help.sap.com/saphelp_nw04s/helpdata/en/56/14934259a5c66ae10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers
2007 Feb 13 1:03 PM
2007 Feb 13 1:10 PM
Hi vijaya,
1. In normal R/3 abap development,
object-oriented is not much used. Most of the functionalities
which are in object oriented, are also provided by using non-object oriented.
2. The syntax of object-oriented is little difficult, less easy to understand,
and stricter.
eg. we cannot use header line in object-oriented.
regards,
amit m.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |