Vous êtes sur la page 1sur 3

TheBestRunBusinessesRunSAP

TechnologyPlatform

SAPProcessIntegration

SAPProcessIntegration

7.1

FlightModel
Theflightmodelisthebasisofalltheexamplesinthisdocumentation.Allthetablesmentionedin
theexamplesexistinyoursystem,soyoucanreproducetheexamplesdirectlyinthesystem.
TheflightmodelisbasedondatamodelBC_TRAVEL,whichyoucanlookatinyoursystemusing
the DataModeler .

ProcedureforDisplayingtheFlightModel
1.OntheinitialscreenoftheABAPWorkbench,chooseRepositoryInformationSystem.
2.Openthefollowingnodes: RepositoryInformationSystem BusinessEngineering Data
Modeling .
3.Doubleclickon DataModels .
Ascreenforsearchingdatamodelsappears.
4.Inthe DataModel field,enterBC_TRAVELandchoose withthequickinfotext Execute .
5.Selecttheflightmodelandchoose withthequickinfotext Display .
6.Todisplaythedatamodelasagraphic,choose Utilities Graphic .
YoucanfindfurtherinformationaboutdatamodelingandusingtheDataModelerinthe
documentationontheDataModeler.

FlightModel(SimplifiedRepresentation)

Theflightmodelgivesasimpledescriptionofseatbookingsinpassengerairplanesbyflight
customers.Thebookingcanbemadeeitheratthesalesdeskofacarrieroratatravelagency.
Aflightbookingisbasedontheindividualflightconnectionsdescribedintheflightschedule.There
areconcreteflightsforeveryflightconnection.

AssignedTablesintheABAPDictionary
ThereisatableintheABAPDictionarycontainingthedataofthecorrespondingentities(versionsof
theentitytype)foreachentitytype.
Themostimportanttablesoftheflightmodelare:
T000:Clienttable
SCURX:Currencies(key:currencykey)
SBUSPART:Businesspartner(key:client,partnernumber)
STRAVELAG:Travelagencies(key:client,travelagencynumber)
SCUSTOM:Customers(key:client,customernumber)
SCARR:Carriers(key:client,carrierID)
SCOUNTER:Salescounters(key:client,carrierID,salescounternumber)
SPFLI:Flightschedule(key:client,carrierID,connectionnumber)
SFLIGHT:Flights(key:client,carrierID,connectionnumber,dateofflight)
SBOOK:Flightbookings(key:client,carrierID,connectionnumber,dateofflight,booking
number,customernumber)

RelationshipsBetweentheTables
TableSBUSPARTcontainsallthebusinesspartnersofacarrier.Abusinesspartnerisidentifiedby
anumberinthistable.Thedataofthecontactpersonforthebusinesspartnerisalsostored.A

businesspartnercanbeatravelagencyoracustomer(forexample,acompanythatfrequently
booksflightsdirectlywiththecarrier).Differentdataisrequiredforthesetwotypesofbusiness
partner.ThedataforatravelagencyisstoredintableSTRAVELAGandthedataforacustomerin
tableSCUSTOM.ThereisanentrywiththesamekeyineithertableSTRAVELAGortable
SCUSTOMforeachentryintableSBUSPART.
TableSCARRcontainstheIDsandnamesofthecarriers.Eachcarrierhasanumberofconnections.
TheseflightconnectionsarestoredintableSPFLI.TableSFLIGHTcontainstheconcreteflightdata
foreachconnection.BookingscanbemadeforeachflightintableSFLIGHT.Thesystementersthe
bookingsmadeforeachflightintableSBOOK.
Thecarriershavesalescountersintheairports.ThesesalescounterslieintableSCOUNTER.The
customernumberoragencynumberforwhichthebookingwasmadeisstoredintableSBOOKfor
eachbooking.Ifthecustomerbooksaflightdirectlyatacounter,thesystementersthecounter
numberalsointhebookingdataintableSBOOK.

C OPYR I GH T BY SAP SE OR AN SAP AF F I LI AT E C OM PAN Y. ALL R I GH T S R ESER VED .


PR I N T ED F R OM SAP H ELP POR T AL. (ht t p: / / help. s ap. c om )

Vous aimerez peut-être aussi