SAP Program SAPBC_DATA_GENERATOR_ALE - Flight Data Generator for Distributed Systems (ALE)

Title
Flight Data Generator for Distributed Systems (ALE)
INCLUDE DOC_REPORT_DEMO OBJECT DOKU ID TX
This report ensures that consistent data is available when the flightdata model is used in a distributed environment (ALE).
WARNING: Only use the report if a distributed environment doesactually exist for the flight data model. Otherwise irreparable loss ofdata and inconsistencies may occur.
In a distributed environment, each airline has exactly one originalsystem. (Here, multiple airlines can work in a single system. Travelagency systems, where no airline has an original system, can alsoexist.)
In the original system, all flight bookings (SBOOK) and complete datafor the flights (SFLIGHT) must exist for the airline. In non-originalsystems, no flight bookings must exist for the correspondingairline, and the flights must only exist as a partial copy. The lattermeans that the flights (in SFLIGHT) contain no details aboutavailability and no total cost.
This report generates a consistent dataset by deleting (in theexecuting system) all bookings and some information on all flights forthe airlines that do not reside in original systems.

Prerequisites
- The flight data model is used in a distributed environment (ALE).
- In all the systems involved, the normal flight data generator(SAPBC_DATA_GENERATOR) was executed on the same day. Thisensures that all the systems involved contain identical flight data.
- Wherever possible, no changes should be made to the flight data (suchas additional flight bookings) in the individual systems.
- This report must be executed in all the systems involved.

Features

Selection
In the input template, all the airlines that have their originals inthis system must be specified.
WARNING: If no airline has its original in this system, you mustexplicitly specify the initial value as the permitted single value. Ifno entry is made, this always means there are no selectionrestrictions, and therefore has the same meaning for all airlines.

Output
For all airlines that are not specified, all bookings and some fieldsof all flights are deleted.

Example
Lufthansa (LH) is the only airline that has its original in thissystem. LH is specified in the input template correspondingly.
No changes are made to flights and flight bookings of Lufthansa (fieldCARRID = 'LH').
For all other airlines, all flight bookings (SBOOK) are deleted. Theinformation regarding availability and total costs for all flights arealso deleted (fields SEATSMAX, SEATSOCC, SEATSMAX_B, SEATSOCC_B,SEATSMAX_F, SEATSOCC_F and PAYMENTSUM in SFLIGHT).