SAP ABAP Class CL_SOTR_EDITOR (OTR Editor)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-OTR (Application Component) Online Text Repository
     SOTR (Package) Online Text Repository
Properties
Class CL_SOTR_EDITOR  
Short Description OTR Editor    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SOTR   Online Text Repository 
Created 20000128   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ICON Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 SOTR2 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_SOTR_EDITOR has no interface implemented.
Friends
Class CL_SOTR_EDITOR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GL_S_HEADER Instance attribute Private Type reference (TYPE) SOTR_HEAD 20000128
2 GL_S_SOURCE_CONTEXT Instance attribute Private Type reference (TYPE) SOTR_CNTXT 20000128
3 GL_S_TARGET_CONTEXT Instance attribute Private Type reference (TYPE) SOTR_CNTXT 20000128
4 GL_T_TEXTS Instance attribute Private Type reference (TYPE) SOTR_TEXT_TT 20000128
5 GL_V_EDIT_MODE Instance attribute Private Type reference (TYPE) BAPIFLAG 20000128
6 GL_V_SOURCE_LANGU Instance attribute Private Type reference (TYPE) SYLANGU 20000128
7 GL_V_TARGET_LANGU Instance attribute Private Type reference (TYPE) SYLANGU 20000128
8 G_LIST Instance attribute Private Object reference (TYPE REF TO) CL_SOTR_EDITOR_LIST 20000211
9 MC_ICON_STATE_ACCEPTED Constant Public Type reference (TYPE) ICONNAME ICON_LED_GREEN 20000403
10 MC_ICON_STATE_REJECTED Constant Public Type reference (TYPE) ICONNAME ICON_LED_RED 20000403
11 MC_ICON_STATE_TOBEREVIEWED Constant Public Type reference (TYPE) ICONNAME ICON_LED_YELLOW 20000403
12 MC_ICON_STATE_UNKNOWN Constant Public Type reference (TYPE) ICONNAME ICON_LED_INACTIVE 20000404
13 OFF Constant Public Type reference (TYPE) FLAG SPACE 20001227
14 ON Constant Public Type reference (TYPE) FLAG 'X' 20001227
Methods
# Method Level Visibility Method type Description Created on
1 AFTER_USER_ACTION Instance method Public Method 20000211
2 CHANGE_STATUS_CONCEPT Instance method Public Method Change Status 20001208
3 CHECK_LOSS_OF_DATA Instance method Public Method Confirmation Prompt 20001117
4 CHECK_SPELLING Instance method Public Method Check Spelling 20010126
5 CHOOSE_EDITABLE_FROM_STATUS Instance method Private Method Determine Whether Text Can Be Changed 20001206
6 CHOOSE_ICON_FROM_STATUS Instance method Private Method Assign Icon to Status 20000404
7 CONSTRUCTOR Instance method Public Constructor 20000128
8 DISPLAY_PROPOSAL_POOL Instance method Public Method Display Proposal Pool 20010327
9 FREE Instance method Public Method 20000128
10 HANDLE_PTEXT_WCLICK Instance method Public Event handling method 20000211
11 HANDLE_REMARK_WCLICK Instance method Public Event handling method 20000214
12 HANDLE_STEXT_WCLICK Instance method Public Event handling method 20000211
13 HANDLE_TRMINFO Instance method Public Event handling method 20000214
14 HANDLE_TTEXT_WCLICK Instance method Public Event handling method 20000211
15 INITIALIZE_CONCEPT Instance method Public Method 20000128
16 RELEASE_CONCEPT Instance method Public Method Release Concept 20001206
17 REPLACEMENT_GET_PROPOSAL Instance method Private Method 20010815
18 REQUEST_REMARK Instance method Public Method 20001128
19 SAVE_CONCEPT Instance method Public Method Save Concept 20000215
20 SAVE_ENTRY Instance method Private Method Save Entry 20001201
21 SET_STATUS_ON_SCREEN Instance method Private Method 20001201
22 SHOW_PROPOSAL Instance method Public Method Display Proposal from Proposal Pool 20000320
23 UPDATE_LANGUAGE_TRANSPORT Instance method Private Method Update Language Transport Request 20001205
24 WRITE_ICON_REMARK Instance method Private Method Display Icon for Comment 20001128
Events
# Event Type Visibility Description Created on
1 AFTER_SAVE Instance Event
(0)
Public
(2)
20000228
2 DELETE_CONCEPT_LANG Instance Event
(0)
Public
(2)
20001127
Types
Class CL_SOTR_EDITOR has no local type.
Method Signatures

Method AFTER_USER_ACTION Signature

Method AFTER_USER_ACTION on class CL_SOTR_EDITOR has no parameter.
Method AFTER_USER_ACTION on class CL_SOTR_EDITOR has no exception.

