SAP ABAP Class CL_PS_SHORTTEXT (Handling Short Texts (All Elements in PS))
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PS-ST (Application Component) Structures
     PSB_API (Package) PS API Package
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_PS_TEXT Text Handler for Synchronization 20100525
Properties
Class CL_PS_SHORTTEXT  
Short Description Handling Short Texts (All Elements in PS)    
Super Class CL_PS_TEXT Text Handler for Synchronization 
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PSB_API   PS API Package 
Created 20100427   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
Class CL_PS_SHORTTEXT has no interface implemented.
Friends
Class CL_PS_SHORTTEXT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CV_APPLICATION Constant Public Type reference (TYPE) CHAR2 'PS' Application 20100526
2 CV_CJ_MESSAGE_CLASS Constant Private Type reference (TYPE) STRING 'CJ' CJ20N message class 20100526
3 CV_CN_LDST_MSG Constant Private Type reference (TYPE) STRING 'CN_LDST_MSG' Old Short Text message class 20100728
4 CV_PSHLP_MESSAGE_CLASS Constant Private Type reference (TYPE) STRING 'PSB_API_MSGCL' PSHLP message class name 20100526
5 MV_CALL_FOR_SYNC Instance attribute Private Type reference (TYPE) ABAP_BOOL Temporary indicator for recursive calls of short & long text 20100526
6 MV_CALL_FROM_MD Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100526
7 MV_INITIAL_ROWS Instance attribute Private Type reference (TYPE) I 20110201
8 SR_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_PS_SHORTTEXT Handling short texts (all elements in PS) 20100429
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_SHRTTXT_TO_BUFFER Instance method Private Method Appends short text to CNLDST_BT buffer 20100729
2 CHANGE_MLANGU_SHORT_TEXT Instance method Public Method Changes master lang. indicator of multiple lang. short texts 20100427
3 CHECK_OBJ_ACTIVE Instance method Public Method Checks if object is active 20100717
4 CHECK_SHRTTXT_BUFFER Instance method Private Method Checks short texts buffer 20100702
5 CLEAR_INITIAL_ROWS Instance method Public Method Clears the count of Initial rows 20110322
6 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20100729
7 DEL_SHORT_TEXT Instance method Public Method Deletes short text of given object number & language 20100506
8 DEL_SHORT_TEXTS Instance method Public Method Deletes short texts for multiple object number 20100528
9 EXTRACT_SHRT_FOR_OBJ Static method Private Method Extracts short texts (table) from key structure (table) 20100524
10 GET_FLAG_MD Instance method Public Method Returns an indicator which handles calls from Master Data 20100923
11 GET_GLOBAL_BUFFER Instance method Public Method Retrieves the global buffer data of short texts 20100602
12 GET_GLOBAL_BUFFER_METADATA Instance method Public Method Retrieves the metadata of global buffer 20100715
13 GET_INSTANCE Static method Public Method Returns single instance of this class 20100429
14 GET_MLANGU Instance method Public Method Returns master language for the given object number 20100511
15 GET_PROFILE Instance method Public Method Gets short text profiles for the current object 20100610
16 GET_SHORT_TEXT Instance method Public Method Gets short text for given obj. number & language (optional) 20100427
17 GET_SHORT_TEXTS Instance method Public Method Gets short texts for list of obj. number & lang.(optional) 20100524
18 GET_SHORT_TEXTS_INTERNAL Instance method Public Method Gets short texts for list of obj. number & lang.(optional) 20100920
19 GET_STANDARD_KEYS Instance method Public Method Returns the list of standard keys 20100526
20 INIT Instance method Public Method Clears buffers related to short texts 20100625
21 INITIALIZE Instance method Public Method Initialize buffers with DB data for given obj. & obj. number 20100506
22 LOAD_ALL_ACV_OBJECT Instance method Private Method Loads all active objects from DB 20100729
23 LOAD_SHRTTXT_FRM_DB Instance method Private Method Loads short texts of OBJNR from DB 20100729
24 SAVE Instance method Public Method Calls the saving of the short text to the DB 20100429
25 SAVE_CHECK Instance method Public Method Returns indicator if save is required for short texts 20100507
26 SET_DATA Instance method Public Method Sets the global buffer data of short texts 20110301
27 SET_FLAG_MD Instance method Public Method Sets an indicator to handle calls from Master Data 20100525
28 SET_GLOBAL_BUFFER Instance method Public Method Sets the global buffer data of short texts 20100602
29 SET_SHORT_TEXT Instance method Public Method Sets short text for object number & language 20100427
30 SET_SHORT_TEXTS Instance method Public Method Sets short texts for multiple object number and language 20100524
31 SYNCHONIZE_SHORTTXT Instance method Public Method Synchronizes short texts when the long text or POST1 changes 20100430
32 UPDATE_BUFFER_FOR_DRAFT Instance method Public Method synchronize short text buffers (Draft use only) 20110107
Events
Class CL_PS_SHORTTEXT has no event.
Types
Class CL_PS_SHORTTEXT has no local type.
Method Signatures

