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 CO_ADDFAX Constant Public Type reference (TYPE) STRING 'ADDFAX' 20090217
2 CO_ADDINFO Constant Public Type reference (TYPE) STRING 'ADDINFO' 20090209
3 CO_ADDMOBILE Constant Public Type reference (TYPE) STRING 'ADDMOBILE' 20090217
4 CO_ADDPAG Constant Public Type reference (TYPE) STRING 'ADDPAG' 20090217
5 CO_ADDSMTP Constant Public Type reference (TYPE) STRING 'ADDSMTP' 20090217
6 CO_ADDTEL Constant Public Type reference (TYPE) STRING 'ADDTEL' 20090217
7 CO_AGR_NAME Constant Public Type reference (TYPE) STRING 'AGR_NAME' 20090209
8 CO_FAX_PRIMARY Constant Public Type reference (TYPE) STRING 'FAX_PRIMARY' 20090518
9 CO_HIGHEST_DATE Constant Public Type reference (TYPE) D '99991231' 20090122
10 CO_LOWEST_DATE Constant Public Type reference (TYPE) D '19000101' 20090122
11 CO_MAIL_PRIMARY Constant Public Type reference (TYPE) STRING 'MAIL_PRIMARY' 20090518
12 CO_MOBILE_PRIMARY Constant Public Type reference (TYPE) STRING 'MOBILE_PRIMARY' 20090518
13 CO_PAGER_PRIMARY Constant Public Type reference (TYPE) STRING 'PAGER_PRIMARY' 20090518
14 CO_PARAMETER1 Constant Public Type reference (TYPE) STRING 'PARAMETER1' 20090209
15 CO_PHONE_PRIMARY Constant Public Type reference (TYPE) STRING 'PHONE_PRIMARY' 20090518
16 CO_PROFILE Constant Public Type reference (TYPE) STRING 'PROFILE' 20090209
17 CO_TYPE_ERROR Constant Public Type reference (TYPE) SYMSGTY 'E' Message Type 20090122
18 CO_USERGROUPS Constant Public Type reference (TYPE) STRING 'USERGROUPS' 20090209
19 GT_ISO_MAPPING 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 ADD_ADMINISTRATIVE_DATA Static method Public Method Adds administrative data 20090217
2 ADD_BAPI_MESSAGE Static method Public Method Add BAPI return message 20090122
3 COUNTRYISO_2_PREFIX Static method Public Method Mapping table of country ISO code to country dialing code 20090518
4 IS_VALID_DATE Static method Public Method Validates the Date Format 20090122
5 MAP_ADDR_TO_SPML_TABLE Static method Public Method Write address tables to SPML table 20090217
6 MAP_BAPI_STRUCT_TO_SPML_ATTR Static method Public Method 20090122
7 MAP_BAPI_TABLE_TO_SPML_ATTR Static method Public Method 20090122
8 MAP_GROUPS_TO_SPML_TABLE Static method Public Method Write table with groups to SPML table 20090209
9 MAP_PARAMETER1_TO_SPML_TABLE Static method Public Method Parameter1 table is written as SPML table in key/value pairs 20090209
10 MAP_PROFILES_TO_SPML_TABLE Static method Public Method Profiles table is written to SPML table 20090209
11 MAP_ROLES_TO_SPML_TABLE Static method Public Method Map roles to SPML attributes 20090323
12 TO_UPPER_CASE 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 Returning 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 Importing IV_MSG_CLASS Call by reference Type reference (TYPE) SYMSGID Nachrichtenklasse 20090122
2 Importing IV_MSG_NUMBER Call by reference Type reference (TYPE) SYMSGNO Nachrichtennummer 20090122
3 Importing 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 Importing IV_PAR1 Call by reference Type reference (TYPE) SYMSGV SPACE Nachrichtenvariable 20090122
5 Importing IV_PAR2 Call by reference Type reference (TYPE) SYMSGV SPACE Nachrichtenvariable 20090122
6 Importing IV_PAR3 Call by reference Type reference (TYPE) SYMSGV SPACE Nachrichtenvariable 20090122
7 Importing IV_PAR4 Call by reference Type reference (TYPE) SYMSGV SPACE Nachrichtenvariable 20090122
8 Returning 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 Returning EV_DIAL_CODE Value transfer Type reference (TYPE) STRING Ländervorwahl für Telefon/Fax 20090518
2 Importing 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 Exporting E_BOOLEAN Call by reference Type reference (TYPE) INT1 Boolscher Rückgabewert: 0 true, 1 false 20090122
2 Exporting E_MESSAGE Call by reference Type reference (TYPE) SYMSG Struktur der Message-Variablen 20090122
3 Importing 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 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Returnparameter 20090217
2 Exporting ET_SPML_ATTR_TABLE Call by reference Type reference (TYPE) SIM_TT_ADDITIONAL_ATTRIBUTES Tabelle für zusätzliche Key/Value Paare 20090217
3 Importing IS_ADDCOMX Call by reference Type reference (TYPE) BAPIADCOMX Änderungskennzeichen für Kommunikationsarten 20090217
4 Importing IT_ADDCOMREM Call by reference Type reference (TYPE) SUID_TT_BAPICOMREM Tabellentyp: BAPICOMREM 20090217
5 Importing IT_ADDFAX Call by reference Type reference (TYPE) SUID_TT_BAPIADFAX Tabellentyp: BAPIADFAX 20090217
6 Importing IT_ADDPAG Call by reference Type reference (TYPE) SUID_TT_BAPIADPAG Tabellentyp: BAPIADPAG 20090217
7 Importing IT_ADDPRT Call by reference Type reference (TYPE) SUID_TT_BAPIADPRT Tabellentyp: BAPIADPRT 20090217
8 Importing IT_ADDRFC Call by reference Type reference (TYPE) SUID_TT_BAPIADRFC Tabellentyp: BAPIADRFC 20090217
9 Importing IT_ADDRML Call by reference Type reference (TYPE) SUID_TT_BAPIADRML Tabellentyp: BAPIADRML 20090217
10 Importing IT_ADDSMTP Call by reference Type reference (TYPE) SUID_TT_BAPIADSMTP Tabellentyp: BAPIADSMTP 20090217
11 Importing IT_ADDSSF Call by reference Type reference (TYPE) SUID_TT_BAPIADSSF Tabellentyp: BAPIADSSF 20090217
12 Importing IT_ADDTEL Call by reference Type reference (TYPE) SUID_TT_BAPIADTEL Tabellentyp: BAPIADTEL 20090217
13 Importing IT_ADDTLX Call by reference Type reference (TYPE) SUID_TT_BAPIADTLX Tabellentyp: BAPIADTLX 20090217
14 Importing IT_ADDTTX Call by reference Type reference (TYPE) SUID_TT_BAPIADTTX Tabellentyp: BAPIADTTX 20090217
15 Importing IT_ADDURI Call by reference Type reference (TYPE) SUID_TT_BAPIADURI Tabellentyp: BAPIADURI 20090217
16 Importing 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 Importing IS_BAPIX_STRUCTURE Call by reference Type reference (TYPE) ANY 20090122
2 Importing IS_BAPI_STRUCTURE Call by reference Type reference (TYPE) ANY 20090122
3 Returning 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 Importing IS_BAPIX_STRUCTURE Call by reference Type reference (TYPE) ANY 20090122
2 Importing IT_BAPI_TABLE Call by reference Type reference (TYPE) ANY 20090122
3 Returning 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 Importing IT_GROUPS Call by reference Type reference (TYPE) SUID_TT_BAPIGROUPS Tabellentyp: BAPIGROUPS 20090209
2 Returning 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 Importing IT_PARAMETER1 Call by reference Type reference (TYPE) SUID_TT_BAPIPARAM1 Tabellentyp: BAPIPARAM1 20090209
2 Returning 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 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Returnparameter 20090209
2 Exporting ET_SPML_ATTR_TABLE Call by reference Type reference (TYPE) SIM_TT_ADDITIONAL_ATTRIBUTES Tabelle für zusätzliche Key/Value Paare 20090209
3 Importing 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 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRET2_T Returnparameter 20090323
2 Exporting ET_SPML_ATTR_TABLE Call by reference Type reference (TYPE) SIM_TT_ADDITIONAL_ATTRIBUTES Tabelle für zusätzliche Key/Value Paare 20090323
3 Importing 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 Importing IV_NAME Call by reference Type reference (TYPE) STRING 20090122
2 Returning 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