SAP ABAP Class CL_FDT_WD_FUNCTION_MODEL (FDT: WD Model for Function)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷
SFDT_WD_CORE_OBJECTS (Package) BRFplus: Core Objects for Web Dynpro UI
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_FDT_WD_MAINTENANCE_MODEL | FDT WD: Model for maintenance objects | 20060718 |
Properties
| Class | CL_FDT_WD_FUNCTION_MODEL | |
| Short Description | FDT: WD Model for Function | |
| Super Class | CL_FDT_WD_MAINTENANCE_MODEL | FDT WD: Model for maintenance objects |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SFDT_WD_CORE_OBJECTS | BRFplus: Core Objects for Web Dynpro UI |
| Created | 20060718 | SAP |
| Last change | 20140121 | 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 CL_FDT_WD_FUNCTION_MODEL has no interface implemented.
Friends
Class CL_FDT_WD_FUNCTION_MODEL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'CODE_GENERATION' | Code_generation model Node | 20100115 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'CHECK_ASSIGNED_RULESETS' | Action:Check assigned rulesets | 20101215 | ||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'LEAN_TRACE_READY' | Action: Check lean trace ready | 20101215 | ||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'GEN_CODE_TEMPLATE' | Action: Generates Code Template | 20101117 | ||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'GEN_RFC' | Action: Generates RFC | 20100622 | ||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'GEN_WEBSERV' | Action: Generates Webservice | 20071119 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'SHOW_INACTIVE_PROECSSING_REL_OBJS' | Inactive processing relevant objects | 20110214 | ||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'SHOW_TRACES' | Action: Show Traces | 20070924 | ||
| 9 | Constant | Public | Type reference (TYPE) | STRING | 'START_DEBUGGER' | Action: Start Simulation | 20130610 | ||
| 10 | Constant | Public | Type reference (TYPE) | STRING | 'START_SIMULATION' | Action: Start Simulation | 20070924 | ||
| 11 | Constant | Public | Type reference (TYPE) | STRING | 'AVAILABLE_LANGUAGES' | Available languages node | 20131031 | ||
| 12 | Constant | Public | Type reference (TYPE) | STRING | 'CODE_GENERATION' | Code_generation model Node | 20081114 | ||
| 13 | Constant | Public | Type reference (TYPE) | STRING | 'CODE_TEMPLATE' | Code Template Model | 20101117 | ||
| 14 | Constant | Public | Type reference (TYPE) | STRING | 'FUNCTION_CONTEXT' | Context Model Node | 20060802 | ||
| 15 | Constant | Public | Type reference (TYPE) | I | 5 | Default Visible Rows | 20080812 | ||
| 16 | Constant | Public | Type reference (TYPE) | I | 10 | Max Visible Rows | 20080812 | ||
| 17 | Constant | Public | Type reference (TYPE) | STRING | 'PROPERTIES' | Properties Model Node | 20060718 | ||
| 18 | Constant | Public | Type reference (TYPE) | STRING | 'ASSIGNED_RULESETS' | Assigned Rulesets | 20080812 | ||
| 19 | Constant | Public | Type reference (TYPE) | C | 'C' | Usage Type Context Do | 20060829 | ||
| 20 | Constant | Public | Type reference (TYPE) | C | 'E' | Usage Type Expression | 20060829 | ||
| 21 | Constant | Public | Type reference (TYPE) | C | 'R' | Usage Type Result Do | 20060829 | ||
| 22 | Constant | Public | Type reference (TYPE) | C | 'S' | Usage Type Ruleset | 20080819 | ||
| 23 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_FDT_FUNCTION | Function | 20060718 | |||
| 24 | Instance attribute | Public | Type reference (TYPE) | T_ELEMENT_BUFFER | Element Buffer | 20090624 | |||
| 25 | Instance attribute | Public | Type reference (TYPE) | FDTT_WD_NOT_GENERATED_OBJECTS | Structure: Not Generated Object details | 20111213 | |||
| 26 | Instance attribute | Public | Type reference (TYPE) | STRING | 20111213 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Set elements | 20081112 | |
| 2 | Instance method | Public | Method | Creates a new rulest | 20080819 | |
| 3 | Instance method | Public | Method | Generate functioncode | 20081114 | |
| 4 | Instance method | Private | Method | Returns the assigned rulesets of the function | 20080812 | |
| 5 | Instance method | Public | Method | Returns all available languages in the system | 20131031 | |
| 6 | Instance method | Private | Method | Returns the code generation info of the function | 20090220 | |
| 7 | Instance method | Public | Method | Gets the code template for a function | 20101117 | |
| 8 | Instance method | Public | Method | Return the Top Expression | 20081117 | |
| 9 | Instance method | Public | Method | Returns the mode of the function | 20090527 | |
| 10 | Instance method | Private | Method | This method gets the details of Not Generated Object | 20111213 | |
| 11 | Instance method | Private | Method | Returns the properties of the function | 20080812 | |
| 12 | Instance method | Public | Method | Has a function rulesets assigned? | 20101215 | |
| 13 | Instance method | Private | Method | Sets the Not Generated Object details in Context | 20111213 |
Events
Class CL_FDT_WD_FUNCTION_MODEL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_ELEMENT_BUFFER | Public | See coding | 20091127 | BEGIN OF s_element_buffer,
is_persisted TYPE boole_d,
element TYPE REF TO if_fdt_element,
END OF s_element_buffer
|
||
| 2 | T_AVAILABLE_LANGUAGE | Public | See coding | 20131031 | t_available_language TYPE TABLE OF fdts_wd_funct_avail_lang_model WITH DEFAULT KEY
|
||
| 3 | T_ELEMENT_BUFFER | Public | See coding | 20091127 | t_element_buffer TYPE STANDARD TABLE OF s_element_buffer
|
Method Signatures
Method ADD_ELEMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ELEMENT | Call by reference | Type reference (TYPE) | CL_FDT_WD_DO_MAINTENANCE_MODEL=>T_ELEMENT | 20091127 |
Method ADD_ELEMENTS on class CL_FDT_WD_FUNCTION_MODEL has no exception.
Method CREATE_RULESET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | ID | 20080819 |
Method CREATE_RULESET on class CL_FDT_WD_FUNCTION_MODEL has no exception.
Method GENERATE_CODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TRACE_GENERATION | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20111209 |
Method GENERATE_CODE on class CL_FDT_WD_FUNCTION_MODEL has no exception.
Method GET_ASSIGNED_RULESETS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INITIALIZE_ELEMENTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20080812 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Abstract Exception Class | 20080812 |
Method GET_AVAILABLE_LANGUAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_AVAIL_LANG | Value transfer | Type reference (TYPE) | T_AVAILABLE_LANGUAGE | Available languages | 20131031 |
Method GET_AVAILABLE_LANGUAGES on class CL_FDT_WD_FUNCTION_MODEL has no exception.
Method GET_CODE_GENERATION_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INITIALIZE_ELEMENTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20090220 |
Method GET_CODE_GENERATION_INFO on class CL_FDT_WD_FUNCTION_MODEL has no exception.
Method GET_CODE_TEMPLATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_SOURCE_CODE | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20121012 | |||
| 2 | EV_CODE | Value transfer | Type reference (TYPE) | STRING | Generated code | 20101117 | |||
| 3 | EV_ROW_COUNT | Call by reference | Type reference (TYPE) | I | Number of lines | 20101117 | |||
| 4 | IV_GET_VALUES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Defaul: Generate without retrieving altered values | 20120116 | ||
| 5 | IV_LOCAL_TEMPLATE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Default: Generate remote template | 20120423 | ||
| 6 | IV_SHOW_COMMENTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Default: Generate with comments | 20101126 | ||
| 7 | IV_SHOW_DDIC | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Default: Generate result in DDIC representation | 20121008 | ||
| 8 | IV_TRACE_SETTING | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Default: Generate without lean trace | 20101126 |
Method GET_CODE_TEMPLATE on class CL_FDT_WD_FUNCTION_MODEL has no exception.
Method GET_EXPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_EXPRESSION_ID | Value transfer | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20081117 |
Method GET_EXPRESSION on class CL_FDT_WD_FUNCTION_MODEL has no exception.
Method GET_FUNCTION_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_FUNCTIONAL_MODE | Value transfer | Type reference (TYPE) | IF_FDT_FUNCTION=>FUNCTION_MODE | Functional Mode | 20090527 |
Method GET_FUNCTION_MODE on class CL_FDT_WD_FUNCTION_MODEL has no exception.
Method GET_NOT_GENERATED_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20111213 | |||
| 2 | RO_NOT_GENERATED_OBJ | Value transfer | Type reference (TYPE) | FDTS_WD_NOT_GENERATED_OBJECTS | Structure: Not Generated Object details | 20111213 |
Method GET_NOT_GENERATED_OBJECT on class CL_FDT_WD_FUNCTION_MODEL has no exception.
Method GET_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INITIALIZE_ELEMENTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20080812 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Abstract Exception Class | 20080812 |
Method HAS_RULESETS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20101215 | |||
| 2 | RV_HAS_RULESETS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20101215 |
Method HAS_RULESETS on class CL_FDT_WD_FUNCTION_MODEL has no exception.
Method SET_NOT_GENERATED_OBJ_DTLS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_GEN_CLASS_NAME | Call by reference | Type reference (TYPE) | TROBJ_NAME | Object Name in Object List | 20111221 | |||
| 2 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | Time Stamp (active version, UTC) | 20111213 |
Method SET_NOT_GENERATED_OBJ_DTLS on class CL_FDT_WD_FUNCTION_MODEL has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 710 |