How to speak SAP's language

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

Topics

SAP, ERP, ABAP/4

ANALYSIS
Whether you're already an SAP consultant, a consultant considering SAP, or an IT pro working in an established SAP company, you'll eventually be faced with choosing SAP application languages. Java is a well-respected leader in SAP development, and its synchronous communications support makes it a serious contender for your application. Both Visual Basic and C++ are also frequently used to develop SAP applications. But the smartest choice may well be SAP's own language, ABAP/4. We'll examine a few of the reasons why ABAP/4 is the best language for your app. The truth about SAP apps SAP veterans know that SAP, as the granddaddy of ERP platforms, comes out of the box with myriad applications built in. Whatever your client company does or plans to do, the SAP salespeople have likely bundled it in. As a result, you'll rarely be called on to develop a SAP app from the ground up. So what, then, will you be working on in the way of new SAP applications? Since unique SAP applications are seldom required, you'll find yourself writing custom programs that are almost invariably based on some application that's already present in the system. This reality is a suitable cornerstone for your thinking about your SAP application work and how to best choose from among your programming options. More about ABAP ABAP stands for Advanced Business Application Programming. The "4" indicates that ABAP is a fourth-generation language, a superfluous designation, given the prevalence of 4GLs these days. But ABAP/4 boasts a combination of features that give it power and flexibility that will surprise programmers accustomed to the most powerful 4GLs. Although other languages may offer similar capabilities, ABAP/4 is designed specifically for SAP functionality -- making it a more efficient tool for SAP development in many cases. Here are some of the more noteworthy ABAP/4 features. ABAP/4 is event-driven The language is structured to accommodate applications that don't simply start and stop or respond to user dialog; ABAP/4 apps are executed by user interaction and by events occurring elsewhere in the system, and they're set up to initiate other downline events and applications in response to user decisions. Whereas other languages require complex programming to achieve this sort of event-oriented execution, ABAP/4 is loaded with conveniences to enable it. ABAP/4 is designed to enable distributed applications SAP systems are, by definition, distributed systems, unifying diverse databases within a company and beyond, integrating applications in your client's company, and creating distributed systems between your client and your client's partner companies. This distribution is enabled by Remote Function Calls (RFCs), function modules that can be called on between systems. RFCs can enable applications involving SAP systems or link an SAP system and a non-SAP system. They communicate with SAP-external applications, establishing a path for extraction of SAP data to non-SAP apps. By making good use of RFCs, you can give your ABAP/4 app tremendous flexibility, whatever its purpose. ABAP/4 facilitates logical databases In most SAP data-retrieval applications -- from report generation to user dialog to downline data flow -- you work with business objects that are essentially data records of mixed type. If you look at your entire application, you are often working not with a single database but with an aggregation of databases. SAP allows easy definition and manipulation of logical databases, providing a convenient way to create data structures that can accommodate these complex requirements. You can simplify database access considerably by using ABAP/4 to create application-internal tables mapped from more static SAP database tables, in essence creating easily manipulated virtual objects that do the work of pulling out data from many locations in SAP. Moreover, you can store your logical database configurations in a repository for later use in other applications. ABAP/4 comes with all the extras Like most popular 4GLs, ABAP/4 comes in a filled-with-frills workbench. The ABAP/4 development environment offers a data modeller and a repository for data models, data and table structures, functions that are reused, and user interface screens. ABAP/4 apps have cross-platform portability. And to accommodate SAP's large international installation base, ABAP/4 supports language-dependent text, allowing you to create programs that will display in the user's language. Conclusion As professionals in a complex marketplace, we all know better than to believe in any one-size-fits-all solution. The fact is, you can find many of these features in the other language options for SAP applications, and in useful combinations. But ABAP/4 is ready-made for many, and probably most, of the apps you might be called upon to create for your SAP client. As always, it's in your best interest to take a close look before digging in. In future articles, we'll share some tricks and shortcuts of SAP application development and demonstrate the use of ABAP/4.
For a weekly round-up of the enterprise IT news, sign up for the Enterpise newsletter. Tell us what you think in the Enterprise Mailroom.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

ramwellian

Your comments would seem pretty naive and immature. Your 'solution' appears to be, "gee, let's all just give in to the hackers and give them...

