SAP ABAP Class CL_PS_LONGTEXT (Handles Long Texts)
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_LONGTEXT  
Short Description Handles Long Texts    
Super Class CL_PS_TEXT Text Handler for Synchronization 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PSB_API   PS API Package 
Created 20100426   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_LONGTEXT has no interface implemented.
Friends
Class CL_PS_LONGTEXT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CV_LANGUAGE Static Attribute Private Type reference (TYPE) AUFLTEXT Long Text Language 20100629
2 CV_MAX_LENGTH Constant Private Type reference (TYPE) I 40 20100617
3 CV_MLST_TXID Constant Private Type reference (TYPE) TDOBJECT 'MSTT' 20100617
4 CV_POST1 Static Attribute Private Type reference (TYPE) CHAR40 Text Description 20100629
5 CV_PROJDEF Constant Private Type reference (TYPE) PS_OBTYP 'D' 20100617
6 CV_PS_TEXT Constant Private Type reference (TYPE) CNLDST_APPLIC 'PS' Anwendung sprachabhängiger Kurztexte 20100628
7 CV_TXID Constant Private Type reference (TYPE) TDID 'LTXT' 20100617
8 CV_TXOBJECT Constant Private Type reference (TYPE) TDOBJECT 'PMS' 20100617
9 CV_TXOBJECT_ACTY Constant Private Type reference (TYPE) TDOBJECT 'AUFK' 20100617
10 CV_WBS Constant Private Type reference (TYPE) PS_OBTYP 'E' 20100617
11 OV_CALL_FROM_MD Instance attribute Public Type reference (TYPE) ABAP_BOOL 20100617
12 OV_CALL_SYNCH Instance attribute Public Type reference (TYPE) ABAP_BOOL 20100617
13 SR_LONGTEXT_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_PS_LONGTEXT Handles Long Texts 20100430
14 SS_AUTH Static Attribute Private Type reference (TYPE) GTY_AUTH_ST Authorization values 20100726
15 SS_TCO09 Static Attribute Private Type reference (TYPE) TCO09 20100617
16 SS_THEADER Static Attribute Private Type reference (TYPE) THEAD 20100617
17 SV_LANGUAGE Static Attribute Private Type reference (TYPE) AUFLTEXT Long Text Exists 20100921
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_SHORTTEXT Instance method Private Method Extracts the short text from the long text 20100430
2 CALL_SHORTTEXT_SYNC Instance method Private Method Prepares data and synchronizes the short text 20100503
3 CHECK_MLANGU Instance method Private Method Checks if master language is enabled 20110407
4 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20100813
5 GET_CONTROL_TEXT Instance method Public Method Retrieves the texts from SAPscript 20100426
6 GET_FLAG_MD Instance method Public Method Returns the flag which denotes the call from Master Data 20100923
7 GET_GLOBAL_BUFFER Instance method Public Method Gets the global buffer from STXD 20100601
8 GET_GLOBAL_BUFFER_METADATA Instance method Public Method Gets the global buffer metadata 20100708
9 GET_INSTANCE Static method Public Method Returns the instance of the long text class 20100430
10 PREPARE_DATA_ACTIVITY Instance method Private Method Prepares data related to activity 20100427
11 PREPARE_DATA_MATERIAL Instance method Private Method Prepares data related to material 20100427
12 PREPARE_DATA_MLST Instance method Private Method Prepares data related to milestones 20100525
13 PREPARE_DATA_NETWORK Instance method Private Method Prepares data related to network 20100427
14 PREPARE_DATA_PROJDEF Instance method Private Method Prepares data related to project definition 20100426
15 PREPARE_DATA_WBS Instance method Private Method Prepares data related to work breakdown structure 20100427
16 READ_TEXT Instance method Private Method Reads the data from SAPscript 20100629
17 RESOLVE_KEYS Instance method Private Method Resolve keys based on the object 20100430
18 RETREIVE_LTXT_BUFF_DATA Instance method Private Method Prepares the key for data retreival related to SAPscripts 20100615
19 SAVE Instance method Public Method Saves text-related information 20100429
20 SAVE_CHECK Instance method Public Method Saves text-related information 20100507
21 SET_CONTROL_TEXT Instance method Public Method Sets the text information into SAPscript 20100426
22 SET_FLAG_MD Instance method Public Method Sets the flag to denote that the call is from Master Data 20100526
23 SET_GLOBAL_BUFFER Instance method Public Method Sets the global buffer with STXD 20100601
24 SYNCHRONIZE_LONGTEXT Instance method Public Method Checks if the input and the buffer values are the same 20100430
25 SYNCHRONIZE_MASTERDATA Instance method Private Method Synchronizes the Master Data 20100506
Events
Class CL_PS_LONGTEXT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_AUTH_ST Private See coding 20100726 BEGIN OF gty_auth_st, display TYPE boole_d, active TYPE boole_d, END OF gty_auth_st
2 GTY_STXH_ST Private See coding 20100615 BEGIN OF gty_stxh_st, tdobject TYPE tdobject, tdid TYPE tdid, tdspras TYPE tdspras, tdname TYPE tdobname, END OF gty_stxh_st
3 GTY_THEAD_TT Private See coding 20100512 gty_thead_tt TYPE TABLE OF thead
Method Signatures

