Professional Documents
Culture Documents
htm)
Why ALE?
ALE is a business solution to a very real need emerging in the SAP market.
This is the need for businesses to move towards tighter integration
between systems, yet, at the same time, provide independence to the various
business units within the company.
technical bottlenecks,
upgrade problems,
the effect of time zones on international corporations,
excessively long response times in large centralized systems.
ALE also provides you with tools that allow you to:
manage the ALE process seamlessly. These tools include the reprocessing
of communication errors, business process and technical error handling
and routing via workflow, archiving of data
keep audit trails of all the ALE communication
configure the ALE solution in many different ways in order to tailor make
a solution for the user
In SAP's words:
"The ALE (Application Link Enabling) concept available in R/3 Release 3.0 supports the
construction and operation of distributed applications. It incorporates the controlled exchange of
business data messages whilst ensuring data consistency across loosely coupled SAP
applications. The integration of various applications is achieved by using synchronous and
asynchronous communication, rather than by means of a central database.
ALE comprises three layers:
In order both to meet the requirements of today's customers and to be open for future
developments, ALE must meet the following challenges:
A Summary
ALE allows the user to perform an SAP transaction in the sending system,
after-which the following steps occur:
In the case of master data distribution the same transaction that was
performed on the sending system is again performed on the receiving
system with the data contained in the IDoc. This allows the data to go
through the SAP checks before posting occurs
In the case of transaction scenarios the relevant data is passed to the
respective transactions in order to load the required application
document. Eg. A PO is loaded on the sending side, yet a SO is created on
the receiving system
Master data has another difference:
It can be set up in such a way that any changes made to specific fields
in master data tables can automatically trigger off the ALE distribution
process for that particular master data object
If a master data object is created or changed on a sending system and
distributed to another system the respective transaction is used to
either create or change that respective master data object on the
receiving system
In general, if standard SAP can't perform the task required then neither
can ALE. It doesn't add functionality, it merely decouples it and allows you
to distribute it onto other remote systems.
Outbound processing
Receiver determination
The ALE layer can find out from the model whether any distributed systems
should receive the message and, if so, then how many. The result may be
that one, several or no receivers at all are found.
Segment filtering
Field conversion
General rules can be specified for field conversions; these are important for
converting data fields to exchange information between R/2 and R/3
Systems. For example, the field "plant" can be converted from a 2-character
field to a 4-character field.
Version change
SAP ensures that ALE functions between different R/3 System releases. By
changing the IDoc format you can convert message types of different R/3
releases. SAP Development use the following rules when converting existing
message types:
The resulting IDocs (it is possible that several IDocs could be created in the
receiver determination) are referred to as communication IDocs and are
stored in the database. The dispatch control then decides which of these
IDocs should be sent immediately. These are passed to the communications
layer and are sent either using the transactional Remote Function Call (RFC)
or via file interfaces (e.g. for EDI).
If an error occurs in the ALE layer, the IDoc containing the error is stored
and a workflow is created. The ALE administrator can use this workflow to
process the error.
Inbound processing
After an IDoc has been successfully transmitted to another system, inbound
processing is carried out in the receiver system, involving the following steps
in the ALE layer:
Segment filtering
Field conversion
The conversion itself is performed using general conversion tools from the
EIS area (Executive Information System).
One set of rules is created for each IDoc segment and rules are defined for
each segment field.
The rules for converting data fields from an R/2-specific format to an R/3
format can be defined in this way. An example of this R/2 - R/3 conversion
is the conversion of the plant field from a 2 character field to a 4 character
field.
Data transfer to the application
Input control
When the IDocs have been written to the database, they can be imported by
the receiver application.
The standard inbound processing setting is that ALE calls a function module
directly. For information about SAP Business Workflow alternatives refer to
the online help for ALE programming.
Obtain sign off for the agreed scope of the ALE implementation project.
To do this, the ALE team needs to perform the following steps in the
development environment:
Other considerations
ALE migration to production strategy and timing.
Configuration
[ Up ] [ ALE Project Strategy ] [ Design ] [ Configuration ] [ Development ]
[ Operations ]
Home
Config Detail
The following steps need to be noted when configuring your ALE solution:
1. Confirm business requirements - Before commencing configuration
ensure that you have the detail of the business requirements for the
whole scope of the implementation.
2. Configure the ALE basis portion to enable ALE in the development
environment. This involves the following steps:
Listings / classes;
Object types / Workflow tasks;
Conversion rules;
Filters & Segment filters;
Change pointers / Fields activating change pointers;
Serialization;
Partner profiles: Immediate Vs Background;
Background job definition and scheduling;
Control data required to be in synch; and
...
4. QA & testing: Demonstrate / workshop this solution with the
business. Document and draw up functional specifications (done by the
business) of any extensions to existing scenarios or additional
scenarios required.
5. Sign-off each client configuration with the business owners.
Additional considerations
Development
[ Up ] [ ALE Project Strategy ] [ Design ] [ Configuration ] [ Development ]
[ Operations ]
Home
OUTBOUND
Create Segments and IDoc type;
Create Message Type and link to IDoc type;
Populate IDoc using message control \ user exit or program (ABAP);
Distribute IDoc using MASTER_IDOC_DISTRIBUTE;
Create object type if required; and
Define CDM with message type and filter object. Distribute model.
Generate outbound partner profiles;
INBOUND
Write inbound function module (FM) to process inbound IDoc (ABAP);
Create process code and link to FM;
Generate inbound partner profiles; and
Link object type to FM for error handling.
Operations
[ Up ] [ ALE Project Strategy ] [ Design ] [ Configuration ] [ Development ]
[ Operations ]
Home
" The operations support area needs to be well skilled in order to handle
the support requirements when going live. The initial period during go live
may be intense, requiring twice or three times the amount of normal
support. This intense support requirement will dwindle a couple of months
after go live..."
Various areas, pertaining to the Operations / Production environment need
to be addressed BEFORE you go live: