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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_WDK_TYPESERVICE 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 MT_ENQ_COLL_DD07V Static Attribute Private Type reference (TYPE) SWDTDD07V Table of Fixed Values for Domains 20060602
2 SC_BDC_FNAM_CURSOR Constant Public Type reference (TYPE) BDCDATA-FNAM 'BDC_CURSOR' Field name 20060531
3 SC_BDC_FNAM_OKCODE Constant Public Type reference (TYPE) BDCDATA-FNAM 'BDC_OKCODE' Field name 20060321
4 SC_BDC_FNAM_SUBSCR Constant Public Type reference (TYPE) BDCDATA-FNAM 'BDC_SUBSCR' Field name 20060317
5 SC_CNTXT_ATTR_ENABLED Constant Public Type reference (TYPE) STRING 'ENABLED' Web Dynpro: Attribute Name 20060314
6 SC_CNTXT_ATTR_READONLY Constant Public Type reference (TYPE) STRING 'READONLY' Web Dynpro: Attribute Name 20060428
7 SC_CNTXT_ATTR_STATE Constant Public Type reference (TYPE) STRING 'STATE' Web Dynpro: Attribute Name 20060314
8 SC_CNTXT_ATTR_VALUE Constant Public Type reference (TYPE) STRING 'VALUE' Web Dynpro: Attribute Name 20060314
9 SC_CNTXT_ATTR_VISIBLE Constant Public Type reference (TYPE) STRING 'VISIBLE' Web Dynpro: Attribute Name 20060314
10 SC_CNTXT_TABSUFFIX_DEF Constant Public Type reference (TYPE) CHAR4 '_DEF' Not More Closely Defined Area, Possibly Used for Patchlevels 20060601
11 SC_CNTXT_TABSUFFIX_INS Constant Public Type reference (TYPE) CHAR4 '_INS' Not More Closely Defined Area, Possibly Used for Patchlevels 20060601
12 SC_FFORMAT_CURR Constant Public Type reference (TYPE) SCRFTYPE 'CURR' Field format (ABAP Dictionary data type) 20060907
13 SC_FFORMAT_NUMC Constant Public Type reference (TYPE) SCRFTYPE 'NUMC' Field format (ABAP Dictionary data type) 20060908
14 SC_FFORMAT_QUAN Constant Public Type reference (TYPE) SCRFTYPE 'QUAN' Field format (ABAP Dictionary data type) 20060907
15 SC_FIELDTYPE_UNKNOWN Constant Public Type reference (TYPE) WDK_FIELDTYPE 'UNKNOWN' Web Dynpro: ABAP Type of a Parameter/Property 20060511
16 SC_INITIAL_ACTION Constant Public Type reference (TYPE) WDK_ACTION 'INI' Action for UI state 20060320
17 SC_INITIAL_SCRIPT Constant Public Type reference (TYPE) WDK_SCRIPT 'INITIAL' Action script for BDC transaction call 20060315
18 SC_INITIAL_STATE Constant Public Type reference (TYPE) WDK_FPSTATE 'INI' Floorplan state 20060315
19 SC_LOAD_DRAFT Constant Public Type reference (TYPE) WDK_ACTION 'DRF' Dummy: Load Draft 20070201
20 SC_MEM_ID_COMMIT Constant Public Type reference (TYPE) SEOMEMID '%_KYK_COMMIT' ID for ABAP memory 20070322
21 SC_MEM_ID_DATA Constant Public Type reference (TYPE) SEOMEMID '%_KYK_DATA' ID for ABAP memory 20060511
22 SC_MEM_ID_ENQUEUE Constant Public Type reference (TYPE) SEOMEMID '%_KYK_ENQ' ID for ABAP memory 20060511
23 SC_MEM_ID_INDEX Constant Public Type reference (TYPE) SEOMEMID '%_KYK_DYNPQU_INDEX' ID for ABAP memory 20060607
24 SC_MEM_ID_KAYAK_FLAG Constant Public Type reference (TYPE) SEOMEMID '%_KYK_ACTIVE' ID for ABAP memory 20060511
25 SC_MEM_ID_MSGCOUNT Constant Public Type reference (TYPE) SEOMEMID '%_KYK_DYNPQU_MSGCOUNT' ID for ABAP memory 20061211
26 SC_MEM_ID_NUM_BUFF Constant Public Type reference (TYPE) SEOMEMID '%_KYK_NUM_BUFFER' ID for ABAP memory 20060511
27 SC_MEM_ID_NUM_CALL Constant Public Type reference (TYPE) SEOMEMID '%_KYK_NUM_CALLCOUNT' ID for ABAP memory 20060511
28 SC_MEM_ID_SENA Constant Public Type reference (TYPE) SEOMEMID '%_KYK_HOOK_SZN_BADI' ID for ABAP memory 20070322
29 SC_MEM_ID_SPON Constant Public Type reference (TYPE) SEOMEMID '%_KYK_SPON' ID for ABAP memory 20060511
30 SC_MSGMAP_ONLY_IF_ALL_DYNP Constant Public Type reference (TYPE) WDK_MSGMAPALLDYNP 'A' Indicator for all message mapping depending on # dynp's 20060511
31 SC_MSGMAP_ONLY_IF_NOT_ALL_DYNP Constant Public Type reference (TYPE) WDK_MSGMAPALLDYNP 'E' Indicator for all message mapping depending on # dynp's 20060511
32 SC_PNAME_KAYAK_FLAG Constant Public Type reference (TYPE) TV_MEMPARAM 'FLAG_KYK_ACTIVE' Parametername 20070322
33 SC_PNAME_TRC_FLAG Constant Public Type reference (TYPE) TV_MEMPARAM 'FLAG_TRC' Parametername 20070322
34 SC_REDO_ACTION Constant Public Type reference (TYPE) WDK_ACTION 'RED' Dummy: REDO 20070201
35 SC_SELKIND_LEAD Constant Public Type reference (TYPE) WDK_TCSELECTION SPACE Kind of Table Control Selection 20060328
36 SC_SELKIND_MULT Constant Public Type reference (TYPE) WDK_TCSELECTION 'M' Kind of Table Control Selection 20060328
37 SC_STATE_ALL Constant Public Type reference (TYPE) WDK_FPSTATE '***' Floorplan state 20061129
38 SC_STATE_CONFIRM Constant Public Type reference (TYPE) WDK_FPSTATE 'CFN' Floorplan state 20060511
39 SC_TC_BROWSE Constant Public Type reference (TYPE) I 10 Number of initial P+ 20060314
40 SC_UNDO_ACTION Constant Public Type reference (TYPE) WDK_ACTION 'UND' Dummy: UNDO 20070201
41 SR_INSTANCE Static Attribute Public Object reference (TYPE REF TO) CL_WDK_UTILITIES 20060307
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_WDAPP_EXISTS Instance method Public Method 20060308
2 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20060307
3 CONVERT_FOR_BDCDATA Static method Public Method Converts data from internal to bdcdata-fval format 20060516
4 CONVERT_TO_INTERNAL Static method Public Method Converts from bdcdata-fval to internal format 20060516
5 COUNT_RELEVANT_DYNPROS Static method Public Method Counts relevants dynpros (ignoring e.g. popup_to_confirm) 20060518
6 ENQ_COLL_TYPE_GET_TEXT Static method Public Method returns text for enqueue lock collision type 20060602
7 GET_ACTION_FOR_TARGET_DYNPRO Static method Public Method Get all actions leading to a specific dynpro 20060607
8 GET_ALLOWED_STATE Instance method Public Method Checks and returns the next state of an action 20060313
9 GET_CQ_REFERENCE Instance method Public Method returns reference field for currency or quantity 20060907
10 MAP_AND_FILTER_MESSAGES 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 Importing IV_WDAPP Call by reference Type reference (TYPE) WDK_APPLICATION 20060308
# Exception Resumable Description Created on
1 CX_WDK_CONTROLLER 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 Importing IR_CONTEXT_ELEMENT Call by reference Object reference (TYPE REF TO) IF_WD_CONTEXT_ELEMENT Web Dynpro: Interface for Node Element 20060907
2 Importing IR_VALUE Call by reference Object reference (TYPE REF TO) DATA 20060516
3 Importing IS_FIELD Call by reference Type reference (TYPE) WDKFIELDS Dynpro fields to Contextnodes 20060516
4 Returning 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 Exporting EV_DATA Call by reference Type reference (TYPE) DATA 20060516
2 Importing IR_NODE_INFO Call by reference Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE_INFO Web Dynpro: Interface of Node Metadata 20060516
3 Importing IS_FIELD Call by reference Type reference (TYPE) WDKFIELDS Dynpro fields to Contextnodes 20060516
4 Importing IV_ATTR_NAME Call by reference Type reference (TYPE) STRING 20060516
5 Importing IV_REF_TYPE Call by reference Type reference (TYPE) C 20060907
6 Importing IV_REF_VALUE Call by reference Type reference (TYPE) C 20060907
7 Importing 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 Importing IT_NAVIDYNPROS Call by reference Type reference (TYPE) WDKNAVIDYNPRO_TT Dynpro Definition 20060518
2 Importing IT_NAVISTEP Call by reference Type reference (TYPE) WDKNAVISTEPTYPE_TT Tabelle vom Typ WDKNAVISTEPTYPE 20060607
3 Returning 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 Importing IV_COLLISION_TYPE Call by reference Type reference (TYPE) WDK_ENQ_COLLISION_TYPE Web Dynpro: enque collision type 20060602
2 Returning 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 Importing IR_CONTROLLER Call by reference Object reference (TYPE REF TO) IF_WDK_FP_CONTROLLER Floorplan controller 20060607
2 Importing IV_TARGET_CPROG Call by reference Type reference (TYPE) BDC_PROG BDC module pool 20060607
3 Importing IV_TARGET_DYNNR Call by reference Type reference (TYPE) BDC_DYNR BDC Screen number 20060607
4 Returning 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 Importing IV_ACTION Call by reference Type reference (TYPE) WDK_ACTION Action script for BDC transaction call 20060313
2 Importing IV_FPSTATE_SOURCE Call by reference Type reference (TYPE) WDK_FPSTATE Floorplan state 20060313
3 Importing IV_WDAPP Call by reference Type reference (TYPE) WDK_APPLICATION Web Dynpro: Name of Application 20060313
4 Returning RESULT Value transfer Type reference (TYPE) WDK_FPSTATE New state 20060313
# Exception Resumable Description Created on
1 CX_WDK_CONTROLLER 20060313

