Hierarchy
⤷
⤷
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 | 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 | Static Attribute | Private | Type reference (TYPE) | AUFLTEXT | Long Text Language | 20100629 | |||
| 2 | Constant | Private | Type reference (TYPE) | I | 40 | 20100617 | |||
| 3 | Constant | Private | Type reference (TYPE) | TDOBJECT | 'MSTT' | 20100617 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | CHAR40 | Text Description | 20100629 | |||
| 5 | Constant | Private | Type reference (TYPE) | PS_OBTYP | 'D' | 20100617 | |||
| 6 | Constant | Private | Type reference (TYPE) | CNLDST_APPLIC | 'PS' | Anwendung sprachabhängiger Kurztexte | 20100628 | ||
| 7 | Constant | Private | Type reference (TYPE) | TDID | 'LTXT' | 20100617 | |||
| 8 | Constant | Private | Type reference (TYPE) | TDOBJECT | 'PMS' | 20100617 | |||
| 9 | Constant | Private | Type reference (TYPE) | TDOBJECT | 'AUFK' | 20100617 | |||
| 10 | Constant | Private | Type reference (TYPE) | PS_OBTYP | 'E' | 20100617 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | 20100617 | ||||
| 12 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | 20100617 | ||||
| 13 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_PS_LONGTEXT | Handles Long Texts | 20100430 | |||
| 14 | Static Attribute | Private | Type reference (TYPE) | GTY_AUTH_ST | Authorization values | 20100726 | |||
| 15 | Static Attribute | Private | Type reference (TYPE) | TCO09 | 20100617 | ||||
| 16 | Static Attribute | Private | Type reference (TYPE) | THEAD | 20100617 | ||||
| 17 | Static Attribute | Private | Type reference (TYPE) | AUFLTEXT | Long Text Exists | 20100921 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Extracts the short text from the long text | 20100430 | |
| 2 | Instance method | Private | Method | Prepares data and synchronizes the short text | 20100503 | |
| 3 | Instance method | Private | Method | Checks if master language is enabled | 20110407 | |
| 4 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20100813 | |
| 5 | Instance method | Public | Method | Retrieves the texts from SAPscript | 20100426 | |
| 6 | Instance method | Public | Method | Returns the flag which denotes the call from Master Data | 20100923 | |
| 7 | Instance method | Public | Method | Gets the global buffer from STXD | 20100601 | |
| 8 | Instance method | Public | Method | Gets the global buffer metadata | 20100708 | |
| 9 | Static method | Public | Method | Returns the instance of the long text class | 20100430 | |
| 10 | Instance method | Private | Method | Prepares data related to activity | 20100427 | |
| 11 | Instance method | Private | Method | Prepares data related to material | 20100427 | |
| 12 | Instance method | Private | Method | Prepares data related to milestones | 20100525 | |
| 13 | Instance method | Private | Method | Prepares data related to network | 20100427 | |
| 14 | Instance method | Private | Method | Prepares data related to project definition | 20100426 | |
| 15 | Instance method | Private | Method | Prepares data related to work breakdown structure | 20100427 | |
| 16 | Instance method | Private | Method | Reads the data from SAPscript | 20100629 | |
| 17 | Instance method | Private | Method | Resolve keys based on the object | 20100430 | |
| 18 | Instance method | Private | Method | Prepares the key for data retreival related to SAPscripts | 20100615 | |
| 19 | Instance method | Public | Method | Saves text-related information | 20100429 | |
| 20 | Instance method | Public | Method | Saves text-related information | 20100507 | |
| 21 | Instance method | Public | Method | Sets the text information into SAPscript | 20100426 | |
| 22 | Instance method | Public | Method | Sets the flag to denote that the call is from Master Data | 20100526 | |
| 23 | Instance method | Public | Method | Sets the global buffer with STXD | 20100601 | |
| 24 | Instance method | Public | Method | Checks if the input and the buffer values are the same | 20100430 | |
| 25 | 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 | EV_FLG_DIFF | Call by reference | Type reference (TYPE) | XFLAG | Single-Character Flag | 20100430 | |||
| 2 | EV_TEXT_FINAL | Call by reference | Type reference (TYPE) | CNLDST_STEXT | Language-Dependent Short Text | 20100430 | |||
| 3 | IV_TEXT_NEW | Call by reference | Type reference (TYPE) | TDLINE | SAPscript: Text Lines | 20100430 | |||
| 4 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100503 | |||
| 2 | IV_LANG | Call by reference | Type reference (TYPE) | AUFLTEXT | Long Text Exists | 20100503 | |||
| 3 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20100603 | |||
| 4 | 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 | EV_ACTIVE | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20110407 | |||
| 2 | IV_APPLICATION | Call by reference | Type reference (TYPE) | CNLDST_APPLIC | 20110407 | ||||
| 3 | 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 | ES_THEADER | Call by reference | Type reference (TYPE) | THEAD | SAPscript: Text Header | 20100426 | |||
| 2 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100503 | |||
| 3 | ET_TLINES | Call by reference | Type reference (TYPE) | TLINE_TAB | List of SAPscript Lines | 20100426 | |||
| 4 | IV_AUFTYP | Call by reference | Type reference (TYPE) | AUFTYP | '20' | Order Category | 20100429 | ||
| 5 | IV_LANG | Call by reference | Type reference (TYPE) | AUFLTEXT | Long Text Language | 20100427 | |||
| 6 | 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 | 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 | 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 | ET_MESSAGE | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100708 | |||
| 2 | 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 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100601 | |||
| 2 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100601 | |||
| 2 | IS_KEY | Call by reference | Type reference (TYPE) | PSHLP_MATERIAL_KEY_ST | Material Key | 20100601 | |||
| 3 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100601 | |||
| 2 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100601 | |||
| 2 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100601 | |||
| 2 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100601 | |||
| 2 | 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 | ES_THEADER | Call by reference | Type reference (TYPE) | THEAD | SAPscript: Text Header | 20100629 | |||
| 2 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100629 | |||
| 3 | ET_TLINES | Call by reference | Type reference (TYPE) | TLINE_TAB | List of SAPscript Lines | 20100629 | |||
| 4 | IV_LANG | Call by reference | Type reference (TYPE) | AUFLTEXT | Long Text Language | 20100629 | |||
| 5 | 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 | CS_KEY | Call by reference | Type reference (TYPE) | ANY | 20100501 | ||||
| 2 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20100430 | |||
| 3 | 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 | 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 | 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 | 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 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100503 | |||
| 2 | IT_TEXTTAB | Call by reference | Type reference (TYPE) | TLINE_TAB | Table containing Long Text lines | 20100428 | |||
| 3 | IV_AUFTYP | Call by reference | Type reference (TYPE) | AUFTYP | '20' | Order Category | 20100428 | ||
| 4 | IV_LANG | Call by reference | Type reference (TYPE) | AUFLTEXT | Long Text Language | 20100428 | |||
| 5 | 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 | 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 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100503 | |||
| 2 | IS_SHORTTEXT | Call by reference | Type reference (TYPE) | CNLDST_TS_STEXT | Language-Dependent Short Text Result Structure | 20100501 | |||
| 3 | IV_AUFTYP | Call by reference | Type reference (TYPE) | TCO09-AUFTY | '20' | Order Category | 20100501 | ||
| 4 | IV_DEL_FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20101213 | ||||
| 5 | 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 | ET_MESSAGES | Call by reference | Type reference (TYPE) | PS_MESSAGES | Error messages | 20100506 | |||
| 2 | IV_DELETEFLG | Call by reference | Type reference (TYPE) | ABAP_BOOL | Indicates if there is a deletion in Long Text | 20100528 | |||
| 3 | IV_LANG | Call by reference | Type reference (TYPE) | AUFLTEXT | Long Text Language | 20100506 | |||
| 4 | IV_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20100603 | |||
| 5 | 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 |