SAP ABAP Class IF_DEMO_CR_CAR_RENTL_SERVICE (Interface for Car Rentals)
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  CL_DEMO_CR_CAR_RENTAL_SERVICE Car Rental Service Class 20080918
Properties
Class IF_DEMO_CR_CAR_RENTL_SERVICE  
Short Description Interface for Car Rentals    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package      
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 IF_DEMO_CR_CAR_RENTL_SERVICE has no interface implemented.
Friends
Class IF_DEMO_CR_CAR_RENTL_SERVICE has no friend class.
Attributes
Class IF_DEMO_CR_CAR_RENTL_SERVICE has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_CUSTOMER Instance method Public Method Create Customer 20080918
2 GET_CARS_BY_CATEGORY Instance method Public Method Get Rental Cars by Category 20080918
3 GET_CUSTOMERS_BY_NAME Instance method Public Method Get customers by name 20080918
4 GET_CUSTOMER_BY_ID Instance method Public Method Get Customer by ID 20080918
5 GET_RESERVATIONS_BY_CUST_ID Instance method Public Method Get Reservation by Customer ID 20080918
6 MAKE_RESERVATION Instance method Public Method Create Reservation 20080918
Events
Class IF_DEMO_CR_CAR_RENTL_SERVICE has no event.
Types
Class IF_DEMO_CR_CAR_RENTL_SERVICE has no local type.
Method Signatures

Method CREATE_CUSTOMER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CUSTOMER Call by reference Type reference (TYPE) DEMO_CR_CUSTOMER_NAME Customer Name 20080918
2 Returning R_CUSTOMER_ID Value transfer Type reference (TYPE) DEMO_CR_CUSTOMER_ID 20090514
# Exception Resumable Description Created on
1 CX_DEMO_CR_CUSTOMER 20080918

Method GET_CARS_BY_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CATEGORY Call by reference Type reference (TYPE) DEMO_CR_CATEGORY car category 20080918
2 Returning R_CARS Value transfer Type reference (TYPE) DEMO_CR_CARS_TT Table Type for Cars 20080918

Method GET_CARS_BY_CATEGORY on class IF_DEMO_CR_CAR_RENTL_SERVICE has no exception.

Method GET_CUSTOMERS_BY_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CUSTOMER_NAME Call by reference Type reference (TYPE) DEMO_CR_CUSTOMER_NAME Customer Name 20080918
2 Returning R_CUSTOMERS Value transfer Type reference (TYPE) DEMO_CR_CUSTOMERS_TT Table Type for Customers 20080918

Method GET_CUSTOMERS_BY_NAME on class IF_DEMO_CR_CAR_RENTL_SERVICE has no exception.

Method GET_CUSTOMER_BY_ID 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 Customer Id 20080918
2 Returning R_CUSTOMER Value transfer Type reference (TYPE) DEMO_CR_SCUSTOMER customer structure 20080918

Method GET_CUSTOMER_BY_ID on class IF_DEMO_CR_CAR_RENTL_SERVICE has no exception.

Method GET_RESERVATIONS_BY_CUST_ID 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 Customer Id 20080918
2 Returning R_RESERVATIONS Value transfer Type reference (TYPE) DEMO_CR_RESERVATIONS_TT Reservation Table 20080918

Method GET_RESERVATIONS_BY_CUST_ID on class IF_DEMO_CR_CAR_RENTL_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_CATEGORY Call by reference Type reference (TYPE) DEMO_CR_CATEGORY car category 20080918
2 Importing I_CUSTOMER_ID Call by reference Type reference (TYPE) DEMO_CR_CUSTOMER_ID Customer Id 20080918
3 Importing I_DATE_FROM Call by reference Type reference (TYPE) DEMO_CR_DATE_FROM Start Date 20080918
4 Importing I_DATE_TO Call by reference Type reference (TYPE) DEMO_CR_DATE_TO End Date 20080918
5 Returning R_RESERVATION_ID Value transfer Type reference (TYPE) DEMO_CR_RESERVATION_ID 20090514
# Exception Resumable Description Created on
1 CX_DEMO_CR_LOCK 20080918
2 CX_DEMO_CR_NO_CUSTOMER 20080918
3 CX_DEMO_CR_RESERVATION 20080918
History
Last changed by/on SAP  20110908 
SAP Release Created in