SAP ABAP Class CL_FPM_DEMO_SCENARIO_DB_CLASS (Class for Database interaction for Demo Scenario)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-CMP-FPM (Application Component) Floorplan Manager Web Dynpro ABAP
     APB_FPM_DEMO_SCENARIO (Package) Floorplan Manager: Demo Scenario
Properties
Class CL_FPM_DEMO_SCENARIO_DB_CLASS  
Short Description Class for Database interaction for Demo Scenario    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package APB_FPM_DEMO_SCENARIO   Floorplan Manager: Demo Scenario 
Created 20081127   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_FPM_DEMO_SCENARIO_DB_CLASS has no forward declaration.
Interfaces
Class CL_FPM_DEMO_SCENARIO_DB_CLASS has no interface implemented.
Friends
Class CL_FPM_DEMO_SCENARIO_DB_CLASS has no friend class.
Attributes
Class CL_FPM_DEMO_SCENARIO_DB_CLASS has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 ADD_DROPDOWN_VALUES Static method Public Method Add the fixed values to dropdown lists 20081127
2 CREATE_BOOKING_RECORD Static method Public Method Create a booking record in the SBOOK table 20081215
3 CREATE_EMPLOYEE_RECORD Static method Public Method Create a new Employee Record 20081201
4 CREATE_FLIGHT_REQUEST Static method Public Method Creates a new Flight Trip Request 20081202
5 CREATE_FLIGHT_TRIP_OFFER Static method Public Method Create a flight trip offer record in the database 20090217
6 GENERATE_FLIGHT_DATA Static method Private Method Generates databse records in SPFLI and SFLIGHT tables 20081216
7 GET_EMPLOYEE_DETAILS Static method Public Method Get employee details 20081127
8 GET_FLIGHT_CONN_LIST Static method Public Method Returns the list of outbound flights for the given criteria. 20090108
9 GET_FLIGHT_DETAILS Static method Public Method Gets the detailed information about a flight 20081215
10 GET_FLIGHT_TRIP_DETAILS Static method Public Method Get the flight trip details for any status 20090210
11 GET_TRIP_DETAILS Static method Public Method Returns the trip details for the given trip id. 20090129
12 SAVE_EMPLOYEE_RECORD Static method Private Method Saves a new / updated Employee Record 20081201
13 SAVE_FLIGHT_BOOKING Static method Private Method Saves the flight details and updates Flight Trip Offer 20081215
14 UPDATE_TRIP_REQUEST_RECORD Static method Public Method Update the status of the FPM_DEMO_TRIP table after booking 20090128
Events
Class CL_FPM_DEMO_SCENARIO_DB_CLASS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_SEARCH_CTRITERION Public See coding 20090218 BEGIN OF gty_search_ctriterion, fdated TYPE fpm_dated, fdatea TYPE fpm_datea, cityfr TYPE s_from_cit, cityto TYPE s_to_city, END OF gty_search_ctriterion
2 GT_FPM_DEMO_TRIP Public See coding Table type for FPM_DEMO_TRIP table 20081210 gt_fpm_demo_trip TYPE STANDARD TABLE OF fpm_demo_trip
Method Signatures

Method ADD_DROPDOWN_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_FIELD_DESCRIPTION Call by reference Type reference (TYPE) FPMGB_S_FORMFIELD_DESCR GUIBB Form Field Description 20081127
2 Importing IT_SELOPT Call by reference Type reference (TYPE) STANDARD TABLE 20081128

Method ADD_DROPDOWN_VALUES on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.

Method CREATE_BOOKING_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) FPM_T_T100_MESSAGES Messages exported to be shown in pop-up 20081215
2 Exporting EV_BOOKID Call by reference Type reference (TYPE) S_BOOK_ID Booking number 20081215
3 Exporting EV_RESULT Call by reference Type reference (TYPE) FPM_EVENT_RESULT Result of processing of a specific FPM event 20081215
4 Importing IS_SBOOK Call by reference Type reference (TYPE) SBOOK Single Flight Booking 20081215

Method CREATE_BOOKING_RECORD on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.

Method CREATE_EMPLOYEE_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ID Call by reference Type reference (TYPE) S_CUSTOMER Employee number 20081201
2 Exporting EV_RESULT Call by reference Type reference (TYPE) FPM_MESSAGE_SEVERITY Severity of messages reported in FPM 20081202
3 Importing IS_SCUSTOM Call by reference Type reference (TYPE) SCUSTOM Customer name 20081201
4 Importing IV_NEW_EMPLOYEE Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20081201

Method CREATE_EMPLOYEE_RECORD on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.

Method CREATE_FLIGHT_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RESULT Call by reference Type reference (TYPE) FPM_MESSAGE_SEVERITY Severity of messages reported in FPM 20081202
2 Exporting EV_TRIPID Call by reference Type reference (TYPE) FPM_TRIPID Flight Trip Request Trip ID 20081202
3 Importing IS_FPM_TRIP Call by reference Type reference (TYPE) FPM_DEMO_TRIP FPM table for Demo Application 20081202

Method CREATE_FLIGHT_REQUEST on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.

