SAP ABAP Class CL_SALV_CSL_FIELD_PROV_SRV (Service: Service Field Provider)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-WD-CMP-ALV-ABA (Application Component) Web Dynpro ALV for ABAP
⤷
SALV_CSL (Package) Service Framework
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SALV_CSL_DP_BASE | Service: Data Provider | 20090427 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SALV_CSL_DATA_ACCESSOR | Facade of data provider for data container | 20090427 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SALV_CSL_SRV_EVENT_LISTENER | Service: event listener base interface | 20090427 |
| 4 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SALV_CSL_SRV_FIELD_PROVIDER | Field Provider Service | 20090506 |
| 5 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SALV_CSL_SRV_REFRESH_LISTNR | Refresh listener: Processes refresh event | 20090427 |
| 6 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SALV_CSL_SRV_SORT | Service: sort service provider | 20090427 |
Properties
| Class | CL_SALV_CSL_FIELD_PROV_SRV | |
| Short Description | Service: Service Field Provider | |
| Super Class | CL_SALV_CSL_DP_BASE | Service: Data Provider |
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SALV_CSL | Service Framework |
| Created | 20090427 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SALV_CSL_FIELD_PROV_SRV has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SALV_CSL_DATA_ACCESSOR | Facade of data provider for data container | 20090427 | ||
| 2 | IF_SALV_CSL_SRV_EVENT_LISTENER | Service: event listener base interface | 20090427 | ||
| 3 | IF_SALV_CSL_SRV_FIELD_PROVIDER | Field Provider Service | 20090506 | ||
| 4 | IF_SALV_CSL_SRV_REFRESH_LISTNR | Refresh listener: Processes refresh event | 20090427 | ||
| 5 | IF_SALV_CSL_SRV_SORT | Service: sort service provider | 20090427 |
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_SALV_CSL_FACTORY_BASE | 20090427 | Factory: base class for default and custom fact. |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | STRING | 'IDX' | cache structure comp. name for "original line index" | 20090629 | ||
| 2 | Constant | Protected | Type reference (TYPE) | STRING | 'CALC' | cache structure comp. name for calculated (service) fields | 20090629 | ||
| 3 | Constant | Protected | Type reference (TYPE) | STRING | 'SRC' | cache structure comp. name for original (source) data | 20090629 | ||
| 4 | Constant | Protected | Type reference (TYPE) | I | 0 | cache structure component template for "original line index" | 20090629 | ||
| 5 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SALV_CSL_FIELD_CONTENT_PROV | Transformation Content Provider for ALV data provider cache | 20090428 | |||
| 6 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_SALV_CSF_FIELD_SORT_RULES | Field Sort Rules | 20090428 | |||
| 7 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | 20090428 | ||||
| 8 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ABAP_TABLEDESCR | Runtime Type Services | 20090428 | |||
| 9 | Instance attribute | Protected | See coding | Strucure location for concrete data represantation | 20090428 | ||||
| 10 | Instance attribute | Protected | Type reference (TYPE) | I | cache structure comp. index | 20090629 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | I | structure component index | 20090429 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | I | structure component index | 20090429 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_UNDEFINED | 20090629 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | Y_CHANGE_COUNT | attr change count reflected by cache | 20090429 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | Y_CHANGE_COUNT | field version count refected by cache | 20090429 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | Y_CHANGE_COUNT | idx change count reflected by cache | 20090429 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | BOOLEAN | true if resort is required | 20090428 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | calculate service fields in cache table | 20090429 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20090428 | |
| 3 | Instance method | Protected | Method | create an empty table for the src and service data | 20090428 | |
| 4 | Instance method | Protected | Method | unconditionally sort the cache. assuming it has been updated | 20090429 | |
| 5 | Instance method | Protected | Method | implementation of GET_DATA by delegating to previous | 20090629 | |
| 6 | Instance method | Protected | Method | return service data ref filled for given selection | 20090629 | |
| 7 | Instance method | Protected | Method | get or instanciate the fields provider | 20090504 | |
| 8 | Instance method | Protected | Method | returns structure description of previous data provider | 20090429 | |
| 9 | Instance method | Protected | Method | init the table for the src and service data | 20090506 | |
| 10 | Instance method | Protected | Method | check if provider is active (service fields are required) | 20090428 | |
| 11 | Instance method | Protected | Method | fill cache table with source data | 20090429 | |
| 12 | Instance method | Protected | Method | tests if sort rules involve service fields | 20090429 | |
| 13 | Instance method | Protected | Method | make the cache up-to-date | 20090429 | |
| 14 | Instance method | Protected | Method | translate selection to one applicable to previous provider | 20090629 |
Events
Class CL_SALV_CSL_FIELD_PROV_SRV has no event.
Types
Class CL_SALV_CSL_FIELD_PROV_SRV has no local type.
Method Signatures
Method CALC_SERVICE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PREV_VERSION_COUNT | Value transfer | Type reference (TYPE) | Y_CHANGE_COUNT | previous (manifested) version count | 20090429 |
Method CALC_SERVICE_DATA on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FIELDS_CONTENT_PROVIDER | Value transfer | Object reference (TYPE REF TO) | IF_SALV_CSL_FIELD_CONTENT_PROV | 20090428 | ||||
| 2 | LOG | Value transfer | Object reference (TYPE REF TO) | IF_SALV_CSQ_LOG | Log object | 20090428 |
Method CONSTRUCTOR on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
Method CREATE_CACHE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CR_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20090428 |
Method CREATE_CACHE_DATA on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
Method DO_APPLY_SORT Signature
Method DO_APPLY_SORT on class CL_SALV_CSL_FIELD_PROV_SRV has no parameter.
Method DO_APPLY_SORT on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
Method GET_DATA_DELEGATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | DATA | 20090629 | ||||
| 2 | DATA_TYPE | Call by reference | Type reference (TYPE) | IF_SALV_CSL=>Y_DATA_TYPE | 20090629 | ||||
| 3 | SELECTION | Value transfer | Object reference (TYPE REF TO) | IF_SALV_CSL_SELECTION | Selection object - holds index selection | 20090629 |
Method GET_DATA_DELEGATE on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
Method GET_DATA_REF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20090629 | ||||
| 2 | SELECTION | Value transfer | Object reference (TYPE REF TO) | IF_SALV_CSL_SELECTION | Selection object - holds index selection | 20090629 |
Method GET_DATA_REF on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
Method GET_FIELDS_CP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_VALUE | Value transfer | Object reference (TYPE REF TO) | IF_SALV_CSL_FIELD_CONTENT_PROV | Transformation Content Provider for ALV data provider cache | 20090504 |
Method GET_FIELDS_CP on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
Method GET_PREVIOUS_STRUCT_DESCR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_VALUE | Value transfer | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20090429 |
Method GET_PREVIOUS_STRUCT_DESCR on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
Method INIT_CACHE Signature
Method INIT_CACHE on class CL_SALV_CSL_FIELD_PROV_SRV has no parameter.
Method INIT_CACHE on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
Method IS_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_VALUE | Value transfer | Type reference (TYPE) | BOOLEAN | 20090428 |
Method IS_ACTIVE on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
Method READ_SRC_DATA Signature
Method READ_SRC_DATA on class CL_SALV_CSL_FIELD_PROV_SRV has no parameter.
Method READ_SRC_DATA on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
Method SORTRULES_NEED_SERVICE_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SORT_RULES | Value transfer | Object reference (TYPE REF TO) | IF_SALV_CSF_FIELD_SORT_RULES | Field Sort Rules | 20090429 | |||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | BOOLEAN | 20090429 |
Method SORTRULES_NEED_SERVICE_FIELDS on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
Method UPDATE_CACHE Signature
Method UPDATE_CACHE on class CL_SALV_CSL_FIELD_PROV_SRV has no parameter.
Method UPDATE_CACHE on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
Method XLATE_SELECTION_TO_PREVIOUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MY_SELECTION | Value transfer | Object reference (TYPE REF TO) | IF_SALV_CSL_SELECTION | selection on my data | 20090629 | |||
| 2 | PREV_SELECTION | Value transfer | Object reference (TYPE REF TO) | IF_SALV_CSL_SELECTION | selection on previous provider | 20090629 |
Method XLATE_SELECTION_TO_PREVIOUS on class CL_SALV_CSL_FIELD_PROV_SRV has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 720 |