Method CALCULATE_SHORTTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FLG_DIFF Call by reference Type reference (TYPE) XFLAG Single-Character Flag 20100430
2 Exporting EV_TEXT_FINAL Call by reference Type reference (TYPE) CNLDST_STEXT Language-Dependent Short Text 20100430
3 Importing IV_TEXT_NEW Call by reference Type reference (TYPE) TDLINE SAPscript: Text Lines 20100430
4 Importing IV_TEXT_OLD Call by reference Type reference (TYPE) TDLINE SAPscript: Text Lines 20100430

Method CALCULATE_SHORTTEXT on class CL_PS_LONGTEXT has no exception.

Method CALL_SHORTTEXT_SYNC 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 20100503
2 Importing IV_LANG Call by reference Type reference (TYPE) AUFLTEXT Long Text Exists 20100503
3 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100603
4 Importing IV_SHORTTEXT Call by reference Type reference (TYPE) TEXT40 Text, 40 Characters Long 20100503

Method CALL_SHORTTEXT_SYNC on class CL_PS_LONGTEXT has no exception.

Method CHECK_MLANGU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ACTIVE Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20110407
2 Importing IV_APPLICATION Call by reference Type reference (TYPE) CNLDST_APPLIC 20110407
3 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object Number 20110419

Method CHECK_MLANGU on class CL_PS_LONGTEXT has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_PS_LONGTEXT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_PS_LONGTEXT has no exception.

Method GET_CONTROL_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_THEADER Call by reference Type reference (TYPE) THEAD SAPscript: Text Header 20100426
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100503
3 Exporting ET_TLINES Call by reference Type reference (TYPE) TLINE_TAB List of SAPscript Lines 20100426
4 Importing IV_AUFTYP Call by reference Type reference (TYPE) AUFTYP '20' Order Category 20100429
5 Importing IV_LANG Call by reference Type reference (TYPE) AUFLTEXT Long Text Language 20100427
6 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100603

Method GET_CONTROL_TEXT on class CL_PS_LONGTEXT 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_LONGTEXT 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_NODE_DATA_1 Call by reference Type reference (TYPE) INDEX TABLE Contains the value in the format of PSHLP_LNGTEXT_BUFFER_TT 20100608

Method GET_GLOBAL_BUFFER on class CL_PS_LONGTEXT 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 20100708
2 Exporting ET_METADATA Call by reference Type reference (TYPE) PSHLP_TABLE_METADATA_TT Internal Table Details of the PS global buffers 20100708

Method GET_GLOBAL_BUFFER_METADATA on class CL_PS_LONGTEXT 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_LONGTEXT Handles Long Texts 20100430

Method GET_INSTANCE on class CL_PS_LONGTEXT has no exception.

Method PREPARE_DATA_ACTIVITY 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 20100601
2 Importing IS_KEY Call by reference Type reference (TYPE) PSHLP_ACTY_KEY_ST Activity keys 20100601

Method PREPARE_DATA_ACTIVITY on class CL_PS_LONGTEXT has no exception.

Method PREPARE_DATA_MATERIAL 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 20100601
2 Importing IS_KEY Call by reference Type reference (TYPE) PSHLP_MATERIAL_KEY_ST Material Key 20100601
3 Importing IV_LANG Call by reference Type reference (TYPE) AUFLTEXT Long Text Language 20100427

Method PREPARE_DATA_MATERIAL on class CL_PS_LONGTEXT has no exception.

Method PREPARE_DATA_MLST 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 20100601
2 Importing IS_KEY Call by reference Type reference (TYPE) PSHLP_MLST_KEY_ST Milestone number 20100601