Method CREATE_FLIGHT_TRIP_OFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RESULT_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090217
2 Importing IS_ACTUAL_TRIP Call by reference Type reference (TYPE) FPM_DEMO_TRIP FPM table for Demo Application 20090217
3 Importing IS_SEARCH_CRITERION Call by reference Type reference (TYPE) GTY_SEARCH_CTRITERION 20090218
4 Importing IT_TRIP_OUTBOUND Call by reference Type reference (TYPE) FPM_T_FLT_CONN_LIST Table Type: Flight Connection List - Outbound & Return 20090218
5 Importing IT_TRIP_RETURN Call by reference Type reference (TYPE) FPM_T_FLT_CONN_LIST Table Type: Flight Connection List - Outbound & Return 20090218

Method CREATE_FLIGHT_TRIP_OFFER on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.

Method GENERATE_FLIGHT_DATA Signature

Method GENERATE_FLIGHT_DATA on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no parameter.
Method GENERATE_FLIGHT_DATA on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.

Method GET_EMPLOYEE_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_SCUSTOM Call by reference Type reference (TYPE) SCUSTOM Flight customers 20081127
2 Exporting EV_SUBRC Call by reference Type reference (TYPE) SYSUBRC Return Code 20081127
3 Importing IV_EMPID Call by reference Type reference (TYPE) S_CUSTOMER Employee ID 20081127

Method GET_EMPLOYEE_DETAILS on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.

Method GET_FLIGHT_CONN_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FLIGHT_CONN_LIST Call by reference Type reference (TYPE) FPM_T_FLT_CONN_LIST Flight connection list for Outbound and Return flights. 20090108
2 Exporting EV_RESULT_FAILED Call by reference Type reference (TYPE) BOOLE_D Query result 20090213
3 Importing IT_SELOPT_CITYFR Call by reference Type reference (TYPE) RSDSSELOPT_T Table Type of RSDSSELOPT 20090214
4 Importing IT_SELOPT_CITYTO Call by reference Type reference (TYPE) RSDSSELOPT_T Table Type of RSDSSELOPT 20090214
5 Importing IT_SELOPT_DATEA Call by reference Type reference (TYPE) RSDSSELOPT_T Table Type of RSDSSELOPT 20090214
6 Importing IT_SELOPT_DATED Call by reference Type reference (TYPE) RSDSSELOPT_T Table Type of RSDSSELOPT 20090214
7 Importing IV_FLIGHT_TYPE Call by reference Type reference (TYPE) STRING 20090213

Method GET_FLIGHT_CONN_LIST on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.

Method GET_FLIGHT_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_SFLIGHT Call by reference Type reference (TYPE) SFLIGHT Flight 20081215
2 Exporting EV_SUBRC Call by reference Type reference (TYPE) SYSUBRC Result of processing of a specific FPM event 20081215
3 Importing IV_CARRID Call by reference Type reference (TYPE) S_CARR_ID Airline Code 20081215
4 Importing IV_CONNID Call by reference Type reference (TYPE) S_CONN_ID Flight Connection Number 20081215
5 Importing IV_FLDATE Call by reference Type reference (TYPE) S_DATE Flight date 20081215

Method GET_FLIGHT_DETAILS on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.

Method GET_FLIGHT_TRIP_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FPM_DEMO_TRIP Call by reference Type reference (TYPE) FPM_T_FPM_DEMO_TRIP FPM table for Demo Application 20090210
2 Exporting EV_RESULT_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090210
3 Importing IV_EMPLOYEE_ID Call by reference Type reference (TYPE) FPM_EMPLOY Employee ID 20090210
4 Importing IV_FLIGHT_STATUS Call by reference Type reference (TYPE) FPM_STATUS Flight Trip Request Status 20090210

Method GET_FLIGHT_TRIP_DETAILS on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.

Method GET_TRIP_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_FLIGHT_DETAILS Call by reference Type reference (TYPE) FPM_S_TRIP_DETAILS Flight Trip Details 20090211
2 Exporting EV_RESULT_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090211
3 Importing IS_TRIP_INFO Call by reference Type reference (TYPE) FPM_DEMO_TRIP FPM table for Demo Application 20090211

Method GET_TRIP_DETAILS on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.

Method SAVE_EMPLOYEE_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RESULT Call by reference Type reference (TYPE) FPM_MESSAGE_SEVERITY Severity of messages reported in FPM 20081202
2 Importing IS_SBUSPART Call by reference Type reference (TYPE) SBUSPART Airline Partner 20081203
3 Importing IS_SCUSTOM Call by reference Type reference (TYPE) SCUSTOM Flight customers 20081203

Method SAVE_EMPLOYEE_RECORD on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.

Method SAVE_FLIGHT_BOOKING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_SUBRC Call by reference Type reference (TYPE) SYSUBRC Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090127
2 Importing IS_SBOOK Call by reference Type reference (TYPE) SBOOK Single Flight Booking 20081215

Method SAVE_FLIGHT_BOOKING on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.

Method UPDATE_TRIP_REQUEST_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_RESULT_FAILED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090129

Method UPDATE_TRIP_REQUEST_RECORD on class CL_FPM_DEMO_SCENARIO_DB_CLASS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 720