SAP ABAP Class CL_SLD_UTIL (Static Help Functions)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CCM-SLD-ABA (Application Component) System Landscape Directory ABAP Connectivity
⤷
SLD_API (Package) System Landscape Directory API
⤷
⤷
Properties
| Class | CL_SLD_UTIL | |
| Short Description | Static Help Functions | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | SLD_API | System Landscape Directory API |
| Created | 20020522 | SAP |
| Last change | 20110908 | 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_SLD_UTIL has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_SLD_ACCESSOR | 20020607 | Access to SLD Server | |
| 2 | CL_SLD_ACCESSOR_WBEM_CLIENT | 20081205 | Access to SLD server through WBEM client | |
| 3 | CL_SLD_CIM_METHOD | 20070523 | CIM Method Information | |
| 4 | CL_SLD_CIM_OBJECT | 20020524 | CIM Representation Type |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Type reference (TYPE) | STRING | 'false' | CIM Boolean Value 'false' | 20071210 | ||
| 2 | Static Attribute | Public | Type reference (TYPE) | STRING | 'true' | CIM Boolean Value 'true' | 20071210 | ||
| 3 | Static Attribute | Private | Type reference (TYPE) | SLDI_T_DATATYPEMAP | Data Type Table | 20020523 | |||
| 4 | Static Attribute | Protected | Type reference (TYPE) | I | Length of Key Number | 20020523 | |||
| 5 | Static Attribute | Protected | Type reference (TYPE) | I | Length of Name Key Prefix | 20020523 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | SLD_T_NAMELOOKUP | Look-Up Table for Long Names | 20020523 | |||
| 7 | Static Attribute | Protected | Type reference (TYPE) | I | Length of Short Name | 20020523 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Protected | Method | Adds new entries to value array map | 20020606 | |
| 2 | Static method | Public | Method | Generates the object name (path) of a class or instance | 20020527 | |
| 3 | Static method | Public | Method | Determines ABAP type from CIM type | 20020523 | |
| 4 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20020523 | |
| 5 | Static method | Public | Method | Creates GUID in Suitable Format for SLD | 20041005 | |
| 6 | Static method | Public | Method | Extracts parts of object name | 20020627 | |
| 7 | Static method | Protected | Method | Determines long name for short name | 20020527 | |
| 8 | Static method | Public | Method | Converts C to string | 20020522 | |
| 9 | Static method | Public | Method | Converts C array to string array | 20020522 | |
| 10 | Static method | Public | Method | Converts date time to string | 20020522 | |
| 11 | Static method | Public | Method | Converts date time array to string array | 20020522 | |
| 12 | Static method | Public | Method | Converts F to string | 20020522 | |
| 13 | Static method | Public | Method | Converts F array to string array | 20020522 | |
| 14 | Static method | Public | Method | Converts I to string | 20020522 | |
| 15 | Static method | Public | Method | Converts I array to string array | 20020522 | |
| 16 | Static method | Private | Method | Gets key (new or existing) | 20020523 | |
| 17 | Static method | Private | Method | Name Look-Up | 20020523 | |
| 18 | Static method | Protected | Method | Determines short name for long name | 20020527 | |
| 19 | Static method | Public | Method | Determines short name for long name | 20100531 | |
| 20 | Static method | Public | Method | Converts string to C | 20020522 | |
| 21 | Static method | Public | Method | Converts string array to C array | 20020522 | |
| 22 | Static method | Public | Method | Converts string to date time | 20020522 | |
| 23 | Static method | Public | Method | Converts string rray to date time array | 20020522 | |
| 24 | Static method | Public | Method | Converts string to F | 20020522 | |
| 25 | Static method | Public | Method | Converts string array to F array | 20020522 | |
| 26 | Static method | Public | Method | Converts string to I | 20020522 | |
| 27 | Static method | Public | Method | Converts string array to I array | 20020522 | |
| 28 | Static method | Protected | Method | Converts external format to internal format | 20020704 |
Events
Class CL_SLD_UTIL has no event.
Types
Class CL_SLD_UTIL has no local type.
Method Signatures
Method APPEND_VALUEARRAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ARRAYMAP | Call by reference | Type reference (TYPE) | SLD_T_ARRAYVALUEMAP | Zu erweiternder Value-Array | 20020606 | |||
| 2 | NEWKEY | Call by reference | Type reference (TYPE) | I | Neuer Schlüssel | 20020606 | |||
| 3 | SOURCEKEY | Call by reference | Type reference (TYPE) | I | Quellschlüssel | 20020607 | |||
| 4 | SOURCEMAP | Call by reference | Type reference (TYPE) | SLD_T_ARRAYVALUEMAP | Quell-Value-Array | 20020607 | |||
| 5 | TARGETKEY | Call by reference | Type reference (TYPE) | I | 0 | Zielschlüssel | 20020607 |
Method APPEND_VALUEARRAY on class CL_SLD_UTIL has no exception.
Method BUILD_OBJECTNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HOST | Call by reference | Type reference (TYPE) | STRING | SLD Hostname | 20020527 | |||
| 2 | MODELPATH | Call by reference | Type reference (TYPE) | STRING | Model Path des Objekts | 20020527 | |||
| 3 | NAMESPACE | Call by reference | Type reference (TYPE) | STRING | SLD Namespace | 20020527 | |||
| 4 | RET | Value transfer | Type reference (TYPE) | STRING | Object Name | 20020527 |
Method BUILD_OBJECTNAME on class CL_SLD_UTIL has no exception.
Method CIM_TO_ABAPTYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CIMTYPE | Call by reference | Type reference (TYPE) | SLD_DATATYPE | CIM/ABAP-Datentyp | 20020523 | |||
| 2 | RET | Value transfer | Type reference (TYPE) | SLD_DATATYPE | CIM/ABAP-Datentyp | 20020523 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SLD API Ausnahmen | 20020523 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_SLD_UTIL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SLD_UTIL has no exception.
Method CREATE_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | STRING | GUID im 8-4-4-4-12 Format | 20041005 |
Method CREATE_GUID on class CL_SLD_UTIL has no exception.
Method DECOMPOSE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLASSNAME | Call by reference | Type reference (TYPE) | STRING | Klassenname (Model Path) | 20020627 | |||
| 2 | HOST | Call by reference | Type reference (TYPE) | STRING | Host | 20020627 | |||
| 3 | INSTNAME | Call by reference | Type reference (TYPE) | STRING | Instanzenname (Model Path) | 20020627 | |||
| 4 | NAMESPACE | Call by reference | Type reference (TYPE) | STRING | Namespace | 20020627 | |||
| 5 | OBJECTNAME | Value transfer | Type reference (TYPE) | STRING | Objektname | 20020627 |
Method DECOMPOSE_NAME on class CL_SLD_UTIL has no exception.
Method EXPAND_SHORTNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | STRING | Langer Name | 20020527 | |||
| 2 | SHORTNAME | Call by reference | Type reference (TYPE) | SLD_SHORTNAME | Kurzname (abgeschnittener String) | 20020527 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SLD API Ausnahmen | 20020527 |
Method FROM_C Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | STRING | 20020522 | ||||
| 2 | VALUE | Call by reference | Type reference (TYPE) | SLDI_CHAR | 20020522 |
Method FROM_C on class CL_SLD_UTIL has no exception.
Method FROM_C_A Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | SLD_T_STRING | String-Tabelle | 20020522 | |||
| 2 | VALUES | Call by reference | Type reference (TYPE) | SLD_T_C | Character-Array | 20020522 |
Method FROM_C_A on class CL_SLD_UTIL has no exception.
Method FROM_DT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | STRING | 20020522 | ||||
| 2 | VALUE | Call by reference | Object reference (TYPE REF TO) | CL_SLD_DATETIME | CIM datetime-Objekt | 20020522 |
Method FROM_DT on class CL_SLD_UTIL has no exception.
Method FROM_DT_A Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | SLD_T_STRING | String-Array | 20020522 | |||
| 2 | VALUES | Call by reference | Type reference (TYPE) | SLD_T_DT | Datetime-Array | 20020522 |
Method FROM_DT_A on class CL_SLD_UTIL has no exception.
Method FROM_F Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | STRING | 20020522 | ||||
| 2 | VALUE | Call by reference | Type reference (TYPE) | F | 20020522 |
Method FROM_F on class CL_SLD_UTIL has no exception.
Method FROM_F_A Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | SLD_T_STRING | String-Tabelle | 20020522 | |||
| 2 | VALUES | Call by reference | Type reference (TYPE) | SLD_T_F | Float-Array | 20020522 |
Method FROM_F_A on class CL_SLD_UTIL has no exception.
Method FROM_I Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | STRING | 20020522 | ||||
| 2 | VALUE | Call by reference | Type reference (TYPE) | I | 20020522 |
Method FROM_I on class CL_SLD_UTIL has no exception.
Method FROM_I_A Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | SLD_T_STRING | String-Tabelle | 20020522 | |||
| 2 | VALUES | Call by reference | Type reference (TYPE) | SLD_T_I | Integer-Tabelle | 20020522 |
Method FROM_I_A on class CL_SLD_UTIL has no exception.
Method GET_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | Langer Name | 20020523 | |||
| 2 | RET | Value transfer | Type reference (TYPE) | SLD_SHORTNAME | Schlüssel (Kurzname) | 20020523 |
Method GET_KEY on class CL_SLD_UTIL has no exception.
Method GET_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEY | Call by reference | Type reference (TYPE) | SLD_SHORTNAME | Kurzname (abgeschnittener String) | 20020523 | |||
| 2 | RET | Value transfer | Type reference (TYPE) | STRING | Langer Name | 20020523 |
Method GET_NAME on class CL_SLD_UTIL has no exception.
Method GET_SHORTNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | Langer Name | 20020527 | |||
| 2 | RET | Value transfer | Type reference (TYPE) | SLD_SHORTNAME | Kurzname (abgeschnittener String) | 20020527 |
Method GET_SHORTNAME on class CL_SLD_UTIL has no exception.
Method GET_SHORTNAME_PBL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | Langer Name | 20100531 | |||
| 2 | RET | Value transfer | Type reference (TYPE) | SLD_SHORTNAME | Kurzname (abgeschnittener String) | 20100531 |
Method GET_SHORTNAME_PBL on class CL_SLD_UTIL has no exception.
Method TO_C Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | SLDI_CHAR | 20020522 | ||||
| 2 | VALUE | Call by reference | Type reference (TYPE) | STRING | 20020522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception bei Konvertierungsfehlern | 20020522 |
Method TO_C_A Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | SLD_T_C | Character-Array | 20020522 | |||
| 2 | VALUES | Call by reference | Type reference (TYPE) | SLD_T_STRING | String-Tabelle | 20020522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception bei Konvertierungsfehlern | 20020522 |
Method TO_DT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Object reference (TYPE REF TO) | CL_SLD_DATETIME | CIM datetime-Objekt | 20020522 | |||
| 2 | VALUE | Call by reference | Type reference (TYPE) | STRING | 20020522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception bei Konvertierungsfehlern | 20020522 |
Method TO_DT_A Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | SLD_T_DT | Datetime-Array | 20020522 | |||
| 2 | VALUES | Call by reference | Type reference (TYPE) | SLD_T_STRING | String-Tabelle | 20020522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception bei Konvertierungsfehlern | 20020522 |
Method TO_F Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | F | 20020522 | ||||
| 2 | VALUE | Call by reference | Type reference (TYPE) | STRING | 20020522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception bei Konvertierungsfehlern | 20020522 |
Method TO_F_A Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | SLD_T_F | Float-Array | 20020522 | |||
| 2 | VALUES | Call by reference | Type reference (TYPE) | SLD_T_STRING | String-Tabelle | 20020522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception bei Konvertierungsfehlern | 20020522 |
Method TO_I Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | I | 20020522 | ||||
| 2 | VALUE | Call by reference | Type reference (TYPE) | STRING | 20020522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception bei Konvertierungsfehlern | 20020522 |
Method TO_I_A Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Type reference (TYPE) | SLD_T_I | Integer-Tabelle | 20020522 | |||
| 2 | VALUES | Call by reference | Type reference (TYPE) | SLD_T_STRING | String-Tabelle | 20020522 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception bei Konvertierungsfehlern | 20020522 |
Method VALUELIST2NAMEVALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ARRAYMAP | Call by reference | Type reference (TYPE) | SLD_T_ARRAYVALUEMAP | Value-Array-Tabelle | 20020704 | |||
| 2 | CLASSREF | Call by reference | Object reference (TYPE REF TO) | CL_SLD_CIM_CLASS | Repräsentation CIM-Klasse | 20020704 | |||
| 3 | NAMEVALUES | Call by reference | Type reference (TYPE) | SLD_T_NAMEVALUE | Allgemeine Name-Wert-Tabelle | 20020704 | |||
| 4 | VALUELIST | Call by reference | Type reference (TYPE) | SLD_T_VALUELIST | Liste mit Name-Wert-Paaren | 20020704 |
Method VALUELIST2NAMEVALUES on class CL_SLD_UTIL has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 630 |