Method APPEND_SHRTTXT_TO_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100729
2 Importing IT_CNLDST_BT Call by reference Type reference (TYPE) CNLDST_TT_SHORTTEXT_BT 20100729

Method APPEND_SHRTTXT_TO_BUFFER on class CL_PS_SHORTTEXT has no exception.

Method CHANGE_MLANGU_SHORT_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100503
2 Importing IV_MLANGUAGE Call by reference Type reference (TYPE) CNLDST_LANGU Internal Language Key 20100427
3 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number of Master language record 20100427

Method CHANGE_MLANGU_SHORT_TEXT on class CL_PS_SHORTTEXT has no exception.

Method CHECK_OBJ_ACTIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100717
2 Exporting EV_OBJ_ACTIVE Value transfer Type reference (TYPE) ABAP_BOOL 20100726
3 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object Number 20100717

Method CHECK_OBJ_ACTIVE on class CL_PS_SHORTTEXT has no exception.

Method CHECK_SHRTTXT_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_TEXTS_EXISTS Value transfer Type reference (TYPE) ABAP_BOOL X - If buffer has texts of OBJNR 20100702
2 Importing IV_APPLICATION Call by reference Type reference (TYPE) CNLDST_APPLIC 20100909
3 Importing IV_OBJECT Call by reference Type reference (TYPE) CNLDST_OBJECT 20100909
4 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object Number 20100702

Method CHECK_SHRTTXT_BUFFER on class CL_PS_SHORTTEXT has no exception.

Method CLEAR_INITIAL_ROWS Signature

Method CLEAR_INITIAL_ROWS on class CL_PS_SHORTTEXT has no parameter.
Method CLEAR_INITIAL_ROWS on class CL_PS_SHORTTEXT has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_PS_SHORTTEXT has no parameter.
Method CONSTRUCTOR on class CL_PS_SHORTTEXT has no exception.

Method DEL_SHORT_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100506
2 Importing IV_LANG Call by reference Type reference (TYPE) SPRAS Language Key 20100506
3 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100506

Method DEL_SHORT_TEXT on class CL_PS_SHORTTEXT has no exception.

Method DEL_SHORT_TEXTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100528
2 Exporting ET_NODE_DATA Call by reference Type reference (TYPE) INDEX TABLE 20101103
3 Importing IT_OBJNR_LANGU Call by reference Type reference (TYPE) PSHLP_OBJ_SHORT_TT Table type of Object number and Language for Short text 20100528

Method DEL_SHORT_TEXTS on class CL_PS_SHORTTEXT has no exception.