Method PREPARE_DATA_MLST on class CL_PS_LONGTEXT has no exception.

Method PREPARE_DATA_NETWORK 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 20100601
2 Importing IS_KEY Call by reference Type reference (TYPE) PSHLP_NTWK_KEY_ST Activity keys 20100601

Method PREPARE_DATA_NETWORK on class CL_PS_LONGTEXT has no exception.

Method PREPARE_DATA_PROJDEF 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 20100601
2 Importing IS_KEY Call by reference Type reference (TYPE) PSHLP_PROJ_KEY_ST Project key 20100601

Method PREPARE_DATA_PROJDEF on class CL_PS_LONGTEXT has no exception.

Method PREPARE_DATA_WBS 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 20100601
2 Importing IS_KEY Call by reference Type reference (TYPE) PSHLP_WBS_KEY_ST WBS key 20100601

Method PREPARE_DATA_WBS on class CL_PS_LONGTEXT has no exception.

Method READ_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_THEADER Call by reference Type reference (TYPE) THEAD SAPscript: Text Header 20100629
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100629
3 Exporting ET_TLINES Call by reference Type reference (TYPE) TLINE_TAB List of SAPscript Lines 20100629
4 Importing IV_LANG Call by reference Type reference (TYPE) AUFLTEXT Long Text Language 20100629
5 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object Number 20100629

Method READ_TEXT on class CL_PS_LONGTEXT has no exception.

Method RESOLVE_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_KEY Call by reference Type reference (TYPE) ANY 20100501
2 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100430
3 Importing IV_OBJTYP Call by reference Type reference (TYPE) IONR-OBART Object type, projects 20100501

Method RESOLVE_KEYS on class CL_PS_LONGTEXT has no exception.

Method RETREIVE_LTXT_BUFF_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LTXT_DATA Call by reference Type reference (TYPE) PSHLP_LNGTEXT_BUFFER_TT PSHLP : Table type to hold the buffer values for long text 20100615
2 Importing IS_HIERARCHY_DATA Call by reference Type reference (TYPE) PSHLP_HIERARCHY_ST Hierarchy structure for PS 20100615

Method RETREIVE_LTXT_BUFF_DATA on class CL_PS_LONGTEXT 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 20100503

Method SAVE on class CL_PS_LONGTEXT 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_LONGTEXT has no exception.

Method SET_CONTROL_TEXT 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 20100503
2 Importing IT_TEXTTAB Call by reference Type reference (TYPE) TLINE_TAB Table containing Long Text lines 20100428
3 Importing IV_AUFTYP Call by reference Type reference (TYPE) AUFTYP '20' Order Category 20100428
4 Importing IV_LANG Call by reference Type reference (TYPE) AUFLTEXT Long Text Language 20100428
5 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100603

Method SET_CONTROL_TEXT on class CL_PS_LONGTEXT 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 20100526

Method SET_FLAG_MD on class CL_PS_LONGTEXT has no exception.

Method SET_GLOBAL_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_NODE_DATA_1 Call by reference Type reference (TYPE) INDEX TABLE 20100608

Method SET_GLOBAL_BUFFER on class CL_PS_LONGTEXT has no exception.

Method SYNCHRONIZE_LONGTEXT 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 20100503
2 Importing IS_SHORTTEXT Call by reference Type reference (TYPE) CNLDST_TS_STEXT Language-Dependent Short Text Result Structure 20100501
3 Importing IV_AUFTYP Call by reference Type reference (TYPE) TCO09-AUFTY '20' Order Category 20100501
4 Importing IV_DEL_FLAG Call by reference Type reference (TYPE) ABAP_BOOL 20101213
5 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100501

Method SYNCHRONIZE_LONGTEXT on class CL_PS_LONGTEXT has no exception.

Method SYNCHRONIZE_MASTERDATA 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 20100506
2 Importing IV_DELETEFLG Call by reference Type reference (TYPE) ABAP_BOOL Indicates if there is a deletion in Long Text 20100528
3 Importing IV_LANG Call by reference Type reference (TYPE) AUFLTEXT Long Text Language 20100506
4 Importing IV_OBJNR Call by reference Type reference (TYPE) J_OBJNR Object number 20100603
5 Importing IV_TEXT Call by reference Type reference (TYPE) PS_POST1 PS: Short description (1st text line) 20100506

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