SAP ABAP Class CL_CRM_CONTEXT (CRM Portals User Context)
Hierarchy
☛
SAP_ABA (Software Component) Cross-Application Component
⤷
CA-GTF-PCF (Application Component) People Centric UI Framework
⤷
CRM_BSP_URL_GENERATION (Package) URL Generation
⤷
⤷
Properties
| Class | CL_CRM_CONTEXT | |
| Short Description | CRM Portals User Context | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CRM_BSP_URL_GENERATION | URL Generation |
| Created | 20020503 | SAP |
| Last change | 00000000 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_CRM_CONTEXT has no interface implemented.
Friends
Class CL_CRM_CONTEXT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | TEXT20 | 'SAP_CURRENTOBJTIME' | Text (20 Characters) | 20020503 | ||
| 2 | Constant | Private | Type reference (TYPE) | TEXT20 | 'SAP_LASTUSEDSEARCHCR' | Text (20 Characters) | 20020503 | ||
| 3 | Constant | Private | Type reference (TYPE) | TEXT20 | 'SAP_LATESTOBJECTTYPE' | Text (20 Characters) | 20020503 | ||
| 4 | Constant | Private | Type reference (TYPE) | TEXT20 | 'SAP_BOENTRYNOSUBLABL' | Text (20 Characters) | 20020503 | ||
| 5 | Constant | Private | Type reference (TYPE) | TEXT20 | 'SAP_ID' | Text (20 Characters) | 20020503 | ||
| 6 | Constant | Private | Type reference (TYPE) | TEXT20 | 'SAP_SEARCHCRITERIA' | Text (20 Characters) | 20020503 | ||
| 7 | Instance attribute | Private | Type reference (TYPE) | CRMC_USR_CNTXT-USERNAME | User Name in User Master Record | 20020503 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20020503 | |
| 2 | Instance method | Public | Method | Erases the whole context of a user. | 20020524 | |
| 3 | Instance method | Public | Method | Gets the keys of the B.O. of the specified type. | 20020503 | |
| 4 | Instance method | Public | Method | Gets the ID of the current object of the specified type. | 20020503 | |
| 5 | Instance method | Public | Method | Gets the time when the current object ID was last set. | 20020503 | |
| 6 | Instance method | Public | Method | Gets the last used search criteria for a B.O. type. | 20020503 | |
| 7 | Instance method | Public | Method | Gets the type of object for which the ID was last set. | 20020503 | |
| 8 | Instance method | Public | Method | Gets the search criteria and their description. | 20020506 | |
| 9 | Instance method | Public | Method | Gets the search criteria labels for the specified B.O. type. | 20020503 | |
| 10 | Instance method | Public | Method | Removes the object keys for the specified object type. | 20020524 | |
| 11 | Instance method | Public | Method | Removes the current object ID for the specified object type. | 20020524 | |
| 12 | Instance method | Public | Method | Removes the search criteria with the specified label. | 20020503 | |
| 13 | Instance method | Public | Method | Sets the keys of the B.O. of the specified type. | 20020503 | |
| 14 | Instance method | Public | Method | Sets the ID of the current object of the specified type. | 20020503 | |
| 15 | Instance method | Public | Method | Sets the last used search criteria for a B.O. type. | 20020503 | |
| 16 | Instance method | Public | Method | Sets the search criteria and their description. | 20020506 |
Events
Class CL_CRM_CONTEXT has no event.
Types
Class CL_CRM_CONTEXT has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_USER_ID | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-USERNAME | Benutzername im Benutzerstamm | 20020503 |
Method CONSTRUCTOR on class CL_CRM_CONTEXT has no exception.
Method ERASE_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | CRM-Objekttyp für die Navigation | 20020524 |
Method ERASE_CONTEXT on class CL_CRM_CONTEXT has no exception.
Method GET_BUSINESS_OBJECT_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_BUSINESS_OBJECT_KEYS | Value transfer | Type reference (TYPE) | CRMT_PRT_MAP | Tabelle mit Schlüsselwertpaaren | 20020503 | |||
| 2 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | 20020503 |
Method GET_BUSINESS_OBJECT_KEYS on class CL_CRM_CONTEXT has no exception.
Method GET_CURRENT_OBJECT_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_OBJECT_ID | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-CNTXT_VALUE | Text, 255 Zeichen | 20020503 | |||
| 2 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | 20020503 |
Method GET_CURRENT_OBJECT_ID on class CL_CRM_CONTEXT has no exception.
Method GET_CURRENT_OBJECT_TIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_OBJECT_TIME | Value transfer | Type reference (TYPE) | TIMESTAMP | UTC-Zeitstempel in Kurzform (JJJJMMTTssmmss) | 20020503 | |||
| 2 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | 20020503 |
Method GET_CURRENT_OBJECT_TIME on class CL_CRM_CONTEXT has no exception.
Method GET_LAST_USED_SEARCH_CRITERIA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SEARCH_CRITERIA | Value transfer | Type reference (TYPE) | CRMT_PRT_DESC_MAP | Reihe von Schlüsselwertpaaren | 20020503 | |||
| 2 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | 20020503 |
Method GET_LAST_USED_SEARCH_CRITERIA on class CL_CRM_CONTEXT has no exception.
Method GET_LATEST_OBJECT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LATEST_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | 20020503 |
Method GET_LATEST_OBJECT_TYPE on class CL_CRM_CONTEXT has no exception.
Method GET_SEARCH_CRITERIA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SEARCH_CRITERIA | Value transfer | Type reference (TYPE) | CRMT_PRT_DESC_MAP | Tabelle mit den Einträgen Schlüssel/Wert-ID/Wertbeschreibung | 20020506 | |||
| 2 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | 20020506 | ||||
| 3 | I_LABEL | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-CNTXT_SUBLABEL | Text (20 Zeichen) | 20020506 |
Method GET_SEARCH_CRITERIA on class CL_CRM_CONTEXT has no exception.
Method GET_SEARCH_CRITERIA_LABELS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LABELS | Value transfer | Type reference (TYPE) | CRMT_PRT_LABEL_LIST | Liste mit Bezeichnungen für Suchkriterien | 20020503 | |||
| 2 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | 20020503 |
Method GET_SEARCH_CRITERIA_LABELS on class CL_CRM_CONTEXT has no exception.
Method REMOVE_BUSINESS_OBJECT_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | CRM-Objekttyp für die Navigation | 20020524 |
Method REMOVE_BUSINESS_OBJECT_KEYS on class CL_CRM_CONTEXT has no exception.
Method REMOVE_CURRENT_OBJECT_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | CRM-Objekttyp für die Navigation | 20020524 |
Method REMOVE_CURRENT_OBJECT_ID on class CL_CRM_CONTEXT has no exception.
Method REMOVE_SEARCH_CRITERIA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | 20020503 | ||||
| 2 | I_LABEL | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-CNTXT_SUBLABEL | Text (20 Zeichen) | 20020503 |
Method REMOVE_SEARCH_CRITERIA on class CL_CRM_CONTEXT has no exception.
Method SET_BUSINESS_OBJECT_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUSINESS_OBJECT_KEYS | Value transfer | Type reference (TYPE) | CRMT_PRT_MAP | Reihe von Schlüsselwertpaaren | 20020503 | |||
| 2 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | 20020503 |
Method SET_BUSINESS_OBJECT_KEYS on class CL_CRM_CONTEXT has no exception.
Method SET_CURRENT_OBJECT_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | 20020503 | ||||
| 2 | I_OBJECT_ID | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-CNTXT_VALUE | Text, 255 Zeichen | 20020503 |
Method SET_CURRENT_OBJECT_ID on class CL_CRM_CONTEXT has no exception.
Method SET_LAST_USED_SEARCH_CRITERIA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | 20020503 | ||||
| 2 | I_LABEL | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-CNTXT_SUBLABEL | Text (20 Zeichen) | 20020503 | |||
| 3 | I_SEARCH_CRITERIA | Value transfer | Type reference (TYPE) | CRMT_PRT_DESC_MAP | Reihe von Schlüsselwertpaaren | 20020503 |
Method SET_LAST_USED_SEARCH_CRITERIA on class CL_CRM_CONTEXT has no exception.
Method SET_SEARCH_CRITERIA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_BUSINESS_OBJECT_TYPE | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-OBJECTTYPE | 20020506 | ||||
| 2 | I_LABEL | Value transfer | Type reference (TYPE) | CRMC_USR_CNTXT-CNTXT_SUBLABEL | Text (20 Zeichen) | 20020506 | |||
| 3 | I_SEARCH_CRITERIA | Value transfer | Type reference (TYPE) | CRMT_PRT_DESC_MAP | Tabelle mit den Einträgen Schlüssel/Wert-ID/Wertbeschreibung | 20020506 |
Method SET_SEARCH_CRITERIA on class CL_CRM_CONTEXT has no exception.
History
| Last changed by/on | SAP | 00000000 |
| SAP Release Created in | 310 |