Method CHANGE_STATUS_CONCEPT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_WE_ORDER Value transfer Type reference (TYPE) E070-TRKORR 20001208
2 Importing I_CONCEPT Value transfer Type reference (TYPE) SOTR_TEXT-CONCEPT 20001208
3 Importing I_STATUS Value transfer Type reference (TYPE) SOTR_TEXT-STATUS 20001208
4 Importing I_TRKORR Value transfer Type reference (TYPE) TRKORR 20001208
# Exception Resumable Description Created on
1 ALREADY_RELEASED 20001208
2 DBUPDATE_FAILED 20001208
3 IRREGAL_PARAMETER 20001208
4 PERMISSION_FAILURE 20001208
5 USER_CANCELLED 20001208

Method CHECK_LOSS_OF_DATA Signature

Method CHECK_LOSS_OF_DATA on class CL_SOTR_EDITOR has no parameter.
# Exception Resumable Description Created on
1 GET_TEXT_FAIL 20001227

Method CHECK_SPELLING Signature

Method CHECK_SPELLING on class CL_SOTR_EDITOR has no parameter.
Method CHECK_SPELLING on class CL_SOTR_EDITOR has no exception.

Method CHOOSE_EDITABLE_FROM_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_STATUS Value transfer Type reference (TYPE) SOTR_TEXT-STATUS 20001206
2 Returning R_EDITABLE Value transfer Type reference (TYPE) FLAG 20001206

Method CHOOSE_EDITABLE_FROM_STATUS on class CL_SOTR_EDITOR has no exception.

Method CHOOSE_ICON_FROM_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DB_EXIST Value transfer Type reference (TYPE) SY-SUBRC 20001117
2 Importing I_STATUS Value transfer Type reference (TYPE) SOTR_TEXT-STATUS 20000404
3 Returning R_ICON Value transfer Type reference (TYPE) ICON-ID 20000404

Method CHOOSE_ICON_FROM_STATUS on class CL_SOTR_EDITOR has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EDIT_MODE Value transfer Type reference (TYPE) BAPIFLAG 20000128
2 Importing I_SOURCE_CONTEXT Value transfer Type reference (TYPE) SOTR_CNTXT 20000128
3 Importing I_SOURCE_LANGU Value transfer Type reference (TYPE) SYLANGU 20000128
4 Importing I_TARGET_CONTEXT Value transfer Type reference (TYPE) SOTR_CNTXT 20000128
5 Importing I_TARGET_LANGU Value transfer Type reference (TYPE) SYLANGU 20000128
# Exception Resumable Description Created on
1 LANGUAGE_MISSING 20001206

Method DISPLAY_PROPOSAL_POOL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_INDEX Value transfer Type reference (TYPE) SY-TABIX Interne Tabellen, aktueller Zeilenindex 20010327
2 Importing E_STEXT Value transfer Type reference (TYPE) SOTR_TEXT-TEXT Textfeld für das OTR 20010327

Method DISPLAY_PROPOSAL_POOL on class CL_SOTR_EDITOR has no exception.

Method FREE Signature

Method FREE on class CL_SOTR_EDITOR has no parameter.
Method FREE on class CL_SOTR_EDITOR has no exception.

Method HANDLE_PTEXT_WCLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_INDEX Call by reference Type reference (TYPE) 20000211
2 Importing E_PTEXT Call by reference Type reference (TYPE) 20000211
3 Importing E_TTEXT_HIDE Call by reference Type reference (TYPE) 20001220

Method HANDLE_PTEXT_WCLICK on class CL_SOTR_EDITOR has no exception.

Method HANDLE_REMARK_WCLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_INDEX Call by reference Type reference (TYPE) 20000214
2 Importing E_TTEXT_HIDE Call by reference Type reference (TYPE) >INVALID< 20001206

Method HANDLE_REMARK_WCLICK on class CL_SOTR_EDITOR has no exception.

Method HANDLE_STEXT_WCLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_INDEX Call by reference Type reference (TYPE) 20000211
2 Importing E_STEXT Call by reference Type reference (TYPE) 20000211
3 Importing E_STEXT_HIDE Call by reference Type reference (TYPE) 20000211
4 Importing E_TTEXT_HIDE Call by reference Type reference (TYPE) 20001220

Method HANDLE_STEXT_WCLICK on class CL_SOTR_EDITOR has no exception.

Method HANDLE_TRMINFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_INDEX Call by reference Type reference (TYPE) 20000214
2 Importing E_STEXT Call by reference Type reference (TYPE) 20000214

Method HANDLE_TRMINFO on class CL_SOTR_EDITOR has no exception.

Method HANDLE_TTEXT_WCLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_INDEX Call by reference Type reference (TYPE) 20000211
2 Importing E_TTEXT Call by reference Type reference (TYPE) 20000211
3 Importing E_TTEXT_HIDE Call by reference Type reference (TYPE) 20000211

Method HANDLE_TTEXT_WCLICK on class CL_SOTR_EDITOR has no exception.

