SAP ABAP Class /AIN/CL_ID_TOOLS (Basic for Encoding/Decoding)
Hierarchy
☛
AIN (Software Component) AIN 710: Add-On Installation
⤷
AIE-AII (Application Component) Infrastructure
⤷
/AIN/DECODE (Package) Auto-ID EPC Decoding

⤷

⤷

Properties
Class | /AIN/CL_ID_TOOLS | |
Short Description | Basic for Encoding/Decoding | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | /AIN/EPC | |
Program status | P | SAP Standard Production Program |
Category | 0 | |
Package | /AIN/DECODE | Auto-ID EPC Decoding |
Created | 20041220 | SAP |
Last change | 20141109 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class /AIN/CL_ID_TOOLS has no forward declaration.
Interfaces
Class /AIN/CL_ID_TOOLS has no interface implemented.
Friends
Class /AIN/CL_ID_TOOLS has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_CONV_IN_CE | Code Page and Endian Conversion (External -> System Format) | 20050315 | ||
2 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_CONV_OUT_CE | Code Page and Endian Conversion (System Format -> External) | 20050315 | ||
3 | ![]() |
Static Attribute | Private | Type reference (TYPE) | C | 20050315 | |||
4 | ![]() |
Static Attribute | Private | Type reference (TYPE) | C | 20050315 | |||
5 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | /AIN/IF_EX_BADI_ID_CONV | Business add-in interface /AIN/IF_EX_BADI_ID_CONV | 20050917 | ||
6 | ![]() |
Static Attribute | Public | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20080118 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Add Leading Zero | 20041220 |
2 | ![]() |
Static method | Public | Method | Check if Version is user defined or not | 20050118 |
3 | ![]() |
Static method | Public | Method | Generate URN Format | 20050105 |
4 | ![]() |
Static method | Public | Method | Get Company Prefix from Object | 20050110 |
5 | ![]() |
Static method | Public | Method | Get Partitions Tables | 20041221 |
6 | ![]() |
Static method | Public | Method | Read Input Compornent | 20050118 |
7 | ![]() |
Static method | Private | Method | Set Charactor(ASCII) Value to Hex Format | 20050315 |
8 | ![]() |
Static method | Public | Method | Set Binary Array to Hex Format | 20050105 |
9 | ![]() |
Static method | Public | Method | Set Value(Char or Int.) from Binary Array | 20050117 |
10 | ![]() |
Static method | Private | Method | Set Decimal Value to Hex Format | 20050315 |
11 | ![]() |
Static method | Private | Method | Set Hex Format to Charactor(ASCII) Value | 20050315 |
12 | ![]() |
Static method | Public | Method | Set Decimal Value to Binary Array | 20050117 |
13 | ![]() |
Static method | Public | Method | 20080118 | |
14 | ![]() |
Static method | Public | Method | Update Output Compornent | 20050105 |
15 | ![]() |
Static method | Public | Method | 20081210 |
Events
Class /AIN/CL_ID_TOOLS has no event.
Types
Class /AIN/CL_ID_TOOLS has no local type.
Method Signatures
Method ADD_LEADING_ZERO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CV_OBJECT | Call by reference | Type reference (TYPE) | ANY | 20041221 | |||
2 | ![]() |
IV_MAX_LENGTH | Call by reference | Type reference (TYPE) | /AIN/EPC_PREFIX_LENGTH | Länge des Company Prefix | 20041221 |
Method ADD_LEADING_ZERO on class /AIN/CL_ID_TOOLS has no exception.
Method CHECK_VERSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CO_ID_MSG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_ID_MSG | 20050128 | |||
2 | ![]() |
CS_ID_DATA | Call by reference | Type reference (TYPE) | /AIN/ID_DATA_STR | 20050118 | |||
3 | ![]() |
EV_NATURAL | Call by reference | Type reference (TYPE) | /AIN/ID_NATUAL_LANG | 20050125 | |||
4 | ![]() |
IT_ID_VER | Call by reference | Type reference (TYPE) | /AIN/ID_VERSION_TAB | 20050118 |
Method CHECK_VERSION on class /AIN/CL_ID_TOOLS has no exception.
Method GENERATE_URN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_ID_DATA | Call by reference | Type reference (TYPE) | /AIN/ID_DATA_STR | 20050105 | |||
2 | ![]() |
CT_ALT_ID | Call by reference | Type reference (TYPE) | /AIN/ID_ALT_TAB | IDs in alternative format | 20060302 | ||
3 | ![]() |
IS_ID_TYPE | Call by reference | Type reference (TYPE) | /AIN/TEPC_TYPE | Header und URI-Format | 20050118 | ||
4 | ![]() |
IT_FRM_HDR | Call by reference | Type reference (TYPE) | /AIN/ID_FRM_HDR_TAB | Format Header for encoding type | 20060302 | ||
5 | ![]() |
IT_URN | Call by reference | Type reference (TYPE) | /AIN/ID_URN_TAB | 20050105 |
Method GENERATE_URN on class /AIN/CL_ID_TOOLS has no exception.
Method GET_COMPANY_PREFIX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CO_ID_MSG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_ID_MSG | 20050110 | |||
2 | ![]() |
CS_ID_DATA | Call by reference | Type reference (TYPE) | /AIN/ID_DATA_STR | 20050110 | |||
3 | ![]() |
CV_COMPANY_PREFIX | Call by reference | Type reference (TYPE) | /AIN/EPC_PREFIX | Company Prefix (mit führender Null) | 20050110 | ||
4 | ![]() |
CV_PREFIX_INDEX | Call by reference | Type reference (TYPE) | /AIN/EPC_PREFIX_INDEX | Index von Company Prefix | 20050110 | ||
5 | ![]() |
IS_OBJGEN | Call by reference | Type reference (TYPE) | /AIN/ID_OBJGEN_DYN | 20050110 | |||
6 | ![]() |
IT_ISSUE | Call by reference | Type reference (TYPE) | /AIN/ID_ISSUE_TAB | 20050411 | |||
7 | ![]() |
IT_PREFIX | Call by reference | Type reference (TYPE) | /AIN/EPC_PREFIX_TAB | Company Prefix | 20050110 |
Method GET_COMPANY_PREFIX on class /AIN/CL_ID_TOOLS has no exception.
Method GET_PARTITIONS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CO_ID_MSG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_ID_MSG | 20041222 | |||
2 | ![]() |
CS_ID_DATA | Call by reference | Type reference (TYPE) | /AIN/ID_DATA_STR | 20050104 | |||
3 | ![]() |
CS_PRTTN | Call by reference | Type reference (TYPE) | /AIN/TEPC_PRTTN | 20050104 | |||
4 | ![]() |
IT_PRTTN | Call by reference | Type reference (TYPE) | /AIN/EPC_PRTTN_TAB | Informationen zu Partition | 20041221 |
Method GET_PARTITIONS on class /AIN/CL_ID_TOOLS has no exception.
Method READ_INPUT_COMP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_COMP | Call by reference | Type reference (TYPE) | /AIN/ID_COMP_TAB | 20050118 | |||
2 | ![]() |
CV_VALUE | Call by reference | Type reference (TYPE) | ANY | 20050118 | |||
3 | ![]() |
IV_ELEMENT | Call by reference | Type reference (TYPE) | /AIN/PRF_ELEMENT | 20050118 |
Method READ_INPUT_COMP on class /AIN/CL_ID_TOOLS has no exception.
Method SET_ASCII_TO_HEX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CO_ID_MSG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_ID_MSG | 20050315 | |||
2 | ![]() |
CV_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | 20050315 | |||
3 | ![]() |
IV_ASCII | Value transfer | Type reference (TYPE) | C | 20050315 | |||
4 | ![]() |
IV_OFFSET | Call by reference | Type reference (TYPE) | SYTABIX | Interne Tabelle, aktueller Zeilenindex | 20050315 |
Method SET_ASCII_TO_HEX on class /AIN/CL_ID_TOOLS has no exception.
Method SET_BIN_ARRAY_TO_HEX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_ID_DATA | Call by reference | Type reference (TYPE) | /AIN/ID_DATA_STR | Electronic Product Code | 20050110 | ||
2 | ![]() |
IT_BINARY | Call by reference | Type reference (TYPE) | /AIN/ID_BINARY_TAB | 20050105 | |||
3 | ![]() |
IT_ID_TYPE | Call by reference | Type reference (TYPE) | /AIN/EPC_HEADER_TAB | EPC-Art | 20050110 |
Method SET_BIN_ARRAY_TO_HEX on class /AIN/CL_ID_TOOLS has no exception.
Method SET_BIN_ARRAY_TO_VALUE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CO_ID_MSG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_ID_MSG | 20050128 | |||
2 | ![]() |
CV_END_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | 20050117 | |||
3 | ![]() |
CV_VALUE | Call by reference | Type reference (TYPE) | ANY | EPC-Art: Header-Wert und URI-Format | 20050117 | ||
4 | ![]() |
IT_BINARY | Call by reference | Type reference (TYPE) | /AIN/ID_BINARY_TAB | 20050117 | |||
5 | ![]() |
IT_CONV | Call by reference | Type reference (TYPE) | /AIN/ID_CONV_TAB | 20050117 | |||
6 | ![]() |
IV_CONV_TYPE | Call by reference | Type reference (TYPE) | /AIN/ID_CONV_TYPE | 20050117 | |||
7 | ![]() |
IV_LENGTH | Call by reference | Type reference (TYPE) | /AIN/ID_BIT_LENGTH | 20050117 | |||
8 | ![]() |
IV_POSITION | Call by reference | Type reference (TYPE) | /AIN/ID_BIT_POS | 20050117 |
Method SET_BIN_ARRAY_TO_VALUE on class /AIN/CL_ID_TOOLS has no exception.
Method SET_DEC_TO_HEX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_HEX | Value transfer | Type reference (TYPE) | X | 20050315 | |||
2 | ![]() |
IV_VALUE | Call by reference | Type reference (TYPE) | ANY | 20050315 |
Method SET_DEC_TO_HEX on class /AIN/CL_ID_TOOLS has no exception.
Method SET_HEX_TO_ASCII Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CO_ID_MSG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_ID_MSG | 20050315 | |||
2 | ![]() |
CV_VALUE | Call by reference | Type reference (TYPE) | ANY | Interne Tabelle, aktueller Zeilenindex | 20050315 | ||
3 | ![]() |
IV_BINARY | Value transfer | Type reference (TYPE) | X | 20050315 | |||
4 | ![]() |
IV_OFFSET | Call by reference | Type reference (TYPE) | SYTABIX | Interne Tabelle, aktueller Zeilenindex | 20050315 |
Method SET_HEX_TO_ASCII on class /AIN/CL_ID_TOOLS has no exception.
Method SET_VALUE_TO_BIN_ARRAY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CO_ID_MSG | Call by reference | Object reference (TYPE REF TO) | /AIN/CL_ID_MSG | 20050315 | |||
2 | ![]() |
CS_ID_DATA | Call by reference | Type reference (TYPE) | /AIN/ID_DATA_STR | ID Detailed Structure | 20050627 | ||
3 | ![]() |
CT_BINARY | Call by reference | Type reference (TYPE) | /AIN/ID_BINARY_TAB | 20050117 | |||
4 | ![]() |
IT_CONV | Call by reference | Type reference (TYPE) | /AIN/ID_CONV_TAB | Konvertierungstabelle | 20050117 | ||
5 | ![]() |
IV_CONV_TYPE | Call by reference | Type reference (TYPE) | /AIN/ID_CONV_TYPE | 20050117 | |||
6 | ![]() |
IV_DO_TIMES | Call by reference | Type reference (TYPE) | /AIN/ID_BIT_LENGTH | Interne Tabelle, aktueller Zeilenindex | 20050117 | ||
7 | ![]() |
IV_ELEMENT | Call by reference | Type reference (TYPE) | /AIN/PRF_ELEMENT | Element name | 20050627 | ||
8 | ![]() |
IV_VALUE | Call by reference | Type reference (TYPE) | ANY | 20050117 |
Method SET_VALUE_TO_BIN_ARRAY on class /AIN/CL_ID_TOOLS has no exception.
Method TURN_OFF_BUFFERING Signature
Method TURN_OFF_BUFFERING on class /AIN/CL_ID_TOOLS has no parameter.
Method TURN_OFF_BUFFERING on class /AIN/CL_ID_TOOLS has no exception.
Method UPDATE_OUTPUT_COMP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_COMP | Call by reference | Type reference (TYPE) | /AIN/ID_COMP_TAB | 20050105 | |||
2 | ![]() |
IV_ELEMENT | Call by reference | Type reference (TYPE) | /AIN/PRF_ELEMENT | 20050105 | |||
3 | ![]() |
IV_VALUE | Call by reference | Type reference (TYPE) | ANY | 20050105 |
Method UPDATE_OUTPUT_COMP on class /AIN/CL_ID_TOOLS has no exception.
Method VALIDATE_COMPANY_PREFIX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20081210 | ||
2 | ![]() |
EV_INVALID | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20081210 | ||
3 | ![]() |
IV_COMPANY_PREFIX | Call by reference | Type reference (TYPE) | /AIN/EPC_PREFIX | Company Prefix | 20081210 | ||
4 | ![]() |
IV_ISSUE_AGENCY | Call by reference | Type reference (TYPE) | /AIN/ID_ISSUE_AGENCY | '01' | Internal Issuing Agency Code | 20081210 |
Method VALIDATE_COMPANY_PREFIX on class /AIN/CL_ID_TOOLS has no exception.
History
Last changed by/on | SAP | 20141109 |
SAP Release Created in | 300 |