SAP ABAP Class CL_WDY_RG_SOURCE_CODE_TOOL (API for DE: Generate Source Code of Controllers)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-WD-ABA-GEN (Application Component) Web Screen ABAP Generation
⤷
SWDP_RUNTIME_GENERATION_DT (Package) Web Dynpro: Create Data and Source Code at Design Time
⤷
⤷
Properties
| Class | CL_WDY_RG_SOURCE_CODE_TOOL | |
| Short Description | API for DE: Generate Source Code of Controllers | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWDP_RUNTIME_GENERATION_DT | Web Dynpro: Create Data and Source Code at Design Time |
| Created | 20041018 | 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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_WDY_RG_SOURCE_CODE_TOOL has no interface implemented.
Friends
Class CL_WDY_RG_SOURCE_CODE_TOOL 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) | STRING_TABLE | Locked Key Words | 20041018 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Checks Whether a Name for Web Dynpro Framework Is Reserved | 20041018 | |
| 2 | Static method | Public | Method | Releases Data from Intermediate Storage | 20041018 | |
| 3 | Static method | Public | Method | Generates a Source Code of External Interface | 20041018 | |
| 4 | Static method | Public | Method | Generates a Source Code of Global Interface | 20041018 | |
| 5 | Static method | Public | Method | Generates the Definitions of Internal Classes and Interfaces | 20041018 | |
| 6 | Static method | Public | Method | Generates the Implementation of Internal Classes | 20041018 | |
| 7 | Static method | Public | Method | Determines the Context of a Row in Generated Source Code | 20041018 | |
| 8 | Static method | Public | Method | Determines the First Row of a Method in Source Code | 20041018 |
Events
Class CL_WDY_RG_SOURCE_CODE_TOOL has no event.
Types
Class CL_WDY_RG_SOURCE_CODE_TOOL has no local type.
Method Signatures
Method CHECK_RESTRICTED_NAMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | CLIKE | $REF$ | 20041018 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Der Name ist für WebDynpro reserviert | 20041018 |
Method CLEAR_CACHE Signature
Method CLEAR_CACHE on class CL_WDY_RG_SOURCE_CODE_TOOL has no parameter.
Method CLEAR_CACHE on class CL_WDY_RG_SOURCE_CODE_TOOL has no exception.
Method GEN_EXTERNAL_INTERFACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTROLLER | Call by reference | Object reference (TYPE REF TO) | IF_WDY_MD_CONTROLLER | Web Dynpro : Controller | 20041018 | |||
| 2 | ENH_SWITCH_STATES | Call by reference | Type reference (TYPE) | WDY_ENH_SWITCH_TAB | Web-Dynpro: Zuordnung Enhancement <-> Switch Status | 20050614 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | WDYRT_GEN_INFO_TYPE | 20041018 |
Method GEN_EXTERNAL_INTERFACE on class CL_WDY_RG_SOURCE_CODE_TOOL has no exception.
Method GEN_GLOBAL_INTERFACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTROLLER | Call by reference | Object reference (TYPE REF TO) | IF_WDY_MD_CONTROLLER | Web Dynpro : Controller | 20041018 | |||
| 2 | ENH_SWITCH_STATES | Call by reference | Type reference (TYPE) | WDY_ENH_SWITCH_TAB | Web-Dynpro: Zuordnung Enhancement <-> Switch Status | 20050413 | |||
| 3 | NO_EXTERNAL_INTERFACE | Call by reference | Type reference (TYPE) | WDY_BOOLEAN | ABAP_FALSE | Keine Referenz auf ext. Interface | 20041018 | ||
| 4 | RESULT | Value transfer | Type reference (TYPE) | WDYRT_GEN_INFO_TYPE | 20041018 |
Method GEN_GLOBAL_INTERFACE on class CL_WDY_RG_SOURCE_CODE_TOOL has no exception.
Method GEN_INNER_DEFINITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | APPLICATION_CODE_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Nur Anwendungs-Coding generieren | 20041018 | ||
| 2 | COMPONENT_RUNTIME_CLASSNAME | Call by reference | Type reference (TYPE) | STRING | Name der Klasse für die WebDynpro Komponente | 20041018 | |||
| 3 | CONTROLLER | Call by reference | Object reference (TYPE REF TO) | IF_WDY_MD_CONTROLLER | Web Dynpro : Controller | 20041018 | |||
| 4 | ENH_SWITCH_STATES | Call by reference | Type reference (TYPE) | WDY_ENH_SWITCH_TAB | Web-Dynpro: Zuordnung Enhancement <-> Switch Status | 20050413 | |||
| 5 | RESULT | Value transfer | Type reference (TYPE) | WDYRT_GEN_INFO_TYPE | 20041018 |
Method GEN_INNER_DEFINITION on class CL_WDY_RG_SOURCE_CODE_TOOL has no exception.
Method GEN_INNER_IMPLEMENTATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | APPLICATION_CODE_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Nur Anwendungs-Coding generieren | 20041018 | ||
| 2 | COMPONENT_RUNTIME_CLASSNAME | Call by reference | Type reference (TYPE) | STRING | Name der WebDynpro Komponente | 20041018 | |||
| 3 | CONTROLLER | Call by reference | Object reference (TYPE REF TO) | IF_WDY_MD_CONTROLLER | Web Dynpro : Controller | 20041018 | |||
| 4 | ENH_SWITCH_STATES | Call by reference | Type reference (TYPE) | WDY_ENH_SWITCH_TAB | Web-Dynpro: Zuordnung Enhancement <-> Switch Status | 20050413 | |||
| 5 | RESULT | Value transfer | Type reference (TYPE) | WDYRT_GEN_INFO_TYPE | 20041018 |
Method GEN_INNER_IMPLEMENTATION on class CL_WDY_RG_SOURCE_CODE_TOOL has no exception.
Method QUERY_SOURCECODE_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LINE_NUMBER | Call by reference | Type reference (TYPE) | I | Zeile | 20041018 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | WDYRT_SOURCE_CONTEXT_TYPE | 20041018 | ||||
| 3 | SOURCE_META_INFO | Call by reference | Type reference (TYPE) | WDYRT_LINE_INFO_TAB_TYPE | Meta Informationen des Quelltextes | 20041018 |
Method QUERY_SOURCECODE_CONTEXT on class CL_WDY_RG_SOURCE_CODE_TOOL has no exception.
Method QUERY_SOURCELINE_METHOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | META_CONTEXT | Call by reference | Type reference (TYPE) | WDYRT_INFO_KIND_TYPE | WDYRT_CTRL_INFO_KIND-APL_CLAS_IMP | Implementierung oder Definition ? | 20041018 | ||
| 2 | METHOD_NAME | Call by reference | Type reference (TYPE) | CLIKE | Name der Methode | 20041018 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | I | Erste Zeilennummer, falls nicht vorhanden -1 | 20041018 | |||
| 4 | SOURCE_META_INFO | Call by reference | Type reference (TYPE) | WDYRT_LINE_INFO_TAB_TYPE | Meta Informationen des Quelltextes | 20041018 |
Method QUERY_SOURCELINE_METHOD on class CL_WDY_RG_SOURCE_CODE_TOOL has no exception.
History
| Last changed by/on | SAP | 20070911 |
| SAP Release Created in | 700 |