Method EXTRACT_SHRT_FOR_OBJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OBJS_SHRTTXT Call by reference Type reference (TYPE) PSHLP_OBJ_SHORT_TT Table of Object number and short text 20100720
2 Exporting ET_SHORT_TEXT Call by reference Type reference (TYPE) CNLDST_TT_STEXT 20100524
3 Importing IT_OBJS_SHRTTXT Call by reference Type reference (TYPE) PSHLP_OBJ_SHORT_TT Table of Object number and short text 20100524
4 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100524

Method EXTRACT_SHRT_FOR_OBJ on class CL_PS_SHORTTEXT has no exception.

Method GET_FLAG_MD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FLAG Call by reference Type reference (TYPE) ABAP_BOOL 20100923

Method GET_FLAG_MD on class CL_PS_SHORTTEXT has no exception.

Method GET_GLOBAL_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LDST_BT Call by reference Type reference (TYPE) CNLDST_TT_SHORTTEXT_BT 20100602
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100602

Method GET_GLOBAL_BUFFER on class CL_PS_SHORTTEXT has no exception.

Method GET_GLOBAL_BUFFER_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100715
2 Exporting ET_METADATA Call by reference Type reference (TYPE) PSHLP_TABLE_METADATA_TT Internal Table Details of the PS global buffers 20100715

Method GET_GLOBAL_BUFFER_METADATA on class CL_PS_SHORTTEXT has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_INSTANCE Value transfer Object reference (TYPE REF TO) CL_PS_SHORTTEXT PS status 20100429

Method GET_INSTANCE on class CL_PS_SHORTTEXT has no exception.

Method GET_MLANGU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100511
2 Exporting EV_MLANGU Call by reference Type reference (TYPE) SPRAS Master Language 20100511
3 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100511

Method GET_MLANGU on class CL_PS_SHORTTEXT has no exception.

Method GET_PROFILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PROFILES Call by reference Type reference (TYPE) PSHLP_PROFILES_TT PSHLP Profile Table Type 20100611
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100611
3 Importing IS_NODE_DATA Call by reference Type reference (TYPE) ANY 20100611
4 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100625

Method GET_PROFILE on class CL_PS_SHORTTEXT has no exception.

Method GET_SHORT_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100503
2 Exporting ET_SHORT_TEXTS Call by reference Type reference (TYPE) CNLDST_TT_STEXT Language-Dependent Short Text 20100427
3 Importing IV_LANG Call by reference Type reference (TYPE) CNLDST_LANGU Internal Language Key 20100427
4 Importing IV_NO_AUTH_CHECK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 'X' - Check auth ' ' - Do not check auth 20100729
5 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object numbers 20100427

Method GET_SHORT_TEXT on class CL_PS_SHORTTEXT has no exception.

Method GET_SHORT_TEXTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100524
2 Exporting ET_OBJS_SHRTTXT Call by reference Type reference (TYPE) PSHLP_OBJ_SHORT_TT Language-Dependent Short Text 20100524
3 Importing IT_OBJNR_LANGU Call by reference Type reference (TYPE) PSHLP_OBJ_LANGU_TT Table of Object numbers 20100525
4 Importing IV_NO_AUTH_CHECK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20100803

Method GET_SHORT_TEXTS on class CL_PS_SHORTTEXT has no exception.

Method GET_SHORT_TEXTS_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100920
2 Exporting ET_OBJS_SHRTTXT Call by reference Type reference (TYPE) PSHLP_OBJ_SHORT_TT Language-Dependent Short Text 20100920
3 Importing IT_OBJNR Call by reference Type reference (TYPE) TT_OBJ_NUM Table of Object numbers 20100920
4 Importing IV_LANGU Call by reference Type reference (TYPE) SY-LANGU SY-LANGU Language Key of Current Text Environment 20100920
5 Importing IV_NO_AUTH_CHECK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20100920

Method GET_SHORT_TEXTS_INTERNAL on class CL_PS_SHORTTEXT has no exception.

