SAP ABAP Class CL_SPML_UTIL (Utility Class)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SEC-USR-ADM (Application Component) User and Authorization Management
⤷
SUSR_SPML (Package) SPML Client

⤷

⤷

Properties
Class | CL_SPML_UTIL | |
Short Description | Utility Class | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SUSR_SPML | SPML Client |
Created | 20081121 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_SPML_UTIL has no forward declaration.
Interfaces
Class CL_SPML_UTIL has no interface implemented.
Friends
Class CL_SPML_UTIL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'ADDFAX' | 20090217 | ||
2 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'ADDINFO' | 20090209 | ||
3 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'ADDMOBILE' | 20090217 | ||
4 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'ADDPAG' | 20090217 | ||
5 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'ADDSMTP' | 20090217 | ||
6 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'ADDTEL' | 20090217 | ||
7 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'AGR_NAME' | 20090209 | ||
8 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'FAX_PRIMARY' | 20090518 | ||
9 | ![]() |
Constant | Public | Type reference (TYPE) | D | '99991231' | 20090122 | ||
10 | ![]() |
Constant | Public | Type reference (TYPE) | D | '19000101' | 20090122 | ||
11 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'MAIL_PRIMARY' | 20090518 | ||
12 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'MOBILE_PRIMARY' | 20090518 | ||
13 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'PAGER_PRIMARY' | 20090518 | ||
14 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'PARAMETER1' | 20090209 | ||
15 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'PHONE_PRIMARY' | 20090518 | ||
16 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'PROFILE' | 20090209 | ||
17 | ![]() |
Constant | Public | Type reference (TYPE) | SYMSGTY | 'E' | Message Type | 20090122 | |
18 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'USERGROUPS' | 20090209 | ||
19 | ![]() |
Static Attribute | Private | Type reference (TYPE) | TT_ISO_MAPPING | ISO country 2 dialing code mapping | 20090518 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Adds administrative data | 20090217 |
2 | ![]() |
Static method | Public | Method | Add BAPI return message | 20090122 |
3 | ![]() |
Static method | Public | Method | Mapping table of country ISO code to country dialing code | 20090518 |
4 | ![]() |
Static method | Public | Method | Validates the Date Format | 20090122 |
5 | ![]() |
Static method | Public | Method | Write address tables to SPML table | 20090217 |
6 | ![]() |
Static method | Public | Method | 20090122 | |
7 | ![]() |
Static method | Public | Method | 20090122 | |
8 | ![]() |
Static method | Public | Method | Write table with groups to SPML table | 20090209 |
9 | ![]() |
Static method | Public | Method | Parameter1 table is written as SPML table in key/value pairs | 20090209 |
10 | ![]() |
Static method | Public | Method | Profiles table is written to SPML table | 20090209 |
11 | ![]() |
Static method | Public | Method | Map roles to SPML attributes | 20090323 |
12 | ![]() |
Static method | Public | Method | Converts input string into upper-case letters | 20090122 |
Events
Class CL_SPML_UTIL has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TT_ISO_MAPPING | Private | See coding | 20090518 | tt_iso_mapping TYPE HASHED TABLE OF
ty_iso_dialcode
WITH UNIQUE KEY country_iso
|
||
2 | TY_ISO_DIALCODE | Private | See coding | 20090518 | BEGIN OF ty_iso_dialcode,
country_iso TYPE land1,
dial_code TYPE char4,
END OF ty_iso_dialcode
|
Method Signatures
Method ADD_ADMINISTRATIVE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RT_SPML_ATTR_TABLE | Value transfer | Type reference (TYPE) | SIM_TT_ADDITIONAL_ATTRIBUTES | Tabelle für zusätzliche Key/Value Paare | 20090217 |
Method ADD_ADMINISTRATIVE_DATA on class CL_SPML_UTIL has no exception.
Method ADD_BAPI_MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_MSG_CLASS | Call by reference | Type reference (TYPE) | SYMSGID | Nachrichtenklasse | 20090122 | ||
2 | ![]() |
IV_MSG_NUMBER | Call by reference | Type reference (TYPE) | SYMSGNO | Nachrichtennummer | 20090122 | ||
3 | ![]() |
IV_MSG_TYPE | Call by reference | Type reference (TYPE) | BAPI_MTYPE | 'W' | Meldungstyp: S Success, E Error, W Warning, I Info, A Abort | 20090122 | |
4 | ![]() |
IV_PAR1 | Call by reference | Type reference (TYPE) | SYMSGV | SPACE | Nachrichtenvariable | 20090122 | |
5 | ![]() |
IV_PAR2 | Call by reference | Type reference (TYPE) | SYMSGV | SPACE | Nachrichtenvariable | 20090122 | |
6 | ![]() |
IV_PAR3 | Call by reference | Type reference (TYPE) | SYMSGV | SPACE | Nachrichtenvariable | 20090122 | |
7 | ![]() |
IV_PAR4 | Call by reference | Type reference (TYPE) | SYMSGV | SPACE | Nachrichtenvariable | 20090122 | |
8 | ![]() |
RT_RETURN | Value transfer | Type reference (TYPE) | BAPIRET2 | Returnparameter | 20090122 |
Method ADD_BAPI_MESSAGE on class CL_SPML_UTIL has no exception.
Method COUNTRYISO_2_PREFIX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_DIAL_CODE | Value transfer | Type reference (TYPE) | STRING | Ländervorwahl für Telefon/Fax | 20090518 | ||
2 | ![]() |
IV_COUNTRY_ISO | Call by reference | Type reference (TYPE) | INTCA | Länderschlüssel | 20090518 |
Method COUNTRYISO_2_PREFIX on class CL_SPML_UTIL has no exception.
Method IS_VALID_DATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
E_BOOLEAN | Call by reference | Type reference (TYPE) | INT1 | Boolscher Rückgabewert: 0 true, 1 false | 20090122 | ||
2 | ![]() |
E_MESSAGE | Call by reference | Type reference (TYPE) | SYMSG | Struktur der Message-Variablen | 20090122 | ||
3 | ![]() |
I_DATE | Call by reference | Type reference (TYPE) | D | Eingabe Datumsfeld | 20090122 |
Method IS_VALID_DATE on class CL_SPML_UTIL has no exception.
Method MAP_ADDR_TO_SPML_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returnparameter | 20090217 | ||
2 | ![]() |
ET_SPML_ATTR_TABLE | Call by reference | Type reference (TYPE) | SIM_TT_ADDITIONAL_ATTRIBUTES | Tabelle für zusätzliche Key/Value Paare | 20090217 | ||
3 | ![]() |
IS_ADDCOMX | Call by reference | Type reference (TYPE) | BAPIADCOMX | Änderungskennzeichen für Kommunikationsarten | 20090217 | ||
4 | ![]() |
IT_ADDCOMREM | Call by reference | Type reference (TYPE) | SUID_TT_BAPICOMREM | Tabellentyp: BAPICOMREM | 20090217 | ||
5 | ![]() |
IT_ADDFAX | Call by reference | Type reference (TYPE) | SUID_TT_BAPIADFAX | Tabellentyp: BAPIADFAX | 20090217 | ||
6 | ![]() |
IT_ADDPAG | Call by reference | Type reference (TYPE) | SUID_TT_BAPIADPAG | Tabellentyp: BAPIADPAG | 20090217 | ||
7 | ![]() |
IT_ADDPRT | Call by reference | Type reference (TYPE) | SUID_TT_BAPIADPRT | Tabellentyp: BAPIADPRT | 20090217 | ||
8 | ![]() |
IT_ADDRFC | Call by reference | Type reference (TYPE) | SUID_TT_BAPIADRFC | Tabellentyp: BAPIADRFC | 20090217 | ||
9 | ![]() |
IT_ADDRML | Call by reference | Type reference (TYPE) | SUID_TT_BAPIADRML | Tabellentyp: BAPIADRML | 20090217 | ||
10 | ![]() |
IT_ADDSMTP | Call by reference | Type reference (TYPE) | SUID_TT_BAPIADSMTP | Tabellentyp: BAPIADSMTP | 20090217 | ||
11 | ![]() |
IT_ADDSSF | Call by reference | Type reference (TYPE) | SUID_TT_BAPIADSSF | Tabellentyp: BAPIADSSF | 20090217 | ||
12 | ![]() |
IT_ADDTEL | Call by reference | Type reference (TYPE) | SUID_TT_BAPIADTEL | Tabellentyp: BAPIADTEL | 20090217 | ||
13 | ![]() |
IT_ADDTLX | Call by reference | Type reference (TYPE) | SUID_TT_BAPIADTLX | Tabellentyp: BAPIADTLX | 20090217 | ||
14 | ![]() |
IT_ADDTTX | Call by reference | Type reference (TYPE) | SUID_TT_BAPIADTTX | Tabellentyp: BAPIADTTX | 20090217 | ||
15 | ![]() |
IT_ADDURI | Call by reference | Type reference (TYPE) | SUID_TT_BAPIADURI | Tabellentyp: BAPIADURI | 20090217 | ||
16 | ![]() |
IT_ADDX400 | Call by reference | Type reference (TYPE) | SUID_TT_BAPIADX400 | Tabellentyp: BAPIADX400 | 20090217 |
Method MAP_ADDR_TO_SPML_TABLE on class CL_SPML_UTIL has no exception.
Method MAP_BAPI_STRUCT_TO_SPML_ATTR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_BAPIX_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20090122 | |||
2 | ![]() |
IS_BAPI_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20090122 | |||
3 | ![]() |
RT_SPML_ATTR_TABLE | Value transfer | Type reference (TYPE) | SIM_TT_ADDITIONAL_ATTRIBUTES | Tabelle für zusätzliche Key/Value Paare | 20090122 |
Method MAP_BAPI_STRUCT_TO_SPML_ATTR on class CL_SPML_UTIL has no exception.
Method MAP_BAPI_TABLE_TO_SPML_ATTR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_BAPIX_STRUCTURE | Call by reference | Type reference (TYPE) | ANY | 20090122 | |||
2 | ![]() |
IT_BAPI_TABLE | Call by reference | Type reference (TYPE) | ANY | 20090122 | |||
3 | ![]() |
RT_SPML_ATTR_TABLE | Value transfer | Type reference (TYPE) | SIM_TT_ADDITIONAL_ATTRIBUTES | Tabelle für zusätzliche Key/Value Paare | 20090122 |
Method MAP_BAPI_TABLE_TO_SPML_ATTR on class CL_SPML_UTIL has no exception.
Method MAP_GROUPS_TO_SPML_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_GROUPS | Call by reference | Type reference (TYPE) | SUID_TT_BAPIGROUPS | Tabellentyp: BAPIGROUPS | 20090209 | ||
2 | ![]() |
RT_SPML_ATTR_TABLE | Value transfer | Type reference (TYPE) | SIM_TT_ADDITIONAL_ATTRIBUTES | Tabelle für zusätzliche Key/Value Paare | 20090209 |
Method MAP_GROUPS_TO_SPML_TABLE on class CL_SPML_UTIL has no exception.
Method MAP_PARAMETER1_TO_SPML_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_PARAMETER1 | Call by reference | Type reference (TYPE) | SUID_TT_BAPIPARAM1 | Tabellentyp: BAPIPARAM1 | 20090209 | ||
2 | ![]() |
RT_SPML_ATTR_TABLE | Value transfer | Type reference (TYPE) | SIM_TT_ADDITIONAL_ATTRIBUTES | Tabelle für zusätzliche Key/Value Paare | 20090209 |
Method MAP_PARAMETER1_TO_SPML_TABLE on class CL_SPML_UTIL has no exception.
Method MAP_PROFILES_TO_SPML_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returnparameter | 20090209 | ||
2 | ![]() |
ET_SPML_ATTR_TABLE | Call by reference | Type reference (TYPE) | SIM_TT_ADDITIONAL_ATTRIBUTES | Tabelle für zusätzliche Key/Value Paare | 20090209 | ||
3 | ![]() |
IT_PROFILES | Call by reference | Type reference (TYPE) | SUID_TT_BAPIPROF | Tabellentyp: BAPIPROF | 20090209 |
Method MAP_PROFILES_TO_SPML_TABLE on class CL_SPML_UTIL has no exception.
Method MAP_ROLES_TO_SPML_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returnparameter | 20090323 | ||
2 | ![]() |
ET_SPML_ATTR_TABLE | Call by reference | Type reference (TYPE) | SIM_TT_ADDITIONAL_ATTRIBUTES | Tabelle für zusätzliche Key/Value Paare | 20090323 | ||
3 | ![]() |
IT_ROLES | Call by reference | Type reference (TYPE) | SUID_TT_BAPIAGR | Tabellentyp: BAPIAGR | 20090323 |
Method MAP_ROLES_TO_SPML_TABLE on class CL_SPML_UTIL has no exception.
Method TO_UPPER_CASE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20090122 | |||
2 | ![]() |
RV_NAME | Value transfer | Type reference (TYPE) | STRING | 20090122 |
Method TO_UPPER_CASE on class CL_SPML_UTIL has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 740 |