SAP ABAP Class CL_SMI_CNSNT_MGNT_UTIL (Consent Management Utility Class)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-EPT-SMI (Application Component) Social Media Intelligence Foundation
     BS_SOMI_DATA_MODELS (Package) Datta Models for Social Media Intelligence
Properties
Class CL_SMI_CNSNT_MGNT_UTIL  
Short Description Consent Management Utility Class    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package BS_SOMI_DATA_MODELS   Datta Models for Social Media Intelligence 
Created 20130924   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SMI_CNSNT_MGNT_UTIL has no forward declaration.
Interfaces
Class CL_SMI_CNSNT_MGNT_UTIL has no interface implemented.
Friends
Class CL_SMI_CNSNT_MGNT_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 SC_ACTIONSTATUS_FIELDNAME Constant Public Type reference (TYPE) NAME_KOMP 'SOCIALPOSTACTIONSTATUS' Social Post Action Status 20131031
2 SC_COUNTRYCODE_FIELDNAME Constant Public Type reference (TYPE) NAME_KOMP 'COUNTRYCODE' Component name 20131031
3 SC_COUNTRYNAME_FIELDNAME Constant Public Type reference (TYPE) NAME_KOMP 'COUNTRYNAME' Component name 20131031
4 SC_CREATEDBYUSER_FIELDNMAE Constant Public Type reference (TYPE) NAME_KOMP 'CREATEDBYUSER' Created By User 20131031
5 SC_RETRIEVALMODE_FIELDNAME Constant Public Type reference (TYPE) NAME_KOMP 'SOCIALDATARETRIEVALMODE' Retrieval Mode 20131031
6 SC_SOCIALPOST_FIELDNAME Constant Public Type reference (TYPE) NAME_KOMP 'SOCIALPOST' Social Post 20131031
7 SC_SOCLMDACHNL_FIELDNAME Constant Public Type reference (TYPE) NAME_KOMP 'SOCIALMEDIACHANNEL' Channel Name 20131031
Methods
# Method Level Visibility Method type Description Created on
1 ASSIGN_STATUS_TO_POSTS Static method Public Method Assign Status to Posts 20131031
2 CONSENT_REQUIRED_MANAGEMENT Static method Public Method Consent Required Management 20131112
3 MAKE_SOCIAL_POST_ANONYMOUS Static method Public Method Handles the operation of making a Socail Post anonymous 20131031
4 MAP_COUNTRYINFO_TO_POSTS Static method Public Method Map Social Post Country Name with Country Code 20131031
5 MAP_STANDARD_COUTNRYINFO Static method Private Method Map Social Post Country Name with Country Code from standard 20131031
6 USER_DECISION_MANAGEMENT Static method Public Method User Decision Consent Management 20131112
Events
Class CL_SMI_CNSNT_MGNT_UTIL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_SOCIALDATA_UUID Private See coding 20131031 BEGIN OF ts_socialdata_uuid, socialdatauuid TYPE smi_socialdatauuid, END OF ts_socialdata_uuid
Method Signatures

Method ASSIGN_STATUS_TO_POSTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LOG_OPTIONS Call by reference Type reference (TYPE) SMI_S_CNSNT_MGNT_PROC_OPTIONS Social Consent Management: Flow Control for Program 20131031
2 Importing IT_COUNTRYCODE Call by reference Type reference (TYPE) SMI_T_COUNTRY_CODE Country Key 20131031
3 Importing IT_RETRIEVALMODE Call by reference Type reference (TYPE) SMI_T_RETRIVAL_MODE Table for Retrieval Mode 20131031
4 Importing IT_SOCIALMEDIACHANNEL Call by reference Type reference (TYPE) SMI_T_SOCIALMEDIACHANNEL_RANGE Search Help structure for Social Media Channel 20131031
5 Importing IT_SOCIALMEDIAGROUP Call by reference Type reference (TYPE) SMI_T_SOCIAL_MEDIA_GROUP Social Media Group 20131031

Method ASSIGN_STATUS_TO_POSTS on class CL_SMI_CNSNT_MGNT_UTIL has no exception.

Method CONSENT_REQUIRED_MANAGEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LOG_OPTIONS Value transfer Type reference (TYPE) SMI_S_CNSNT_MGNT_PROC_OPTIONS Social Consent Management: Flow Control for Program 20131112

Method CONSENT_REQUIRED_MANAGEMENT on class CL_SMI_CNSNT_MGNT_UTIL has no exception.

Method MAKE_SOCIAL_POST_ANONYMOUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LOG_OPTIONS Value transfer Type reference (TYPE) SMI_S_CNSNT_MGNT_PROC_OPTIONS Social Consent Management: Flow Control for Program 20131031
2 Importing IT_COUNTRY_CODE_RANGE Call by reference Type reference (TYPE) SMI_T_COUNTRY_CODE Table Type for country Code 20131031
3 Importing IT_RETRIEVAL_MODE_RANGE Call by reference Type reference (TYPE) SMI_T_RETRIVAL_MODE Table for Retrieval Mode 20131031
4 Importing IT_SOCIALMEDIACHANNEL_RANGE Call by reference Type reference (TYPE) SMI_T_SOCIALMEDIACHANNEL_RANGE Range Table for channel 20131031
5 Importing IT_SOCIALMEDIAGROUP_RANGE Call by reference Type reference (TYPE) SMI_T_SOCIAL_MEDIA_GROUP Table Type for Social Media group 20131031

Method MAKE_SOCIAL_POST_ANONYMOUS on class CL_SMI_CNSNT_MGNT_UTIL has no exception.

Method MAP_COUNTRYINFO_TO_POSTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAPIRET2_TAB Error Messages 20131031
2 Importing IS_LOG_OPTIONS Call by reference Type reference (TYPE) SMI_S_CNSNT_MGNT_PROC_OPTIONS Social Consent Management: Flow Control for Program 20131031
3 Importing IT_COUNTRY_CODE Call by reference Type reference (TYPE) SMI_T_COUNTRY_CODE Table Type for country Code 20131031
# Exception Resumable Description Created on
1 CX_SOCLMDA_EXCEPTION Social Media Exception 20131031

Method MAP_STANDARD_COUTNRYINFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAPIRET2_TAB Error Messages 20131031
2 Importing IR_IF_LOG Call by reference Object reference (TYPE REF TO) IF_SMI_LOG Application Log 20131031
3 Importing IS_BAL_LOG Call by reference Type reference (TYPE) BAL_S_LOG Application Log: Log header data 20131031
4 Importing IS_COUNTRY Call by reference Type reference (TYPE) SMI_S_COUNTRY Strucutre of Country Name and Country Code 20131031
5 Importing IS_LOG_OPTIONS Call by reference Type reference (TYPE) SMI_S_CNSNT_MGNT_PROC_OPTIONS Social Consent Management: Flow Control for Program 20131031

Method MAP_STANDARD_COUTNRYINFO on class CL_SMI_CNSNT_MGNT_UTIL has no exception.

Method USER_DECISION_MANAGEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LOG_OPTIONS Value transfer Type reference (TYPE) SMI_S_CNSNT_MGNT_PROC_OPTIONS Social Consent Management: Flow Control for Program 20131112
# Exception Resumable Description Created on
1 CX_SY_OPEN_SQL_DB Open SQL Error 20131112
History
Last changed by/on SAP  20140121 
SAP Release Created in