Beruflich Dokumente
Kultur Dokumente
To subscribe to ERPtips, go to
www.ERPtips.com/Subscribe.asp.
ABAP Programming In BW
With all the talk about NetWeaver and SAP® Java Connector and other hot tools, you'd think
ABAP was a thing of the past. But not so, as BW expert Pat Pesa can attest. In this excellent “best of” ar
ABAP Programming In BW
By Arthur "Pat" Pesa, arthurpesa, inc.
Editor's Note: With all the talk mine the what’s, where’s and targets. Therefore, we will need to
about NetWeaver and SAP® Java how’s of ABAP programming in be specifically aware of how we
Connector and other hot tools, BW. These "tips" on ABAP and proceed with our data or record
you'd think ABAP was a thing of BW are written with BW version updates and where we decide to
the past. But not so, as BW 3.0 and R/3 4.6C in mind, but place ABAP programming that
expert Pat Pesa can attest. In most of them will apply to any will manage these updates. Hav-
this excellent "best of" article, versions of R/3 from 4.x and up, ing said that, we can now exam-
Pat shares the most valuable and any versions of BW from 2.0 ine what possibilities exist for
ABAP techniques he has used on and up. using ABAP to customize our BW
BW projects. He starts by environment.
addressing the key questions:
What are the uses of ABAP in What Can We Do With
BW? How is programming in In order to ABAP in BW?
BW different than programming As with anything, in SAP the
in R/3? What ABAP tools are understand how words and phrase "ABAP pro-
available in BW? Then, Pat digs gramming" routinely surface as
into some technical examples of topics and questions during
ABAP-BW in action. This arti- ABAP is used in BW, implementation. However,
cle provides technical managers between SAP R/3 and BW, there
with a handy overview of Pat's we should have a are distinct differences between
February/March 2004 Volume II Issue 1
correct business processes within areas without impacting other will NOT be doing on a general
BW. During the design and blue- functionality. Our examples for basis in BW is building screens
print stage, a core functional this article will include R/3 data- and multiple user exits in ABAP
process is the determination of the source modifications and the cre- to gain additional functionality.1
corresponding business logic ation of generic extractors in R/3 This is the distinct difference in
found in R/3 or legacy data sys- for use with BW. BW as it relates to R/3. So if we're
tems and how to accomplish the not using ABAP for user exits and
same logic in BW. Fortunately To get the ball rolling, I would screens, then how will we use
SAP® has provided several struc- like to start off with the following ABAP? In BW, we will use ABAP
tured paths to follow in order to considerations. Remember that in to transform our data as require-
implement this business logic. In SAP BW, most everything is inter- ments dictate, as well as provide
this article, I will lay the ground- connected, and we share a great additional processing during
work from which we can deter- deal of data amongst several data extraction and updates.
1 One thing to note: we are provided with one user exit in SAP R/3 that will enable the management of data being extracted and one user exit in BW that will enable the
management of data being queried.
time to time in order to create the beginning of a BW project in BW, thus gaining a great deal of
what our requirements dictate. revolves around how much ABAP functionality, without writing an
For the purposes of this article, programming will be necessary. array of user exits as found in R/3.
we will assume that the reader Following the construct of a typi-
already has a grounding in these cal R/3-BW integration, one Let’s take a look at where we
basic ABAP concepts, including would assume that all ABAP are able to augment our BW
the ABAP Workbench. would be done by a team of pro- development with ABAP and
grammers and that the BW con- what that may mean to the sys-
Our approach to ABAP develop- sultants would furnish documen- tem performance. Generally,
ment in BW will follow the simple tation around the changes to be when adding code, we can
guidelines found in Figure 1. made. However, in BW, the line assume some type of run time
overhead in the form of process-
• Requirements ing time or memory impact.
However, when programmed in
o Programming actions in the form of pseudo-code or a high level flow of data
SAPtipsJournal