SAP ABAP Class CL_FDT_SFW (Switch Framework related functionality)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷
SFDT_CORE (Package) BRFplus: Core
⤷
⤷
Properties
| Class | CL_FDT_SFW | |
| Short Description | Switch Framework related functionality | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SFDT_CORE | BRFplus: Core |
| Created | 20110913 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 5 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_FDT_SFW has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_FDT_GTC_SFW | 20111208 | BRFplus unit tests for Switch Framework (SFW) |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SFW_SWITCHPOS | 'E' | error | 20111207 | ||
| 2 | Constant | Public | Type reference (TYPE) | SFW_SWITCHPOS | '' | no switch | 20111207 | ||
| 3 | Constant | Public | Type reference (TYPE) | SFW_SWITCHPOS | 'F' | off | 20111207 | ||
| 4 | Constant | Public | Type reference (TYPE) | SFW_SWITCHPOS | 'T' | on | 20111207 | ||
| 5 | Constant | Public | Type reference (TYPE) | SFW_SWITCHPOS | 'S' | stand-by | 20111207 | ||
| 6 | Static Attribute | Private | Type reference (TYPE) | TH_OBJECT_INFO_BUFFER | Object info buffer | 20110919 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | TH_SWITCH_INFO_BUFFER | Switch info buffer | 20110919 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | CL_FDT_TYPEDESCR=>TS_CONN_BUFFER | Connection buffer | 20120529 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | T_OBJECT_PREFETCH_REQUEST | Collect object info requests | 20111202 | |||
| 10 | Static Attribute | Private | Type reference (TYPE) | T_SWITCH_PREFETCH_REQUEST | Collect switch info requests | 20111202 |
Methods
Events
Class CL_FDT_SFW has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_OBJECT_INFO_BUFFER | Private | See coding | 20111201 | BEGIN OF s_object_info_buffer,
rfc_destination TYPE rfcdest,
object_type TYPE sfw_switchposition-objecttype,
object_name TYPE sfw_switchposition-objectname,
switch_id TYPE sfw_switchposition-switch_id,
END OF s_object_info_buffer
|
||
| 2 | S_OBJECT_PREFETCH_REQUEST | Private | See coding | 20111202 | BEGIN OF s_object_prefetch_request,
rfc_destination TYPE rfcdest,
object_type TYPE cl_fdt_sfw_services=>s_object_switch_info-object_type,
object_name TYPE cl_fdt_sfw_services=>s_object_switch_info-object_name,
END OF s_object_prefetch_request
|
||
| 3 | S_SWITCH_INFO | Public | See coding | 20111201 | BEGIN OF s_switch_info,
id TYPE fdt_s_sfw_switch_info-switch_id,
state TYPE fdt_s_sfw_switch_info-switch_state,
text TYPE fdt_s_sfw_switch_info-switch_text,
END OF s_switch_info
|
||
| 4 | S_SWITCH_INFO_BUFFER | Private | See coding | 20111201 | BEGIN OF s_switch_info_buffer,
rfc_destination TYPE rfcdest.
INCLUDE TYPE s_switch_info.
TYPES:
END OF s_switch_info_buffer
|
||
| 5 | S_SWITCH_PREFETCH_REQUEST | Private | See coding | 20111202 | BEGIN OF s_switch_prefetch_request,
rfc_destination TYPE rfcdest,
switch_id TYPE sfw_switch_id,
END OF s_switch_prefetch_request
|
||
| 6 | TH_OBJECT_INFO_BUFFER | Private | See coding | 20111201 | th_object_info_buffer TYPE HASHED TABLE OF s_object_info_buffer WITH UNIQUE KEY rfc_destination object_type object_name
|
||
| 7 | TH_SWITCH_INFO_BUFFER | Private | See coding | 20111201 | th_switch_info_buffer TYPE HASHED TABLE OF s_switch_info_buffer WITH UNIQUE KEY rfc_destination id
|
||
| 8 | T_OBJECT_PREFETCH_REQUEST | Private | See coding | 20111202 | t_object_prefetch_request TYPE STANDARD TABLE OF s_object_prefetch_request WITH NON-UNIQUE SORTED KEY rfc_dest COMPONENTS rfc_destination
|
||
| 9 | T_SWITCH_PREFETCH_REQUEST | Private | See coding | 20111202 | t_switch_prefetch_request TYPE STANDARD TABLE OF s_switch_prefetch_request WITH NON-UNIQUE SORTED KEY rfc_dest COMPONENTS rfc_destination
|
Method Signatures
Method ADD_OBJECT_PREFETCH_REQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT_NAME | Call by reference | Type reference (TYPE) | CL_FDT_SFW_SERVICES=>S_OBJECT_SWITCH_INFO-OBJECT_NAME | Object Name in Object Directory | 20111202 | |||
| 2 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CL_FDT_SFW_SERVICES=>S_OBJECT_SWITCH_INFO-OBJECT_TYPE | Object Type | 20111202 | |||
| 3 | IV_RFC_DESTINATION | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20111202 |
Method ADD_OBJECT_PREFETCH_REQUEST on class CL_FDT_SFW has no exception.
Method ADD_SWITCH_PREFETCH_REQUEST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_RFC_DESTINATION | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20111202 | |||
| 2 | IV_SWITCH_ID | Call by reference | Type reference (TYPE) | S_SWITCH_INFO-ID | 20111202 |
Method ADD_SWITCH_PREFETCH_REQUEST on class CL_FDT_SFW has no exception.
Method CLEAR_BUFFERS Signature
Method CLEAR_BUFFERS on class CL_FDT_SFW has no parameter.
Method CLEAR_BUFFERS on class CL_FDT_SFW has no exception.
Method GET_OBJECT_INFO_BUF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_SWITCH_INFO | Call by reference | Type reference (TYPE) | S_SWITCH_INFO | Short Text for Switch | 20111202 | |||
| 2 | EV_NOT_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | TRUE: No entry found in buffer | 20111202 | |||
| 3 | IV_OBJECT_NAME | Call by reference | Type reference (TYPE) | S_OBJECT_INFO_BUFFER-OBJECT_NAME | Object Name in Object Directory | 20111202 | |||
| 4 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | S_OBJECT_INFO_BUFFER-OBJECT_TYPE | Object Type | 20111202 | |||
| 5 | IV_RFC_DESTINATION | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20111202 |
Method GET_OBJECT_INFO_BUF on class CL_FDT_SFW has no exception.
Method GET_RFC_DESTINATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20110919 | |||
| 2 | RV_RFC_DESTINATION | Value transfer | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20110919 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Invalid Input | 20110919 |
Method GET_SWITCH_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_SWITCH_STATE | Call by reference | Type reference (TYPE) | S_SWITCH_INFO-STATE | Switch Position | 20111125 | |||
| 2 | EV_SWITCH_TEXT | Call by reference | Type reference (TYPE) | S_SWITCH_INFO-TEXT | Short Text for Switch | 20111125 | |||
| 3 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | ID to retrieve RFC destination | 20111125 | |||
| 4 | IV_SWITCH_ID | Call by reference | Type reference (TYPE) | S_SWITCH_INFO-ID | Id of a Switch in Switch Framework | 20111125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Invalid Input | 20121121 |
Method GET_SWITCH_INFO_BUF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NOT_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | TRUE: No entry found in buffer | 20110922 | |||
| 2 | EV_SWITCH_STATE | Call by reference | Type reference (TYPE) | S_SWITCH_INFO-STATE | Switch Position | 20110922 | |||
| 3 | EV_SWITCH_TEXT | Call by reference | Type reference (TYPE) | S_SWITCH_INFO-TEXT | Short Text for Switch | 20110922 | |||
| 4 | IV_RFC_DESTINATION | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20110922 | |||
| 5 | IV_SWITCH_ID | Call by reference | Type reference (TYPE) | S_SWITCH_INFO-ID | Id of a Switch in Switch Framework | 20110922 |
Method GET_SWITCH_INFO_BUF on class CL_FDT_SFW has no exception.
Method GET_SWITCH_INFO_FOR_DDIC_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_SWITCH_INFO | Call by reference | Type reference (TYPE) | S_SWITCH_INFO | 20111201 | ||||
| 2 | IV_DATA_OBJECT_TYPE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>DATA_OBJECT_TYPE | Data Object Type | 20111201 | |||
| 3 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | ID to retrieve RFC destination | 20111201 | |||
| 4 | IV_TYPENAME | Call by reference | Type reference (TYPE) | IF_FDT_DATA_OBJECT=>TYPENAME | DDIC typename | 20111201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Invalid Input | 20121121 |
Method GET_SWITCH_INFO_FOR_DOBJ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_SWITCH_INFO | Call by reference | Type reference (TYPE) | S_SWITCH_INFO | Id of a Switch in Switch Framework | 20111201 | |||
| 2 | IO_DATA_OBJECT | Call by reference | Object reference (TYPE REF TO) | IF_FDT_DATA_OBJECT | FDT: Data Object | 20111201 | |||
| 3 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20111201 | |||
| 4 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Time Stamp (active version, UTC) | 20111201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Abstract Exception Class | 20111201 |
Method GET_SWITCH_INFO_FOR_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_SWITCH_INFO | Call by reference | Type reference (TYPE) | S_SWITCH_INFO | 20111201 | ||||
| 2 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | ID to retrieve RFC destination | 20110919 | |||
| 3 | IV_OBJECT_NAME | Call by reference | Type reference (TYPE) | CL_FDT_SFW_SERVICES=>S_OBJECT_SWITCH_INFO-OBJECT_NAME | Object Name in Object Directory | 20110919 | |||
| 4 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CL_FDT_SFW_SERVICES=>S_OBJECT_SWITCH_INFO-OBJECT_TYPE | Object Type | 20110919 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Invalid Input | 20121121 |
Method PREFETCH_OBJECT_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | ID to get RFC destination | 20111202 | |||
| 2 | IV_OBJECT_NAME | Call by reference | Type reference (TYPE) | FDT_S_SFW_OBJECT_INFO-OBJECT_NAME | Object Name in Object Directory | 20111202 | |||
| 3 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | FDT_S_SFW_OBJECT_INFO-OBJECT_TYPE | Object Type | 20111202 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Invalid Input | 20121121 |
Method PREFETCH_SWITCH_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | ID to get RFC destination | 20111202 | |||
| 2 | IV_SWITCH_ID | Call by reference | Type reference (TYPE) | S_SWITCH_INFO-ID | Id of a Switch in Switch Framework | 20111202 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Invalid Input | 20121121 |
Method SET_OBJECT_INFO_BUF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_OBJECT_SWITCH_INFO | Call by reference | Type reference (TYPE) | CL_FDT_SFW_SERVICES=>S_OBJECT_SWITCH_INFO | 20111202 | ||||
| 2 | IV_RFC_DESTINATION | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20111202 |
Method SET_OBJECT_INFO_BUF on class CL_FDT_SFW has no exception.
Method SET_SWITCH_INFO_BUF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_RFC_DESTINATION | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20111202 | |||
| 2 | IV_SWITCH_ID | Call by reference | Type reference (TYPE) | S_SWITCH_INFO-ID | Switch ID | 20111202 | |||
| 3 | IV_SWITCH_STATE | Call by reference | Type reference (TYPE) | S_SWITCH_INFO-STATE | Switch state | 20111202 | |||
| 4 | IV_SWITCH_TEXT | Call by reference | Type reference (TYPE) | S_SWITCH_INFO-TEXT | Switch text | 20111202 |
Method SET_SWITCH_INFO_BUF on class CL_FDT_SFW has no exception.
Method UPDATE_OBJECT_INFO_BUF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_RFC_DESTINATION | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20111202 |
Method UPDATE_OBJECT_INFO_BUF on class CL_FDT_SFW has no exception.
Method UPDATE_SWITCH_INFO_BUF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_RFC_DESTINATION | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20110922 |
Method UPDATE_SWITCH_INFO_BUF on class CL_FDT_SFW has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 732 |