Method GET_CQ_REFERENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ATTRIBUTE Call by reference Type reference (TYPE) WDK_TABLE_ATTRIBUTE_NAME Web Dynpro: Name of Context Attribute 20060907
2 Importing IV_DYNPNODE Call by reference Type reference (TYPE) WDK_DYNPRO_NODE_NAME Web Dynpro: Name of a Context Node or Recursion Node 20060907
3 Importing IV_FIELDNODE Call by reference Type reference (TYPE) WDK_FIELD_NODE_NAME Web Dynpro: Name of a Context Node or Recursion Node 20060907
4 Importing IV_WDAPP Call by reference Type reference (TYPE) WDK_APPLICATION Web Dynpro: Name of Application 20060907
5 Returning 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 Changing CT_MESSAGES Call by reference Type reference (TYPE) WDKMSG_TTY Messages from Call Transaction 20060511
2 Importing IV_ALL_DYNPROS_PROCESSED Call by reference Type reference (TYPE) ABAP_BOOL 20060428
3 Importing IV_WDAPP Call by reference Type reference (TYPE) WDK_APPLICATION Web Dynpro: Name of Application 20060315
# Exception Resumable Description Created on
1 CX_WDK_CONTROLLER 20060323
History
Last changed by/on SAP  20070911 
SAP Release Created in 700