Home > Ask the SAP software/management Experts > Application development Questions & Answers > Adopting OO programming in ABAP and Java
Ask The SAP Expert: Questions & Answers
EMAIL THIS

Adopting OO programming in ABAP and Java

Matthew Billingham EXPERT RESPONSE FROM: Matthew Billingham

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 13 December 2006
I have questions about ABAP and Web AS.

  1. Does a company implementing SAP 6.0/ECC 6 have to decide in advance whether it will be coding its business logic and applications in Java or ABAP? Can Web AS process both languages once installed?
  2. If a program is written in OO ABAP as well as in Java for a given business scenario -- using the same OO (UML) structure -- and executed on Web AS, which one will perform better? Why?
  3. Why is it that organizations, in spite of the visible benefits of OO programming, are unwilling to let go of procedural ABAP and adopt OO ABAP? They don't have to convert their existing code but would just need to start using OO concepts for new development. Is it because programs written in ABAP are usually not complex enough to be modeled in OO concepts? Are there many people who know both ABAP and OO concepts?

>
Answer to questions 1 and 2:

Most of the business logic is already written for you. You'll fill the gaps with the most appropriate technology. If you're filling a gap in Logistics on R/3, you'll use ABAP. If it's some portal technology, you'll use Java.

Answer to question 3:

ABAP does not come with a class library anywhere nearly as extensive as Java's. Many ABAP programmers have grave difficulty adopting the OO paradigm, and ABAP is probably one of the worst languages to learn OO. I learned OO through Java and now apply it to ABAP.

Some organizations have allowed programmers to use OO techniques, but in the hands of people who don't really "get it", they've ended up with a mess. It's a lot easier to write REALLY bad code in OO.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Application development
How to implement SAP BADIs
How to correct an SAP ABAP dump with an oversize condition
Creating a function group for an SAP ABAP table maintenance generator
How can I get an ABAP program displaying Excel data to wrap text?
How to read an SAP transaction in an ABAP code
How to create Include programs in the ABAP editor
Defining a structure in a report
Deleting entries from a dynamic table
Is there a 'load of program' option in report generation?
Validating table fields

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SAP White Paper Topics
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts