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 | Static method | Public | Method | Add the fixed values to dropdown lists | 20081127 | |
| 2 | Static method | Public | Method | Create a booking record in the SBOOK table | 20081215 | |
| 3 | Static method | Public | Method | Create a new Employee Record | 20081201 | |
| 4 | Static method | Public | Method | Creates a new Flight Trip Request | 20081202 | |
| 5 | Static method | Public | Method | Create a flight trip offer record in the database | 20090217 | |
| 6 | Static method | Private | Method | Generates databse records in SPFLI and SFLIGHT tables | 20081216 | |
| 7 | Static method | Public | Method | Get employee details | 20081127 | |
| 8 | Static method | Public | Method | Returns the list of outbound flights for the given criteria. | 20090108 | |
| 9 | Static method | Public | Method | Gets the detailed information about a flight | 20081215 | |
| 10 | Static method | Public | Method | Get the flight trip details for any status | 20090210 | |
| 11 | Static method | Public | Method | Returns the trip details for the given trip id. | 20090129 | |
| 12 | Static method | Private | Method | Saves a new / updated Employee Record | 20081201 | |
| 13 | Static method | Private | Method | Saves the flight details and updates Flight Trip Offer | 20081215 | |
| 14 | 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 | CS_FIELD_DESCRIPTION | Call by reference | Type reference (TYPE) | FPMGB_S_FORMFIELD_DESCR | GUIBB Form Field Description | 20081127 | |||
| 2 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | FPM_T_T100_MESSAGES | Messages exported to be shown in pop-up | 20081215 | |||
| 2 | EV_BOOKID | Call by reference | Type reference (TYPE) | S_BOOK_ID | Booking number | 20081215 | |||
| 3 | EV_RESULT | Call by reference | Type reference (TYPE) | FPM_EVENT_RESULT | Result of processing of a specific FPM event | 20081215 | |||
| 4 | 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 | EV_ID | Call by reference | Type reference (TYPE) | S_CUSTOMER | Employee number | 20081201 | |||
| 2 | EV_RESULT | Call by reference | Type reference (TYPE) | FPM_MESSAGE_SEVERITY | Severity of messages reported in FPM | 20081202 | |||
| 3 | IS_SCUSTOM | Call by reference | Type reference (TYPE) | SCUSTOM | Customer name | 20081201 | |||
| 4 | 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 | EV_RESULT | Call by reference | Type reference (TYPE) | FPM_MESSAGE_SEVERITY | Severity of messages reported in FPM | 20081202 | |||
| 2 | EV_TRIPID | Call by reference | Type reference (TYPE) | FPM_TRIPID | Flight Trip Request Trip ID | 20081202 | |||
| 3 | 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 | EV_RESULT_FAILED | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20090217 | |||
| 2 | IS_ACTUAL_TRIP | Call by reference | Type reference (TYPE) | FPM_DEMO_TRIP | FPM table for Demo Application | 20090217 | |||
| 3 | IS_SEARCH_CRITERION | Call by reference | Type reference (TYPE) | GTY_SEARCH_CTRITERION | 20090218 | ||||
| 4 | IT_TRIP_OUTBOUND | Call by reference | Type reference (TYPE) | FPM_T_FLT_CONN_LIST | Table Type: Flight Connection List - Outbound & Return | 20090218 | |||
| 5 | 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 | ES_SCUSTOM | Call by reference | Type reference (TYPE) | SCUSTOM | Flight customers | 20081127 | |||
| 2 | EV_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Code | 20081127 | |||
| 3 | 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 | 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 | EV_RESULT_FAILED | Call by reference | Type reference (TYPE) | BOOLE_D | Query result | 20090213 | |||
| 3 | IT_SELOPT_CITYFR | Call by reference | Type reference (TYPE) | RSDSSELOPT_T | Table Type of RSDSSELOPT | 20090214 | |||
| 4 | IT_SELOPT_CITYTO | Call by reference | Type reference (TYPE) | RSDSSELOPT_T | Table Type of RSDSSELOPT | 20090214 | |||
| 5 | IT_SELOPT_DATEA | Call by reference | Type reference (TYPE) | RSDSSELOPT_T | Table Type of RSDSSELOPT | 20090214 | |||
| 6 | IT_SELOPT_DATED | Call by reference | Type reference (TYPE) | RSDSSELOPT_T | Table Type of RSDSSELOPT | 20090214 | |||
| 7 | 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 | ES_SFLIGHT | Call by reference | Type reference (TYPE) | SFLIGHT | Flight | 20081215 | |||
| 2 | EV_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Result of processing of a specific FPM event | 20081215 | |||
| 3 | IV_CARRID | Call by reference | Type reference (TYPE) | S_CARR_ID | Airline Code | 20081215 | |||
| 4 | IV_CONNID | Call by reference | Type reference (TYPE) | S_CONN_ID | Flight Connection Number | 20081215 | |||
| 5 | 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 | ET_FPM_DEMO_TRIP | Call by reference | Type reference (TYPE) | FPM_T_FPM_DEMO_TRIP | FPM table for Demo Application | 20090210 | |||
| 2 | EV_RESULT_FAILED | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20090210 | |||
| 3 | IV_EMPLOYEE_ID | Call by reference | Type reference (TYPE) | FPM_EMPLOY | Employee ID | 20090210 | |||
| 4 | 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 | ES_FLIGHT_DETAILS | Call by reference | Type reference (TYPE) | FPM_S_TRIP_DETAILS | Flight Trip Details | 20090211 | |||
| 2 | EV_RESULT_FAILED | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20090211 | |||
| 3 | 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 | EV_RESULT | Call by reference | Type reference (TYPE) | FPM_MESSAGE_SEVERITY | Severity of messages reported in FPM | 20081202 | |||
| 2 | IS_SBUSPART | Call by reference | Type reference (TYPE) | SBUSPART | Airline Partner | 20081203 | |||
| 3 | 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 | EV_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20090127 | |||
| 2 | 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 | 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 |