SAP ABAP Class CL_WCF_ASYNC_FETCH_HANDLER (Central handler for Async Value Fetch)
Hierarchy
☛
WEBCUIF (Software Component) SAP Web UI Framework
⤷
CA-WUI-UI-TAG (Application Component) Tag Library
⤷
BSP_DYN_CONFIG_TAG_ASYNC (Package) Support for asynchronous features
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CRM_WEB_CALLBACK | Interface for handler method of service callback | 20100324 |
Properties
| Class | CL_WCF_ASYNC_FETCH_HANDLER | |
| Short Description | Central handler for Async Value Fetch | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | BSP_DYN_CONFIG_TAG_ASYNC | Support for asynchronous features |
| Created | 20100324 | SAP |
| Last change | 20110908 | 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) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_CRM_WEB_CALLBACK | Interface for handler method of service callback | 20100324 |
Friends
Class CL_WCF_ASYNC_FETCH_HANDLER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'wcf_context_attr_name' | 20100330 | |||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'wcf_element_id' | 20100330 | |||
| 3 | Constant | Public | Type reference (TYPE) | STRING | ',' | separator in the body of response | 20100401 | ||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'wcf_tag_classname' | 20100330 | |||
| 5 | Constant | Public | Type reference (TYPE) | WCF_AVF_STATUS | ' ' | Status of Async Value Fetch feature for given view | 20100616 | ||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'wcf_customRef' | 20100427 | |||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'wcf_fields_from' | 20100427 | |||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'wcf_fields_to' | mapping of target fields and their tags | 20100503 | ||
| 9 | Constant | Public | Type reference (TYPE) | STRING | 'wcf_rowIndex' | 20100427 | |||
| 10 | Static Attribute | Protected | Type reference (TYPE) | LTY_CACHED_AVF_STATUS_TAB | 20100616 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | 20100428 | ||
| 2 | Instance method | Protected | Method | 20100428 | ||
| 3 | Static method | Public | Method | 20100426 | ||
| 4 | Static method | Public | Method | 20100426 | ||
| 5 | Static method | Public | Method | 20100426 | ||
| 6 | Instance method | Public | Method | 20100427 | ||
| 7 | Instance method | Protected | Method | 20100427 | ||
| 8 | Static method | Public | Method | Check whether given view has AVF disabled | 20100616 |
Events
Class CL_WCF_ASYNC_FETCH_HANDLER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LTY_CACHED_AVF_STATUS | Protected | See coding | 20100616 | BEGIN OF lty_cached_avf_status,
component_name TYPE o2applname,
view_name TYPE o2page,
is_disabled TYPE abap_bool,
END OF lty_cached_avf_status
|
||
| 2 | LTY_CACHED_AVF_STATUS_TAB | Protected | See coding | 20100616 | lty_cached_avf_status_tab TYPE STANDARD TABLE OF lty_cached_avf_status
|
||
| 3 | LTY_PAYLOAD | Protected | See coding | 20100427 | BEGIN OF lty_payload,
attribute TYPE string,
value TYPE string,
END OF lty_payload
|
||
| 4 | LTY_PAYLOAD_TAB | Protected | See coding | 20100427 | lty_payload_tab TYPE STANDARD TABLE OF lty_payload
|
Method Signatures
Method CONVERT_IDS_TO_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_VALUES_FROM_SOURCES | Call by reference | Type reference (TYPE) | WCFT_ASYNC_FIELD_VALUE | Value of attribute of a field | 20100428 | |||
| 2 | IV_ATTR_NAME | Call by reference | Type reference (TYPE) | STRING | Trigger elements' attribute name (in the node) | 20100428 | |||
| 3 | IV_ELEMENT_ID | Call by reference | Type reference (TYPE) | STRING | e.g. C33_W154_V155_V156_btadmini_table[1].productdescription | 20100428 | |||
| 4 | IV_FIELDS_FROM | Call by reference | Type reference (TYPE) | STRING | string encoding element ids and values from frontend | 20100428 | |||
| 5 | IV_INDEX | Call by reference | Type reference (TYPE) | I | 0 | index of the table row | 20100428 | ||
| 6 | IV_NODE | Call by reference | Type reference (TYPE) | STRING | Trigger elements' context node name | 20100428 | |||
| 7 | IV_TYPE | Call by reference | Type reference (TYPE) | I | simple, struct or table | 20100428 |
Method CONVERT_IDS_TO_PATH on class CL_WCF_ASYNC_FETCH_HANDLER has no exception.
Method CONVERT_PATH_TO_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INDEX | Call by reference | Type reference (TYPE) | I | 0 | index of the table row | 20100428 | ||
| 2 | IV_PATH | Call by reference | Type reference (TYPE) | BSP_DLC_BINDING_STRING | name or binding string | 20100428 | |||
| 3 | IV_TRIGGER_ID | Call by reference | Type reference (TYPE) | STRING | e.g. C33_W154_V155_V156_btadmini_table[1].productdescription | 20100428 | |||
| 4 | IV_TRIG_ATTR_NAME | Call by reference | Type reference (TYPE) | STRING | Trigger elements' attribute name (in the node) | 20100428 | |||
| 5 | IV_TRIG_NODE | Call by reference | Type reference (TYPE) | STRING | Trigger elements' context node name | 20100428 | |||
| 6 | IV_TYPE | Call by reference | Type reference (TYPE) | I | simple, struct or table | 20100428 | |||
| 7 | RV_ID | Value transfer | Type reference (TYPE) | STRING | if of the dom element | 20100428 |
Method CONVERT_PATH_TO_ID on class CL_WCF_ASYNC_FETCH_HANDLER has no exception.
Method CREATE_DDLB_ONDEMAND_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE_NAME | Call by reference | Type reference (TYPE) | STRING | Name of context attribute that contains the v-getter | 20100426 | |||
| 2 | IV_CLIENT_EVENT | Call by reference | Type reference (TYPE) | STRING | eg.e. onFirstUse | 20100426 | |||
| 3 | IV_COMPONENT_ID | Call by reference | Type reference (TYPE) | STRING | ID of the controller (e.g. C12_W42_V43_V44) | 20100426 | |||
| 4 | IV_ELEMENT_ID | Call by reference | Type reference (TYPE) | STRING | ID of the tag instance | 20100426 | |||
| 5 | IV_TAG_CLASSNAME | Call by reference | Type reference (TYPE) | CLASSNAME | Class of the tag | 20100426 | |||
| 6 | RR_DATA | Value transfer | Object reference (TYPE REF TO) | DATA | Javascript string | 20100426 |
Method CREATE_DDLB_ONDEMAND_DATA on class CL_WCF_ASYNC_FETCH_HANDLER has no exception.
Method CREATE_MULTI_FLD_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_EVENT_NAMES | Call by reference | Type reference (TYPE) | WCFT_ASYNC_TRIGGER_EVENT | eg.e. onChange | 20100429 | |||
| 2 | IT_SOURCE_FIELDS | Call by reference | Type reference (TYPE) | BSP_DLCT_FIELDNAME | Fieldname | 20100426 | |||
| 3 | IT_TARGET_FIELDS | Call by reference | Type reference (TYPE) | BSP_DLCT_FIELDNAME | Fieldname | 20100503 | |||
| 4 | IV_COMPONENT_ID | Call by reference | Type reference (TYPE) | STRING | ID of the controller (e.g. C12_W42_V43_V44) | 20100426 | |||
| 5 | IV_CUSTOM_REF_KEY | Call by reference | Type reference (TYPE) | STRING | 20100426 | ||||
| 6 | IV_ELEMENT_ID | Call by reference | Type reference (TYPE) | STRING | ID of the tag instance | 20100426 | |||
| 7 | IV_INDEX | Call by reference | Type reference (TYPE) | I | 20100426 | ||||
| 8 | IV_TAG_CLASSNAME | Call by reference | Type reference (TYPE) | CLASSNAME | Class of the tag | 20100426 | |||
| 9 | RR_DATA | Value transfer | Object reference (TYPE REF TO) | DATA | Javascript string | 20100426 |
Method CREATE_MULTI_FLD_DATA on class CL_WCF_ASYNC_FETCH_HANDLER has no exception.
Method DISASSEMBLE_ELEMENT_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ATTR_NAME | Call by reference | Type reference (TYPE) | STRING | e.g. productdescription | 20100426 | |||
| 2 | EV_CONTROLLER_PREFIX | Call by reference | Type reference (TYPE) | STRING | e.g. C33_W154_V155_V156_ | 20100426 | |||
| 3 | EV_INDEX | Call by reference | Type reference (TYPE) | I | e.g. 1 | 20100427 | |||
| 4 | EV_NODE | Call by reference | Type reference (TYPE) | STRING | e.g. btadmini | 20100426 | |||
| 5 | EV_TYPE | Call by reference | Type reference (TYPE) | I | e.g. if_bsp_model_binding=>co_type_table | 20100426 | |||
| 6 | IV_ELEMENT_ID | Call by reference | Type reference (TYPE) | STRING | e.g. C33_W154_V155_V156_btadmini_table[1].productdescription | 20100426 |
Method DISASSEMBLE_ELEMENT_ID on class CL_WCF_ASYNC_FETCH_HANDLER has no exception.
Method GET_ASYN_DESCRIPTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_DESCRIPTOR | Call by reference | Object reference (TYPE REF TO) | IF_BSP_WD_VALUEHELP_DESCRIPTOR | Descriptor from application | 20100427 | |||
| 2 | EV_ATTR_NAME | Call by reference | Type reference (TYPE) | STRING | 20100427 | ||||
| 3 | EV_INDEX | Call by reference | Type reference (TYPE) | I | 20100427 | ||||
| 4 | EV_NODE | Call by reference | Type reference (TYPE) | STRING | Context node name | 20100427 | |||
| 5 | EV_TYPE | Call by reference | Type reference (TYPE) | I | 20100427 | ||||
| 6 | IR_VIEW_CONTROLLER | Call by reference | Object reference (TYPE REF TO) | CL_BSP_WD_VIEW_CONTROLLER | Basis Class for WD View Controller | 20100427 | |||
| 7 | IV_ELEMENT_ID | Call by reference | Type reference (TYPE) | STRING | e.g. C33_W154_V155_V156_btadmini_table[1].productdescription | 20100427 |
Method GET_ASYN_DESCRIPTOR on class CL_WCF_ASYNC_FETCH_HANDLER has no exception.
Method GET_MULTI_FLD_RESPONSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_RESPONSE | Call by reference | Type reference (TYPE) | STRING | tagclassname,elementid,attributeName,base64encodedPayload;.. | 20100428 | |||
| 2 | IR_ASYNC_UPDATE_DESC | Call by reference | Object reference (TYPE REF TO) | IF_WCF_ASYNC_UPDATE_DESCRIPTOR | descriptor from application | 20100427 | |||
| 3 | IV_ATTR_NAME | Call by reference | Type reference (TYPE) | STRING | Trigger elements' attribute name (in the node) | 20100428 | |||
| 4 | IV_CUSTOM_REF_KEY | Call by reference | Type reference (TYPE) | STRING | '' | Key of the custom reference object | 20100428 | ||
| 5 | IV_ELEMENT_ID | Call by reference | Type reference (TYPE) | STRING | e.g. C33_W154_V155_V156_btadmini_table[1].productdescription | 20100427 | |||
| 6 | IV_FIELDS_FROM | Call by reference | Type reference (TYPE) | STRING | string encoding element ids and values from frontend | 20100427 | |||
| 7 | IV_FIELDS_TO | Call by reference | Type reference (TYPE) | STRING | string encoding element ids and their tag classname | 20100503 | |||
| 8 | IV_INDEX | Call by reference | Type reference (TYPE) | I | 0 | index of the table row | 20100428 | ||
| 9 | IV_NODE | Call by reference | Type reference (TYPE) | STRING | Trigger elements' context node name | 20100428 | |||
| 10 | IV_TYPE | Call by reference | Type reference (TYPE) | I | simple, struct or table | 20100428 |
Method GET_MULTI_FLD_RESPONSE on class CL_WCF_ASYNC_FETCH_HANDLER has no exception.
Method IS_DISABLED_IN_VIEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_VIEW_CONTROLLER | Call by reference | Object reference (TYPE REF TO) | CL_BSP_WD_VIEW_CONTROLLER | View Controller | 20100616 | |||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100616 |
Method IS_DISABLED_IN_VIEW on class CL_WCF_ASYNC_FETCH_HANDLER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 702 |