SAP ABAP Class CL_WCF_CDS_USER_VAR_PROVIDER (Central Data Source User Variable Data Provider)
Hierarchy
☛
WEBCUIF (Software Component) SAP Web UI Framework
⤷
CA-WUI (Application Component) WebClient UI
⤷
WCF_CDS_CORE (Package) Central DataSource core objects
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_WCF_CDS_DATA_PROVIDER | Interface defining a Central Data Source Data Provider | 20090302 |
Properties
| Class | CL_WCF_CDS_USER_VAR_PROVIDER | |
| Short Description | Central Data Source User Variable Data Provider | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WCF_CDS_CORE | Central DataSource core objects |
| Created | 20090302 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WCF_CDS_USER_VAR_PROVIDER has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_WCF_CDS_DATA_PROVIDER | Interface defining a Central Data Source Data Provider | 20090302 |
Friends
Class CL_WCF_CDS_USER_VAR_PROVIDER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'USER_BUILDING' | Attribute ID | 20090306 | ||
| 2 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_CITY' | Attribute ID | 20090313 | ||
| 3 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_COUNTRY' | Attribute ID | 20090313 | ||
| 4 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_COUNTRY_ISO' | Attribute ID | 20090313 | ||
| 5 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_DISTRICT' | Attribute ID | 20090313 | ||
| 6 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_FLOOR' | Attribute ID | 20090313 | ||
| 7 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_LANGUAGE' | Attribute ID | 20090313 | ||
| 8 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_LANGUAGE_ISO' | Attribute ID | 20090313 | ||
| 9 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_NAME' | Attribute ID | 20090313 | ||
| 10 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_POSTAL_CODE' | Attribute ID | 20090313 | ||
| 11 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_POSTAL_CODE_2' | Attribute ID | 20090313 | ||
| 12 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_POSTAL_CODE_3' | Attribute ID | 20090313 | ||
| 13 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_PO_BOX' | Attribute ID | 20090313 | ||
| 14 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_REGION' | Attribute ID | 20090313 | ||
| 15 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_ROOM' | Attribute ID | 20090313 | ||
| 16 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_STREET' | Attribute ID | 20090313 | ||
| 17 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_STREET_NUMBER' | Attribute ID | 20090313 | ||
| 18 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_TAX_JURISDICTION' | Attribute ID | 20090313 | ||
| 19 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMPANY_TIMEZONE' | Attribute ID | 20090313 | ||
| 20 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMMUNICATION_TYPE' | Attribute ID | 20090313 | ||
| 21 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'DEFAULT_DATEFORMAT' | Attribute ID | 20090306 | ||
| 22 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'DEFAULT_DECIMALFORMAT' | Attribute ID | 20090306 | ||
| 23 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'USER_DEPARTEMENT' | Attribute ID | 20090312 | ||
| 24 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMMUNICATION_EMAIL' | Attribute ID | 20090306 | ||
| 25 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMMUNICATION_FAX_EXTENSION' | Attribute ID | 20090313 | ||
| 26 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMMUNICATION_FAX_NUMBER' | Attribute ID | 20090306 | ||
| 27 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'USER_FIRSTNAME' | Attribute ID | 20090306 | ||
| 28 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'USER_FLOOR' | Attribute ID | 20090312 | ||
| 29 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'USER_FULLNAME' | Attribute ID | 20090312 | ||
| 30 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'USER_FUNCTION' | Attribute ID | 20090312 | ||
| 31 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'USER_LASTNAME' | Attribute ID | 20090306 | ||
| 32 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'LOGON_LANGUAGE' | Attribute ID | 20090312 | ||
| 33 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'MOBILE_NUMBER' | Attribute ID | 20090306 | ||
| 34 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'PERSON_NUMBER' | Attribute ID | 20090306 | ||
| 35 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'USER_ROOM' | Attribute ID | 20090306 | ||
| 36 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMMUNICATION_TEL_EXTENSION' | Attribute ID | 20090313 | ||
| 37 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'COMMUNICATION_TEL_NUMBER' | Attribute ID | 20090306 | ||
| 38 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'DEFAULT_TIMEFORMAT' | Attribute ID | 20090306 | ||
| 39 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'LOGON_TIMEZONE' | Attribute ID | 20090306 | ||
| 40 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'TITLE' | Attribute ID | 20090306 | ||
| 41 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'LOGON_USERNAME' | Attribute ID | 20090312 | ||
| 42 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'USER_LANGUAGE' | Attribute ID | 20090312 | ||
| 43 | Constant | Private | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | 'USER_LANGUAGE_ISO' | Attribute ID | 20090312 | ||
| 44 | Constant | Public | Type reference (TYPE) | WCF_CDS_CONTEXT_ID | 'USR' | Context ID | 20090305 | ||
| 45 | Constant | Public | Type reference (TYPE) | WCF_CDS_PROVIDER_TYPE | 'USER' | Provider Type | 20090303 | ||
| 46 | Static Attribute | Private | Type reference (TYPE) | BAPIADDR3 | User addresses | 20090306 | |||
| 47 | Static Attribute | Private | Type reference (TYPE) | BAPIUSCOMP | Company to which a user is assigned | 20090313 | |||
| 48 | Static Attribute | Private | Type reference (TYPE) | BAPIDEFAUL | User: Fixed Values Transfer Structure | 20090306 | |||
| 49 | Static Attribute | Private | Type reference (TYPE) | BAPILOGOND | User: Logon Data Transfer Structure | 20090306 | |||
| 50 | Static Attribute | Private | Type reference (TYPE) | SYUNAME | User Name | 20090306 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Protected | Method | Reads attribute data from API and validates it | 20090306 | |
| 2 | Static method | Protected | Method | Reads attribute data from API and validates it | 20090306 | |
| 3 | Static method | Private | Method | Returns user attribute | 20090306 | |
| 4 | Static method | Private | Method | Loads current user info | 20090306 |
Events
Class CL_WCF_CDS_USER_VAR_PROVIDER has no event.
Types
Class CL_WCF_CDS_USER_VAR_PROVIDER has no local type.
Method Signatures
Method GET_ATTRIBUTE_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 | 20090306 | ||||
| 2 | RS_USER | Value transfer | Type reference (TYPE) | WCF_CDS_USERV | Central Data Source User Variable Attribute | 20090306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for internal data source errors | 20090306 |
Method GET_ATTRIBUTE_TEXT 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 | 20090306 | ||||
| 2 | RS_USER_TEXTS | Value transfer | Type reference (TYPE) | WCF_CDS_USERV_T | Central Data Source User Variable Attribute | 20090306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception class for internal data source errors | 20090306 |
Method GET_USER_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE_ID | Call by reference | Type reference (TYPE) | WCF_CDS_ATTRIBUTE_ID | Attribute ID | 20090312 | |||
| 2 | RR_VALUE | Value transfer | Object reference (TYPE REF TO) | DATA | 20090306 |
Method GET_USER_ATTRIBUTE on class CL_WCF_CDS_USER_VAR_PROVIDER has no exception.
Method LOAD_CURRENT_USER_INFO Signature
Method LOAD_CURRENT_USER_INFO on class CL_WCF_CDS_USER_VAR_PROVIDER has no parameter.
Method LOAD_CURRENT_USER_INFO on class CL_WCF_CDS_USER_VAR_PROVIDER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 701 |