SAP ABAP Class CL_DEMO_CR_RESERVATION_SERVICE (Class for Reservations)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
     SABAP_DEMOS_CAR_RENTAL_APPL (Package) Application View of the Demo Application
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_DEMO_CR_RESERVATION_CATA Reservation for Category A 20080918
2 Inheritance (c INHERITING FROM c_ref)  CL_DEMO_CR_RESERVATION_CATB Reservation for Category B 20080918
3 Inheritance (c INHERITING FROM c_ref)  CL_DEMO_CR_RESERVATION_CATC Reservation for Category C 20080918
Properties
Class CL_DEMO_CR_RESERVATION_SERVICE  
Short Description Class for Reservations    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SABAP_DEMOS_CAR_RENTAL_APPL   Application View of the Demo Application 
Created 20080918   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_DEMO_CR_RESERVATION_SERVICE has no interface implemented.
Friends
Class CL_DEMO_CR_RESERVATION_SERVICE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BASIS_RATE Constant Protected Type reference (TYPE) DEMO_CR_BASIS_RATE 20 Basic Rate 20080918
2 CAR_TAB Instance attribute Protected Type reference (TYPE) DEMO_CR_CARS_TT Rental Car Table 20080918
Methods
# Method Level Visibility Method type Description Created on
1 COMPUTE_PRICE Instance method Protected Method Calculate Price 20080918
2 MAKE_RESERVATION Instance method Public Method Carry Out Reservation 20090514
Events
Class CL_DEMO_CR_RESERVATION_SERVICE has no event.
Types
Class CL_DEMO_CR_RESERVATION_SERVICE has no local type.
Method Signatures

Method COMPUTE_PRICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATE_FROM Call by reference Type reference (TYPE) DEMO_CR_DATE_FROM End Date 20080918
2 Importing I_DATE_TO Call by reference Type reference (TYPE) DEMO_CR_DATE_TO End Date 20080918
3 Returning R_PRICE Value transfer Type reference (TYPE) DEMO_CR_PRICE PRICE of car rental 20080918

Method COMPUTE_PRICE on class CL_DEMO_CR_RESERVATION_SERVICE has no exception.

Method MAKE_RESERVATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CUSTOMER_ID Call by reference Type reference (TYPE) DEMO_CR_CUSTOMER_ID 20090514
2 Importing I_DATE_FROM Call by reference Type reference (TYPE) DEMO_CR_DATE_FROM 20090514
3 Importing I_DATE_TO Call by reference Type reference (TYPE) DEMO_CR_DATE_TO 20090514
4 Returning R_RESERVATION_ID Value transfer Type reference (TYPE) DEMO_CR_RESERVATION_ID 20090514
# Exception Resumable Description Created on
1 CX_DEMO_CR_LOCK 20090514
2 CX_DEMO_CR_NO_CUSTOMER 20090514
3 CX_DEMO_CR_RESERVATION 20090514
History
Last changed by/on SAP  20110908 
SAP Release Created in 712