DataManagement TechnicalInformation
DataManagement TechnicalInformation
Customer
Objectives
*Note: Marketing Data Management within SAP hybris Marketing is the new name for SAP
Social Contact Intelligence
Customer
ADT
(Segmentation)
Mobile
Interaction
Contact
ERP
Contact
CRM
Contact
hybris
Commerce
Contact
Fact Sheet
Social Sources
Connectors to Twitter, Facebook and Google+
RDS package available (see next slide)
Interaction Analysis
External interface to load interactions from 3rd party tools for e.g.,
Clickstream Monitoring, Email Execution, etc.
External data needs to be matched to import structure
RDS package available (see next slide)
Interaction
C4C
Contact
Web
Interaction
Tweets,
Posts
Events
Survey
Phone
etc.
Customer
Customer
Interactions are pushed to Social Contact Intelligence by calling RFCenabled function module CUAN_CE_INTERACTIONS_POST
For details refer to function module documentation
Customer
Customer
The database attribute CUAND_CE_IC_ROOT_DATAAGING will set to 00010101. Cold data are not
visible in the application.
Delete cold interaction contacts:
Transaction CUAN_CE_IC_DEL_COLD
Customer
Customer
Customer
Tries to match the newly provided interaction contact information to an existing one
Influenced the facet data, e.g. marks a facet as invalid or adds an additional facet based
on a field from extension include
Calculates additional attributes for interaction contact root data, like validation status
Enables or disables the read of historic interaction data, please consider it influences
the performance to store interaction contact data
Customer
Customer
Customer
Both during design time and run time, hybris calls the CUAN_COMMON
OData service provided by CEI:
During design time, hybris assigns the campaign of the respective customer
segment to the rule definition for the personalization
During run time, hybris uses the customers login credentials to establish the
customer segment and respective campaign that person is assigned to. Then
the web shop is personalized according to whatever was defined for that
customer segment.
For this, hybris needs a technical user in CEI with the necessary read
authorization assigned in order to access the CUAN_COMMON OData
service and underlying objects (Target Group, campaign) in read-only mode.
Customer
Customer
Both during design time and run time, AEM calls the CUAN_COMMON
OData service provided by CEI:
During design time, AEM assigns the CEI campaign to AEM segments for which
then web personalization is created
During run time, AEM uses the visitor login credentials to establish the segment
and respective campaign that person is assigned to. Then the web page is
personalized according to whatever was defined for that segment.
For this, AEM needs a technical user in CEI with the necessary read
authorization assigned in order to access the CUAN_COMMON OData service
and underlying objects (Target Group, campaign) in read-only mode.
Customer
You can define filter criteria that the end user can select to
appear on user interface (UI) for Contact Engagement
You can define the filter criteria based on the attributes of the
interaction contact.
The following options for a filter are available:
Drop down
Search
Slider
After defining the filter attributes the end user is able to
define his/her personalized view by selecting/deselecting
filter in the focus area of the Contact Engagement UI.
Customer
Customer
Customer
There is a BAdI available for defining actions that are to be carried out for a post group. You can either activate
one of the default BAdI implementations or create your own.
The following implementations are available:
MENTION_GROUP_ACTION_SEND_MAIL
In this implementation all the posts listed in a post group are sent to the user as an email when the user
triggers the action assigned to the group.
CREATE_TARGET_GROUP
Create target group based on interaction contacts created from / matched with social media accounts of social
posts.
CREATE_JAM_GROUP
To share and discuss posts with external partners you can create a SAP Jam group into which posts of a post
group are passed.
To implement your own action in BAdI Builder, use enhancement spot EH_CSAN_MENTION_GROUP_ACTION.
Please check out the IMG documentation for further details such as requirements, parameters, etc.
Customer
Program: CSAN_DEMO_RSS_HARVEST
Customer
Prerequisites
Data Privacy Features
Text Analysis
Social Intelligence Data Management
using APIs
Authorization
Objectives
Customer
Business Example
Customer
Agenda
Prerequisites
In this session, you will learn the prerequisites for the consumption of Social Intelligence features
Data Privacy Features
In this session, you will learn how to configure the Data Privacy features
Text Analysis
In this session, you will learn how to trigger text analysis and assess the results
Social Intelligence Data Management using APIs
In this session, you will learn how to consume the APIs to manage data
Authorization Objects
In this session, you will learn about the authorization objects available for managing data
Customer
Prerequisites
In this session, you will learn the prerequisites for the consumption of Social
Intelligence features
Prerequisites
1. You must have Package BS_SOMI_MAIN in your ABAP system. (SAP_BS_FND 7.47
SP05)
2. You must know the schema name of the underlying HANA database of the ABAP system.
3. If you are using the Datasift, you can find information about the installation of the
Connector in the RKT Material RKT - Social Data Harvesting Connectors for DataSift.
4. The configuration of the Search Query is done as defined in the session Configure Social
Search Query of RKT - Social Data Harvesting Connectors for DataSift.
Customer
Components
The following are the components of the data privacy implementation in
Social Intelligence
Consent Management
Defining consent mechanism
for social media posts based
on retrieval mechanism,
channel, and country
Scheduling background jobs
and work on the harvested
data
ILM Features
Archiving allows for clean-up
of data in the database tables
based on residence time
Handling retention time Legal
Hold (features supported by
ILM) with ILM Objects
Customer
2.
3.
4.
After successful activation of business function, the following node is visible in IMG
Cross-Application Components Processes and Tools for Enterprise Applications
Social Intelligence Social Consent Management
Customer
* - Prerequisite is that the Social Media Channel and Data Retrieval Mode should already be defined in Cross-Application Components Processes and Tools
for Enterprise Applications Social Intelligence Basic Settings
Customer
No Consent Required,
Store Anonymously
Data is always stored
anonymously
Consent Required
Also called as Explicit
Consent
Consent is requested
from Social User
No Consent Required,
Store Complete User
Information
User information is
always stored
Customer
Customer
Consent from a social media user is received with the help of a BAdI implementation
The method receives the posts that needs explicit consent as importing parameters and returns the consent
information
Action on no consent
A wait time (in days) can be configured that defines the maximum period the social media post can be kept before we
get a consent
If we do not receive a consent and if the wait time is elapsed, the post is deleted
It is possible to specify whether the post alone has to be deleted or the post and analysis data
If a post is deleted, a BAdI call is made enabling the clean up of dependent data
Consent from a social media user is received with the help of a BAdI implementation
This method receives the social media posts that need implicit consent as importing parameters and returns the
consent information
Action on no consent
A wait time (in days) can be configured that defines the maximum period the social media post can be kept before we
get a consent
If we do not get a consent and if the wait time is elapsed, the post can either be deleted (it is possible to specify
whether the post alone has to be deleted or the post and analysis data) or stored anonymously based on the consent
management configuration
If a post is deleted, a BAdI call is made enabling the clean up of dependent data
Customer
Customer
Implicit consent
Explicit consent
Implicit consent
Customer
The report takes care of the BAdI calls for getting consent
information and taking the appropriate action.
Implicit consent
Customer
If a post is archived, a BAdI call is made enabling the clean up of dependent data
Please refer the documentation on ILM Archiving Objects in help.sap.com for more
information on configuring and executing archiving runs.
Customer
ILM Objects
Two ILM objects are available for maintaining data as per the ILM rules:
SMI_SD ILM object corresponding to the archiving object SMI_SD
SMI_SUI ILM object corresponding to the archiving object SMI_SUI
Destruction Objects
Two destruction objects are available for maintaining data as per the ILM rules
SMI_SOCIALDATA_DESTRUCTION Destruction object for deleting data from database
table SOCIALDATA and SMI_IMPLIEDCNSNT
SMI_USERINFO_DESTRUCTION Destruction Object for deleting data from database table
SOCIALUSERINFO
If a post is destroyed, a BAdI call is made enabling the clean up of dependent data
Text Analysis
In this session, you will learn how to trigger text analysis and assess the results
Text Analysis
HANA Text Analysis is used to calculate the sentiment information for the social media posts
The result of HANA Text Analysis is stored in the table SMI_VOICE_CUST and can also be linked to the SearchTerm defined
for harvesting
The steps involved in Text Analysis are as follows:
Sentiment Assignment
Customer
You have the option to either include the entity type alone or include all subtypes. The included
entity types will be used during Sentiment assignment.
It is also possible to exclude entity types from Sentiment assignment.
Customer
Sentiment Assignment
Sentiment assignment takes the output of HANA Text Analysis and populates
SMI_VOICE_CUST table. The report can be scheduled at the following location
Cross-Application Components Processes and Tools for Enterprise Applications
Social Intelligence Text Analysis Assigning Sentiment to Entity
The database connection to be used can be specified in the General Settings option.
The report has 2 options:
1. Process Sentiment Assignment This option retrieves the entities and entity types and
all related information from the output of text analysis and populates the table
SMI_VOICE_CUST.
2. Copy Search Terms This option ensures that a link is established between the Search
Terms defined (and used to harvest data) and the sentiment information.
Customer
CL_SMI_SOCIALDATA
Used to maintain data in SOCIALDATA table
Singleton class
Also used for mass data maintenance
CL_SMI_SOCIALUSERINFO
Used to maintain data in SOCIALUSERINFO table
Singleton class
Also used for mass data maintenance
Customer
Description
GET_INSTANCE
CREATE_SOCIAL_POS
T_DATA
UPDATE_SOCIAL_POS
T_DATA
DELETE_SOCIAL_POS
T_DATA
SAVE_SOCIAL_POST_
DATA
GET_SOCIAL_POST
GET_SOCIAL_POSTS
Method
Description
QUERY_SOCIAL_P
OST_DATA
CANCEL
Method
Description
GET_INSTANCE
CREATE_USER_INFO
UPDATE_USER_INFO
DELETE_FROM_BUFF
ER
Method
Description
QUERY_USER_INFO
QUERY_USER_INFO
_BY_RANGE
CLEANUP
CREATE_MULTIPLE_
USERS
UPDATE_MULTIPLE_
USERS
SAVE
CANCEL
Authorization Objects
In this session, you will learn about the authorization objects available for
managing data
Authorization Objects
Two authorization objects are delivered
SMI_AUTH controls access to all Social Media data using APIs, Consent Management
Reports etc.
Customer
Summary
Customer
Customer