DataManagement Inbound
DataManagement Inbound
Overview
Objectives
Customer
Explore &
gain insights
Intelligence
through Predictive
Analytics
Personalized
targeting &
orchestration
Campaign execution
in all channels
Personalized commerce
Financial data
Interaction center
Lead, opportunity
Capturing response
Customer
Financial data
Big data industry
Content
Technology
OData
CSV upload
SOAP
SAP CRM
SLT
SAP ERP
SLT
hybris Commerce
Non-SAP solutions
CSV, oData
DS, part of rapid data load RDS
SAP ERP
SLT
SAP BRIM
BSS BizDocs
SLT
OSS Data
SAP CAR/Retail
POS Data
HANA Co-Deployment
Social Posts
DS, REST
1. Social Posts
2. Likes & Comments*
Social Posts
DS
Sprinklr
Social Posts*
OData
hybris Commerce
Clickstreams
ESP
Adobe
Clickstreams
Clickstreams (analyzed)
SOAP
SLT
DS, part of rapid data load RDS
* Planned for
2. H 2015
Customer
Integration Technologies
Technology
Description
SOAP
SOAP is a protocol specification for exchanging structured information in the implementation of web services in computer networks. The
message format is based on XML. Message transfer is based on other web protocols, usually HTTP(S).
REST
Representational State Transfer (REST) is a architecture style for creating scalable web services. REST services are usually based on
HTTP(S). They use HTTP URIs for resource identification and HTTP methods for service operations. It is used widely as an alternative to
SOAP, as REST services usually provide better performance, scalability and simpler interfaces.
OData
OData provides a protocol for queryable and interoperable RESTful APIs. It provides an entity-based data model and a query language.
Create, read, update and delete methods expressed using HTTP methods.
RFC
Call of a function module that runs in a different system (destination) from the calling program. Connections are possible between different AS
ABAP and between an AS ABAP and a non-SAP system. In non-SAP systems, instead of function modules, special programmed functions
are called, whose interface simulates a function module.
CSV
A comma-separated values (CSV) (also sometimes called character-separated values) file stores tabular data (numbers and text) in plain-text
form. CSV files are widely used as import or export format and can be down- and uploaded to many systems.
ESP
SAP Event Stream Processor is a high performance complex event processing engine that collects and analyzes streams of events
(messages) in real-time, as fast as they arrive. It can be used in conjunction with SAP HANA to collect streams of data, process the data,
capture it in HANA, and monitor the data to generate alerts or immediate response.
SLT
System Landscape Transformation or short SLT is a tool for data migration and data replication: replicates tables in (near) real time from SAP
systems to SAP HANA.
DS
Data Services (DS) provides a data integration platform to integrate and transform heterogeneous data (e.g. Web, RDBMS, XML, Flat files)
using ETL processes.
SAP MW
SAP CRM Middleware replicates, synchronizes and distributes data between different components of a SAP CRM solution. It links together
the various types of data producers (such as ERP back end, SAP NetWeaver Business Intelligence, SAP APO, hybris Marketing and the
CRM Server applications) to provide all participants with the information they require. Its main part is provided by the CRM Server.
HANA Co-Deployment
HANA co-deployment refers to multiple applications that are deployed to the same HANA instance. They can integrate by consuming HANA
information models which integrate data of both applications.
Customer
OData Service
Inbound
Processing
SAP Systems
CEI
Interaction
Contact
Web Service
Hybris, Omniture,
RDS, 3rd Party
Interaction
RFC
Social Data
(BS_FND)
CSV Upload
DataSift
Customer
Merge
Validation
BAdI w/ example implementation + standard logic
Split
Standard logic + BAdI + API
Customer
WEB INTERFACES
Interactions
Interaction Contacts
Customer
"Id" : ",
"Timestamp" : "/Date(1406014140922)/", "UserName" : "USER", "SourceSystemId" : "HYBRIS",
"Contacts" : [
{ "Id" : "4711", "Timestamp" : "/Date(1406014140601)/", "City" : "Kiel", "CountryDescription" : "Germany", "CustomerName" : "Stahlbau GmbH",
"DepartmentDescription" : "Sales", "EMailAddress" : "[email protected]", "EMailOptIn" : "Y",
"EMailAddress2" : "[email protected]","EMail2OptIn" : "N",
"EMailAddress3" : "[email protected]", "EMail3OptIn" : "",
"FacebookId" : "4711", "FacebookOptIn" : "Y", "FirstName" : "Otto", "FullName" : "Otto Normalverbraucher", "FunctionDescription" : "Director",
"GenderDescription" : "Male", "GooglePlusId" : "", "GooglePlusOptIn" : "", "HouseNumber" : "1", "IndustryDescription" : "Manufacturing",
"IsConsumer" : false, "IsContact" : true, LanguageDescription" : "German", "LastName" : "Normalverbraucher", "MaritalStatusDescription" : "Married",
"MobilePhoneNumber" : "+49119201412191", "MobilePhoneOptIn" : "N", "MobileSMSOptIn" : "Y", "Obsolete" : false, "PhoneNumber" : "+49115",
"PhoneOptin" : "", "PostalCode" : "24105", "PostalOptin" : "", "RegionDescription" : "Schleswig-Holstein", "SAPCRMBusinessPartnerId" : "", "SAPCRMMarketingProspectId" : "",
"SAPERPAccountId" : "12345", "SAPERPConsumerAccountId" : "", "SAPERPContactId" : "23456", "SAPHybrisConsumerAccountId" : "4711", "Street" : "Hauptstrasse",
"TitleDescription" : "Mr.", "TwitterId" : "", "TwitterOptIn" : "", "Facets" : [ { "Id" : "[email protected]", "IdOrigin" : "EMAIL", "Timestamp" : "/Date(1406014140601)/",
"OptIn" : "Y
},
{ "Id" : "[email protected]", "IdOrigin" : "EMAIL", "Timestamp" : "/Date(1406014140601)/", "OptIn" : "N"
}
],
"MarketingPermissions" : [
{"Id" : "[email protected]", "IdOrigin" : "EMAIL", "Timestamp" : "/Date(1406014140601)/", "OptIn" : "Y", "OutboundCommunicationMedium" : "EMAIL"
}
]
},
{ "Id" : "4712", "Timestamp" : "/Date(1406014140601)/", "City" : "Walldorf","CountryDescription" : "Germany", "CustomerName" : "", "DepartmentDescription" : "", "EMailAddress" : "[email protected]",
"EMailOptIn" : "", "EMailAddress2" : "[email protected]", "EMail2OptIn" : "N",
"EMailAddress3" : "[email protected]", "EMail3OptIn" : "Y",
"FacebookId" : "4712", "FacebookOptIn" : "N", "FirstName" : "Erika", "FullName" : "Erika Mustermann", "FunctionDescription" : "", "GenderDescription" : "Female", "GooglePlusId" : "4712", "GooglePlusOptIn" : "Y",
"HouseNumber" : "1", "IndustryDescription" : "", "IsConsumer" : true, "IsContact" : false, "LanguageDescription" : "German", "LastName" : "Mustermann", "MaritalStatusDescription" : "Single",
"MobilePhoneNumber" : "+49119201412192", "MobilePhoneOptIn" : "Y", "MobileSMSOptIn" : "Y", "Obsolete" : false, "PhoneNumber" : "+49116", "PhoneOptin" : "", "PostalCode" : "69190",
"PostalOptin" : "Y", "RegionDescription" : "Baden-Wurttemberg", "SAPCRMBusinessPartnerId" : "", "SAPCRMMarketingProspectId" : "", "SAPERPAccountId" : "", "SAPERPConsumerAccountId" : "CAID-4712",
"SAPERPContactId" : "", "SAPHybrisConsumerAccountId" : "4712", "Street" : "Nebenstrasse", "TitleDescription" : "Ms.", "TwitterId" : "4712", "TwitterOptIn" : "N",
"Facets" : [
{ "Id" : "[email protected]", "IdOrigin" : "EMAIL", "Timestamp" : "/Date(1406014140601)/", "OptIn" : ""
},
{ "Id" : "[email protected]", "IdOrigin" : "EMAIL", "Timestamp" : "/Date(1406014140601)/", "OptIn" : "Y
}
]
}
]
}
Customer
CSV UPLOAD
Interactions
Interaction Contacts
Customer
Customer
The
If you want to load data periodically from a system (SAP or third-party) that is connected to a
SAP HANA system, it is useful to establish data extraction based on database trigger.
Connect any SAP systems with the SAP Landscape Transformation Replication
Server
Connect any third-party systems using SAP Data Services
You do not need the trigger mechanism (described in the following slide in steps 1 and 2) if
you do not need to extract data periodically.
Customer
Necessary Steps
SAP System
Contact
Information
HANA System
Replicated
Contact
Information
1.
2.
3.
4.
5.
Reset the trigger log table entries for the edited interaction
contacts.
DB Schema
Replicated
Contact
Information
Default
DB Schema
Trigger Log
Interaction
Contact
Extraction
Program
Customer
Note: Adjust table name, primary key, and attributes to your requirements.
Customer
Application Table
CLIENT
Client (CEI)
CLIENT
Key
Key
CRM_CLIENT
PARTNER
CRM_PARTNER
<attributes>
TIMESTAMP
..
OPERATION
CRM_CLIENT & CRM_PARTNER is the application key with a prefix (e.g. CRM_)
OPERATION is the database operation mode (fixed part) like create (=I), change (=U)
or delete (=D)
Customer
Root table
o
Contact Key
Attributes
..
..
Key
Attributes
..
Key
Attributes
..
A database trigger log table needs to be set up for every table when you have data sources
with multiple joined tables:
o
INSERT, UPDATE
Customer
Note: Adjust statements (schema name, table names, etc.) to your requirements.
Customer
Customer
Full Extraction
which is one view for the full object including all joined tables; see view
sap.hana-app.cuan.contact.extract/CA_CONS_EXTR_CRM_CONTENT
Delta Extraction
which are views for each of the subordinate, joined tables and determine the root node key
Example: Determine partner number (root node key) based on customer number;
See view: sap.hana-app.cuan.contact.extract/AT_CONS_DELT_CRM_B000
Trigger table
Root table
Customer
Delta Extraction
Step 2
Step 1
Extract Keys
from Logging
List of
Keys
Internal Call of
Full Extraction
with List of Keys
Tables
Source
Subject schema
SAP_CUAN_CRM
Subject table
(monitored table)
ADCP
Logging table
(trigger table)
CUAND_CE_IC_CADC
CRM
CRM
SAP_CUAN_CRM
ADCP
CUAND_CE_IC_CADC
CRM
CRM
CRM
CRM
CRM
SAP_CUAN_CRM
SAP_CUAN_CRM
SAP_CUAN_CRM
SAP_CUAN_CRM
SAP_CUAN_CRM
ADR2
ADR2
ADR6
ADR6
ADRC
CUAND_CE_IC_CAD2
CUAND_CE_IC_CAD2
CUAND_CE_IC_CAD6
CUAND_CE_IC_CAD6
CUAND_CE_IC_CADR
CRM
SAP_CUAN_CRM
ADRC
CUAND_CE_IC_CADR
CRM
SAP_CUAN_CRM
ADRP
CUAND_CE_IC_CADP
CRM
CRM
CRM
CRM
CRM
CRM
SAP_CUAN_CRM
SAP_CUAN_CRM
SAP_CUAN_CRM
SAP_CUAN_CRM
SAP_CUAN_CRM
SAP_CUAN_CRM
BUT000
BUT000
BUT051
BUT052
CRMD_MKTHV_MC
CRMD_MKTHV_MC_TC
CUAND_CE_IC_CBT0
CUAND_CE_IC_CBT0
CUAND_CE_IC_CBT1
CUAND_CE_IC_CBT2
CUAND_CE_IC_MC
CUAND_CE_IC_MCTC
CRM
SAP_CUAN_CRM
CRMD_MKTHV_MC_TC
CUAND_CE_IC_MCTC
CRM
SAP_CUAN_CRM
CRMKUNNR
CUAND_CE_IC_EKUN
CRM
SAP_CUAN_CRM
CRMM_BUT_FRG0041
CUAND_CE_IC_CFRG
ERP
ERP
ERP
ERP
ERP
SAP_CUAN_ERP
SAP_CUAN_ERP
SAP_CUAN_ERP
SAP_CUAN_ERP
SAP_CUAN_ERP
ADR2
ADR2
ADR6
ADR6
ADRP
CUAND_CE_IC_EAD2
CUAND_CE_IC_EAD2
CUAND_CE_IC_EAD6
CUAND_CE_IC_EAD6
CUAND_CE_IC_EADR
ERP
SAP_CUAN_ERP
ADRP
CUAND_CE_IC_EADR
ERP
ERP
ERP
ERP
SMI
SAP_CUAN_ERP
SAP_CUAN_ERP
SAP_CUAN_ERP
SAP_CUAN_ERP
SAP:CUAN
KNA1
KNA1
KNVK
KNVK
SMI_VOICE_CUST
CUAND_CE_IC_EKNA
CUAND_CE_IC_EKNA
CUAND_CE_IC_EKNV
CUAND_CE_IC_EKNV
CSAND_CE_IA_VOC
Customer
Customer
2.
Refer to superclass
CL_CUAN_IC_EXTRACT_COMMON
3.
Customer
4.
Redefine Methods
CONTENT_MAP_ATTRIBUTES
Map attributes of your FULL view to
structure CUAN_T_CE_IA_EXT
DELTA_INIT_METADATA
Define names of additional delta HANA
views (after CALL METHOD super>delta_init_metadata)
FULL_INIT_METADATA
Define names of additional full HANA
views (after CALL METHOD super>full_init_metadata)
Customer
Report
CUAN_IC_MASTERDATA_EXTR_D
ELT
o
Customer
Interaction
Contacts
Customer
Summary
Customer
Customer