SAP ABAP Class CL_XLFT_ALL_TRANS_TRANS_UNIT (Retrieves all available translations of a text)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DOC-TTL (Application Component) Translation Tools
⤷
SLXE_XLFT (Package) XLIFF 1.2 Translation
⤷
⤷
Properties
| Class | CL_XLFT_ALL_TRANS_TRANS_UNIT | |
| Short Description | Retrieves all available translations of a text | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLXE_XLFT | XLIFF 1.2 Translation |
| Created | 20110218 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_XLFT_ALL_TRANS_TRANS_UNIT has no forward declaration.
Interfaces
Class CL_XLFT_ALL_TRANS_TRANS_UNIT has no interface implemented.
Friends
Class CL_XLFT_ALL_TRANS_TRANS_UNIT has no friend class.
Attributes
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20110218 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20110218 | |
| 3 | Instance method | Private | Method | 20110218 | ||
| 4 | Static method | Public | Method | Retrieves all available translation for a text | 20110218 | |
| 5 | Instance method | Private | Method | 20110218 | ||
| 6 | Instance method | Private | Method | 20110218 | ||
| 7 | Instance method | Private | Method | 20110221 | ||
| 8 | Instance method | Private | Method | 20110221 |
Events
Class CL_XLFT_ALL_TRANS_TRANS_UNIT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_LTEXT | Private | See coding | 20110218 | BEGIN OF s_ltext,
language TYPE lxeisolang,
serelem TYPE xlft_blob,
END OF s_ltext
|
||
| 2 | S_STEXT | Private | See coding | 20110218 | BEGIN OF s_stext,
language TYPE lxeisolang,
text TYPE lxeunitlin,
END OF s_stext
|
||
| 3 | T_LTEXT | Private | See coding | 20110218 | t_ltext TYPE SORTED TABLE OF s_ltext WITH UNIQUE KEY language
|
||
| 4 | T_STEXT | Private | See coding | 20110218 | t_stext TYPE SORTED TABLE OF s_stext WITH UNIQUE KEY language
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_XLFT_ALL_TRANS_TRANS_UNIT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_XLFT_ALL_TRANS_TRANS_UNIT has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | Translation Area | 20110218 | |||
| 2 | OBJECT_NAME | Call by reference | Type reference (TYPE) | LXEOBJNAME | Name of Translation Object | 20110218 | |||
| 3 | TEXTKEY | Call by reference | Type reference (TYPE) | LXETEXTKEY | Text Key | 20110218 |
Method CONSTRUCTOR on class CL_XLFT_ALL_TRANS_TRANS_UNIT has no exception.
Method GET_ALL_TRANS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TRANS_UNIT_XML | Value transfer | Type reference (TYPE) | XSTRING | 20110218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110218 |
Method GET_ALL_TRANS_TRANS_UNIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | Translation Area | 20110218 | |||
| 2 | OBJECT_NAME | Call by reference | Type reference (TYPE) | LXEOBJNAME | Name of Translation Object | 20110218 | |||
| 3 | TEXTKEY | Call by reference | Type reference (TYPE) | LXETEXTKEY | Text Key | 20110218 | |||
| 4 | TRANS_UNIT_XML | Value transfer | Type reference (TYPE) | XSTRING | Translation unit as XML | 20110218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110218 |
Method GET_TRANS_UNIT_FROM_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | GROUP | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_GROUP | Group | 20110218 | |||
| 2 | SHORTKEY | Call by reference | Type reference (TYPE) | XLFT_SHORTKEY | A "short" textkey (using only 26 characters instead of 32) | 20110218 | |||
| 3 | TRANS_UNIT | Value transfer | Object reference (TYPE REF TO) | IF_XLF_ELEM_TRANS_UNIT | Translation unit | 20110218 |
Method GET_TRANS_UNIT_FROM_GROUP on class CL_XLFT_ALL_TRANS_TRANS_UNIT has no exception.
Method GET_TRANS_UNIT_FROM_SUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SHORTKEY | Call by reference | Type reference (TYPE) | XLFT_SHORTKEY | A "short" textkey (using only 26 characters instead of 32) | 20110218 | |||
| 2 | SUS | Call by reference | Type reference (TYPE) | TXLF_STRUCTURAL_UNIT | Table of structural units | 20110218 | |||
| 3 | TRANS_UNIT | Value transfer | Object reference (TYPE REF TO) | IF_XLF_ELEM_TRANS_UNIT | Translation unit | 20110218 |
Method GET_TRANS_UNIT_FROM_SUS on class CL_XLFT_ALL_TRANS_TRANS_UNIT has no exception.
Method INSERT_TEXTS_INTO_TRANS_UNIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LTEXTS | Call by reference | Type reference (TYPE) | T_LTEXT | 20110221 | ||||
| 2 | ORIG_LANG | Call by reference | Type reference (TYPE) | LXEISOLANG | 20110221 | ||||
| 3 | SOURCE_LANG | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ATTR_SOURCE_LANGUAGE | 20110221 | ||||
| 4 | STEXTS | Call by reference | Type reference (TYPE) | T_STEXT | 20110221 | ||||
| 5 | TRANS_UNIT | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_TRANS_UNIT | 20110221 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110221 |
Method READ_DATA_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | XLFT_SHORTKEY | 20110221 | ||||
| 2 | LTEXTS | Call by reference | Type reference (TYPE) | T_LTEXT | 20110221 | ||||
| 3 | ORIG_LANG | Call by reference | Type reference (TYPE) | LXEISOLANG | 20110221 | ||||
| 4 | SERIALIZED | Call by reference | Type reference (TYPE) | XLFT_BLOB | 20110221 | ||||
| 5 | STEXTS | Call by reference | Type reference (TYPE) | T_STEXT | 20110221 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110221 | |||
| 2 | 20110221 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 731 |