8 minutes ago by ramwellian on Cloud computing security: no more oxymoron?
BugStalker

"Interesting thought ... If you installed Win7 as a dual boot on a machine that previously only had Linux, and it wrecked your Linux installation,...

27 minutes ago by BugStalker on Windows 7 Declares War on GRUB
whs001

This is an excellent summary of Ubuntu and Mint and the interface differences between them. Most such articles take a very partisan position for...

31 minutes ago by whs001 on A tale of two distros: Ubuntu and Linux Mint
Moley

@ewallace. Not so clear. Anyone can obtain the text, for example from here http://www.ustr.gov/webfm_send/2379. I support ACTA so long as it and...

48 minutes ago by Moley on ACTA: Facts, misconceptions and questions
45283

I think WinRT is fantastic. I just wish it was an option for people that didn't want to go through Microsoft's App Store with its attendant...

4 hours ago by 45283 on Why Windows 8 needs architectural hygiene for WOA
Burn-IT

Nine people? £30m? Who's back pocket is that lot going in? And IF they say it is for new buildings, what about all the ones the government has...

5 hours ago by Burn-IT on Police set to launch three £30m e-crime hubs
ewallace

Just to be clear, nobody knows what is in the text of ACTA, here is a photograph of the text of ACTA http://twitpic.com/8h9iju as submitted to the...

5 hours ago by ewallace on ACTA: Facts, misconceptions and questions
fgvrg56

Unfortunately main issue is that ASUS is refusing to accept that they make some mistake on this version of asus Transformer prime. 1 - GPS sensor...

6 hours ago by fgvrg56 on Asus Eee Pad Transformer Prime Wi-Fi & GPS problems?
Ben Woods

@Marcus A fair question. Just talked with Archos which said it was working on an announcement for next week....

7 hours ago by Ben Woods on Archos confirms G9 Ice Cream Sandwich update schedule
Marcus Karlsson

Any update on this, considering the claimed "first week of February"?

9 hours ago by Marcus Karlsson via Facebook on Archos confirms G9 Ice Cream Sandwich update schedule
apexwm

Bill Goodrich : Just as al_langevin pointed out, with Windows Server 2008 there is no Services for Macintosh anymore. It's gone, not available....

17 hours ago by apexwm on Windows Server 2008 drops the ball for Mac compatibility
txtrainguy

Replying to an old topic that I'm currently facing with my CEO (who is on a Mac). Our servers are primarily Windows Servers, office is about...

23 hours ago by txtrainguy on Windows Server 2008 drops the ball for Mac compatibility
k0tcs3

Sure, that makes perfect sense. Pay wrong-doers money and thank them for breaching your security and pointing out your flaws, that would surely...

24 hours ago by k0tcs3 on US indicts Romanian over NASA climate change hack
Random_Error

I think he's referring specifically to Android apps, as Apple do regulate their App Store, but Google seem to let any old crap onto the Android store!

24 hours ago by Random_Error on RIM: BlackBerry will keep 'garbage' apps out of store
Paul Fezziwig

Keep the crap apps out?! How will they compete with Android and Apple's claim to fame of having so many life changing apps? I wonder if the media...

1 day ago by Paul Fezziwig via Facebook on RIM: BlackBerry will keep 'garbage' apps out of store
Aigars Mahinovs

It has been shown time after time that if there is an author store that sells the songs at even 1$ per song and gives you a high-quality digital...

1 day ago by Aigars Mahinovs via Facebook on Copyright isn't working, says European Commission
awbMaven

""As a result of Butyka's alleged conduct, researchers were unable to use the computers for more than two months while NASA removed the malicious...

1 day ago by awbMaven on US indicts Romanian over NASA climate change hack
subhorup

It simultaneously worries me and uplifts me that a self-proclaimed group of internet activists name themselves after Indian mythical figures....

2 days ago by subhorup on Anonymous activists release PCAnywhere source code
naviathan

It's actually far easier to work anonymously on the internet than you think. With tools like Tor bouncing your traffic around the world before...

2 days ago by naviathan on Anonymous activists release PCAnywhere source code
Agnostic_OS

1000272134 and bluedalmatian with you both there but then I'm still in 10.04 land (and happy with it)

2 days ago by Agnostic_OS on Ten factors that make Ubuntu 11.10 a hit