SAP ABAP Class IF_WDK_CONTEXT_MANAGER (Handler for WD Context of WDK applications)
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface composition (i COMPRISING i_ref) | IF_WDK_CQREF_CALLBACK | Callback for WD for currency/quantity conversion | 20070322 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_WDK_CONTEXT_MANAGER | Context manager for new Kayak context | 20070322 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_WDK_CONTEXT_MANAGER_UIATTR | Context manager for old Kayak context | 20070322 |
Properties
| Class | IF_WDK_CONTEXT_MANAGER | |
| Short Description | Handler for WD Context of WDK applications | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20070115 | SAP |
| Last change | 20070911 | 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 interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class IF_WDK_CONTEXT_MANAGER has no interface implemented.
Friends
Class IF_WDK_CONTEXT_MANAGER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | 20070322 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Creates dynpro value tabs from changelog | 20070322 | |
| 2 | Instance method | Public | Method | Checks mandatory fields | 20070322 | |
| 3 | Instance method | Public | Method | Set UI properties for TC insert node from TC node (index 1) | 20070322 | |
| 4 | Instance method | Public | Method | Returns reference to context | 20070322 | |
| 5 | Instance method | Public | Method | Get type of context node | 20070322 | |
| 6 | Instance method | Public | Method | Get lead selection index for table control | 20070322 | |
| 7 | Instance method | Public | Method | Get multiple selection indices for table control | 20070322 | |
| 8 | Instance method | Public | Method | Gets total number of rows for table control | 20070322 | |
| 9 | Instance method | Public | Method | Get value in external format | 20070322 | |
| 10 | Instance method | Public | Method | Prepares currency and quantity conversion | 20070322 | |
| 11 | Instance method | Public | Method | Disables field input | 20070322 | |
| 12 | Instance method | Public | Method | Sets selection | 20070322 | |
| 13 | Instance method | Public | Method | Passes relevant context node | 20070322 | |
| 14 | Instance method | Public | Method | Updates context | 20070322 |
Events
Class IF_WDK_CONTEXT_MANAGER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_DYNPTABVALUE | Public | See coding | 20070322 | BEGIN OF ts_dynptabvalue,
prog TYPE bdc_prog,
dynr TYPE bdc_dynr,
indx TYPE i,
t_value TYPE tt_value,
END OF ts_dynptabvalue
|
||
| 2 | TS_DYNPVALUE | Public | See coding | 20070322 | BEGIN OF ts_dynpvalue,
prog TYPE bdc_prog,
dynr TYPE bdc_dynr,
t_value TYPE tt_value,
END OF ts_dynpvalue
|
||
| 3 | TS_VALUE | Public | See coding | 20070322 | BEGIN OF ts_value,
fnam TYPE string,
fval TYPE string,
END OF ts_value
|
||
| 4 | TT_DYNPTABVALUE | Public | See coding | 20070322 | tt_dynptabvalue TYPE SORTED TABLE OF ts_dynptabvalue
WITH UNIQUE KEY prog dynr indx
|
||
| 5 | TT_DYNPVALUE | Public | See coding | 20070322 | tt_dynpvalue TYPE SORTED TABLE OF ts_dynpvalue
WITH UNIQUE KEY prog dynr
|
||
| 6 | TT_SELECTION | Public | See coding | 20070322 | tt_selection TYPE STANDARD TABLE OF i
WITH DEFAULT KEY
|
||
| 7 | TT_VALUE | Public | See coding | 20070322 | tt_value TYPE STANDARD TABLE OF ts_value
WITH DEFAULT KEY
|
||
| 8 | TV_NODETYPE | Public | Type reference (TYPE) | CHAR1 | Type of context node | 20070322 | |
Method Signatures
Method CHANGELOG_TO_DYNPVALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DYNPTABVALUES | Call by reference | Type reference (TYPE) | TT_DYNPTABVALUE | 20070322 | ||||
| 2 | ET_DYNPVALUES | Call by reference | Type reference (TYPE) | TT_DYNPVALUE | 20070322 | ||||
| 3 | IT_CHANGELOG | Call by reference | Type reference (TYPE) | IF_WDK_UNDOABLE_ACTION=>TT_CHANGELOG | 20070322 |
Method CHANGELOG_TO_DYNPVALUES on class IF_WDK_CONTEXT_MANAGER has no exception.
Method CHECK_MANDATORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DYNR | Call by reference | Type reference (TYPE) | BDC_DYNR | BDC Screen number | 20070322 | |||
| 2 | IV_PROG | Call by reference | Type reference (TYPE) | BDC_PROG | BDC module pool | 20070322 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | STRING | Fieldname of mandatory field (error) | 20070322 |
Method CHECK_MANDATORY on class IF_WDK_CONTEXT_MANAGER has no exception.
Method COPY_UIPROS_TABINS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_TABLE | Call by reference | Object reference (TYPE REF TO) | CL_WD_TABLE | Perforce change= / 20050916-083208 | 20070322 |
Method COPY_UIPROS_TABINS on class IF_WDK_CONTEXT_MANAGER has no exception.
Method GET_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Object reference (TYPE REF TO) | IF_WD_CONTEXT | Web Dynpro Context | 20070322 |
Method GET_CONTEXT on class IF_WDK_CONTEXT_MANAGER has no exception.
Method GET_NODETYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NODENAME | Call by reference | Type reference (TYPE) | STRING | Name of context node | 20070322 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | TV_NODETYPE | Type of context node | 20070322 |
Method GET_NODETYPE on class IF_WDK_CONTEXT_MANAGER has no exception.
Method GET_TC_LEAD_SEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DYNR | Call by reference | Type reference (TYPE) | BDC_DYNR | BDC Screen number | 20070322 | |||
| 2 | IV_PROG | Call by reference | Type reference (TYPE) | BDC_PROG | BDC module pool | 20070322 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | I | Lead selection index | 20070322 |
Method GET_TC_LEAD_SEL on class IF_WDK_CONTEXT_MANAGER has no exception.
Method GET_TC_MULT_SEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DYNR | Call by reference | Type reference (TYPE) | BDC_DYNR | BDC Screen number | 20070322 | |||
| 2 | IV_PROG | Call by reference | Type reference (TYPE) | BDC_PROG | BDC module pool | 20070322 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | TT_SELECTION | 20070322 |
Method GET_TC_MULT_SEL on class IF_WDK_CONTEXT_MANAGER has no exception.
Method GET_TC_ROW_COUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DYNR | Call by reference | Type reference (TYPE) | BDC_DYNR | BDC Screen number | 20070322 | |||
| 2 | IV_INSERT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ...of Insert node | 20070322 | |||
| 3 | IV_PROG | Call by reference | Type reference (TYPE) | BDC_PROG | BDC module pool | 20070322 | |||
| 4 | RESULT | Value transfer | Type reference (TYPE) | I | Number of elements / rows | 20070322 |
Method GET_TC_ROW_COUNT on class IF_WDK_CONTEXT_MANAGER has no exception.
Method GET_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DYNR | Call by reference | Type reference (TYPE) | BDC_DYNR | BDC Screen number | 20070322 | |||
| 2 | IV_FNAM | Call by reference | Type reference (TYPE) | WDK_FIELDNAME | Dynpro field name | 20070322 | |||
| 3 | IV_PROG | Call by reference | Type reference (TYPE) | BDC_PROG | BDC module pool | 20070322 | |||
| 4 | IV_TABINDEX | Call by reference | Type reference (TYPE) | I | Table row index | 20070322 | |||
| 5 | IV_TABINSERT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Indicator for table insert | 20070322 | ||
| 6 | RESULT | Value transfer | Type reference (TYPE) | WDK_FIELDVALUE | Field value content in external format | 20070322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error in controller | 20070322 |
Method PREPARE_CONVERSION Signature
Method PREPARE_CONVERSION on class IF_WDK_CONTEXT_MANAGER has no parameter.
Method PREPARE_CONVERSION on class IF_WDK_CONTEXT_MANAGER has no exception.
Method PROTECT_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DYNR | Call by reference | Type reference (TYPE) | BDC_DYNR | BDC Screen number | 20070322 | |||
| 2 | IV_FNAM | Call by reference | Type reference (TYPE) | WDK_FIELDNAME | Dynpro field name | 20070322 | |||
| 3 | IV_HIDE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Hide field | 20070322 | |||
| 4 | IV_PROG | Call by reference | Type reference (TYPE) | BDC_PROG | BDC module pool | 20070322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error in controller | 20070322 |
Method SET_TC_SEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MULT_SEL | Call by reference | Type reference (TYPE) | TT_SELECTION | 20070322 | ||||
| 2 | IV_DYNR | Call by reference | Type reference (TYPE) | BDC_DYNR | BDC Screen number | 20070322 | |||
| 3 | IV_LEAD_SEL | Call by reference | Type reference (TYPE) | I | 20070322 | ||||
| 4 | IV_PROG | Call by reference | Type reference (TYPE) | BDC_PROG | BDC module pool | 20070322 |
Method SET_TC_SEL on class IF_WDK_CONTEXT_MANAGER has no exception.
Method START Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_NODE | Call by reference | Object reference (TYPE REF TO) | IF_WD_CONTEXT_NODE | Web Dynpro: Interface for Context Nodes | 20070322 |
Method START on class IF_WDK_CONTEXT_MANAGER has no exception.
Method UPDATE_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_DYNPRO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | CL_WDK_DYNPRO_CONTEXT | Handler of backend dynpro fields | 20070322 | |||
| 2 | IV_STATE | Call by reference | Type reference (TYPE) | WDK_FPSTATE | Floorplan state | 20070322 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Success | 20070322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error in controller | 20070322 |
History
| Last changed by/on | SAP | 20070911 |
| SAP Release Created in |