SAP ABAP Class CL_SALV_BS_CONV_TOOL (Contains Conversion Utility Methods)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-WD-CMP-ALV-ABA (Application Component) Web Dynpro ALV for ABAP
⤷
SALV_BS_TOOLS (Package) Tools
⤷
⤷
Properties
| Class | CL_SALV_BS_CONV_TOOL | |
| Short Description | Contains Conversion Utility Methods | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SALV_BS_TOOLS | Tools |
| Created | 20050729 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Interfaces
Class CL_SALV_BS_CONV_TOOL has no interface implemented.
Friends
Class CL_SALV_BS_CONV_TOOL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | See coding | Defines Supported Boolean Domains | 20100906 | ||||
| 2 | Constant | Private | See coding | Defines Supported Boolean Types | 20100906 | ||||
| 3 | Constant | Public | See coding | 20110121 | |||||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_SALV_BS_CALCULATOR | Calculator | 20090508 | |||
| 5 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_SALV_BS_DATA_CONVERTER | Data Converter | 20090508 | |||
| 6 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_SALV_BS_DATA_INTERPRET | Data Interpreter | 20090508 | |||
| 7 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_SALV_BS_FILTER_CONVERTER | Filter Converter | 20090508 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | YT_BOOLEAN_DOMAIN | 20111111 |
Methods
Events
Class CL_SALV_BS_CONV_TOOL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_TYPE_FIELD | Public | See coding | 20050915 | begin of s_type_field,
field type string,
s_value type if_salv_bs_t_data=>s_type_value,
end of s_type_field
|
||
| 2 | S_TYPE_FILTER | Public | Type reference (TYPE) | IF_SALV_BS_FILTER_CONVERTER=>S_TYPE_FILTER | 20060116 | |
|
| 3 | S_TYPE_GROUP | Public | See coding | 20050915 | begin of s_type_group,
group type string,
t_value type salv_bs_t_string,
end of s_type_group
|
||
| 4 | S_TYPE_GROUP_INFO | Public | See coding | 20060323 | begin of s_type_group_info.
include type s_type_field.
types:
t_value type t_type_field,
end of s_type_group_info
|
||
| 5 | S_TYPE_MATCH | Public | See coding | 20060126 | begin of s_type_match,
offset type i,
length type i,
value type string,
end of s_type_match
|
||
| 6 | S_TYPE_NODE | Public | See coding | 20050729 | begin of s_type_node,
node type i,
parent type i,
level type i,
from_index type i,
to_index type i,
items type i,
is_leaf type abap_bool,
s_group_info type s_type_group_info,
t_group_info type t_type_field,
end of s_type_node
|
||
| 7 | T_TYPE_FIELD | Public | See coding | 20050915 | t_type_field type standard table of s_type_field with non-unique key field
|
||
| 8 | T_TYPE_FILTER | Public | Type reference (TYPE) | IF_SALV_BS_FILTER_CONVERTER=>T_TYPE_FILTER | 20060116 | |
|
| 9 | T_TYPE_GROUP | Public | See coding | 20050915 | t_type_group type standard table of s_type_group
|
||
| 10 | T_TYPE_MATCH | Public | See coding | 20060126 | t_type_match type standard table of s_type_match with non-unique key table_line
|
||
| 11 | T_TYPE_NODE | Public | See coding | 20050729 | t_type_node type standard table of s_type_node with non-unique key node
|
||
| 12 | YT_BOOLEAN_DOMAIN | Public | See coding | 20111111 | yt_boolean_domain type sorted table of y_boolean_domain with unique key table_line
|
||
| 13 | Y_BOOLEAN_DOMAIN | Public | Type reference (TYPE) | STRING | 20111111 | |
|
| 14 | Y_SIGN_POSITION | Public | See coding | 20110121 | y_sign_position type c length 1
|
Method Signatures
Method ADD_BOOLEAN_DOMAIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | Y_BOOLEAN_DOMAIN | 20111111 |
Method ADD_BOOLEAN_DOMAIN on class CL_SALV_BS_CONV_TOOL has no exception.
Method CALCULATE_INFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INFIX | Call by reference | Type reference (TYPE) | STRING | 20050929 | ||||
| 2 | RESULT | Value transfer | Type reference (TYPE) | STRING | 20050929 | ||||
| 3 | S_ATTRIBUTE | Call by reference | Type reference (TYPE) | IF_SALV_BS_T_DATA=>S_TYPE_ATTRIBUTE | 20050929 | ||||
| 4 | S_DATA | Call by reference | Type reference (TYPE) | DATA | 20050929 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konvertierungsfehler | 20090223 |
Method CLEAR_T_BOOLEAN_DOMAIN Signature
Method CLEAR_T_BOOLEAN_DOMAIN on class CL_SALV_BS_CONV_TOOL has no parameter.
Method CLEAR_T_BOOLEAN_DOMAIN on class CL_SALV_BS_CONV_TOOL has no exception.
Method FILTER_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REFFIELDVALUE | Call by reference | Type reference (TYPE) | DATA | 20080401 | ||||
| 2 | S_ATTRIBUTE | Call by reference | Type reference (TYPE) | IF_SALV_BS_T_DATA=>S_TYPE_ATTRIBUTE | 20060202 | ||||
| 3 | T_FILTER | Call by reference | Type reference (TYPE) | CL_SALV_BS_CONV_TOOL=>T_TYPE_FILTER | 20060116 | ||||
| 4 | T_MSG | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_MESSAGE | 20060202 | ||||
| 5 | VALUE | Call by reference | Type reference (TYPE) | STRING | 20060116 |
Method FILTER_TO_STRING on class CL_SALV_BS_CONV_TOOL has no exception.
Method FROM_ISO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DECIMALS | Call by reference | Type reference (TYPE) | I | 20060602 | ||||
| 2 | INPUT | Call by reference | Type reference (TYPE) | STRING | 20060602 | ||||
| 3 | REFFIELDTYPE | Call by reference | Attribute reference (LIKE) | IF_SALV_BS_C_DATA=>REFFIELDTYPE | 20060602 | ||||
| 4 | REFFIELDVALUE | Call by reference | Type reference (TYPE) | DATA | 20080401 | ||||
| 5 | R_TYPEDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Run Time Type Services | 20060602 | |||
| 6 | S_ATTRIBUTE | Call by reference | Type reference (TYPE) | IF_SALV_BS_T_DATA=>S_TYPE_ATTRIBUTE | 20080401 | ||||
| 7 | VALUE | Call by reference | Type reference (TYPE) | DATA | 20060602 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konvertierungsfehler | 20090223 |
Method FROM_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONVEXIT | Call by reference | Type reference (TYPE) | STRING | 20080805 | ||||
| 2 | DECIMALS | Call by reference | Type reference (TYPE) | I | 20050729 | ||||
| 3 | INPUT | Call by reference | Type reference (TYPE) | STRING | 20050729 | ||||
| 4 | REFFIELDTYPE | Call by reference | Attribute reference (LIKE) | IF_SALV_BS_C_DATA=>REFFIELDTYPE | 20050729 | ||||
| 5 | REFFIELDVALUE | Call by reference | Type reference (TYPE) | DATA | 20060928 | ||||
| 6 | R_TYPEDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Run Time Type Services | 20050729 | |||
| 7 | S_ATTRIBUTE | Call by reference | Type reference (TYPE) | IF_SALV_BS_T_DATA=>S_TYPE_ATTRIBUTE | 20080401 | ||||
| 8 | VALUE | Call by reference | Type reference (TYPE) | DATA | 20050729 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050729 |
Method FROM_STRING_BOOLEAN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INPUT | Call by reference | Type reference (TYPE) | STRING | 20080401 | ||||
| 2 | VALUE | Call by reference | Type reference (TYPE) | DATA | 20080401 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konvertierungsfehler | 20090223 |
Method GET_ADDED_T_BOOLEAN_DOMAIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Value transfer | Type reference (TYPE) | YT_BOOLEAN_DOMAIN | 20111111 |
Method GET_ADDED_T_BOOLEAN_DOMAIN on class CL_SALV_BS_CONV_TOOL has no exception.
Method GET_ATTRIBUTE_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | S_ATTRIBUTE | Call by reference | Type reference (TYPE) | IF_SALV_BS_T_DATA=>S_TYPE_ATTRIBUTE | 20050915 | ||||
| 2 | S_DATA | Call by reference | Type reference (TYPE) | DATA | 20050915 | ||||
| 3 | S_VALUE | Value transfer | Type reference (TYPE) | IF_SALV_BS_T_DATA=>S_TYPE_VALUE | 20050915 |
Method GET_ATTRIBUTE_VALUES on class CL_SALV_BS_CONV_TOOL has no exception.
Method IS_BOOLEAN_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA_DESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_DATADESCR | The RTTI Descr. to test | 20100906 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 'X' if the given RTTI Descr. is a boolean type | 20100906 |
Method IS_BOOLEAN_TYPE on class CL_SALV_BS_CONV_TOOL has no exception.
Method IS_VALUE_IN_EXTERNAL_FORMAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONVEXIT | Call by reference | Type reference (TYPE) | STRING | 20080805 | ||||
| 2 | DECIMALS | Call by reference | Type reference (TYPE) | I | 20080805 | ||||
| 3 | INPUT | Call by reference | Type reference (TYPE) | DATA | 20080805 | ||||
| 4 | REFFIELDTYPE | Call by reference | Attribute reference (LIKE) | IF_SALV_BS_C_DATA=>REFFIELDTYPE | 20080805 | ||||
| 5 | REFFIELDVALUE | Call by reference | Type reference (TYPE) | DATA | 20080805 | ||||
| 6 | R_TYPEDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | 20080805 | ||||
| 7 | S_ATTRIBUTE | Call by reference | Type reference (TYPE) | IF_SALV_BS_T_DATA=>S_TYPE_ATTRIBUTE | 20080805 | ||||
| 8 | VALUE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20080805 |
Method IS_VALUE_IN_EXTERNAL_FORMAT on class CL_SALV_BS_CONV_TOOL has no exception.
Method NODE_TREE_FROM_TABLE_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ROOT_NODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20050729 | |||
| 2 | T_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20050729 | ||||
| 3 | T_DATA_INDEX | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_ROW | Zeilenreferenzen | 20050729 | |||
| 4 | T_GROUP | Call by reference | Type reference (TYPE) | CL_SALV_BS_CONV_TOOL=>T_TYPE_GROUP | SALV_WD_T_STRING | 20050729 | |||
| 5 | T_NODE_TREE | Value transfer | Type reference (TYPE) | CL_SALV_BS_CONV_TOOL=>T_TYPE_NODE | SALV_WD_T_NODE | 20050729 |
Method NODE_TREE_FROM_TABLE_GROUP on class CL_SALV_BS_CONV_TOOL has no exception.
Method STRING_TO_FILTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INPUT | Call by reference | Type reference (TYPE) | STRING | 20080401 | ||||
| 2 | REFFIELDVALUE | Call by reference | Type reference (TYPE) | DATA | 20080401 | ||||
| 3 | S_ATTRIBUTE | Call by reference | Type reference (TYPE) | IF_SALV_BS_T_DATA=>S_TYPE_ATTRIBUTE | Run Time Type Services | 20060117 | |||
| 4 | T_FILTER | Call by reference | Type reference (TYPE) | CL_SALV_BS_CONV_TOOL=>T_TYPE_FILTER | 20060116 | ||||
| 5 | T_MSG | Call by reference | Type reference (TYPE) | IF_SALV_BS=>T_TYPE_MESSAGE | 20060117 |
Method STRING_TO_FILTER on class CL_SALV_BS_CONV_TOOL has no exception.
Method TO_ISO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DECIMALS | Call by reference | Type reference (TYPE) | I | 20050729 | ||||
| 2 | INPUT | Call by reference | Type reference (TYPE) | ANY | 20050729 | ||||
| 3 | REFFIELDTYPE | Call by reference | Attribute reference (LIKE) | IF_SALV_BS_C_DATA=>REFFIELDTYPE | 20050729 | ||||
| 4 | REFFIELDVALUE | Call by reference | Type reference (TYPE) | DATA | 20050729 | ||||
| 5 | R_TYPEDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Run Time Type Services | 20050729 | |||
| 6 | S_ATTRIBUTE | Call by reference | Type reference (TYPE) | IF_SALV_BS_T_DATA=>S_TYPE_ATTRIBUTE | 20080401 | ||||
| 7 | VALUE | Value transfer | Type reference (TYPE) | STRING | 20050729 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konvertierungsfehler | 20090223 |
Method TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONVEXIT | Call by reference | Type reference (TYPE) | STRING | 20070629 | ||||
| 2 | DECIMALS | Call by reference | Type reference (TYPE) | I | 20050729 | ||||
| 3 | INPUT | Call by reference | Type reference (TYPE) | ANY | 20050729 | ||||
| 4 | LEADING_ZERO | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20080422 | |||
| 5 | REFFIELDTYPE | Call by reference | Attribute reference (LIKE) | IF_SALV_BS_C_DATA=>REFFIELDTYPE | 20050729 | ||||
| 6 | REFFIELDVALUE | Call by reference | Type reference (TYPE) | DATA | 20050729 | ||||
| 7 | R_TYPEDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_TYPEDESCR | Run Time Type Services | 20050729 | |||
| 8 | SIGN_POSITION | Call by reference | Type reference (TYPE) | Y_SIGN_POSITION | CS_SIGN_POSITION-STANDARD | 20110121 | |||
| 9 | S_ATTRIBUTE | Call by reference | Type reference (TYPE) | IF_SALV_BS_T_DATA=>S_TYPE_ATTRIBUTE | 20080401 | ||||
| 10 | VALUE | Value transfer | Type reference (TYPE) | STRING | 20050729 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050729 |
Method TO_STRING_BOOLEAN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INPUT | Call by reference | Type reference (TYPE) | ANY | 20080218 | ||||
| 2 | VALUE | Value transfer | Type reference (TYPE) | STRING | 20080218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konvertierungsfehler | 20090223 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 710 |