Method GET_STANDARD_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100526
2 Exporting ET_TEMPLATE_VALUES Call by reference Type reference (TYPE) CNLDST_TT_TEMPLATE_KEY 20100526
3 Importing IV_LANG Call by reference Type reference (TYPE) SPRAS Language Key 20100528

Method GET_STANDARD_KEYS on class CL_PS_SHORTTEXT has no exception.

Method INIT Signature

Method INIT on class CL_PS_SHORTTEXT has no parameter.
Method INIT on class CL_PS_SHORTTEXT has no exception.

Method INITIALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100506
2 Importing IT_OBJNR Call by reference Type reference (TYPE) TT_OBJ_NUM Table of Object numbers 20100601

Method INITIALIZE on class CL_PS_SHORTTEXT has no exception.

Method LOAD_ALL_ACV_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100729

Method LOAD_ALL_ACV_OBJECT on class CL_PS_SHORTTEXT has no exception.

Method LOAD_SHRTTXT_FRM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CNLDST_BT Call by reference Type reference (TYPE) CNLDST_TT_SHORTTEXT_BT 20100729
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100729
3 Importing IT_OBJNR Call by reference Type reference (TYPE) PSHLP_OBJ_LANGU_TT Table of object numbers 20100729

Method LOAD_SHRTTXT_FRM_DB on class CL_PS_SHORTTEXT has no exception.

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100526

Method SAVE on class CL_PS_SHORTTEXT has no exception.

Method SAVE_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_SAVE Value transfer Type reference (TYPE) PSHLP_SAVE_ST Structure to track the type of change at SAVE 20100621

Method SAVE_CHECK on class CL_PS_SHORTTEXT has no exception.

Method SET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CNLDST_DRAFT Call by reference Type reference (TYPE) CNLDST_TT_SHORTTEXT_BT 20110301

Method SET_DATA on class CL_PS_SHORTTEXT has no exception.

Method SET_FLAG_MD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FLAG Call by reference Type reference (TYPE) ABAP_BOOL 20100525

Method SET_FLAG_MD on class CL_PS_SHORTTEXT has no exception.

Method SET_GLOBAL_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100610
2 Importing IT_CNLDST_DRAFT Call by reference Type reference (TYPE) CNLDST_TT_SHORTTEXT_BT 20100610
3 Importing IV_CLEAR_AND_SET Call by reference Type reference (TYPE) ABAP_BOOL 20110107
4 Importing IV_SAVE_IN_BACKGROUND Call by reference Type reference (TYPE) ABAP_BOOL 20110124

Method SET_GLOBAL_BUFFER on class CL_PS_SHORTTEXT has no exception.

Method SET_SHORT_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100503
2 Importing IT_SHORT_TEXT Call by reference Type reference (TYPE) CNLDST_TT_STEXT Table of Language-Dependent Short Texts 20100427
3 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100427

Method SET_SHORT_TEXT on class CL_PS_SHORTTEXT has no exception.

Method SET_SHORT_TEXTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100524
2 Exporting ET_NODE_DATA Call by reference Type reference (TYPE) PSHLP_OBJ_SHORT_TT Table of Short text output 20100717
3 Importing IT_OBJS_SHRTTXT Call by reference Type reference (TYPE) PSHLP_OBJ_SHORT_TT Table of Object number and short text 20100524

Method SET_SHORT_TEXTS on class CL_PS_SHORTTEXT has no exception.

Method SYNCHONIZE_SHORTTXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100503
2 Importing IS_SHORT_TEXT Call by reference Type reference (TYPE) CNLDST_TS_STEXT Language-Dependent Short Text Result Structure 20100430
3 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100430

Method SYNCHONIZE_SHORTTXT on class CL_PS_SHORTTEXT has no exception.

Method UPDATE_BUFFER_FOR_DRAFT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20110107

Method UPDATE_BUFFER_FOR_DRAFT on class CL_PS_SHORTTEXT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606