SAP ABAP Class CL_WB_SEARCH (Global Find and Replace)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-DWB-TOO-ABA (Application Component) ABAP Editor
⤷ SEDI (Package) PROGRAM EDITOR
⤷ BC-DWB-TOO-ABA (Application Component) ABAP Editor
⤷ SEDI (Package) PROGRAM EDITOR
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_WB_PROGRAM | Workbench: Program | 00000000 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_WB_TOOL | Workbench: Tool | 00000000 |
Properties
Class | CL_WB_SEARCH | |
Short Description | Global Find and Replace | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SEDI | PROGRAM EDITOR |
Created | 19981012 | SAP |
Last change | 20130531 | 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) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_WB_PROGRAM | Workbench: Program | 00000000 | ||
2 | IF_WB_TOOL | Workbench: Tool | 00000000 |
Friends
Class CL_WB_SEARCH has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MNGR | Instance attribute | Public | Attribute reference (LIKE) | 20000111 | ||||
2 | M_IS_UNIT_TEST_MODE | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20071123 | ||
3 | RSSRCH_LIST | Instance attribute | Private | Type reference (TYPE) | RSFOUNDS | Hit Table | 19991013 | ||
4 | TRUE | Constant | Private | Type reference (TYPE) | TY_BOOLEAN | 'X' | Value 'X' | 19990824 | |
5 | WB_OBJNAME | Instance attribute | Private | Type reference (TYPE) | SEU_OBJKEY | Main Object for Search Area | 19981026 | ||
6 | WB_OBJTYPE | Instance attribute | Private | Type reference (TYPE) | SEU_OBJTYP | Object Type of Search Area | 19991013 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CREATE_REQUEST | Static method | Public | Method | Generate Request for Global Find and Replace | 19981105 |
2 | CREATE_SEARCH_REPLACE_REQUEST | Static method | Public | Method | Create Request for Global Search / Replace W/O Dialog | 20071123 |
3 | HANDLE_CLASS_SOURCE | Instance method | Private | Method | 20071123 | |
4 | HANDLE_FUNCT_POOL | Instance method | Private | Method | 20071123 | |
5 | HANDLE_PRG_SOURCE | Instance method | Private | Method | 20071123 | |
6 | PROCESS_MULTI_WB_REQUEST | Instance method | Private | Method | Processing a Multi-Object Request | 20071123 |
7 | PROCESS_SINGLE_WB_REQUEST | Instance method | Private | Method | Process WB_Request for 1 Object | 20000317 |
Events
Class CL_WB_SEARCH has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_BOOLEAN | Private | See coding | Boolean Type | 19990824 | ty_boolean(1) TYPE c
|
Method Signatures
Method CREATE_REQUEST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | P_OBJECT_NAME | Call by reference | Type reference (TYPE) | SEU_OBJKEY | 19981105 | |||
2 | Importing | P_OBJECT_TYPE | Call by reference | Type reference (TYPE) | SEU_OBJTYP | 19981105 | |||
3 | Exporting | P_PROGRAM_STATE | Call by reference | Object reference (TYPE REF TO) | IF_WB_PROGRAM_STATE | 19981105 | |||
4 | Exporting | P_WB_REQUEST | Call by reference | Object reference (TYPE REF TO) | CL_WB_REQUEST | 19981105 |
Method CREATE_REQUEST on class CL_WB_SEARCH has no exception.
Method CREATE_SEARCH_REPLACE_REQUEST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | P_FIND_STRING | Value transfer | Type reference (TYPE) | RSSRCH-TDFIND | 20071123 | |||
2 | Importing | P_OBJ_NAME | Value transfer | Type reference (TYPE) | SEU_OBJKEY | 20071123 | |||
3 | Importing | P_OBJ_TYPE | Value transfer | Type reference (TYPE) | SEU_OBJTYP | 20071123 | |||
4 | Importing | P_REPLACE_STRING | Call by reference | Type reference (TYPE) | RSSRCH-TDREPLACE | 20071123 | |||
5 | Exporting | P_REQUEST | Call by reference | Object reference (TYPE REF TO) | CL_WB_REQUEST | 20071123 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ILLEGAL_NEW_WINDOW_PARAMETER | 20071123 | ||
2 | ILLEGAL_OBJECT_TYPE | 20071123 | ||
3 | ILLEGAL_OPERATION | 20071123 |
Method HANDLE_CLASS_SOURCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | P_FIND_STRING | Call by reference | Type reference (TYPE) | RSSRCH-TDFIND | 20071123 | |||
2 | Exporting | P_FOUNDS | Call by reference | Type reference (TYPE) | RSFOUNDS | Table of Hits | 20071123 | ||
3 | Importing | P_REPLACE_STRING | Call by reference | Type reference (TYPE) | RSSRCH-TDREPLACE | 20071123 | |||
4 | Importing | P_SUPPRESS_DIALOG | Call by reference | Type reference (TYPE) | CHAR1 | ' ' | Do not Display Dialog Box for Search Parameters | 20071123 | |
5 | Importing | P_WB_REQUEST | Value transfer | Object reference (TYPE REF TO) | CL_WB_REQUEST | Workbench Request to be Processed | 20071123 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | X_ABORTED | Search was terminated | 20071123 | |
2 | X_NOT_FOUND | No Hits were Found | 20071123 |
Method HANDLE_FUNCT_POOL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | P_FIND_STRING | Call by reference | Type reference (TYPE) | RSSRCH-TDFIND | 20071123 | |||
2 | Exporting | P_FOUNDS | Call by reference | Type reference (TYPE) | RSFOUNDS | Table of Hits | 20071123 | ||
3 | Importing | P_REPLACE_STRING | Call by reference | Type reference (TYPE) | RSSRCH-TDREPLACE | 20071123 | |||
4 | Importing | P_SUPPRESS_DIALOG | Call by reference | Type reference (TYPE) | CHAR1 | ' ' | Do not Display Dialog Box for Search Parameters | 20071123 | |
5 | Importing | P_WB_REQUEST | Value transfer | Object reference (TYPE REF TO) | CL_WB_REQUEST | Workbench Manager: Request | 20071123 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | X_ABORTED | Search was terminated | 20071123 | |
2 | X_NOT_FOUND | No hits were found | 20071123 |
Method HANDLE_PRG_SOURCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | P_FIND_STRING | Call by reference | Type reference (TYPE) | RSSRCH-TDFIND | 20071123 | |||
2 | Exporting | P_FOUNDS | Call by reference | Type reference (TYPE) | RSFOUNDS | Table of Hits | 20071123 | ||
3 | Importing | P_REPLACE_STRING | Call by reference | Type reference (TYPE) | RSSRCH-TDREPLACE | 20071123 | |||
4 | Importing | P_SUPPRESS_DIALOG | Call by reference | Type reference (TYPE) | CHAR1 | ' ' | Do not Display Dialog Box for Search Parameters | 20071123 | |
5 | Importing | P_WB_REQUEST | Value transfer | Object reference (TYPE REF TO) | CL_WB_REQUEST | Workbench Request to be Processed | 20071123 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | X_ABORTED | Search was terminated | 20071123 | |
2 | X_NOT_FOUND | No hits were found | 20071123 |
Method PROCESS_MULTI_WB_REQUEST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | L_OBJECT_TYPE | Value transfer | Type reference (TYPE) | SEU_OBJTYP | 20071123 | |||
2 | Importing | P_SUPPRESS_DIALOG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20071123 | |||
3 | Importing | P_WB_REQUEST | Call by reference | Object reference (TYPE REF TO) | CL_WB_REQUEST | 20071123 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | X_ABORTED | 20071123 | ||
2 | X_OPERATION_NOT_SUPPORTED | 20071123 |
Method PROCESS_SINGLE_WB_REQUEST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | P_FIND_STRING | Call by reference | Type reference (TYPE) | RSSRCH-TDFIND | EDIC Find-Parameter | 20071123 | ||
2 | Importing | P_REPLACE_STRING | Call by reference | Type reference (TYPE) | RSSRCH-TDREPLACE | EDIC Ersetze Parameter | 20071123 | ||
3 | Exporting | P_SEARCH_LIST | Call by reference | Type reference (TYPE) | RSFOUNDS | Trefferliste der Suche | 20000317 | ||
4 | Importing | P_SUPPRESS_DIALOG | Call by reference | Type reference (TYPE) | ABAP_BOOL | Popup für Suchparameter nicht anzeigen | 20000317 | ||
5 | Importing | P_WB_REQUEST | Call by reference | Object reference (TYPE REF TO) | CL_WB_REQUEST | Request für 1 Suche, kein Multiobjekt-Request | 20000317 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | X_ABORTED | Suche wurde abgebrochen | 20000317 | |
2 | X_ERROR_OCCURED | 20071123 | ||
3 | X_NOT_FOUND | Es wurden keine Treffer gefunden | 20000317 | |
4 | X_OPERATION_NOT_SUPPORTED | 20071123 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in |