Method INITIALIZE_CONCEPT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_REPLACEMENTS Call by reference Type reference (TYPE) SOTR_RPLCS 20000320
2 Importing I_CONCEPT Call by reference Type reference (TYPE) SOTR_CONC 20000128
3 Importing I_CONTEXT Call by reference Type reference (TYPE) SOTR_CNTXT Kontext für das OTR 20030403

Method INITIALIZE_CONCEPT on class CL_SOTR_EDITOR has no exception.

Method RELEASE_CONCEPT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_WE_ORDER Value transfer Type reference (TYPE) E070-TRKORR 20001206
2 Importing I_CONCEPT Value transfer Type reference (TYPE) SOTR_HEAD-CONCEPT 20001206
3 Importing I_CONTEXT Value transfer Type reference (TYPE) SOTR_CNTXT Kontext für das OTR 20030407
4 Importing I_STATUS Value transfer Type reference (TYPE) SOTR_TEXT-STATUS 20001206
5 Importing I_TRKORR Value transfer Type reference (TYPE) TRKORR 20001206
# Exception Resumable Description Created on
1 ALREADY_RELEASED 20001208
2 DBUPDATE_FAILED 20001208
3 PERMISSION_FAILURE 20001208
4 USER_CANCELLED 20001208

Method REPLACEMENT_GET_PROPOSAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TARGET_TEXTS Call by reference Type reference (TYPE) SOTR_TERMS Tabelle der geänderten Texte 20010815
2 Importing IT_REPLACEMENTS Call by reference Type reference (TYPE) SOTR_RPLCS Tabelle mit allen Ersetzungsbegriffen 20010815
3 Importing IT_SOURCE_TEXTS Call by reference Type reference (TYPE) SOTR_TERMS Tabelle der Sourcetexte 20010815

Method REPLACEMENT_GET_PROPOSAL on class CL_SOTR_EDITOR has no exception.

Method REQUEST_REMARK Signature

Method REQUEST_REMARK on class CL_SOTR_EDITOR has no parameter.
Method REQUEST_REMARK on class CL_SOTR_EDITOR has no exception.

Method SAVE_CONCEPT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONCEPT Value transfer Type reference (TYPE) SOTR_HEAD-CONCEPT 20001116
# Exception Resumable Description Created on
1 DBUPDATE_FAIL 20001227
2 GET_TEXT_FAIL 20001227
3 UNKNOWN_ERROR 20001227

Method SAVE_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_UPDATED Value transfer Type reference (TYPE) FLAG 20001206
2 Changing I_SOTR_TEXT Value transfer Type reference (TYPE) SOTR_TEXT 20001201
# Exception Resumable Description Created on
1 DBUPDATE_FAIL 20001205
2 INITIAL_CONCEPT 20001227

Method SET_STATUS_ON_SCREEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEX Value transfer Type reference (TYPE) SY-TABIX 20001201
2 Importing I_OBJECT Value transfer Type reference (TYPE) SOTR_TEXT-OBJECT 20001201
3 Importing I_STATUS Value transfer Type reference (TYPE) SOTR_TEXT-STATUS 20001201
# Exception Resumable Description Created on
1 INDEX_NOT_FOUND 20001227
2 INITIAL_INDEX 20001227

Method SHOW_PROPOSAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_REPLACEMENTS Value transfer Type reference (TYPE) SOTR_RPLCS 20000320
# Exception Resumable Description Created on
1 GET_TEXT_ERROR 20001227
2 PARAMETER_NOT_SUFFICIENT 20000320

Method UPDATE_LANGUAGE_TRANSPORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONCEPT Value transfer Type reference (TYPE) SOTR_TEXT-CONCEPT 20001205
2 Importing I_LANG Value transfer Type reference (TYPE) SOTR_TEXT-LANGU 20001205
3 Importing I_PACKAGE Value transfer Type reference (TYPE) SOTR_HEAD-PAKET 20001205
4 Importing I_TRKORR Value transfer Type reference (TYPE) TRKORR 20001205
# Exception Resumable Description Created on
1 IRREGAL_PARAMETER 20001227
2 TRANSPORT_UPDATE_FAIL 20001227

Method WRITE_ICON_REMARK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEX Call by reference Type reference (TYPE) SY-TABIX 20001128
2 Importing I_TTEXT_HIDE Call by reference Type reference (TYPE) SOTR_TEXT 20001218
# Exception Resumable Description Created on
1 INDEX_NOT_FOUND 20001227
2 INITIAL_INDEX 20001227
3 IRREGAL_PARAMETER 20001227
Event Signatures

Event AFTER_SAVE Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 E_CONCEPT Exporting Value transfer Type reference (TYPE) SOTR_TEXT-CONCEPT 20000407

Event DELETE_CONCEPT_LANG Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 E_CONCEPT Exporting Value transfer Type reference (TYPE) SOTR_TEXT-CONCEPT 20001127
2 E_LANG Exporting Value transfer Type reference (TYPE) SOTR_TEXT-LANGU 20001127
History
Last changed by/on SAP  20110908 
SAP Release Created in 50A