SAP ABAP Class CL_WDK_UTILITIES (Container for Constants and general help functions)
Hierarchy
☛
SAP_ABA (Software Component) Cross-Application Component
⤷
BC-MUS (Application Component) Musing Tools
⤷
WDK_CONTROLLER (Package) Kayak Controller
⤷
⤷
Properties
| Class | CL_WDK_UTILITIES | |
| Short Description | Container for Constants and general help functions | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WDK_CONTROLLER | Kayak Controller |
| Created | 20060307 | 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) |
Interfaces
Class CL_WDK_UTILITIES has no interface implemented.
Friends
Class CL_WDK_UTILITIES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | SWDTDD07V | Table of Fixed Values for Domains | 20060602 | |||
| 2 | Constant | Public | Type reference (TYPE) | BDCDATA-FNAM | 'BDC_CURSOR' | Field name | 20060531 | ||
| 3 | Constant | Public | Type reference (TYPE) | BDCDATA-FNAM | 'BDC_OKCODE' | Field name | 20060321 | ||
| 4 | Constant | Public | Type reference (TYPE) | BDCDATA-FNAM | 'BDC_SUBSCR' | Field name | 20060317 | ||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'ENABLED' | Web Dynpro: Attribute Name | 20060314 | ||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'READONLY' | Web Dynpro: Attribute Name | 20060428 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'STATE' | Web Dynpro: Attribute Name | 20060314 | ||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'VALUE' | Web Dynpro: Attribute Name | 20060314 | ||
| 9 | Constant | Public | Type reference (TYPE) | STRING | 'VISIBLE' | Web Dynpro: Attribute Name | 20060314 | ||
| 10 | Constant | Public | Type reference (TYPE) | CHAR4 | '_DEF' | Not More Closely Defined Area, Possibly Used for Patchlevels | 20060601 | ||
| 11 | Constant | Public | Type reference (TYPE) | CHAR4 | '_INS' | Not More Closely Defined Area, Possibly Used for Patchlevels | 20060601 | ||
| 12 | Constant | Public | Type reference (TYPE) | SCRFTYPE | 'CURR' | Field format (ABAP Dictionary data type) | 20060907 | ||
| 13 | Constant | Public | Type reference (TYPE) | SCRFTYPE | 'NUMC' | Field format (ABAP Dictionary data type) | 20060908 | ||
| 14 | Constant | Public | Type reference (TYPE) | SCRFTYPE | 'QUAN' | Field format (ABAP Dictionary data type) | 20060907 | ||
| 15 | Constant | Public | Type reference (TYPE) | WDK_FIELDTYPE | 'UNKNOWN' | Web Dynpro: ABAP Type of a Parameter/Property | 20060511 | ||
| 16 | Constant | Public | Type reference (TYPE) | WDK_ACTION | 'INI' | Action for UI state | 20060320 | ||
| 17 | Constant | Public | Type reference (TYPE) | WDK_SCRIPT | 'INITIAL' | Action script for BDC transaction call | 20060315 | ||
| 18 | Constant | Public | Type reference (TYPE) | WDK_FPSTATE | 'INI' | Floorplan state | 20060315 | ||
| 19 | Constant | Public | Type reference (TYPE) | WDK_ACTION | 'DRF' | Dummy: Load Draft | 20070201 | ||
| 20 | Constant | Public | Type reference (TYPE) | SEOMEMID | '%_KYK_COMMIT' | ID for ABAP memory | 20070322 | ||
| 21 | Constant | Public | Type reference (TYPE) | SEOMEMID | '%_KYK_DATA' | ID for ABAP memory | 20060511 | ||
| 22 | Constant | Public | Type reference (TYPE) | SEOMEMID | '%_KYK_ENQ' | ID for ABAP memory | 20060511 | ||
| 23 | Constant | Public | Type reference (TYPE) | SEOMEMID | '%_KYK_DYNPQU_INDEX' | ID for ABAP memory | 20060607 | ||
| 24 | Constant | Public | Type reference (TYPE) | SEOMEMID | '%_KYK_ACTIVE' | ID for ABAP memory | 20060511 | ||
| 25 | Constant | Public | Type reference (TYPE) | SEOMEMID | '%_KYK_DYNPQU_MSGCOUNT' | ID for ABAP memory | 20061211 | ||
| 26 | Constant | Public | Type reference (TYPE) | SEOMEMID | '%_KYK_NUM_BUFFER' | ID for ABAP memory | 20060511 | ||
| 27 | Constant | Public | Type reference (TYPE) | SEOMEMID | '%_KYK_NUM_CALLCOUNT' | ID for ABAP memory | 20060511 | ||
| 28 | Constant | Public | Type reference (TYPE) | SEOMEMID | '%_KYK_HOOK_SZN_BADI' | ID for ABAP memory | 20070322 | ||
| 29 | Constant | Public | Type reference (TYPE) | SEOMEMID | '%_KYK_SPON' | ID for ABAP memory | 20060511 | ||
| 30 | Constant | Public | Type reference (TYPE) | WDK_MSGMAPALLDYNP | 'A' | Indicator for all message mapping depending on # dynp's | 20060511 | ||
| 31 | Constant | Public | Type reference (TYPE) | WDK_MSGMAPALLDYNP | 'E' | Indicator for all message mapping depending on # dynp's | 20060511 | ||
| 32 | Constant | Public | Type reference (TYPE) | TV_MEMPARAM | 'FLAG_KYK_ACTIVE' | Parametername | 20070322 | ||
| 33 | Constant | Public | Type reference (TYPE) | TV_MEMPARAM | 'FLAG_TRC' | Parametername | 20070322 | ||
| 34 | Constant | Public | Type reference (TYPE) | WDK_ACTION | 'RED' | Dummy: REDO | 20070201 | ||
| 35 | Constant | Public | Type reference (TYPE) | WDK_TCSELECTION | SPACE | Kind of Table Control Selection | 20060328 | ||
| 36 | Constant | Public | Type reference (TYPE) | WDK_TCSELECTION | 'M' | Kind of Table Control Selection | 20060328 | ||
| 37 | Constant | Public | Type reference (TYPE) | WDK_FPSTATE | '***' | Floorplan state | 20061129 | ||
| 38 | Constant | Public | Type reference (TYPE) | WDK_FPSTATE | 'CFN' | Floorplan state | 20060511 | ||
| 39 | Constant | Public | Type reference (TYPE) | I | 10 | Number of initial P+ | 20060314 | ||
| 40 | Constant | Public | Type reference (TYPE) | WDK_ACTION | 'UND' | Dummy: UNDO | 20070201 | ||
| 41 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_WDK_UTILITIES | 20060307 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | 20060308 | ||
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20060307 | |
| 3 | Static method | Public | Method | Converts data from internal to bdcdata-fval format | 20060516 | |
| 4 | Static method | Public | Method | Converts from bdcdata-fval to internal format | 20060516 | |
| 5 | Static method | Public | Method | Counts relevants dynpros (ignoring e.g. popup_to_confirm) | 20060518 | |
| 6 | Static method | Public | Method | returns text for enqueue lock collision type | 20060602 | |
| 7 | Static method | Public | Method | Get all actions leading to a specific dynpro | 20060607 | |
| 8 | Instance method | Public | Method | Checks and returns the next state of an action | 20060313 | |
| 9 | Instance method | Public | Method | returns reference field for currency or quantity | 20060907 | |
| 10 | Instance method | Public | Method | Filter and map messages | 20060315 |
Events
Class CL_WDK_UTILITIES has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_MEMPARAMLIST | Public | See coding | Parameter list for IMPORT/EXPORT TO MEMORY | 20070322 | BEGIN OF ts_memparamlist,
name TYPE tv_memparam,
object TYPE char50,
END OF ts_memparamlist
|
|
| 2 | TS_NUMEXPORT | Public | See coding | 20070322 | BEGIN OF ts_numexport,
quantity TYPE inri-quantity,
returncode TYPE inri-returncode,
END OF ts_numexport
|
||
| 3 | TS_NUM_CALL | Public | See coding | 20060717 | BEGIN OF ts_num_call,
callid TYPE tv_num_callid,
index TYPE i,
memid TYPE seomemid,
typeinfo TYPE cl_wdk_typeservice=>ts_typeinfo,
END OF ts_num_call
|
||
| 4 | TT_MEMPARAMLIST | Public | See coding | Parameter list for IMPORT/EXPORT TO MEMORY | 20070322 | tt_memparamlist TYPE STANDARD TABLE OF ts_memparamlist
WITH DEFAULT KEY
|
|
| 5 | TT_NUMEXPORT | Public | See coding | 20070322 | tt_numexport TYPE STANDARD TABLE OF ts_numexport
|
||
| 6 | TT_NUM_CALL | Public | See coding | 20060717 | tt_num_call TYPE HASHED TABLE OF ts_num_call
WITH UNIQUE KEY callid
|
||
| 7 | TV_MEMPARAM | Public | Type reference (TYPE) | WDK_ABAP_MEMORY_PARAMETER-NAME | Parametername | 20070322 | |
| 8 | TV_NUM_CALLID | Public | Type reference (TYPE) | CHAR50 | Identifier from parameters | 20060717 | |
Method Signatures
Method CHECK_WDAPP_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_WDAPP | Call by reference | Type reference (TYPE) | WDK_APPLICATION | 20060308 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20060308 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WDK_UTILITIES has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WDK_UTILITIES has no exception.
Method CONVERT_FOR_BDCDATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_CONTEXT_ELEMENT | Call by reference | Object reference (TYPE REF TO) | IF_WD_CONTEXT_ELEMENT | Web Dynpro: Interface for Node Element | 20060907 | |||
| 2 | IR_VALUE | Call by reference | Object reference (TYPE REF TO) | DATA | 20060516 | ||||
| 3 | IS_FIELD | Call by reference | Type reference (TYPE) | WDKFIELDS | Dynpro fields to Contextnodes | 20060516 | |||
| 4 | RESULT | Value transfer | Type reference (TYPE) | BDCDATA-FVAL | BDC field value | 20060516 |
Method CONVERT_FOR_BDCDATA on class CL_WDK_UTILITIES has no exception.
Method CONVERT_TO_INTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DATA | Call by reference | Type reference (TYPE) | DATA | 20060516 | ||||
| 2 | IR_NODE_INFO | Call by reference | Object reference (TYPE REF TO) | IF_WD_CONTEXT_NODE_INFO | Web Dynpro: Interface of Node Metadata | 20060516 | |||
| 3 | IS_FIELD | Call by reference | Type reference (TYPE) | WDKFIELDS | Dynpro fields to Contextnodes | 20060516 | |||
| 4 | IV_ATTR_NAME | Call by reference | Type reference (TYPE) | STRING | 20060516 | ||||
| 5 | IV_REF_TYPE | Call by reference | Type reference (TYPE) | C | 20060907 | ||||
| 6 | IV_REF_VALUE | Call by reference | Type reference (TYPE) | C | 20060907 | ||||
| 7 | IV_VALUE | Call by reference | Type reference (TYPE) | WDK_FIELDVALUE | Field value content in external format | 20060516 |
Method CONVERT_TO_INTERNAL on class CL_WDK_UTILITIES has no exception.
Method COUNT_RELEVANT_DYNPROS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_NAVIDYNPROS | Call by reference | Type reference (TYPE) | WDKNAVIDYNPRO_TT | Dynpro Definition | 20060518 | |||
| 2 | IT_NAVISTEP | Call by reference | Type reference (TYPE) | WDKNAVISTEPTYPE_TT | Tabelle vom Typ WDKNAVISTEPTYPE | 20060607 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | SYTFILL | Row Number of Internal Tables | 20060518 |
Method COUNT_RELEVANT_DYNPROS on class CL_WDK_UTILITIES has no exception.
Method ENQ_COLL_TYPE_GET_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COLLISION_TYPE | Call by reference | Type reference (TYPE) | WDK_ENQ_COLLISION_TYPE | Web Dynpro: enque collision type | 20060602 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | STRING | 20060602 |
Method ENQ_COLL_TYPE_GET_TEXT on class CL_WDK_UTILITIES has no exception.
Method GET_ACTION_FOR_TARGET_DYNPRO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_CONTROLLER | Call by reference | Object reference (TYPE REF TO) | IF_WDK_FP_CONTROLLER | Floorplan controller | 20060607 | |||
| 2 | IV_TARGET_CPROG | Call by reference | Type reference (TYPE) | BDC_PROG | BDC module pool | 20060607 | |||
| 3 | IV_TARGET_DYNNR | Call by reference | Type reference (TYPE) | BDC_DYNR | BDC Screen number | 20060607 | |||
| 4 | RESULT | Value transfer | Type reference (TYPE) | WDKACTION_TTY | Actions of a UI state | 20060607 |
Method GET_ACTION_FOR_TARGET_DYNPRO on class CL_WDK_UTILITIES has no exception.
Method GET_ALLOWED_STATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTION | Call by reference | Type reference (TYPE) | WDK_ACTION | Action script for BDC transaction call | 20060313 | |||
| 2 | IV_FPSTATE_SOURCE | Call by reference | Type reference (TYPE) | WDK_FPSTATE | Floorplan state | 20060313 | |||
| 3 | IV_WDAPP | Call by reference | Type reference (TYPE) | WDK_APPLICATION | Web Dynpro: Name of Application | 20060313 | |||
| 4 | RESULT | Value transfer | Type reference (TYPE) | WDK_FPSTATE | New state | 20060313 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20060313 |
Method GET_CQ_REFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE | Call by reference | Type reference (TYPE) | WDK_TABLE_ATTRIBUTE_NAME | Web Dynpro: Name of Context Attribute | 20060907 | |||
| 2 | IV_DYNPNODE | Call by reference | Type reference (TYPE) | WDK_DYNPRO_NODE_NAME | Web Dynpro: Name of a Context Node or Recursion Node | 20060907 | |||
| 3 | IV_FIELDNODE | Call by reference | Type reference (TYPE) | WDK_FIELD_NODE_NAME | Web Dynpro: Name of a Context Node or Recursion Node | 20060907 | |||
| 4 | IV_WDAPP | Call by reference | Type reference (TYPE) | WDK_APPLICATION | Web Dynpro: Name of Application | 20060907 | |||
| 5 | RESULT | Value transfer | Type reference (TYPE) | WDKFIELDS | Dynpro fields to Contextnodes | 20060907 |
Method GET_CQ_REFERENCE on class CL_WDK_UTILITIES has no exception.
Method MAP_AND_FILTER_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_MESSAGES | Call by reference | Type reference (TYPE) | WDKMSG_TTY | Messages from Call Transaction | 20060511 | |||
| 2 | IV_ALL_DYNPROS_PROCESSED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20060428 | ||||
| 3 | IV_WDAPP | Call by reference | Type reference (TYPE) | WDK_APPLICATION | Web Dynpro: Name of Application | 20060315 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20060323 |
History
| Last changed by/on | SAP | 20070911 |
| SAP Release Created in | 700 |