Definition
Inbound service interface to maintain analytical information in cloud data sources.
Cloud data sources can be created in workcenter Business Analytics, Design Datasources.
Business Context and Use
The following section describes the structure of the service.
Service: /sap/bc/srt/scs/sap/analyticsdatauploadin
Example Structure
<(><<)>n0:AnalyticsDataUploadRequest
xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<BusinessDocumentBasicMessageHeader>
<UUID>12345678-90AB-CDEF-0123-456789ABCDEF</UUID>
<BusinessDocumentBasicMessageHeader>
<AnalyticsDataUploadRequestContent>
<MDAVName>PRODUCT</MDAVName>
<AnalyticsImportMethod>MERGE</AnalyticsImportMethod>
<Data>PROD_INT_ID;
SampleProduct;</Data>
<AnalyticsDataUploadRequestContent>
</n0:AnalyticsDataUploadRequest>
The mandatory elements must be filled with the following information.
MDAVName: ID of the data source
AnalyticsImportMethod: MERGE or OVERWRITE or DELETE
•MERGE
Modifies existing data records (with same key) and inserts data records with new key.
•OVERWRITE
Deletes all existing data records and inserts new data records.
•DELETE
Deletes the existing data records.
Data:
The first line contains the field IDs to be loaded and defines the order. All other lines contain the data. Use semi-colons ( ; ) for value separation and carriage return for row separation.
Example
<DATA>
REGION;PRODUCT;KF1;
US;MC1000;9456;
DE;MC2000;1255;
DE;MC2200;3654;
</DATA>
Prerequisites
A cloud data source for which the data is uploaded needs to be already defined
More Information
General Information
You can find general information about Web services, their structure and consumption in the Web Services documentation. Please open the Web Services document in a new window.
Definition
Analytical data upload is a service to upload data of a cloud data source. The could data source needs to be created seperatly by key user tools.
Prerequisites
The could data source needs to be created seperatly by key user tools.#
Integration
The uploaded analytical data can be displayed in reporting.
Structure
Field MDAV_NAME needs to be filled with the technical ID of a cloud data source.
Field IMPORT_METHOD needs to be filled with 'APPEND' iin case the data shall be merged with existing data, 'OVERWRITE' in case existing data shall be deleted before current data is inserted or 'DELETE' in case existing data shall be edeleted only.
Field DATA needs to contain the data itself.
The first row contains the header: field names in which the data shall be inserted sepereated by ";". In the end of each row a carriage return needs to be added.
All following rows need to contain the field values seperated by ";".
The field values need to be in internal format; uppercase- and alpha conversion is done automatically.
As a result the name of the uploaded datasource as well as success or error messages are returned.