├── .gitignore ├── .reuse └── dep5 ├── ABAP Function Module Integration ├── ABAP │ └── zcl_fm_interface_converter │ │ └── zcl_fm_interface_converter.txt └── Data Intelligence │ ├── Mapping Code Go │ └── go_mapping_code.txt │ └── Pipelines │ ├── 01_extract_function_module_schema │ └── 01_extract_function_module_schema.json │ └── 02_call_function_modue │ └── 02_call_function_module.json ├── AppIntegrationExample ├── README.md ├── doc │ ├── HowToAnalyse.md │ ├── HowToExtract.md │ ├── HowToImplement.md │ ├── HowToTransform.md │ ├── hanaHowToImportTargetTables.md │ ├── hanaHowToImportViewsForCockpit.md │ └── images │ │ ├── E2E_Scenario_Overview2.png │ │ ├── GH_pic1.png │ │ ├── GH_pic16.png │ │ ├── GH_pic17.png │ │ ├── GH_pic18.png │ │ ├── GH_pic19.png │ │ ├── GH_pic2.png │ │ ├── GH_pic20.png │ │ ├── GH_pic21.png │ │ ├── GH_pic22.png │ │ ├── GH_pic24.png │ │ ├── GH_pic25.png │ │ ├── GH_pic26.png │ │ ├── GH_pic3.png │ │ ├── GH_pic4.png │ │ ├── GH_pic5.png │ │ ├── createCalcViews.Activate.png │ │ ├── createCalcViews.ActivateSelect.png │ │ ├── createCalcViews.FileMenu.png │ │ ├── createCalcViews.Overview.png │ │ ├── createCalcViews.OverviewSmall.png │ │ ├── createCalcViews.SelectHANAContent.png │ │ ├── createCalcViews.SelectSystemFolder.png │ │ ├── createCalcViews.SelectSystemFolder_addObjects.png │ │ ├── createCalcViews.SelectSystemFolder_empty.png │ │ ├── createCalcViews.TargetSystem.png │ │ ├── createHanaTables.FileMenu.png │ │ ├── createHanaTables.ImportError.png │ │ ├── createHanaTables.ImportSelect.png │ │ ├── createHanaTables.ImportSelect_2.png │ │ ├── createHanaTables.ImportSelect_3.png │ │ ├── createHanaTables.ImportSelect_4.png │ │ ├── createHanaTables.ImportedTables.png │ │ ├── createHanaTables.NewCatalogObjectSelection.png │ │ ├── createHanaTables.OptionsForImport.png │ │ ├── createHanaTables.RemoveCatalogObject.png │ │ ├── createHanaTables.SelectCatalogObjects.png │ │ ├── createHanaViews.AllDatesSeries.png │ │ ├── createHanaViews.FileMenu.png │ │ ├── createHanaViews.ImportSelectCatalogObjects.png │ │ ├── createHanaViews.OptionsForCatalogObjectImport.png │ │ ├── createHanaViews.SelectCatalogObjectsForImport.png │ │ ├── createHanaViews.SelectSystem.png │ │ ├── createHanaViews.SpecifiyLocation.png │ │ ├── createHanaViews.SpecifyLocation_SelectAllDatesSeries.png │ │ ├── createHanaViews.SpecifyLocation_SelectDateCurrencySeries.png │ │ ├── createHanaViews.SpecifyLocation_SelectDateSeries.png │ │ ├── createHanaViews.ViewsOverview.png │ │ ├── createHanaViews.businessPartnerMapping.png │ │ ├── createHanaViews.dateCurrencySeries.png │ │ ├── createHanaViews.dateSeries.png │ │ ├── odata2S3.s4.loadCustomerReturnsCSV.png │ │ ├── odata2hana.c4c.loadCorporateAccounts.png │ │ ├── odata2hana.c4c.loadCustomerOrders.png │ │ ├── odata2hana.c4c.loadServiceRequests.png │ │ ├── odata2hana.mc.loadInteractionContactOriginData.png │ │ ├── odata2hana.mc.loadInteractions.png │ │ ├── odata2hana.png │ │ ├── odata2hana.s4.loadBusinessPartners.png │ │ ├── odata2hana.s4.loadCustomerReturns.png │ │ ├── odata2s3.c4c.loadAccountsCSV.png │ │ ├── odata2s3.c4c.loadCustomerOrdersCSV.png │ │ ├── odata2s3.c4c.loadServiceRequestsParquet.png │ │ ├── odata2s3.mc.loadContactsORC.png │ │ ├── odata2s3.mc.loadInteractionsORC.png │ │ ├── odata2s3.png │ │ └── odata2s3.s4.loadBusinessPartnersParquet.png ├── solution │ └── AppIntegrationExample.zip └── src │ ├── connections │ ├── README.md │ └── connections.json │ ├── content │ └── files │ │ ├── vflow │ │ ├── general │ │ │ └── ui │ │ │ │ └── vsolution_vflow_vgui.settings.json │ │ └── graphs │ │ │ └── com │ │ │ └── appInt │ │ │ ├── odata2hana │ │ │ ├── README.md │ │ │ ├── c4c │ │ │ │ ├── loadCorporateAccounts │ │ │ │ │ ├── README.md │ │ │ │ │ └── graph.json │ │ │ │ ├── loadCustomerOrders │ │ │ │ │ ├── README.md │ │ │ │ │ └── graph.json │ │ │ │ └── loadServiceRequests │ │ │ │ │ ├── README.md │ │ │ │ │ └── graph.json │ │ │ ├── graph.json │ │ │ ├── mc │ │ │ │ ├── loadContactOriginData │ │ │ │ │ ├── README.md │ │ │ │ │ └── graph.json │ │ │ │ └── loadInteractions │ │ │ │ │ ├── README.md │ │ │ │ │ └── graph.json │ │ │ └── s4 │ │ │ │ ├── loadBusinessPartners │ │ │ │ ├── README.md │ │ │ │ └── graph.json │ │ │ │ └── loadCustomerReturns │ │ │ │ ├── README.md │ │ │ │ └── graph.json │ │ │ └── odata2s3 │ │ │ ├── README.md │ │ │ ├── c4c │ │ │ ├── loadCorporateAccounts │ │ │ │ ├── README.md │ │ │ │ └── graph.json │ │ │ ├── loadCustomerOrders │ │ │ │ ├── README.md │ │ │ │ └── graph.json │ │ │ └── loadServiceRequests │ │ │ │ ├── README.md │ │ │ │ └── graph.json │ │ │ ├── graph.json │ │ │ ├── mc │ │ │ ├── loadContactOriginData │ │ │ │ ├── README.md │ │ │ │ └── graph.json │ │ │ └── loadInteractions │ │ │ │ ├── README.md │ │ │ │ └── graph.json │ │ │ ├── s4 │ │ │ ├── loadBusinessPartners │ │ │ │ ├── README.md │ │ │ │ └── graph.json │ │ │ └── loadCustomerReturns │ │ │ │ ├── README.md │ │ │ │ └── graph.json │ │ │ └── util │ │ │ ├── createTablesInVora │ │ │ ├── README.md │ │ │ └── graph.json │ │ │ ├── dataTransformDemo │ │ │ ├── README.md │ │ │ └── graph.json │ │ │ ├── removeFiles │ │ │ ├── README.md │ │ │ └── graph.json │ │ │ └── sqlOnFileDemo │ │ │ ├── README.md │ │ │ └── graph.json │ │ └── vora │ │ └── createTables.sql │ ├── hana │ └── com │ │ └── appint │ │ ├── allDatesSeries │ │ └── export │ │ │ └── DH_INPUT │ │ │ └── co │ │ │ ├── com_sap_appint_allDatesSeries │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_businesPartnerMapping │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_c4c_customerOrdersCount │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_c4c_customerOrdersTotal │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_c4c_serviceRequestsCount │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_dateCurrencySeries │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_dateSeries │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_dates │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_datesAndCurrencies │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_mc_complaintInteractionsCount │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_mc_complaintInteractionsTotal │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_mc_opportunityInteractionsCount │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_mc_opportunityInteractionsTotal │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_s4_customerReturnsCount │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ └── com_sap_appint_s4_customerReturnsTotal │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ ├── dateCurrencySeries │ │ └── export │ │ │ └── DH_INPUT │ │ │ └── co │ │ │ ├── com_sap_appint_businesPartnerMapping │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_c4c_customerOrdersTotal │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_dateCurrencySeries │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_datesAndCurrencies │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_mc_complaintInteractionsTotal │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_mc_opportunityInteractionsTotal │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ └── com_sap_appint_s4_customerReturnsTotal │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ ├── dateSeries │ │ └── export │ │ │ └── DH_INPUT │ │ │ └── co │ │ │ ├── com_sap_appint_businesPartnerMapping │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_c4c_customerOrdersCount │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_c4c_serviceRequestsCount │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_dateSeries │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_dates │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_mc_complaintInteractionsCount │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ ├── com_sap_appint_mc_opportunityInteractionsCount │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ │ └── com_sap_appint_s4_customerReturnsCount │ │ │ ├── create.info │ │ │ ├── create.sql │ │ │ └── export_system.info │ │ ├── hanaContent │ │ └── DH_E2E │ │ │ ├── DH_E2E.properties │ │ │ └── calculationviews │ │ │ ├── COM_SAP_APPINT_ALL_DATES_SERIES.calculationview │ │ │ ├── COM_SAP_APPINT_BUSINESS_PARTNERS.calculationview │ │ │ ├── COM_SAP_APPINT_DATE_CURRENCY_SERIES.calculationview │ │ │ └── COM_SAP_APPINT_DATE_SERIES.calculationview │ │ └── tables │ │ └── index │ │ └── DH_INPUT │ │ └── co │ │ ├── com_sap_appint_c4c_corporateAccounts │ │ ├── create.sql │ │ ├── export_system.info │ │ └── table.xml │ │ ├── com_sap_appint_c4c_customerOrders │ │ ├── create.sql │ │ ├── export_system.info │ │ └── table.xml │ │ ├── com_sap_appint_c4c_serviceRequests │ │ ├── create.sql │ │ ├── export_system.info │ │ └── table.xml │ │ ├── com_sap_appint_mc_interactionContactOriginData │ │ ├── create.sql │ │ ├── export_system.info │ │ └── table.xml │ │ ├── com_sap_appint_mc_interactions │ │ ├── create.sql │ │ ├── export_system.info │ │ └── table.xml │ │ ├── com_sap_appint_s4_businessPartners │ │ ├── create.sql │ │ ├── export_system.info │ │ └── table.xml │ │ └── com_sap_appint_s4_customerReturns │ │ ├── create.sql │ │ ├── export_system.info │ │ └── table.xml │ ├── manifest.json │ └── sac │ └── FPA_EXPORT_T_1_SAC_CONTENT.tgz ├── DI-Extract-Usage ├── README.md ├── extract.pipeline.usage-1.0.0.zip └── extract.pipeline.usage-1.0.0 │ ├── content │ └── files │ │ └── vflow │ │ ├── graphs │ │ └── extract │ │ │ └── pipelineusage │ │ │ ├── graph.json │ │ │ └── vtypes │ │ │ ├── scalars │ │ │ ├── str_10 │ │ │ │ └── scalar.vtype │ │ │ ├── str_100 │ │ │ │ └── scalar.vtype │ │ │ ├── str_25 │ │ │ │ └── scalar.vtype │ │ │ └── str_50 │ │ │ │ └── scalar.vtype │ │ │ └── tables │ │ │ ├── datasource_pairs │ │ │ └── table.vtype │ │ │ └── graph_datasources │ │ │ └── table.vtype │ │ ├── subengines │ │ └── com │ │ │ └── sap │ │ │ └── python3 │ │ │ └── operators │ │ │ └── extract │ │ │ ├── datasourcepairs │ │ │ ├── configSchema.json │ │ │ ├── get_pairs.py │ │ │ ├── graph_datasource_pairs1.svg │ │ │ ├── operator.json │ │ │ └── script.py │ │ │ ├── datasources │ │ │ ├── configSchema.json │ │ │ ├── get_datasources.py │ │ │ ├── operator.json │ │ │ ├── pipeline_api_graph_datasources.svg │ │ │ └── script.py │ │ │ ├── runtimegraphs │ │ │ ├── configSchema.json │ │ │ ├── get_runtime_graphs.py │ │ │ ├── operator.json │ │ │ ├── pipeline_api_graph.svg │ │ │ └── script.py │ │ │ └── users │ │ │ ├── configSchema.json │ │ │ ├── get_users.py │ │ │ ├── operator.json │ │ │ ├── script.py │ │ │ └── users.svg │ │ └── vtypes │ │ ├── structures │ │ └── extract │ │ │ └── connection_http │ │ │ └── structure.vtype │ │ └── tables │ │ └── extract │ │ ├── runtime_graphs │ │ └── table.vtype │ │ └── users │ │ └── table.vtype │ └── manifest.json ├── GitWorkflow ├── CICD.md ├── GitWorkflow.md ├── Readme.md ├── img │ ├── build_triggers_environment.png │ ├── cicd_flow.png │ ├── cicd_flow_di.png │ ├── configure-bindings.png │ ├── configure-git.png │ ├── g-custom-copy.png │ ├── g-github.png │ ├── g-gitworkflow.png │ ├── g-launchpad.png │ ├── g-overview-2.png │ ├── g-overview.png │ ├── g-user-workspace.png │ ├── g-vsc-app.png │ ├── shell-step-1.png │ └── shell-step-2.png ├── scripts │ ├── build.sh │ ├── bundle-solution.sh │ ├── install-solution.sh │ └── test-pipeline.sh └── vscode-app │ ├── Dockerfile │ ├── Readme.md │ ├── build.sh │ ├── content │ └── vsystem │ │ └── apps │ │ └── vsc-app.json │ ├── manifest.json │ └── vscode-app.zip ├── HANA_exposed_via_OpenAPIServer ├── README.md ├── open_api_graph.png ├── solution │ └── OpenAPI-HANA-1.0.tgz └── src │ ├── Additional │ ├── Request.js │ ├── Response.js │ └── swagger.json │ └── OpenAPI-HANA-1.0 │ ├── vrep │ └── vflow │ │ └── graphs │ │ └── OpenAPI-HANA │ │ └── graph.json │ └── vsolution.json ├── HiveOperator ├── Hive_Sql.jpg ├── README.md ├── graph.jpg ├── solution │ ├── HiveOperator-1.0.1.tar.gz │ ├── HiveOperator-1.0.tgz │ ├── HiveOperator-1.1.0.7z │ └── HiveOperator-1.1.0.tar.gz ├── src │ └── vrep │ │ ├── vflow │ │ ├── dockerfiles │ │ │ └── examples │ │ │ │ └── HiveOperator │ │ │ │ ├── Dockerfile │ │ │ │ └── Tags.json │ │ ├── graphs │ │ │ └── HiveOperator_test │ │ │ │ └── graph.json │ │ └── subengines │ │ │ └── com │ │ │ └── sap │ │ │ └── python36 │ │ │ └── operators │ │ │ └── examples │ │ │ └── HiveOperator │ │ │ ├── Apache_Hive_logo.svg │ │ │ ├── configSchema.json │ │ │ ├── operator.json │ │ │ └── script.py │ │ └── vsolution.json └── upload.gif ├── JavaProcessExecutor ├── README.md ├── graph.png ├── solution │ └── JavaProcessExecutor.tgz └── src │ ├── JavaApplication │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── sap │ │ └── javaapplication │ │ └── Main.java │ ├── vrep │ └── vflow │ │ ├── dockerfiles │ │ └── examples │ │ │ └── JavaProcessExecutor │ │ │ ├── Dockerfile │ │ │ └── Tags.json │ │ ├── graphs │ │ └── examples │ │ │ └── JavaProcessExecutor │ │ │ └── graph.json │ │ └── operators │ │ └── examples │ │ └── JavaProcessExecutor │ │ ├── JavaApplication.jar │ │ ├── configSchema.json │ │ └── operator.json │ └── vsolution.json ├── LICENSE ├── LICENSES └── Apache-2.0.txt ├── ParquetWriterOperator ├── README.md ├── graph.png ├── modify.jpg ├── solution │ └── ParquetWriter-1.1.0.zip └── src │ └── ParquetWriter-1.1.0 │ ├── content │ └── files │ │ └── vflow │ │ ├── dockerfiles │ │ └── examples │ │ │ └── Python27_pyArrow_pandas │ │ │ ├── Dockerfile │ │ │ └── Tags.json │ │ ├── graphs │ │ └── ParquetWriter │ │ │ └── graph.json │ │ └── subengines │ │ └── com │ │ └── sap │ │ └── python27 │ │ └── operators │ │ └── examples │ │ └── ParquetWriter │ │ ├── operator.json │ │ └── parquet_logo.png │ └── manifest.json ├── QualtricsIntegration ├── README.md ├── graph-extract.png ├── graph-receive.png ├── qualtrics-action.png ├── solution │ └── qualtrics-1.0.0.zip └── src │ └── qualtrics-1.0.0 │ ├── content │ └── files │ │ └── vflow │ │ ├── dockerfiles │ │ └── com │ │ │ └── poc │ │ │ └── qualtrics │ │ │ └── qualtrics │ │ │ ├── Dockerfile │ │ │ └── Tags.json │ │ ├── graphs │ │ └── com │ │ │ └── poc │ │ │ └── qualtrics │ │ │ ├── ExtractResponses │ │ │ └── graph.json │ │ │ └── receiveResponse │ │ │ └── graph.json │ │ └── subengines │ │ └── com │ │ └── sap │ │ └── python36 │ │ └── operators │ │ └── com │ │ └── poc │ │ └── qualtrics │ │ ├── exportResponses │ │ ├── README.md │ │ ├── configSchema.json │ │ ├── operator.json │ │ └── qualtrics-xm-long.svg │ │ └── getResponse │ │ ├── README.md │ │ ├── configSchema.json │ │ ├── operator.json │ │ └── qualtrics-xm-long.svg │ └── manifest.json ├── README.md └── SampleData └── HANA └── ProductMasterdata └── HANA_export.tar.gz /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /.reuse/dep5: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | Upstream-Name: datahub-integration-samples 3 | Upstream-Contact: Kai-Michael Roesner (kai-michael.roesner@sap.com) 4 | Source: https://github.com/SAP-samples/datahub-integration-examples 5 | Disclaimer: The code in this project may include calls to APIs ("API Calls") of 6 | SAP or third-party products or services developed outside of this project 7 | ("External Products"). 8 | "APIs" means application programming interfaces, as well as their respective 9 | specifications and implementing code that allows software to communicate with 10 | other software. 11 | API Calls to External Products are not licensed under the open source license 12 | that governs this project. The use of such API Calls and related External 13 | Products are subject to applicable additional agreements with the relevant 14 | provider of the External Products. In no event shall the open source license 15 | that governs this project grant any rights in or to any External Products,or 16 | alter, expand or supersede any terms of the applicable additional agreements. 17 | If you have a valid license agreement with SAP for the use of a particular SAP 18 | External Product, then you may make use of any API Calls included in this 19 | project’s code for that SAP External Product, subject to the terms of such 20 | license agreement. If you do not have a valid license agreement for the use of 21 | a particular SAP External Product, then you may only make use of any API Calls 22 | in this project for that SAP External Product for your internal, non-productive 23 | and non-commercial test and evaluation of such API Calls. Nothing herein grants 24 | you any rights to use or access any SAP External Product, or provide any third 25 | parties the right to use of access any SAP External Product, through API Calls. 26 | 27 | Files: * 28 | Copyright: 2019-2020 SAP SE or an SAP affiliate company and datahub-integration-samples contributors 29 | License: Apache-2.0 -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/E2E_Scenario_Overview2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/E2E_Scenario_Overview2.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic1.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic16.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic17.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic18.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic19.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic2.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic20.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic21.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic22.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic24.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic25.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic26.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic3.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic4.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/GH_pic5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/GH_pic5.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createCalcViews.Activate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createCalcViews.Activate.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createCalcViews.ActivateSelect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createCalcViews.ActivateSelect.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createCalcViews.FileMenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createCalcViews.FileMenu.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createCalcViews.Overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createCalcViews.Overview.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createCalcViews.OverviewSmall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createCalcViews.OverviewSmall.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createCalcViews.SelectHANAContent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createCalcViews.SelectHANAContent.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createCalcViews.SelectSystemFolder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createCalcViews.SelectSystemFolder.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createCalcViews.SelectSystemFolder_addObjects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createCalcViews.SelectSystemFolder_addObjects.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createCalcViews.SelectSystemFolder_empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createCalcViews.SelectSystemFolder_empty.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createCalcViews.TargetSystem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createCalcViews.TargetSystem.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaTables.FileMenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaTables.FileMenu.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaTables.ImportError.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaTables.ImportError.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaTables.ImportSelect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaTables.ImportSelect.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaTables.ImportSelect_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaTables.ImportSelect_2.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaTables.ImportSelect_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaTables.ImportSelect_3.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaTables.ImportSelect_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaTables.ImportSelect_4.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaTables.ImportedTables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaTables.ImportedTables.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaTables.NewCatalogObjectSelection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaTables.NewCatalogObjectSelection.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaTables.OptionsForImport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaTables.OptionsForImport.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaTables.RemoveCatalogObject.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaTables.RemoveCatalogObject.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaTables.SelectCatalogObjects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaTables.SelectCatalogObjects.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.AllDatesSeries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.AllDatesSeries.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.FileMenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.FileMenu.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.ImportSelectCatalogObjects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.ImportSelectCatalogObjects.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.OptionsForCatalogObjectImport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.OptionsForCatalogObjectImport.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.SelectCatalogObjectsForImport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.SelectCatalogObjectsForImport.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.SelectSystem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.SelectSystem.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.SpecifiyLocation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.SpecifiyLocation.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.SpecifyLocation_SelectAllDatesSeries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.SpecifyLocation_SelectAllDatesSeries.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.SpecifyLocation_SelectDateCurrencySeries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.SpecifyLocation_SelectDateCurrencySeries.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.SpecifyLocation_SelectDateSeries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.SpecifyLocation_SelectDateSeries.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.ViewsOverview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.ViewsOverview.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.businessPartnerMapping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.businessPartnerMapping.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.dateCurrencySeries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.dateCurrencySeries.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/createHanaViews.dateSeries.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/createHanaViews.dateSeries.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2S3.s4.loadCustomerReturnsCSV.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2S3.s4.loadCustomerReturnsCSV.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2hana.c4c.loadCorporateAccounts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2hana.c4c.loadCorporateAccounts.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2hana.c4c.loadCustomerOrders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2hana.c4c.loadCustomerOrders.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2hana.c4c.loadServiceRequests.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2hana.c4c.loadServiceRequests.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2hana.mc.loadInteractionContactOriginData.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2hana.mc.loadInteractionContactOriginData.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2hana.mc.loadInteractions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2hana.mc.loadInteractions.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2hana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2hana.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2hana.s4.loadBusinessPartners.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2hana.s4.loadBusinessPartners.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2hana.s4.loadCustomerReturns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2hana.s4.loadCustomerReturns.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2s3.c4c.loadAccountsCSV.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2s3.c4c.loadAccountsCSV.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2s3.c4c.loadCustomerOrdersCSV.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2s3.c4c.loadCustomerOrdersCSV.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2s3.c4c.loadServiceRequestsParquet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2s3.c4c.loadServiceRequestsParquet.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2s3.mc.loadContactsORC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2s3.mc.loadContactsORC.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2s3.mc.loadInteractionsORC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2s3.mc.loadInteractionsORC.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2s3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2s3.png -------------------------------------------------------------------------------- /AppIntegrationExample/doc/images/odata2s3.s4.loadBusinessPartnersParquet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/doc/images/odata2s3.s4.loadBusinessPartnersParquet.png -------------------------------------------------------------------------------- /AppIntegrationExample/solution/AppIntegrationExample.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/solution/AppIntegrationExample.zip -------------------------------------------------------------------------------- /AppIntegrationExample/src/connections/README.md: -------------------------------------------------------------------------------- 1 | # Import connections 2 | 3 | Download the [`connections.json`](connections.json) file and import the connections in SAP Data Hub `Connection Management`. During import you will need to provide the appropriate connection credentials and to prefix the OData endpoints with the appropriate host URLs in your system landscape. 4 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/general/ui/vsolution_vflow_vgui.settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "OperatorCategories": [ 3 | { 4 | "name": "SAP Application Integration Example", 5 | "entities": [] 6 | } 7 | ], 8 | "GraphCategories": [ 9 | { 10 | "name": "SAP Application Integration Example", 11 | "entities": [ 12 | "com.appInt.odata2hana", 13 | "com.appInt.odata2hana.c4c.loadCorporateAccounts", 14 | "com.appInt.odata2hana.c4c.loadCustomerOrders", 15 | "com.appInt.odata2hana.c4c.loadServiceRequests", 16 | "com.appInt.odata2hana.mc.loadContactOriginData", 17 | "com.appInt.odata2hana.mc.loadInteractions", 18 | "com.appInt.odata2hana.s4.loadBusinessPartners", 19 | "com.appInt.odata2hana.s4.loadCustomerReturns", 20 | "com.appInt.odata2s3", 21 | "com.appInt.odata2s3.c4c.loadCorporateAccounts", 22 | "com.appInt.odata2s3.c4c.loadCustomerOrders", 23 | "com.appInt.odata2s3.c4c.loadServiceRequests", 24 | "com.appInt.odata2s3.mc.loadContactOriginData", 25 | "com.appInt.odata2s3.mc.loadInteractions", 26 | "com.appInt.odata2s3.s4.loadBusinessPartners", 27 | "com.appInt.odata2s3.s4.loadCustomerReturns", 28 | "com.appInt.odata2s3.util.createTablesInVora", 29 | "com.appInt.odata2s3.util.removeFiles", 30 | "com.appInt.odata2s3.util.sqlOnFileDemo", 31 | "com.appInt.odata2s3.util.dataTransformDemo" 32 | ] 33 | } 34 | ], 35 | "Extensions": null 36 | } -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2hana/README.md: -------------------------------------------------------------------------------- 1 | # OData to HANA 2 | 3 | ## Description 4 | This graph orchestrates all pipelines required to load the following data into SAP HANA: 5 | - SAP Cloud for Customer corporate accounts, customer orders, and service requests 6 | - SAP Marketing Cloud contacts and interactions 7 | - SAP S/4 HANA business partners and customer returns 8 | 9 | ## Prerequisites 10 | For this graph to run you need to configure the following graphs: 11 | - `com.appInt.odata2hana.c4c.loadCorporateAccounts` - "C4C Accts. to HANA" 12 | - `com.appInt.odata2hana.c4c.loadCustomerOrders` - "C4C CustOr to HANA" 13 | - `com.appInt.odata2hana.c4c.loadServiceRequests` - "C4C SrvRq. to HANA" 14 | - `com.appInt.odata2hana.mc.loadContactOriginData` - "MC Contcts to HANA" 15 | - `com.appInt.odata2hana.mc.loadInteractions` - "MC Interact. to HANA" 16 | - `com.appInt.odata2hana.s4.loadBusinessPartners` - "S4 BuPa to HANA" 17 | - `com.appInt.odata2hana.s4.loadCustomerReturns` - "S4 CustRet. to HANA" 18 | 19 | ## Configure and Run the Graph 20 | There is no configuration for this graph. Use the Terminal operator to check for errors occurring during execution. The graph terminates after all data has been loaded succesfully. Otherwise press `Enter` on the Terminal console to complete the graph. 21 | 22 |
23 | 26 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2hana/c4c/loadCorporateAccounts/README.md: -------------------------------------------------------------------------------- 1 | # C4C Accts. to HANA 2 | 3 | ## Description 4 | 5 | This graph extracts corporate accounts from SAP Cloud for Customer and stores them directly to HANA. 6 | 7 | The graph is composed of the following components: 8 | - OData Query Consumer: Reads contact data from the Odata endpoint exposed by C4C. 9 | - Flowagent Table Producer: Writes the data into HANA. 10 | - 3-1 Multiplexer & Terminal: Shows results of the data ingestion. 11 | 12 | ## Prerequisites 13 | 14 | - For this graph to run you will need the following: 15 | - Configured connection to the SAP Cloud for Customer Odata endpoint with ID `APPINT_C4C` 16 | - Configured connection to SAP HANA with ID `APPINT_HANA` 17 | - Existing SAP HANA schema and table 18 | - Please create the `com_sap_appint_c4c_corporateAccounts` table in the `DH_INPUT` schema. 19 | 20 | ## Configure and Run the Graph 21 | 22 | 1. Adapt the OData query in the OData Query Consumer as required. The default configuration looks like this:
23 | `/CorporateAccountCollection?$select=AccountID,UUID,ExternalID,RoleCode,RoleCodeText,Name,HouseNumber,Street,City,CreationOn,ChangedOn` 24 | 2. Save and run the graph. 25 | 3. Use the Terminal operator to view the status of the Pipeline during execution. Press `Enter` on the Terminal console to complete the graph. 26 | 27 |
28 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2hana/c4c/loadCustomerOrders/README.md: -------------------------------------------------------------------------------- 1 | # C4C CustOr to HANA 2 | 3 | ## Description 4 | 5 | This graph extracts SAP Cloud for Customer customer orders and stores them directly to HANA. 6 | 7 | The graph is composed of the following components: 8 | - OData Query Consumer: Reads contact data from the Odata endpoint exposed by C4C. 9 | - Flowagent Table Producer: Writes the data into HANA. 10 | - 3-1 Multiplexer & Terminal: Shows results of the data ingestion. 11 | 12 | ## Prerequisites 13 | 14 | - For this graph to run you will need the following: 15 | - Configured connection to the SAP Cloud for Customer Odata endpoint with ID `APPINT_C4C` 16 | - Configured connection to SAP HANA with ID `APPINT_HANA` 17 | - Existing SAP HANA schema and table 18 | - Please create the `com_sap_appint_c4c_customerOrders` table in the `DH_INPUT` schema. 19 | 20 | ## Configure and Run the Graph 21 | 22 | 1. Adapt the OData query in the OData Query Consumer as required. The default configuration looks like this:
23 | `/CustomerOrderCollection?$select=ObjectID,ID,Name,ClassificationCode,ClassificationCodeText,BuyerID,BuyerPartyID,BuyerPartyName,ProductRecipientPartyID,ProductRecipientPartyName,ItemListCancellationStatusCode,ItemListCancellationStatusCodeText,ApprovalStatusCode,SalesOrganisationID,BuyerPartyID,SalesUnitPartyID,NetAmount,NetAmountCurrencyCode,SetAsCompleted,LastChangeDate,DateTime` 24 | 2. Save and run the graph. 25 | 3. Use the Terminal operator to view the status of the Pipeline during execution. Press `Enter` on the Terminal console to complete the graph. 26 | 27 |
28 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2hana/c4c/loadServiceRequests/README.md: -------------------------------------------------------------------------------- 1 | # C4C SrvRq. to HANA 2 | 3 | ## Description 4 | 5 | This graph extracts SAP Cloud for Customer service requests and stores them directly to HANA. 6 | 7 | The graph is composed of the following components: 8 | - OData Query Consumer: Reads contact data from the Odata endpoint exposed by C4C. 9 | - Flowagent Table Producer: Writes the data into HANA. 10 | - 3-1 Multiplexer & Terminal: Shows results of the data ingestion. 11 | 12 | ## Prerequisites 13 | 14 | - For this graph to run you will need the following: 15 | - Configured connection to the SAP Cloud for Customer Odata endpoint with ID `APPINT_C4C` 16 | - Configured connection to SAP HANA with ID `APPINT_HANA` 17 | - Existing SAP HANA schema and table 18 | - Please create the `com_sap_appint_c4c_serviceRequests` table in the `DH_INPUT` schema. 19 | 20 | ## Configure and Run the Graph 21 | 22 | 1. Adapt the OData query in the OData Query Consumer as required. The default configuration looks like this:
23 | `/ServiceRequestCollection?$select=ObjectID,ID,UUID,Name,ProductRecipientPartyID,ProductRecipientPartyUUID,ProductRecipientPartyName,IncidentServiceIssueCategoryID,EscalationStatusCode,EscalationStatusCodeText,ServicePriorityCode,ServicePriorityCodeText,RequestedFulfillmentPeriodStartDateTime,RequestedFulfillmentPeriodEndDateTime,RequestedTotalProcessingDuration,RequestedTotalRequestorDuration,RequestInitialReceiptdatetimecontent,RequestCloseddatetimeContent,SalesOrganisationID,SalesUnitPartyID,BuyerPartyID,WarrantyGoodwillCode,EscalationTimePointDateTime,ResolutionDueDateTime,SalesTerritoryID,SalesUnitPartyName,BuyerPartyName,BuyerPartyUUID,WarrantyID,ServiceIssueCategoryID,ServiceRequestClassificationCode,ServiceRequestClassificationCodeText,CreationDateTime` 24 | 2. Save and run the graph. 25 | 3. Use the Terminal operator to view the status of the Pipeline during execution. Press `Enter` on the Terminal console to complete the graph. 26 | 27 |
28 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2hana/mc/loadContactOriginData/README.md: -------------------------------------------------------------------------------- 1 | # MC Contcts to HANA 2 | 3 | ## Description 4 | 5 | This graph extracts SAP Marketing Cloud interaction contact origin data and stores them directly to HANA. 6 | 7 | The graph is composed of the following components: 8 | 9 | - OData Query Consumer: Reads contact data from the Odata endpoint exposed by SAP Marketing Cloud. 10 | - Flowagent Table Producer: Writes the data into HANA. 11 | - 3-1 Multiplexer & Terminal: Shows results of the data ingestion. 12 | 13 | ## Prerequisites 14 | 15 | - For this graph to run you will need the following: 16 | - Configured connection to the SAP Marketing Cloud interactions contacts OData endpoint with ID `APPINT_MC_CONTACTS` 17 | - Configured connection to SAP HANA with ID `APPINT_HANA` 18 | - Existing SAP HANA schema and table 19 | - Please create the `com_sap_appint_mc_interactionContactOriginData` table in the `DH_INPUT` schema. 20 | 21 | ## Configure and Run the Graph 22 | 23 | 1. Adapt the OData query in the OData Query Consumer as required. The default configuration looks like this:
24 | `/InteractionContactOriginData?$filter=InteractionContactOrigin eq 'SAP_C4C_BUPA' or InteractionContactOrigin eq 'SAP_ERP_CUSTOMER' or InteractionContactOrigin eq 'SAP_FILE_IMPORT' or InteractionContactOrigin eq 'SAP_HYBRIS_CONSUMER'&$select=InteractionContactOrigin,InteractionContactID,IsEndOfPurposeBlocked,TrackingID,OriginDataLastChgUTCDateTime,LastChangeDateTime,LastChangedByUser,WebSiteURL,CreationDateTime,InteractionContactImageURL,CreatedByUser,InteractionContactType,InteractionContactUUID,Latitude,Longitude,FullName,SpatialReferenceSystem,CityName,StreetName,AddressHouseNumber,Language,LanguageName,EmailAddress,PhoneNumber,MobileNumber,FaxNumber,HasMktgPermissionForDirectMail,Country,CountryName,AddressRegion,RegionName,ContactPostalCode,Industry,IndustryName,IsObsolete` 25 | 2. Save and run the graph. 26 | 3. Use the Terminal operator to view the status of the Pipeline during execution. Press `Enter` on the Terminal console to complete the graph. 27 | 28 |
29 | 32 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2hana/s4/loadBusinessPartners/README.md: -------------------------------------------------------------------------------- 1 | # S4 BuPa to HANA 2 | 3 | ## Description 4 | 5 | This graph extracts business partners from S/4 HANA and stores them directly to HANA. 6 | 7 | The graph is composed of the following components: 8 | - OData Query Consumer: Reads contact data from the Odata endpoint exposed by S4. 9 | - Flowagent Table Producer: Writes the data into HANA. 10 | - 3-1 Multiplexer & Terminal: Shows results of the data ingestion. 11 | 12 | ## Prerequisites 13 | 14 | - For this graph to run you will need the following: 15 | - Configured connection to the S/4 HANA business partner OData endpoint with ID `APPINT_S4_BUPA` 16 | - Configured connection to SAP HANA with ID `APPINT_HANA` 17 | - Existing SAP HANA schema and table 18 | - Please create the `com_sap_appint_s4_businessPartners` table in the `DH_INPUT` schema. 19 | 20 | ## Configure and Run the Graph 21 | 22 | 1. Adapt the OData query in the OData Query Consumer as required. The default configuration looks like this:
23 | `/A_BusinessPartner?$select=BusinessPartner,Customer,Supplier,AcademicTitle,AuthorizationGroup,BusinessPartnerCategory,BusinessPartnerFullName,BusinessPartnerGrouping,BusinessPartnerName,BusinessPartnerUUID,CorrespondenceLanguage,CreatedByUser,CreationDate,CreationTime,FirstName,FormOfAddress,Industry,InternationalLocationNumber1,InternationalLocationNumber2,IsFemale,IsMale,IsNaturalPerson,IsSexUnknown,Language,LastChangeDate,LastChangeTime,LastChangedByUser,LastName,LegalForm,OrganizationBPName1,OrganizationBPName2,OrganizationBPName3,OrganizationBPName4,OrganizationFoundationDate,OrganizationLiquidationDate,SearchTerm1,AdditionalLastName,BirthDate,BusinessPartnerIsBlocked,BusinessPartnerType,ETag,GroupBusinessPartnerName1,GroupBusinessPartnerName2,IndependentAddressID,InternationalLocationNumber3,MiddleName,NameCountry,NameFormat,PersonFullName,PersonNumber,IsMarkedForArchiving,BusinessPartnerIDByExtSystem,TradingPartner` 24 | 2. Save and run the graph. 25 | 3. Use the Terminal operator to view the status of the Pipeline during execution. Press `Enter` on the Terminal console to complete the graph. 26 | 27 |
28 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2hana/s4/loadCustomerReturns/README.md: -------------------------------------------------------------------------------- 1 | # S4 CustRet. to HANA 2 | 3 | ## Description 4 | 5 | This graph extracts business partners from S/4 HANA and stores them directly to HANA. 6 | 7 | The graph is composed of the following components: 8 | - OData Query Consumer: Reads contact data from the Odata endpoint exposed by S4. 9 | - Flowagent Table Producer: Writes the data into HANA. 10 | - 3-1 Multiplexer & Terminal: Shows results of the data ingestion. 11 | 12 | ## Prerequisites 13 | 14 | - For this graph to run you will need the following: 15 | - Configured connection to the S/4 HANA customer returns OData endpoint with ID `APPINT_S4_CUSTRET` 16 | - Configured connection to SAP HANA with ID `APPINT_HANA` 17 | - Existing SAP HANA schema and table 18 | - Please create the `com_sap_appint_s4_businessPartners` table in the `DH_INPUT` schema. 19 | 20 | ## Configure and Run the Graph 21 | 22 | 1. Adapt the OData query in the OData Query Consumer as required. The default configuration looks like this:
23 | `/A_BusinessPartner?$select=BusinessPartner,Customer,Supplier,AcademicTitle,AuthorizationGroup,BusinessPartnerCategory,BusinessPartnerFullName,BusinessPartnerGrouping,BusinessPartnerName,BusinessPartnerUUID,CorrespondenceLanguage,CreatedByUser,CreationDate,CreationTime,FirstName,FormOfAddress,Industry,InternationalLocationNumber1,InternationalLocationNumber2,IsFemale,IsMale,IsNaturalPerson,IsSexUnknown,Language,LastChangeDate,LastChangeTime,LastChangedByUser,LastName,LegalForm,OrganizationBPName1,OrganizationBPName2,OrganizationBPName3,OrganizationBPName4,OrganizationFoundationDate,OrganizationLiquidationDate,SearchTerm1,AdditionalLastName,BirthDate,BusinessPartnerIsBlocked,BusinessPartnerType,ETag,GroupBusinessPartnerName1,GroupBusinessPartnerName2,IndependentAddressID,InternationalLocationNumber3,MiddleName,NameCountry,NameFormat,PersonFullName,PersonNumber,IsMarkedForArchiving,BusinessPartnerIDByExtSystem,TradingPartner` 24 | 2. Save and run the graph. 25 | 3. Use the Terminal operator to view the status of the Pipeline during execution. Press `Enter` on the Terminal console to complete the graph. 26 | 27 |
28 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2s3/README.md: -------------------------------------------------------------------------------- 1 | # OData to S3 2 | 3 | ## Description 4 | This graph orchestrates all pipelines required to load the following data into Amazon S3: 5 | - SAP Cloud for Customer corporate accounts, customer orders, and service requests 6 | - SAP Marketing Cloud contacts and interactions 7 | - SAP S/4 HANA business partners and customer returns 8 | 9 | ## Prerequisites 10 | For this graph to run you need to configure the following graphs: 11 | - `com.appInt.odata2s3.c4c.loadCorporateAccounts` - "C4C Accts. to HANA" 12 | - `com.appInt.odata2s3.c4c.loadCustomerOrders` - "C4C CustOr to HANA" 13 | - `com.appInt.odata2s3.c4c.loadServiceRequests` - "C4C SrvRq. to HANA" 14 | - `com.appInt.odata2s3.mc.loadContactOriginData` - "MC Contcts to HANA" 15 | - `com.appInt.odata2s3.mc.loadInteractions` - "MC Interact. to HANA" 16 | - `com.appInt.odata2s3.s4.loadBusinessPartners` - "S4 BuPa to HANA" 17 | - `com.appInt.odata2s3.s4.loadCustomerReturns` - "S4 CustRet. to HANA" 18 | 19 | ## Configure and Run the Graph 20 | There is no configuration for this graph. Use the Terminal operator to check for errors occurring during execution. The graph terminates after all data has been loaded successfully. Otherwise press `Enter` on the Terminal console to complete the graph. 21 | 22 |
23 | 26 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2s3/c4c/loadCorporateAccounts/README.md: -------------------------------------------------------------------------------- 1 | # C4C Accts. to S3 2 | 3 | ## Description 4 | 5 | This graph extracts SAP Cloud for Customer (C4C) account data and stores them in CSV format into Amazon S3. 6 | 7 | The graph is composed of the following components: 8 | - OData Query Consumer: Reads account data from the Odata endpoint exposed by SAP Cloud for Customer (C4C). 9 | - Flowagent File Producer: Writes the data in CSV format into Amazon S3. 10 | - 3-1 Multiplexer & Terminal: Shows results of the data ingestion. 11 | 12 | ## Prerequisites 13 | 14 | - For this graph to run you will need the following: 15 | - Configured connection to the SAP Cloud for Customer Odata endpoint with ID `APPINT_C4C` 16 | - Configured connection to Amazon S3 with ID `APPINT_S3` 17 | - Remark: you can also use corresponding object store solutions from Microsoft Azure or Google Cloud Platform. 18 | 19 | ## Configure and Run the Graph 20 | 21 | 1. Adapt the OData query in the OData Query Consumer as required. The default configuration looks like this:
22 | `CorporateAccountCollection?$orderby=CreationOn` 23 | 2. Adapt the target location in S3 for the generated file. Default location is: 24 | `/sdl/landing_zone/appInt/c4c/Accounts.csv` 25 | 3. Save and run the graph. 26 | 4. Use the Terminal operator to view the status of the Pipeline during execution. Press `Enter` on the Terminal console to complete the graph. 27 | 28 |
29 | 32 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2s3/c4c/loadCustomerOrders/README.md: -------------------------------------------------------------------------------- 1 | # C4C CustOr to S3 2 | 3 | ## Description 4 | 5 | This graph extracts SAP Cloud for Customer (C4C) customer order data and stores them in CSV format into Amazon S3. 6 | 7 | The graph is composed of the following components: 8 | - OData Query Consumer: Reads customer order data from the Odata endpoint exposed by SAP Cloud for Customer (C4C). 9 | - Flowagent File Producer: Writes the data in CSV format into Amazon S3. 10 | - 3-1 Multiplexer & Terminal: Shows results of the data ingestion. 11 | 12 | ## Prerequisites 13 | 14 | - For this graph to run you will need the following: 15 | - Configured connection to the SAP Cloud for Customer Odata endpoint with ID `APPINT_C4C` 16 | - Configured connection to Amazon S3 with ID `APPINT_S3` 17 | - Remark: you can also use corresponding object store solutions from Microsoft Azure or Google Cloud Platform. 18 | 19 | ## Configure and Run the Graph 20 | 21 | 1. Adapt the OData query in the OData Query Consumer as required. The default configuration looks like this:
22 | `CustomerOrderCollection?$orderby=DateTime` 23 | 2. Adapt the target location in S3 for the generated file. Default location is: 24 | `/sdl/landing_zone/appInt/c4c/CustomerOrders.csv` 25 | 3. Save and run the graph. 26 | 4. Use the Terminal operator to view the status of the Pipeline during execution. Press `Enter` on the Terminal console to complete the graph. 27 | 28 |
29 | 32 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2s3/c4c/loadServiceRequests/README.md: -------------------------------------------------------------------------------- 1 | # C4C SrvRq. to S3 2 | 3 | ## Description 4 | 5 | This graph extracts SAP Cloud for Customer (C4C) service request data and stores them in Parquet format into Amazon S3. 6 | 7 | The graph is composed of the following components: 8 | - OData Query Consumer: Reads service request data from the Odata endpoint exposed by SAP Cloud for Customer (C4C). 9 | - Flowagent File Producer: Writes the data in Parquet format into Amazon S3. 10 | - 3-1 Multiplexer & Terminal: Shows results of the data ingestion. 11 | 12 | ## Prerequisites 13 | 14 | - For this graph to run you will need the following: 15 | - Configured connection to the SAP Cloud for Customer Odata endpoint with ID `APPINT_C4C` 16 | - Configured connection to Amazon S3 with ID `APPINT_S3` 17 | - Remark: you can also use corresponding object store solutions from Microsoft Azure or Google Cloud Platform. 18 | 19 | ## Configure and Run the Graph 20 | 21 | 1. Adapt the OData query in the OData Query Consumer as required. The default configuration looks like this:
22 | `ServiceRequestCollection?$orderby=CreationDateTime` 23 | 2. Adapt the target location in S3 for the generated file. Default location is:
24 | `/sdl/landing_zone/appInt/c4c/ServiceRequests.parquet` 25 | 3. Save and run the graph. 26 | 4. Use the Terminal operator to view the status of the Pipeline during execution. Press `Enter` on the Terminal console to complete the graph. 27 | 28 |
29 | 32 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2s3/mc/loadContactOriginData/README.md: -------------------------------------------------------------------------------- 1 | # MC Contcts to S3 2 | 3 | ## Description 4 | 5 | This graph extracts SAP Marketing Cloud contact data and stores them in ORC format into Amazon S3. 6 | 7 | The graph is composed of the following components: 8 | - OData Query Consumer: Reads contact data from the Odata endpoint exposed by SAP Marketing Cloud. 9 | - Flowagent File Producer: Writes the data in ORC format into Amazon S3. 10 | - 3-1 Multiplexer & Terminal: Shows results of the data ingestion. 11 | 12 | ## Prerequisites 13 | 14 | - For this graph to run you will need the following: 15 | - Configured connection to the SAP Marketing Cloud interactions contacts OData endpoint with ID `APPINT_MC_CONTACTS` 16 | - Configured connection to Amazon S3 with ID `APPINT_S3` 17 | - Remark: you can also use corresponding object store solutions from Microsoft Azure or Google Cloud Platform. 18 | 19 | ## Configure and Run the Graph 20 | 21 | 1. Adapt the OData query in the OData Query Consumer as required. The default configuration looks like this:
22 | `InteractionContactOriginData?$orderby=CreationDateTime&$filter=InteractionContactOrigin eq 'SAP_C4C_BUPA' or InteractionContactOrigin eq 'SAP_ERP_CUSTOMER' or InteractionContactOrigin eq 'SAP_FILE_IMPORT' or InteractionContactOrigin eq 'SAP_HYBRIS_CONSUMER'` 23 | 2. Adapt the target location in S3 for the generated file. Default location is: 24 | `/sdl/landing_zone/appInt/mc/Contacts.orc` 25 | 3. Save and run the graph. 26 | 4. Use the Terminal operator to view the status of the Pipeline during execution. Press `Enter` on the Terminal console to complete the graph. 27 | 28 |
29 | 32 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2s3/mc/loadInteractions/README.md: -------------------------------------------------------------------------------- 1 | # MC Interact. to S3 2 | 3 | ## Description 4 | 5 | This graph extracts SAP Marketing Cloud interaction data and stores them in ORC format into Amazon S3. 6 | 7 | The graph is composed of the following components: 8 | - OData Query Consumer: Reads interactions data from the Odata endpoint exposed by SAP Marketing Cloud. 9 | - Flowagent File Producer: Writes the data in ORC format into Amazon S3. 10 | - 3-1 Multiplexer & Terminal: Shows results of the data ingestion. 11 | 12 | ## Prerequisites 13 | 14 | - For this graph to run you will need the following: 15 | - Configured connection to the SAP Marketing Cloud interactions OData endpoint with ID `APPINT_MC_INTERACT` 16 | - Configured connection to Amazon S3 with ID `APPINT_S3` 17 | - Remark: you can also use corresponding object store solutions from Microsoft Azure or Google Cloud Platform. 18 | 19 | ## Configure and Run the Graph 20 | 21 | 1. Adapt the OData query in the OData Query Consumer as required. The default configuration looks like this:
22 | `Interactions?$orderby=InteractionTimeStampUTC&$filter=InteractionType eq 'COMPLAINTS' or InteractionType eq 'EMAIL_COMPLAINT' or InteractionType eq 'OPPORTUNITY' or InteractionType eq 'C4C_OPPORTUNITY' or InteractionType eq 'CRM_OPPORTUNITY'` 23 | 2. Adapt the target location in S3 for the generated file. Default location is: 24 | `/sdl/landing_zone/appInt/mc/Interactions.orc` 25 | 3. Save and run the graph. 26 | 4. Use the Terminal operator to view the status of the Pipeline during execution. Press `Enter` on the Terminal console to complete the graph. 27 | 28 |
29 | 32 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2s3/s4/loadBusinessPartners/README.md: -------------------------------------------------------------------------------- 1 | # S4 BuPa to S3 2 | 3 | ## Description 4 | 5 | This graph extracts S/4 business partner data and stores then in Parquet format into Amazon S3. 6 | 7 | The graph is composed of the following components: 8 | - OData Query Consumer: Reads business partner data from the Odata endpoint exposed by S/4HANA. 9 | - Flowagent File Producer: Writes the data in Parquet format into Amazon S3. 10 | - 3-1 Multiplexer & Terminal: Shows results of the data ingestion. 11 | 12 | ## Prerequisites 13 | 14 | - For this graph to run you will need the following: 15 | - Configured connection to the S/4 HANA business partner OData endpoint with ID `APPINT_S4_BUPA` 16 | - Configured connection to Amazon S3 with ID `APPINT_S3` 17 | - Remark: you can also use corresponding object store solutions from Microsoft Azure or Google Cloud Platform. 18 | 19 | ## Configure and Run the Graph 20 | 21 | 1. Adapt the OData query in the OData Query Consumer as required. The default configuration looks like this:
22 | `A_BusinessPartner?$orderby=CreationDate,CreationTime` 23 | 2. Adapt the target location in S3 for the generated file. Default location is: 24 | `/sdl/landing_zone/appInt/s4/BusinessPartners.parquet` 25 | 3. Save and run the graph. 26 | 4. Use the Terminal operator to view the status of the Pipeline during execution. Press `Enter` on the Terminal console to complete the graph. 27 | 28 |
29 | 32 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2s3/s4/loadCustomerReturns/README.md: -------------------------------------------------------------------------------- 1 | # S4 CustRet. to S3 2 | 3 | ## Description 4 | 5 | This graph extracts S/4 customer returns data and stores then in CSV format into Amazon S3. 6 | 7 | The graph is composed of the following components: 8 | - OData Query Consumer: Reads customer returns data from the Odata endpoint exposed by S/4HANA. 9 | - Flowagent File Producer: Writes the data in CSV format into Amazon S3. 10 | - 3-1 Multiplexer & Terminal: Shows results of the data ingestion. 11 | 12 | ## Prerequisites 13 | 14 | - For this graph to run you will need the following: 15 | - Configured connection to the S/4 HANA customer returns OData endpoint with ID `APPINT_S4_CUSTRET` 16 | - Configured connection to Amazon S3 with ID `APPINT_S3` 17 | - Remark: you can also use corresponding object store solutions from Microsoft Azure or Google Cloud Platform. 18 | 19 | ## Configure and Run the Graph 20 | 21 | 1. Adapt the OData query in the OData Query Consumer as required. The default configuration looks like this:
22 | `A_CustomerReturn?$orderby=CreationDate` 23 | 2. Adapt the target location in S3 for the generated file. Default location is: 24 | `/sdl/landing_zone/appInt/s4/CustomerReturns.csv` 25 | 3. Save and run the graph. 26 | 4. Use the Terminal operator to view the status of the Pipeline during execution. Press `Enter` on the Terminal console to complete the graph. 27 | 28 |
29 | 32 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2s3/util/createTablesInVora/README.md: -------------------------------------------------------------------------------- 1 | # Create Vora Tables 2 | 3 | ## Description 4 | 5 | This graph creates the set of tables in the SAP Data Hub Vora database that will be needed when using the SQL-on-File feature of SAP Data Hub. 6 | 7 | The graph is composed of the following components: 8 | - Read File: Reads a file that contains Vora database table metadata (incl. the attachment of Amazon S3 files) in the form of SQL statements (mainly `CREATE TABLE`). (Note that these data will be evaluated only when executing a query; they will never actually be loaded into the database tables.) 9 | - Vora Client: Executes the SQL statements read from the file. 10 | - Terminal: Shows results of the operation. 11 | 12 | ## Prerequisites 13 | 14 | - For this graph to run you will need the following: 15 | - Have executed the other example graphs to produce extracted data as files in Amazon S3 16 | - Configured connection to Amazon S3 with ID `APPINT_S3` 17 | - Remark: you can also use corresponding object store solutions from Microsoft Azure or Google Cloud Platform. 18 | 19 | ## Configure and Run the Graph 20 | 21 | If you are implementin the complete Application Integration Example scenario as is there is no need to configure this graph. 22 | 23 | If you want to use only parts of, or modify, the scenario you will need to change the file containing the Vora table metadata using `System Management` -> `Files`. The file is located at `/vrep/vora/createTables.sql`. Alternatively, you can use your own file. In this case you need to adapt the configuration of the `Read SQL File` operator accordingly. 24 | 25 |
26 | 29 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2s3/util/dataTransformDemo/README.md: -------------------------------------------------------------------------------- 1 | # Data Transf. Demo 2 | 3 | ## Description 4 | 5 | This graph demonstrates how to join the data in Amazon S3 using the Data Transform operators. This is an essential concept since it allows to combine extracted data from multiple applications. The same is done in this scenario as well in HANA with the Calculation Views. This graph shows how the same can be achieved directly on Amazon S3. The core technology to achieve this goal is the Data Transform capability. In this concrete example Interactions and Contacts will be joined. 6 | 7 | The graph is composed of the following components: 8 | - Data Transform: This is a complex operator able to visually model the join between the involved data sources. Double-click the operator to go to the details screen. 9 | - Terminal: Shows results of the operation. 10 | 11 | ## Prerequisites 12 | 13 | - For this graph to run you will need the following: 14 | - Have executed the other example graphs to produce extracted data as files in Amazon S3 15 | - Configured connection to Amazon S3 with ID `APPINT_S3` 16 | - Remark: you can also use corresponding object store solutions from Microsoft Azure or Google Cloud Platform. 17 | 18 | ## Configure and Run the Graph 19 | 20 | 1. Double-click on the Data Transform operator 21 | 2. Double-click on Interactions and check the first file (representing extracted interactions). Default is: 22 | `/sdl/landing_zone/appInt/mc/Interactions.orc` 23 | 3. Double-click on Contacts and check the second file (representing extracted contacts). Default is: 24 | `/sdl/landing_zone/appInt/mc/Contacts.orc` 25 | 4. Double-click on ComplainsWithContacts and check the third file. This file will contain the result of the join. Default is: 26 | `/sdl/data_zone/appInt/transformedInteractionsWithContactData.csv` 27 | 5. Double-click on the join-operator itself and valide the join conditions. 28 | 6. Leave the detail screen of the Data Transform operator. 29 | 7. Save and run the graph. 30 | 8. Use the Terminal operator to view the status of the Pipeline during execution. 31 | 32 |
33 | 36 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2s3/util/removeFiles/README.md: -------------------------------------------------------------------------------- 1 | # Remove file from S3 2 | 3 | ## Description 4 | 5 | This is a helper graph to remove files or directories from Amazon S3 without having to install any file management software for Amazon S3. (If you already have an Amazon S3 file manager you will not need this graph.) 6 | 7 | The graph is composed of the following components: 8 | - Remove File: Removes a file or directory from the configured storage service 9 | - Terminal: Used to enter a file or directory path to be deleted and to display the result of the operation. 10 | 11 | ## Prerequisites 12 | 13 | - For this graph to run you will need the following: 14 | - Configured connection to Amazon S3 with ID `APPINT_S3` 15 | - Remark: you can also use corresponding object store solutions from Microsoft Azure or Google Cloud Platform. 16 | 17 | ## Configure and Run the Graph 18 | 19 | No specific configuration is required for this graph. Just run it, open the Terminal UI, and enter the path of the file or directory to be deleted. **Please note that the file or directory will be deleted without any further confirmation!** 20 | 21 |
22 | 25 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/content/files/vflow/graphs/com/appInt/odata2s3/util/sqlOnFileDemo/README.md: -------------------------------------------------------------------------------- 1 | # SQL-on-File Demo 2 | 3 | ## Description 4 | 5 | This graph demonstrates how to access the data located in Amazon S3 via SQl-on-files. In this case the goal is to join two tables - both are based on CSV files in Amazon S3 and are exposed via Vora SQL-on-file - and write the result in CSV format into Amazon S3. 6 | 7 | The graph is composed of the following components: 8 | - Terminal: show the resulting filename of the created CSV file. 9 | - Constant Generator: create the required SQL statement. 10 | - SAP Vora Client: send the SQL command to Vora SQL-on-file. The output port will be filled with the result of the SQL command, in this case a join between two tables 11 | - Format Converter: converts the result of the SQL query to CSV format 12 | - WriteFile: writes the resulting CSV into Amazon S3 13 | 14 | ## Prerequisites 15 | 16 | - For this graph to run you will need the following: 17 | - Configured connection to Amazon S3 with ID `APPINT_S3` 18 | - Remark: you can also use corresponding object store solutions from Microsoft Azure or Google Cloud Platform. 19 | - Configured connection to Vora with ID `APPINT_VORA` 20 | 21 | 22 | ## Configure and Run the Graph 23 | 24 | 1. Adapt the SQL command in the `Content` config of the `Constant Generator` operator as required. 25 | 2. Adapt the target location in S3 for the generated file. Default location is: 26 | `/sdl/data_zone/appInt/mc_interactionsWithContactData.csv` 27 | 3. Save and run the graph. 28 | 4. Use the `Terminal` operator to validate the successful execution. 29 | 30 |
31 | 34 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_allDatesSeries/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | VIEW: "DH_INPUT"."com_sap_appint_datesAndCurrencies" 3 | VIEW: "DH_INPUT"."com_sap_appint_dateCurrencySeries" 4 | TABLE: "DH_INPUT"."com_sap_appint_c4c_customerOrders" 5 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 6 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 7 | TABLE: "DH_INPUT"."com_sap_appint_s4_customerReturns" 8 | VIEW: "DH_INPUT"."com_sap_appint_c4c_customerOrdersCount" 9 | VIEW: "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsCount" 10 | VIEW: "DH_INPUT"."com_sap_appint_s4_customerReturnsCount" 11 | VIEW: "DH_INPUT"."com_sap_appint_dateSeries" 12 | VIEW: "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsTotal" 13 | VIEW: "DH_INPUT"."com_sap_appint_s4_customerReturnsTotal" 14 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 15 | TABLE: "DH_INPUT"."com_sap_appint_c4c_serviceRequests" 16 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 17 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 18 | VIEW: "DH_INPUT"."com_sap_appint_c4c_serviceRequestsCount" 19 | VIEW: "DH_INPUT"."com_sap_appint_mc_complaintInteractionsCount" 20 | VIEW: "DH_INPUT"."com_sap_appint_dates" 21 | VIEW: "DH_INPUT"."com_sap_appint_c4c_customerOrdersTotal" 22 | VIEW: "DH_INPUT"."com_sap_appint_mc_complaintInteractionsTotal" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_allDatesSeries/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_allDatesSeries" ( "BusinessPartnerUID", "mcInteractionContactOrigin", "mcInteractionContactID", "mcInteractionContactUUID", "c4cAccountId", "s4BusinessPartner", "Matches", "isContact", "isCorporateAccount", "isBusinessPartner", "Name", "Country", "City", "Date", "Currency", "c4cOrders", "c4cOrdersTotal", "c4cServiceRequest", "mcComplaints", "mcComplaintsTotal", "mcOpportunities", "mcOpportunitiesTotal", "s4CustomerReturns", "s4CustomerReturnsTotal" ) AS SELECT 2 | 3 | dateSeries."BusinessPartnerUID", 4 | dateSeries."mcInteractionContactOrigin", 5 | dateSeries."mcInteractionContactID", 6 | dateSeries."mcInteractionContactUUID", 7 | dateSeries."c4cAccountId", 8 | dateSeries."s4BusinessPartner", 9 | dateSeries."Matches", 10 | dateSeries."isContact", 11 | dateSeries."isCorporateAccount", 12 | dateSeries."isBusinessPartner", 13 | dateSeries."Name", 14 | dateSeries."Country", 15 | dateSeries."City", 16 | dateSeries."Date", 17 | dateCurrSeries."Currency", 18 | 19 | 20 | IFNULL(IFNULL(dateCurrSeries."c4cOrders",dateSeries."c4cOrders"),0) AS "c4cOrders", 21 | dateCurrSeries."c4cOrdersTotal", 22 | dateSeries."c4cServiceRequest", 23 | 24 | IFNULL(IFNULL(dateCurrSeries."mcComplaints",dateSeries."mcComplaints"),0) AS "mcComplaints", 25 | dateCurrSeries."mcComplaintsTotal", 26 | 27 | IFNULL(IFNULL(dateCurrSeries."mcOpportunities",dateSeries."mcOpportunities"),0) AS "mcOpportunities", 28 | dateCurrSeries."mcOpportunitiesTotal", 29 | 30 | IFNULL(IFNULL(dateCurrSeries."s4CustomerReturns",dateSeries."s4CustomerReturns"),0) AS "s4CustomerReturns", 31 | dateCurrSeries."s4CustomerReturnsTotal" 32 | 33 | FROM "DH_INPUT"."com_sap_appint_dateSeries" AS dateSeries 34 | LEFT OUTER JOIN "DH_INPUT"."com_sap_appint_dateCurrencySeries" AS dateCurrSeries 35 | ON dateCurrSeries."Date" = dateSeries."Date" 36 | AND dateCurrSeries."BusinessPartnerUID" = dateSeries."BusinessPartnerUID" WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_allDatesSeries/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_businesPartnerMapping/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 3 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 4 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_businesPartnerMapping/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_c4c_customerOrdersCount/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_c4c_customerOrders" 3 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 4 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 5 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 6 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_c4c_customerOrdersCount/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_c4c_customerOrdersCount" ( "UID", "AccountId", "Date", "Count" ) AS SELECT 2 | bupa."UID", 3 | ord."BuyerPartyID" AS "AccountId", 4 | TO_DATE(ord."DateTime") AS "Date", 5 | COUNT(ord."ObjectID") AS "Count" 6 | FROM "DH_INPUT"."com_sap_appint_c4c_customerOrders" AS ord 7 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa ON bupa."c4cAccountId" = ord."BuyerPartyID" 8 | GROUP BY bupa."UID", 9 | ord."BuyerPartyID", 10 | TO_DATE( ord."DateTime" ) WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_c4c_customerOrdersCount/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_c4c_customerOrdersTotal/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 3 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 4 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 5 | TABLE: "DH_INPUT"."com_sap_appint_c4c_customerOrders" 6 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_c4c_customerOrdersTotal/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_c4c_customerOrdersTotal" ( "UID", "AccountId", "Date", "Currency", "Total", "Count" ) AS SELECT 2 | bupa."UID", 3 | ord."BuyerPartyID" AS "AccountId", 4 | TO_DATE(ord."DateTime") AS "Date", 5 | ord."NetAmountCurrencyCode" AS "Currency", 6 | SUM(ord."NetAmount") AS "Total", 7 | COUNT(ord."ObjectID") AS "Count" 8 | FROM "DH_INPUT"."com_sap_appint_c4c_customerOrders" AS ord 9 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa 10 | ON bupa."c4cAccountId" = ord."BuyerPartyID" 11 | WHERE ord."NetAmountCurrencyCode" IS NOT NULL 12 | AND ord."NetAmount" IS NOT NULL 13 | GROUP BY 14 | bupa."UID", 15 | ord."BuyerPartyID", 16 | TO_DATE(ord."DateTime"), 17 | ord."NetAmountCurrencyCode" WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_c4c_customerOrdersTotal/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_c4c_serviceRequestsCount/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 3 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 4 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 5 | TABLE: "DH_INPUT"."com_sap_appint_c4c_serviceRequests" 6 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_c4c_serviceRequestsCount/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_c4c_serviceRequestsCount" ( "UID", "AccountId", "Date", "Count" ) AS SELECT 2 | bupa."UID", 3 | serv."BuyerPartyID" AS "AccountId", 4 | TO_DATE(serv."CreationDateTime") AS "Date", 5 | COUNT(serv."ObjectID") AS "Count" 6 | FROM "DH_INPUT"."com_sap_appint_c4c_serviceRequests" AS serv 7 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa ON bupa."c4cAccountId" = serv."BuyerPartyID" 8 | GROUP BY bupa."UID", 9 | serv."BuyerPartyID", 10 | TO_DATE(serv."CreationDateTime") WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_c4c_serviceRequestsCount/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_dateCurrencySeries/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_c4c_customerOrders" 3 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 4 | TABLE: "DH_INPUT"."com_sap_appint_s4_customerReturns" 5 | VIEW: "DH_INPUT"."com_sap_appint_c4c_customerOrdersTotal" 6 | VIEW: "DH_INPUT"."com_sap_appint_mc_complaintInteractionsTotal" 7 | VIEW: "DH_INPUT"."com_sap_appint_datesAndCurrencies" 8 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 9 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 10 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 11 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 12 | VIEW: "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsTotal" 13 | VIEW: "DH_INPUT"."com_sap_appint_s4_customerReturnsTotal" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_dateCurrencySeries/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_dateSeries/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_c4c_customerOrders" 3 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 4 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 5 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 6 | VIEW: "DH_INPUT"."com_sap_appint_c4c_serviceRequestsCount" 7 | VIEW: "DH_INPUT"."com_sap_appint_mc_complaintInteractionsCount" 8 | VIEW: "DH_INPUT"."com_sap_appint_dates" 9 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 10 | TABLE: "DH_INPUT"."com_sap_appint_c4c_serviceRequests" 11 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 12 | TABLE: "DH_INPUT"."com_sap_appint_s4_customerReturns" 13 | VIEW: "DH_INPUT"."com_sap_appint_c4c_customerOrdersCount" 14 | VIEW: "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsCount" 15 | VIEW: "DH_INPUT"."com_sap_appint_s4_customerReturnsCount" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_dateSeries/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_dates/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | VIEW: "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsCount" 3 | VIEW: "DH_INPUT"."com_sap_appint_s4_customerReturnsCount" 4 | TABLE: "DH_INPUT"."com_sap_appint_c4c_customerOrders" 5 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 6 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 7 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 8 | VIEW: "DH_INPUT"."com_sap_appint_c4c_serviceRequestsCount" 9 | VIEW: "DH_INPUT"."com_sap_appint_mc_complaintInteractionsCount" 10 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 11 | TABLE: "DH_INPUT"."com_sap_appint_c4c_serviceRequests" 12 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 13 | TABLE: "DH_INPUT"."com_sap_appint_s4_customerReturns" 14 | VIEW: "DH_INPUT"."com_sap_appint_c4c_customerOrdersCount" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_dates/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_dates" ( "Date", "BusinessPartnerUID" ) AS SELECT 2 | DISTINCT "Date", 3 | "BusinessPartnerUID" 4 | FROM ( SELECT 5 | "UID" AS "BusinessPartnerUID", 6 | "Date" 7 | FROM "DH_INPUT"."com_sap_appint_c4c_serviceRequestsCount" 8 | UNION ALL SELECT 9 | "UID" AS "BusinessPartnerUID", 10 | "Date" 11 | FROM "DH_INPUT"."com_sap_appint_c4c_customerOrdersCount" 12 | UNION ALL SELECT 13 | "UID" AS "BusinessPartnerUID", 14 | "InteractionDate" AS "Date" 15 | FROM "DH_INPUT"."com_sap_appint_mc_complaintInteractionsCount" 16 | UNION ALL SELECT 17 | "UID" AS "BusinessPartnerUID", 18 | "InteractionDate" AS "Date" 19 | FROM "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsCount" 20 | UNION ALL SELECT 21 | "UID" AS "BusinessPartnerUID", 22 | "Date" AS "Date" 23 | FROM "DH_INPUT"."com_sap_appint_s4_customerReturnsCount" ) ORDER BY "Date", 24 | "BusinessPartnerUID" WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_dates/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_datesAndCurrencies/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_c4c_customerOrders" 3 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 4 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 5 | VIEW: "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsTotal" 6 | VIEW: "DH_INPUT"."com_sap_appint_s4_customerReturnsTotal" 7 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 8 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 9 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 10 | TABLE: "DH_INPUT"."com_sap_appint_s4_customerReturns" 11 | VIEW: "DH_INPUT"."com_sap_appint_c4c_customerOrdersTotal" 12 | VIEW: "DH_INPUT"."com_sap_appint_mc_complaintInteractionsTotal" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_datesAndCurrencies/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_datesAndCurrencies" ( "BusinessPartnerUID", "Date", "Currency" ) AS SELECT 2 | DISTINCT "BusinessPartnerUID", 3 | "Date", 4 | "Currency" 5 | FROM ( SELECT 6 | "UID" AS "BusinessPartnerUID", 7 | "Date", 8 | "Currency" 9 | FROM "DH_INPUT"."com_sap_appint_c4c_customerOrdersTotal" 10 | UNION ALL SELECT 11 | "UID" AS "BusinessPartnerUID", 12 | "InteractionDate" AS "Date", 13 | "InteractionCurrency" AS "Currency" 14 | FROM "DH_INPUT"."com_sap_appint_mc_complaintInteractionsTotal" 15 | UNION ALL SELECT 16 | "UID" AS "BusinessPartnerUID", 17 | "InteractionDate" AS "Date", 18 | "InteractionCurrency" AS "Currency" 19 | FROM "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsTotal" 20 | UNION ALL SELECT 21 | "UID" AS "BusinessPartnerUID", 22 | "Date" AS "Date", 23 | "Currency" 24 | FROM "DH_INPUT"."com_sap_appint_s4_customerReturnsTotal" 25 | 26 | ) WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_datesAndCurrencies/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_mc_complaintInteractionsCount/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 3 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 4 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 5 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 6 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_mc_complaintInteractionsCount/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_mc_complaintInteractionsCount" ( "UID", "ContactUID", "InteractionDate", "Count" ) AS SELECT 2 | bupa."UID", 3 | compl."InteractionContactUUID" AS "ContactUUID", 4 | TO_DATE(compl."InteractionTimeStampUTC") AS "InteractionDate", 5 | COUNT(compl."InteractionUUID") AS "Count" 6 | FROM "DH_INPUT"."com_sap_appint_mc_interactions" AS compl 7 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa ON bupa."mcInteractionContactUUID" = compl."InteractionContactUUID" 8 | WHERE ("InteractionType" = 'COMPLAINTS' 9 | OR "InteractionType" = 'EMAIL_COMPLAINT') 10 | GROUP BY bupa."UID", 11 | compl."InteractionContactUUID", 12 | TO_DATE(compl."InteractionTimeStampUTC") WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_mc_complaintInteractionsCount/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_mc_complaintInteractionsTotal/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 3 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 4 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 5 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 6 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_mc_complaintInteractionsTotal/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_mc_complaintInteractionsTotal" ( "UID", "ContactUUID", "InteractionDate", "InteractionCurrency", "Total", "Count" ) AS SELECT 2 | bupa."UID", 3 | compl."InteractionContactUUID" AS "ContactUUID", 4 | TO_DATE(compl."InteractionTimeStampUTC") AS "InteractionDate", 5 | compl."InteractionCurrency" AS "InteractionCurrency", 6 | SUM(compl."InteractionAmount") AS "Total", 7 | COUNT(compl."InteractionUUID") AS "Count" 8 | FROM "DH_INPUT"."com_sap_appint_mc_interactions" AS compl 9 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa ON bupa."mcInteractionContactUUID" = compl."InteractionContactUUID" 10 | WHERE compl."InteractionCurrency" IS NOT NULL 11 | AND (compl."InteractionType" = 'COMPLAINTS' 12 | OR compl."InteractionType" = 'EMAIL_COMPLAINT') 13 | GROUP BY bupa."UID", 14 | compl."InteractionContactUUID", 15 | TO_DATE(compl."InteractionTimeStampUTC"), 16 | compl."InteractionCurrency" WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_mc_complaintInteractionsTotal/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_mc_opportunityInteractionsCount/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 3 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 4 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 5 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 6 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_mc_opportunityInteractionsCount/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsCount" ( "UID", "ContactUID", "InteractionDate", "Count" ) AS SELECT 2 | bupa."UID", 3 | opp."InteractionContactUUID" AS "ContactUUID", 4 | TO_DATE(opp."InteractionTimeStampUTC") AS "InteractionDate", 5 | COUNT(opp."InteractionUUID") AS "Count" 6 | FROM "DH_INPUT"."com_sap_appint_mc_interactions" AS opp 7 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa ON bupa."mcInteractionContactUUID" = opp."InteractionContactUUID" 8 | WHERE (opp."InteractionType" = 'OPPORTUNITY' 9 | OR opp."InteractionType" = 'C4C_OPPORTUNITY' 10 | OR opp."InteractionType" = 'CRM_OPPORTUNITY') 11 | GROUP BY bupa."UID", 12 | opp."InteractionContactUUID", 13 | TO_DATE(opp."InteractionTimeStampUTC") WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_mc_opportunityInteractionsCount/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_mc_opportunityInteractionsTotal/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 3 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 4 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 5 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 6 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_mc_opportunityInteractionsTotal/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsTotal" ( "UID", "ContactUUID", "InteractionDate", "InteractionCurrency", "Total", "Count" ) AS SELECT 2 | bupa."UID", 3 | opp."InteractionContactUUID" AS "ContactUUID", 4 | TO_DATE(opp."InteractionTimeStampUTC") AS "InteractionDate", 5 | opp."InteractionCurrency" AS "InteractionCurrency", 6 | SUM(opp."InteractionAmount") AS "Total", 7 | COUNT(opp."InteractionUUID") AS "Count" 8 | FROM "DH_INPUT"."com_sap_appint_mc_interactions" AS opp 9 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa ON bupa."mcInteractionContactUUID" = opp."InteractionContactUUID" 10 | WHERE opp."InteractionCurrency" IS NOT NULL 11 | AND (opp."InteractionType" = 'OPPORTUNITY' 12 | OR opp."InteractionType" = 'C4C_OPPORTUNITY' 13 | OR opp."InteractionType" = 'CRM_OPPORTUNITY') 14 | GROUP BY bupa."UID", 15 | opp."InteractionContactUUID", 16 | TO_DATE(opp."InteractionTimeStampUTC") , 17 | opp."InteractionCurrency" WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_mc_opportunityInteractionsTotal/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_s4_customerReturnsCount/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 3 | TABLE: "DH_INPUT"."com_sap_appint_s4_customerReturns" 4 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 5 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 6 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_s4_customerReturnsCount/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_s4_customerReturnsCount" ( "UID", "BusinessPartner", "Date", "Count" ) AS SELECT 2 | bupa."UID", 3 | cr."SoldToParty" AS "BusinessPartner", 4 | TO_DATE(cr."CustomerReturnDate") AS "Date", 5 | COUNT(cr."CustomerReturn") AS "Count" 6 | FROM "DH_INPUT"."com_sap_appint_s4_customerReturns" AS cr 7 | LEFT OUTER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa 8 | ON bupa."s4BusinessPartner" = cr."SoldToParty" 9 | GROUP BY bupa."UID", 10 | cr."SoldToParty", 11 | TO_DATE(cr."CustomerReturnDate") WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_s4_customerReturnsCount/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_s4_customerReturnsTotal/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 3 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 4 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 5 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 6 | TABLE: "DH_INPUT"."com_sap_appint_s4_customerReturns" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_s4_customerReturnsTotal/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_s4_customerReturnsTotal" ( "UID", "BusinessPartner", "Date", "Currency", "Total", "Count" ) AS SELECT 2 | bupa."UID", 3 | cr."SoldToParty" AS "BusinessPartner", 4 | TO_DATE(cr."CustomerReturnDate") AS "Date", 5 | cr."TransactionCurrency" AS "Currency", 6 | SUM(cr."TotalNetAmount") AS "Total", 7 | COUNT(cr."CustomerReturn") AS "Count" 8 | FROM "DH_INPUT"."com_sap_appint_s4_customerReturns" AS cr 9 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa 10 | ON bupa."s4BusinessPartner" = cr."SoldToParty" 11 | WHERE cr."TransactionCurrency" IS NOT NULL 12 | AND cr."TotalNetAmount" IS NOT NULL 13 | GROUP BY bupa."UID", 14 | cr."SoldToParty", 15 | TO_DATE(cr."CustomerReturnDate"), 16 | cr."TransactionCurrency" WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/allDatesSeries/export/DH_INPUT/co/com_sap_appint_s4_customerReturnsTotal/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_businesPartnerMapping/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 3 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 4 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_businesPartnerMapping/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_c4c_customerOrdersTotal/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 3 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 4 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 5 | TABLE: "DH_INPUT"."com_sap_appint_c4c_customerOrders" 6 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_c4c_customerOrdersTotal/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_c4c_customerOrdersTotal" ( "UID", "AccountId", "Date", "Currency", "Total", "Count" ) AS SELECT 2 | bupa."UID", 3 | ord."BuyerPartyID" AS "AccountId", 4 | TO_DATE(ord."DateTime") AS "Date", 5 | ord."NetAmountCurrencyCode" AS "Currency", 6 | SUM(ord."NetAmount") AS "Total", 7 | COUNT(ord."ObjectID") AS "Count" 8 | FROM "DH_INPUT"."com_sap_appint_c4c_customerOrders" AS ord 9 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa 10 | ON bupa."c4cAccountId" = ord."BuyerPartyID" 11 | WHERE ord."NetAmountCurrencyCode" IS NOT NULL 12 | AND ord."NetAmount" IS NOT NULL 13 | GROUP BY 14 | bupa."UID", 15 | ord."BuyerPartyID", 16 | TO_DATE(ord."DateTime"), 17 | ord."NetAmountCurrencyCode" WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_c4c_customerOrdersTotal/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_dateCurrencySeries/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_c4c_customerOrders" 3 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 4 | TABLE: "DH_INPUT"."com_sap_appint_s4_customerReturns" 5 | VIEW: "DH_INPUT"."com_sap_appint_c4c_customerOrdersTotal" 6 | VIEW: "DH_INPUT"."com_sap_appint_mc_complaintInteractionsTotal" 7 | VIEW: "DH_INPUT"."com_sap_appint_datesAndCurrencies" 8 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 9 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 10 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 11 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 12 | VIEW: "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsTotal" 13 | VIEW: "DH_INPUT"."com_sap_appint_s4_customerReturnsTotal" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_dateCurrencySeries/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_datesAndCurrencies/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_c4c_customerOrders" 3 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 4 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 5 | VIEW: "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsTotal" 6 | VIEW: "DH_INPUT"."com_sap_appint_s4_customerReturnsTotal" 7 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 8 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 9 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 10 | TABLE: "DH_INPUT"."com_sap_appint_s4_customerReturns" 11 | VIEW: "DH_INPUT"."com_sap_appint_c4c_customerOrdersTotal" 12 | VIEW: "DH_INPUT"."com_sap_appint_mc_complaintInteractionsTotal" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_datesAndCurrencies/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_datesAndCurrencies" ( "BusinessPartnerUID", "Date", "Currency" ) AS SELECT 2 | DISTINCT "BusinessPartnerUID", 3 | "Date", 4 | "Currency" 5 | FROM ( SELECT 6 | "UID" AS "BusinessPartnerUID", 7 | "Date", 8 | "Currency" 9 | FROM "DH_INPUT"."com_sap_appint_c4c_customerOrdersTotal" 10 | UNION ALL SELECT 11 | "UID" AS "BusinessPartnerUID", 12 | "InteractionDate" AS "Date", 13 | "InteractionCurrency" AS "Currency" 14 | FROM "DH_INPUT"."com_sap_appint_mc_complaintInteractionsTotal" 15 | UNION ALL SELECT 16 | "UID" AS "BusinessPartnerUID", 17 | "InteractionDate" AS "Date", 18 | "InteractionCurrency" AS "Currency" 19 | FROM "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsTotal" 20 | UNION ALL SELECT 21 | "UID" AS "BusinessPartnerUID", 22 | "Date" AS "Date", 23 | "Currency" 24 | FROM "DH_INPUT"."com_sap_appint_s4_customerReturnsTotal" 25 | 26 | ) WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_datesAndCurrencies/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_mc_complaintInteractionsTotal/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 3 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 4 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 5 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 6 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_mc_complaintInteractionsTotal/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_mc_complaintInteractionsTotal" ( "UID", "ContactUUID", "InteractionDate", "InteractionCurrency", "Total", "Count" ) AS SELECT 2 | bupa."UID", 3 | compl."InteractionContactUUID" AS "ContactUUID", 4 | TO_DATE(compl."InteractionTimeStampUTC") AS "InteractionDate", 5 | compl."InteractionCurrency" AS "InteractionCurrency", 6 | SUM(compl."InteractionAmount") AS "Total", 7 | COUNT(compl."InteractionUUID") AS "Count" 8 | FROM "DH_INPUT"."com_sap_appint_mc_interactions" AS compl 9 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa ON bupa."mcInteractionContactUUID" = compl."InteractionContactUUID" 10 | WHERE compl."InteractionCurrency" IS NOT NULL 11 | AND (compl."InteractionType" = 'COMPLAINTS' 12 | OR compl."InteractionType" = 'EMAIL_COMPLAINT') 13 | GROUP BY bupa."UID", 14 | compl."InteractionContactUUID", 15 | TO_DATE(compl."InteractionTimeStampUTC"), 16 | compl."InteractionCurrency" WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_mc_complaintInteractionsTotal/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_mc_opportunityInteractionsTotal/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 3 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 4 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 5 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 6 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_mc_opportunityInteractionsTotal/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsTotal" ( "UID", "ContactUUID", "InteractionDate", "InteractionCurrency", "Total", "Count" ) AS SELECT 2 | bupa."UID", 3 | opp."InteractionContactUUID" AS "ContactUUID", 4 | TO_DATE(opp."InteractionTimeStampUTC") AS "InteractionDate", 5 | opp."InteractionCurrency" AS "InteractionCurrency", 6 | SUM(opp."InteractionAmount") AS "Total", 7 | COUNT(opp."InteractionUUID") AS "Count" 8 | FROM "DH_INPUT"."com_sap_appint_mc_interactions" AS opp 9 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa ON bupa."mcInteractionContactUUID" = opp."InteractionContactUUID" 10 | WHERE opp."InteractionCurrency" IS NOT NULL 11 | AND (opp."InteractionType" = 'OPPORTUNITY' 12 | OR opp."InteractionType" = 'C4C_OPPORTUNITY' 13 | OR opp."InteractionType" = 'CRM_OPPORTUNITY') 14 | GROUP BY bupa."UID", 15 | opp."InteractionContactUUID", 16 | TO_DATE(opp."InteractionTimeStampUTC") , 17 | opp."InteractionCurrency" WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_mc_opportunityInteractionsTotal/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_s4_customerReturnsTotal/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 3 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 4 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 5 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 6 | TABLE: "DH_INPUT"."com_sap_appint_s4_customerReturns" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_s4_customerReturnsTotal/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_s4_customerReturnsTotal" ( "UID", "BusinessPartner", "Date", "Currency", "Total", "Count" ) AS SELECT 2 | bupa."UID", 3 | cr."SoldToParty" AS "BusinessPartner", 4 | TO_DATE(cr."CustomerReturnDate") AS "Date", 5 | cr."TransactionCurrency" AS "Currency", 6 | SUM(cr."TotalNetAmount") AS "Total", 7 | COUNT(cr."CustomerReturn") AS "Count" 8 | FROM "DH_INPUT"."com_sap_appint_s4_customerReturns" AS cr 9 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa 10 | ON bupa."s4BusinessPartner" = cr."SoldToParty" 11 | WHERE cr."TransactionCurrency" IS NOT NULL 12 | AND cr."TotalNetAmount" IS NOT NULL 13 | GROUP BY bupa."UID", 14 | cr."SoldToParty", 15 | TO_DATE(cr."CustomerReturnDate"), 16 | cr."TransactionCurrency" WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateCurrencySeries/export/DH_INPUT/co/com_sap_appint_s4_customerReturnsTotal/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_businesPartnerMapping/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 3 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 4 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_businesPartnerMapping/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_c4c_customerOrdersCount/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_c4c_customerOrders" 3 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 4 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 5 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 6 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_c4c_customerOrdersCount/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_c4c_customerOrdersCount" ( "UID", "AccountId", "Date", "Count" ) AS SELECT 2 | bupa."UID", 3 | ord."BuyerPartyID" AS "AccountId", 4 | TO_DATE(ord."DateTime") AS "Date", 5 | COUNT(ord."ObjectID") AS "Count" 6 | FROM "DH_INPUT"."com_sap_appint_c4c_customerOrders" AS ord 7 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa ON bupa."c4cAccountId" = ord."BuyerPartyID" 8 | GROUP BY bupa."UID", 9 | ord."BuyerPartyID", 10 | TO_DATE( ord."DateTime" ) WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_c4c_customerOrdersCount/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_c4c_serviceRequestsCount/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 3 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 4 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 5 | TABLE: "DH_INPUT"."com_sap_appint_c4c_serviceRequests" 6 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_c4c_serviceRequestsCount/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_c4c_serviceRequestsCount" ( "UID", "AccountId", "Date", "Count" ) AS SELECT 2 | bupa."UID", 3 | serv."BuyerPartyID" AS "AccountId", 4 | TO_DATE(serv."CreationDateTime") AS "Date", 5 | COUNT(serv."ObjectID") AS "Count" 6 | FROM "DH_INPUT"."com_sap_appint_c4c_serviceRequests" AS serv 7 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa ON bupa."c4cAccountId" = serv."BuyerPartyID" 8 | GROUP BY bupa."UID", 9 | serv."BuyerPartyID", 10 | TO_DATE(serv."CreationDateTime") WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_c4c_serviceRequestsCount/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_dateSeries/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_c4c_customerOrders" 3 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 4 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 5 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 6 | VIEW: "DH_INPUT"."com_sap_appint_c4c_serviceRequestsCount" 7 | VIEW: "DH_INPUT"."com_sap_appint_mc_complaintInteractionsCount" 8 | VIEW: "DH_INPUT"."com_sap_appint_dates" 9 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 10 | TABLE: "DH_INPUT"."com_sap_appint_c4c_serviceRequests" 11 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 12 | TABLE: "DH_INPUT"."com_sap_appint_s4_customerReturns" 13 | VIEW: "DH_INPUT"."com_sap_appint_c4c_customerOrdersCount" 14 | VIEW: "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsCount" 15 | VIEW: "DH_INPUT"."com_sap_appint_s4_customerReturnsCount" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_dateSeries/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_dateSeries" ( "BusinessPartnerUID", "mcInteractionContactOrigin", "mcInteractionContactID", "mcInteractionContactUUID", "c4cAccountId", "s4BusinessPartner", "Matches", "isContact", "isCorporateAccount", "isBusinessPartner", "Name", "Country", "City", "Date", "c4cOrders", "c4cServiceRequest", "mcComplaints", "mcOpportunities", "s4CustomerReturns" ) AS SELECT 2 | bupa."UID" AS "BusinessPartnerUID", 3 | bupa."mcInteractionContactOrigin" , 4 | bupa."mcInteractionContactID" , 5 | bupa."mcInteractionContactUUID" , 6 | bupa."c4cAccountId" , 7 | bupa."s4BusinessPartner" , 8 | bupa."Matches" , 9 | bupa."isContact" , 10 | bupa."isCorporateAccount" , 11 | bupa."isBusinessPartner" , 12 | bupa."Name" , 13 | bupa."Country", 14 | bupa."City", 15 | LEFT(TO_NVARCHAR(dates."Date",'YYYY-MM-DD'),10) AS "Date" , 16 | IFNULL (custOrd."Count", 17 | 0) AS "c4cOrders" , 18 | IFNULL (servrq."Count", 19 | 0) AS "c4cServiceRequests" , 20 | IFNULL (compl."Count", 21 | 0) AS "mcComplaints" , 22 | IFNULL (opp."Count", 23 | 0) AS "mcOpportunities", 24 | IFNULL (cr."Count", 25 | 0) AS "s4CustomerReturns" 26 | FROM "DH_INPUT"."com_sap_appint_dates" AS dates 27 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa on bupa."UID" = dates."BusinessPartnerUID" 28 | LEFT OUTER JOIN "DH_INPUT"."com_sap_appint_c4c_customerOrdersCount" AS custOrd ON custord."UID" = dates."BusinessPartnerUID" 29 | AND custord."Date" = dates."Date" 30 | LEFT OUTER JOIN "DH_INPUT"."com_sap_appint_c4c_serviceRequestsCount" AS servrq ON servrq."UID" = dates."BusinessPartnerUID" 31 | AND servrq."Date" = dates."Date" 32 | LEFT OUTER JOIN "DH_INPUT"."com_sap_appint_mc_complaintInteractionsCount" AS compl ON compl."UID" = dates."BusinessPartnerUID" 33 | AND compl."InteractionDate" = dates."Date" 34 | LEFT OUTER JOIN "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsCount" AS opp ON opp."UID" = dates."BusinessPartnerUID" 35 | AND opp."InteractionDate" = dates."Date" 36 | LEFT OUTER JOIN "DH_INPUT"."com_sap_appint_s4_customerReturnsCount" AS cr ON cr."UID" = dates."BusinessPartnerUID" 37 | AND cr."Date" = dates."Date" ORDER BY bupa."UID", 38 | "Date" WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_dateSeries/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_dates/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | VIEW: "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsCount" 3 | VIEW: "DH_INPUT"."com_sap_appint_s4_customerReturnsCount" 4 | TABLE: "DH_INPUT"."com_sap_appint_c4c_customerOrders" 5 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 6 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 7 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" 8 | VIEW: "DH_INPUT"."com_sap_appint_c4c_serviceRequestsCount" 9 | VIEW: "DH_INPUT"."com_sap_appint_mc_complaintInteractionsCount" 10 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 11 | TABLE: "DH_INPUT"."com_sap_appint_c4c_serviceRequests" 12 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 13 | TABLE: "DH_INPUT"."com_sap_appint_s4_customerReturns" 14 | VIEW: "DH_INPUT"."com_sap_appint_c4c_customerOrdersCount" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_dates/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_dates" ( "Date", "BusinessPartnerUID" ) AS SELECT 2 | DISTINCT "Date", 3 | "BusinessPartnerUID" 4 | FROM ( SELECT 5 | "UID" AS "BusinessPartnerUID", 6 | "Date" 7 | FROM "DH_INPUT"."com_sap_appint_c4c_serviceRequestsCount" 8 | UNION ALL SELECT 9 | "UID" AS "BusinessPartnerUID", 10 | "Date" 11 | FROM "DH_INPUT"."com_sap_appint_c4c_customerOrdersCount" 12 | UNION ALL SELECT 13 | "UID" AS "BusinessPartnerUID", 14 | "InteractionDate" AS "Date" 15 | FROM "DH_INPUT"."com_sap_appint_mc_complaintInteractionsCount" 16 | UNION ALL SELECT 17 | "UID" AS "BusinessPartnerUID", 18 | "InteractionDate" AS "Date" 19 | FROM "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsCount" 20 | UNION ALL SELECT 21 | "UID" AS "BusinessPartnerUID", 22 | "Date" AS "Date" 23 | FROM "DH_INPUT"."com_sap_appint_s4_customerReturnsCount" ) ORDER BY "Date", 24 | "BusinessPartnerUID" WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_dates/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_mc_complaintInteractionsCount/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 3 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 4 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 5 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 6 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_mc_complaintInteractionsCount/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_mc_complaintInteractionsCount" ( "UID", "ContactUID", "InteractionDate", "Count" ) AS SELECT 2 | bupa."UID", 3 | compl."InteractionContactUUID" AS "ContactUUID", 4 | TO_DATE(compl."InteractionTimeStampUTC") AS "InteractionDate", 5 | COUNT(compl."InteractionUUID") AS "Count" 6 | FROM "DH_INPUT"."com_sap_appint_mc_interactions" AS compl 7 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa ON bupa."mcInteractionContactUUID" = compl."InteractionContactUUID" 8 | WHERE ("InteractionType" = 'COMPLAINTS' 9 | OR "InteractionType" = 'EMAIL_COMPLAINT') 10 | GROUP BY bupa."UID", 11 | compl."InteractionContactUUID", 12 | TO_DATE(compl."InteractionTimeStampUTC") WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_mc_complaintInteractionsCount/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_mc_opportunityInteractionsCount/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactions" 3 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 4 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 5 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 6 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_mc_opportunityInteractionsCount/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_mc_opportunityInteractionsCount" ( "UID", "ContactUID", "InteractionDate", "Count" ) AS SELECT 2 | bupa."UID", 3 | opp."InteractionContactUUID" AS "ContactUUID", 4 | TO_DATE(opp."InteractionTimeStampUTC") AS "InteractionDate", 5 | COUNT(opp."InteractionUUID") AS "Count" 6 | FROM "DH_INPUT"."com_sap_appint_mc_interactions" AS opp 7 | INNER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa ON bupa."mcInteractionContactUUID" = opp."InteractionContactUUID" 8 | WHERE (opp."InteractionType" = 'OPPORTUNITY' 9 | OR opp."InteractionType" = 'C4C_OPPORTUNITY' 10 | OR opp."InteractionType" = 'CRM_OPPORTUNITY') 11 | GROUP BY bupa."UID", 12 | opp."InteractionContactUUID", 13 | TO_DATE(opp."InteractionTimeStampUTC") WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_mc_opportunityInteractionsCount/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_s4_customerReturnsCount/create.info: -------------------------------------------------------------------------------- 1 | VIEW 2 | TABLE: "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" 3 | TABLE: "DH_INPUT"."com_sap_appint_s4_customerReturns" 4 | TABLE: "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" 5 | TABLE: "DH_INPUT"."com_sap_appint_s4_businessPartners" 6 | VIEW: "DH_INPUT"."com_sap_appint_businesPartnerMapping" -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_s4_customerReturnsCount/create.sql: -------------------------------------------------------------------------------- 1 | CREATE VIEW "DH_INPUT"."com_sap_appint_s4_customerReturnsCount" ( "UID", "BusinessPartner", "Date", "Count" ) AS SELECT 2 | bupa."UID", 3 | cr."SoldToParty" AS "BusinessPartner", 4 | TO_DATE(cr."CustomerReturnDate") AS "Date", 5 | COUNT(cr."CustomerReturn") AS "Count" 6 | FROM "DH_INPUT"."com_sap_appint_s4_customerReturns" AS cr 7 | LEFT OUTER JOIN "DH_INPUT"."com_sap_appint_businesPartnerMapping" AS bupa 8 | ON bupa."s4BusinessPartner" = cr."SoldToParty" 9 | GROUP BY bupa."UID", 10 | cr."SoldToParty", 11 | TO_DATE(cr."CustomerReturnDate") WITH READ ONLY -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/dateSeries/export/DH_INPUT/co/com_sap_appint_s4_customerReturnsCount/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=33057 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=1 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/hanaContent/DH_E2E/DH_E2E.properties: -------------------------------------------------------------------------------- 1 | #Package Properties 2 | #Wed Sep 18 10:51:38 CEST 2019 3 | original_language=en_US 4 | name=DH_E2E 5 | description=DH_E2E 6 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_c4c_corporateAccounts/create.sql: -------------------------------------------------------------------------------- 1 | CREATE COLUMN TABLE "DH_INPUT"."com_sap_appint_c4c_corporateAccounts" ("AccountID" NVARCHAR(10), "UUID" NVARCHAR(1024), "ExternalID" NVARCHAR(100), "RoleCode" NVARCHAR(6), "RoleCodeText" NVARCHAR(1024), "Name" NVARCHAR(40), "HouseNumber" NVARCHAR(100), "Street" NVARCHAR(360), "City" NVARCHAR(240), "CreationOn" LONGDATE CS_LONGDATE, "ChangedOn" LONGDATE CS_LONGDATE) UNLOAD PRIORITY 5 AUTO MERGE -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_c4c_corporateAccounts/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=32801 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=0 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_c4c_customerOrders/create.sql: -------------------------------------------------------------------------------- 1 | CREATE COLUMN TABLE "DH_INPUT"."com_sap_appint_c4c_customerOrders" ("ObjectID" NVARCHAR(70) NOT NULL , "ID" NVARCHAR(35), "Name" NVARCHAR(255), "ClassificationCode" NVARCHAR(3), "ClassificationCodeText" NVARCHAR(1024), "BuyerID" NVARCHAR(35), "BuyerPartyID" NVARCHAR(60), "BuyerPartyName" NVARCHAR(480), "ProductRecipientPartyID" NVARCHAR(60), "ProductRecipientPartyName" NVARCHAR(480), "SalesOrganisationID" NVARCHAR(20), "SalesUnitPartyID" NVARCHAR(60), "ItemListCancellationStatusCode" NVARCHAR(2), "ItemListCancellationStatusCodeText" NVARCHAR(1024), "ApprovalStatusCode" NVARCHAR(2), "NetAmount" DECIMAL(28,6) CS_FIXED, "NetAmountCurrencyCode" NVARCHAR(3), "SetAsCompleted" NVARCHAR(5), "DateTime" LONGDATE CS_LONGDATE, "LastChangeDate" LONGDATE CS_LONGDATE, PRIMARY KEY ("ObjectID")) UNLOAD PRIORITY 5 AUTO MERGE -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_c4c_customerOrders/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=32801 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=0 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_c4c_serviceRequests/create.sql: -------------------------------------------------------------------------------- 1 | CREATE COLUMN TABLE "DH_INPUT"."com_sap_appint_c4c_serviceRequests" ("ObjectID" NVARCHAR(70) NOT NULL , "ID" NVARCHAR(35), "UUID" NVARCHAR(1024), "Name" NVARCHAR(255), "ProductRecipientPartyID" NVARCHAR(60), "ProductRecipientPartyUUID" NVARCHAR(1024), "ProductRecipientPartyName" NVARCHAR(480), "IncidentServiceIssueCategoryID" NVARCHAR(25), "EscalationStatusCode" NVARCHAR(2), "EscalationStatusCodeText" NVARCHAR(1024), "ServicePriorityCode" NVARCHAR(1), "ServicePriorityCodeText" NVARCHAR(1024), "RequestedFulfillmentPeriodStartDateTime" NVARCHAR(33), "RequestedFulfillmentPeriodEndDateTime" NVARCHAR(33), "RequestedTotalProcessingDuration" NVARCHAR(20), "RequestedTotalRequestorDuration" NVARCHAR(20), "RequestInitialReceiptdatetimecontent" NVARCHAR(33), "RequestCloseddatetimeContent" NVARCHAR(33), "SalesOrganisationID" NVARCHAR(20), "SalesUnitPartyID" NVARCHAR(60), "BuyerPartyID" NVARCHAR(60), "WarrantyGoodwillCode" NVARCHAR(2), "EscalationTimePointDateTime" NVARCHAR(33), "ResolutionDueDateTime" NVARCHAR(33), "SalesTerritoryID" NVARCHAR(6), "SalesUnitPartyName" NVARCHAR(480), "BuyerPartyName" NVARCHAR(480), "BuyerPartyUUID" NVARCHAR(1024), "WarrantyID" NVARCHAR(60), "ServiceIssueCategoryID" NVARCHAR(25), "ServiceRequestClassificationCode" NVARCHAR(2), "ServiceRequestClassificationCodeText" NVARCHAR(1024), "CreationDateTime" LONGDATE CS_LONGDATE, PRIMARY KEY ("ObjectID")) UNLOAD PRIORITY 5 AUTO MERGE -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_c4c_serviceRequests/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=32801 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=0 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_mc_interactionContactOriginData/create.sql: -------------------------------------------------------------------------------- 1 | CREATE COLUMN TABLE "DH_INPUT"."com_sap_appint_mc_interactionContactOriginData" ("InteractionContactOrigin" NVARCHAR(20) NOT NULL , "InteractionContactID" NVARCHAR(255) NOT NULL , "IsEndOfPurposeBlocked" NVARCHAR(5), "TrackingID" NVARCHAR(255), "OriginDataLastChgUTCDateTime" LONGDATE CS_LONGDATE, "LastChangeDateTime" LONGDATE CS_LONGDATE, "LastChangedByUser" NVARCHAR(12), "WebSiteURL" NVARCHAR(1000), "CreationDateTime" LONGDATE CS_LONGDATE, "InteractionContactImageURL" NVARCHAR(1000), "CreatedByUser" NVARCHAR(12), "InteractionContactType" NVARCHAR(2), "InteractionContactUUID" NVARCHAR(1024), "Latitude" DECIMAL(20,10) CS_FIXED, "Longitude" DECIMAL(20,10) CS_FIXED, "FullName" NVARCHAR(80), "SpatialReferenceSystem" NVARCHAR(10), "CityName" NVARCHAR(40), "StreetName" NVARCHAR(60), "AddressHouseNumber" NVARCHAR(10), "Language" NVARCHAR(2), "LanguageName" NVARCHAR(16), "EmailAddress" NVARCHAR(241), "PhoneNumber" NVARCHAR(30), "MobileNumber" NVARCHAR(30), "FaxNumber" NVARCHAR(30), "HasMktgPermissionForDirectMail" NVARCHAR(1), "Country" NVARCHAR(3), "CountryName" NVARCHAR(50), "AddressRegion" NVARCHAR(3), "RegionName" NVARCHAR(40), "ContactPostalCode" NVARCHAR(10), "Industry" NVARCHAR(4), "IndustryName" NVARCHAR(40), "IsObsolete" NVARCHAR(5), PRIMARY KEY ("InteractionContactOrigin", "InteractionContactID")) UNLOAD PRIORITY 5 AUTO MERGE -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_mc_interactionContactOriginData/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=32801 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=0 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_mc_interactions/create.sql: -------------------------------------------------------------------------------- 1 | CREATE COLUMN TABLE "DH_INPUT"."com_sap_appint_mc_interactions" ("InteractionUUID" NVARCHAR(1024) NOT NULL , "InteractionContactOrigin" NVARCHAR(20), "InteractionContactId" NVARCHAR(255), "CommunicationMedium" NVARCHAR(20), "InteractionType" NVARCHAR(20), "InteractionTimeStampUTC" LONGDATE CS_LONGDATE, "InteractionSourceObjectType" NVARCHAR(30), "InteractionSourceObject" NVARCHAR(50), "MarketingArea" NVARCHAR(40), "CampaignID" NVARCHAR(10), "MarketingLocationOrigin" NVARCHAR(30), "MarketingLocation" NVARCHAR(50), "DigitalAccountType" NVARCHAR(10), "DigitalAccount" NVARCHAR(40), "MKT_AgreementOrigin" NVARCHAR(30), "MKT_AgreementExternalID" NVARCHAR(80), "CampaignContent" INTEGER CS_INT, "InteractionWeightingFactor" INTEGER CS_INT, "InteractionSentimentValue" INTEGER CS_INT, "InteractionStatus" NVARCHAR(2), "InteractionReason" NVARCHAR(40), "InteractionLanguage" NVARCHAR(2), "InteractionIsAnonymous" NVARCHAR(5), "InteractionAmount" DECIMAL(31,14) CS_FIXED, "InteractionCurrency" NVARCHAR(3), "InteractionLatitude" DECIMAL(21,10) CS_FIXED, "InteractionLongitude" DECIMAL(21,10) CS_FIXED, "SpatialReferenceSystem" NVARCHAR(10), "DeviceType" NVARCHAR(60), "InteractionDeviceName" NVARCHAR(80), "PrecedingInteractionUUID" NVARCHAR(1024), "SourceSystemType" NVARCHAR(20), "SourceSystem" NVARCHAR(255), "InteractionSourceObjectAddlID" NVARCHAR(50), "InteractionSourceObjectStatus" NVARCHAR(10), "InteractionSourceDataURL" NVARCHAR(1024), "InteractionSourceTimeStampUTC" LONGDATE CS_LONGDATE, "CampaignContentLinkURL" NVARCHAR(1024), "CampaignContentLinkName" NVARCHAR(255), "ReferralSource" NVARCHAR(255), "ReferralSourceCategory" NVARCHAR(50), "InteractionContactUUID" NVARCHAR(1024), "InteractionLastChangedDateTime" LONGDATE CS_LONGDATE, "InteractionLastChangedByUser" NVARCHAR(12), "InteractionContentSubject" NVARCHAR(255), "InteractionContent" NVARCHAR(1024), PRIMARY KEY ("InteractionUUID")) UNLOAD PRIORITY 5 AUTO MERGE -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_mc_interactions/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=32801 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=0 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_s4_businessPartners/create.sql: -------------------------------------------------------------------------------- 1 | CREATE COLUMN TABLE "DH_INPUT"."com_sap_appint_s4_businessPartners" ("BusinessPartner" NVARCHAR(10) NOT NULL , "Customer" NVARCHAR(10), "Supplier" NVARCHAR(10), "AcademicTitle" NVARCHAR(4), "AuthorizationGroup" NVARCHAR(4), "BusinessPartnerCategory" NVARCHAR(1), "BusinessPartnerFullName" NVARCHAR(81), "BusinessPartnerGrouping" NVARCHAR(4), "BusinessPartnerName" NVARCHAR(81), "BusinessPartnerUUID" NVARCHAR(1024), "CorrespondenceLanguage" NVARCHAR(2), "CreatedByUser" NVARCHAR(12), "CreationDate" LONGDATE CS_LONGDATE, "CreationTime" TIME CS_SECONDTIME, "FirstName" NVARCHAR(40), "FormOfAddress" NVARCHAR(4), "Industry" NVARCHAR(10), "InternationalLocationNumber1" NVARCHAR(7), "InternationalLocationNumber2" NVARCHAR(5), "IsFemale" NVARCHAR(5), "IsMale" NVARCHAR(5), "IsNaturalPerson" NVARCHAR(1), "IsSexUnknown" NVARCHAR(5), "Language" NVARCHAR(2), "LastChangeDate" LONGDATE CS_LONGDATE, "LastChangeTime" TIME CS_SECONDTIME, "LastChangedByUser" NVARCHAR(12), "LastName" NVARCHAR(40), "LegalForm" NVARCHAR(2), "OrganizationBPName1" NVARCHAR(40), "OrganizationBPName2" NVARCHAR(40), "OrganizationBPName3" NVARCHAR(40), "OrganizationBPName4" NVARCHAR(40), "OrganizationFoundationDate" LONGDATE CS_LONGDATE, "OrganizationLiquidationDate" LONGDATE CS_LONGDATE, "SearchTerm1" NVARCHAR(20), "AdditionalLastName" NVARCHAR(40), "BirthDate" LONGDATE CS_LONGDATE, "BusinessPartnerIsBlocked" NVARCHAR(5), "BusinessPartnerType" NVARCHAR(4), "ETag" NVARCHAR(26), "GroupBusinessPartnerName1" NVARCHAR(40), "GroupBusinessPartnerName2" NVARCHAR(40), "IndependentAddressID" NVARCHAR(10), "InternationalLocationNumber3" NVARCHAR(1), "MiddleName" NVARCHAR(40), "NameCountry" NVARCHAR(3), "NameFormat" NVARCHAR(2), "PersonFullName" NVARCHAR(80), "PersonNumber" NVARCHAR(10), "IsMarkedForArchiving" NVARCHAR(5), "BusinessPartnerIDByExtSystem" NVARCHAR(20), "TradingPartner" NVARCHAR(6), PRIMARY KEY ("BusinessPartner")) UNLOAD PRIORITY 5 AUTO MERGE -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_s4_businessPartners/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=32801 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=0 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_s4_customerReturns/create.sql: -------------------------------------------------------------------------------- 1 | CREATE COLUMN TABLE "DH_INPUT"."com_sap_appint_s4_customerReturns" ("CustomerReturn" NVARCHAR(10) NOT NULL , "CustomerReturnType" NVARCHAR(4), "SalesOrganization" NVARCHAR(4), "DistributionChannel" NVARCHAR(2), "OrganizationDivision" NVARCHAR(2), "SalesGroup" NVARCHAR(3), "SalesOffice" NVARCHAR(4), "SalesDistrict" NVARCHAR(6), "SoldToParty" NVARCHAR(10), "CreationDate" LONGDATE CS_LONGDATE, "CreatedByUser" NVARCHAR(12), "LastChangeDate" LONGDATE CS_LONGDATE, "LastChangeDateTime" LONGDATE CS_LONGDATE, "PurchaseOrderByCustomer" NVARCHAR(35), "CustomerPurchaseOrderType" NVARCHAR(4), "CustomerPurchaseOrderDate" LONGDATE CS_LONGDATE, "CustomerReturnDate" LONGDATE CS_LONGDATE, "TotalNetAmount" DECIMAL(16,3) CS_FIXED, "TransactionCurrency" NVARCHAR(5), "SDDocumentReason" NVARCHAR(3), "PricingDate" LONGDATE CS_LONGDATE, "RequestedDeliveryDate" LONGDATE CS_LONGDATE, "HeaderBillingBlockReason" NVARCHAR(2), "DeliveryBlockReason" NVARCHAR(2), "IncotermsClassification" NVARCHAR(3), "IncotermsTransferLocation" NVARCHAR(28), "IncotermsLocation1" NVARCHAR(70), "IncotermsLocation2" NVARCHAR(70), "IncotermsVersion" NVARCHAR(4), "CustomerPaymentTerms" NVARCHAR(4), "PaymentMethod" NVARCHAR(1), "RetsMgmtProcess" NVARCHAR(10), "ReferenceSDDocument" NVARCHAR(10), "ReferenceSDDocumentCategory" NVARCHAR(4), "RetsMgmtLogProcgStatus" NVARCHAR(1), "RetsMgmtCompnProcgStatus" NVARCHAR(1), "RetsMgmtProcessingStatus" NVARCHAR(1), "OverallSDProcessStatus" NVARCHAR(1), "TotalCreditCheckStatus" NVARCHAR(1), "OverallSDDocumentRejectionSts" NVARCHAR(1), PRIMARY KEY ("CustomerReturn")) UNLOAD PRIORITY 5 AUTO MERGE -------------------------------------------------------------------------------- /AppIntegrationExample/src/hana/com/appint/tables/index/DH_INPUT/co/com_sap_appint_s4_customerReturns/export_system.info: -------------------------------------------------------------------------------- 1 | [SYS_INFO] 2 | PLATFORM=linuxx86_64 3 | COMPILER=gcc (SAP release 20170307, based on SUSE gcc6-6.2.1+r239768-2.4) 6.2.1 20160826 [gcc-6-branch revision 239773] 4 | ENDIAN=LITTLE 5 | 6 | [HDB_INFO] 7 | HDB=2.00.031.00.1528768600 8 | WEEKSTONE=0000.00.0 9 | CATALOG=348 10 | DATABASE=BD0 11 | L2D=51,256 12 | SECONDARY_REPLICATION=0 13 | 14 | [EXPORT_COMMAND_INFO] 15 | EXPORT_COMMAND_FLAGS=32801 16 | REPLACE=0 17 | CATALOG_ONLY=1 18 | AS_CSV=0 19 | SCRAMBLE_EXPORT=0 20 | STRIP_EXPORT=0 21 | NO_DEPENDENCIES=0 22 | WINSCP_ENCODED=0 23 | USE_SUFFIX=0 24 | REMOTE_EXPORT=1 25 | PARTITION_WISE_EXPORT=0 26 | QUERY_EXPORT=0 27 | NO_STATISTICS=0 28 | STATISTICS_ONLY=0 29 | CYCLIC_CALC_SCENARIO=0 30 | 31 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sap_dh_appint_example", 3 | "version": "1.0.0", 4 | "format": "2", 5 | "description": "SAP Data Hub Application Integration Example", 6 | "dependencies": [] 7 | } 8 | -------------------------------------------------------------------------------- /AppIntegrationExample/src/sac/FPA_EXPORT_T_1_SAC_CONTENT.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/AppIntegrationExample/src/sac/FPA_EXPORT_T_1_SAC_CONTENT.tgz -------------------------------------------------------------------------------- /DI-Extract-Usage/README.md: -------------------------------------------------------------------------------- 1 | # Extract DI Pipeline Usage 2 | This is the source code for the blog post: [Analyzing SAP Data Intelligence Pipeline Usage: From REST API to SAC](https://blogs.sap.com/2022/12/01/analyzing-sap-data-intelligence-pipeline-usage-from-rest-api-to-sac/) 3 | ![b1-3](https://user-images.githubusercontent.com/109061211/201470709-b608038c-c9e7-49dd-8ddf-61d5417bf8a4.png) 4 | 5 | ## Contents 6 | **1. Custom operators** 7 | - **Get Users**: fetch the user list of a DI tenant with DI API endpoint ‘/auth/v2/user’. 8 | - **Get Runtime Graphs**: retrieve executed pipeline details such as graph name, status, and substitutions with DI API endpoint ‘/v1/runtime/graphsquery’. 9 | - **Get Graph Data sources**: fetch information about target data sources set in operators in a pipeline with DI API endpoint ‘/v1/runtime/graphdescriptions/{handle}’. 10 | - **Get Datasource Pairs**: generate pairs of data sources that were used together in each pipeline. 11 | 12 | **2. Graph** 13 | - **Extract Pipeline Usage**: extract DI pipeline usage of users in a DI tenant and store the data in DWC 14 | 15 | **3. Vtypes**: represent a structure for connectionID and tables for user and graph information 16 | 17 | 18 | ## How to Run 19 | 1. Import extract.pipeline.usage-1.0.0.zip via `SAP Data Intelligence System Management` -> `Files` -> `Import Solution` 20 | 2. Open a graph `Extract Pipeline Usage` in `Modeler` 21 | 3. Configure the connectionID in `Get User` and target tables in `Table Producer`. 22 | 4. Start the graph and check the target tables once the graph is completed. 23 | -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/DI-Extract-Usage/extract.pipeline.usage-1.0.0.zip -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/graphs/extract/pipelineusage/vtypes/scalars/str_10/scalar.vtype: -------------------------------------------------------------------------------- 1 | { 2 | "name": "str_10", 3 | "description": "String(10)", 4 | "vflow.type": "scalar", 5 | "template": "string", 6 | "value.length": 10 7 | } -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/graphs/extract/pipelineusage/vtypes/scalars/str_100/scalar.vtype: -------------------------------------------------------------------------------- 1 | { 2 | "name": "str_100", 3 | "description": "String(100)", 4 | "vflow.type": "scalar", 5 | "template": "string", 6 | "value.length": 100 7 | } -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/graphs/extract/pipelineusage/vtypes/scalars/str_25/scalar.vtype: -------------------------------------------------------------------------------- 1 | { 2 | "name": "str_25", 3 | "description": "String(25)", 4 | "vflow.type": "scalar", 5 | "template": "string", 6 | "value.length": 25 7 | } -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/graphs/extract/pipelineusage/vtypes/scalars/str_50/scalar.vtype: -------------------------------------------------------------------------------- 1 | { 2 | "name": "str_50", 3 | "description": "String(50)", 4 | "vflow.type": "scalar", 5 | "template": "string", 6 | "value.length": 50 7 | } -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/graphs/extract/pipelineusage/vtypes/tables/datasource_pairs/table.vtype: -------------------------------------------------------------------------------- 1 | { 2 | "name": "datasource_pairs", 3 | "description": "datasource_pairs", 4 | "vflow.type": "table", 5 | "keys": [], 6 | "rows": { 7 | "components": [ 8 | { 9 | "data_source1": { 10 | "vflow.type": "scalar", 11 | "vtype-ID": "$GRAPH.str_100" 12 | } 13 | }, 14 | { 15 | "data_source2": { 16 | "vflow.type": "scalar", 17 | "vtype-ID": "$GRAPH.str_100" 18 | } 19 | }, 20 | { 21 | "count": { 22 | "vflow.type": "scalar", 23 | "vtype-ID": "com.sap.core.int64" 24 | } 25 | } 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/graphs/extract/pipelineusage/vtypes/tables/graph_datasources/table.vtype: -------------------------------------------------------------------------------- 1 | { 2 | "name": "graph_datasources", 3 | "description": "graph_datasources", 4 | "vflow.type": "table", 5 | "keys": [], 6 | "rows": { 7 | "components": [ 8 | { 9 | "user": { 10 | "vflow.type": "scalar", 11 | "vtype-ID": "$GRAPH.str_25" 12 | } 13 | }, 14 | { 15 | "tenant": { 16 | "vflow.type": "scalar", 17 | "vtype-ID": "$GRAPH.str_25" 18 | } 19 | }, 20 | { 21 | "src": { 22 | "vflow.type": "scalar", 23 | "vtype-ID": "$GRAPH.str_50" 24 | } 25 | }, 26 | { 27 | "name": { 28 | "vflow.type": "scalar", 29 | "vtype-ID": "$GRAPH.str_25" 30 | } 31 | }, 32 | { 33 | "handle": { 34 | "vflow.type": "scalar", 35 | "vtype-ID": "$GRAPH.str_50" 36 | } 37 | }, 38 | { 39 | "status": { 40 | "vflow.type": "scalar", 41 | "vtype-ID": "$GRAPH.str_10" 42 | } 43 | }, 44 | { 45 | "submitted": { 46 | "vflow.type": "scalar", 47 | "vtype-ID": "com.sap.core.timestamp" 48 | } 49 | }, 50 | { 51 | "stopped": { 52 | "vflow.type": "scalar", 53 | "vtype-ID": "com.sap.core.timestamp" 54 | } 55 | }, 56 | { 57 | "runtime": { 58 | "vflow.type": "scalar", 59 | "vtype-ID": "com.sap.core.int64" 60 | } 61 | }, 62 | { 63 | "data_source": { 64 | "vflow.type": "scalar", 65 | "vtype-ID": "$GRAPH.str_100" 66 | } 67 | }, 68 | { 69 | "component": { 70 | "vflow.type": "scalar", 71 | "vtype-ID": "$GRAPH.str_50" 72 | } 73 | }, 74 | { 75 | "direction": { 76 | "vflow.type": "scalar", 77 | "vtype-ID": "$GRAPH.str_10" 78 | } 79 | } 80 | ] 81 | } 82 | } -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/subengines/com/sap/python3/operators/extract/datasourcepairs/configSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-06/schema#", 3 | "$id": "http://sap.com/vflow/extract.datasourcepairs.configSchema.json", 4 | "type": "object", 5 | "properties": { 6 | "codelanguage": { 7 | "type": "string" 8 | }, 9 | "errorHandling": { 10 | "title": "Error Handling", 11 | "$ref": "http://sap.com/vflow/com.sap.error.scriptOperator.schema.json" 12 | }, 13 | "script": { 14 | "type": "string" 15 | } 16 | }, 17 | "required": [] 18 | } 19 | -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/subengines/com/sap/python3/operators/extract/datasourcepairs/operator.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "Get Datasource Pairs", 3 | "component": "com.sap.system.python3Operator.v2", 4 | "versionStatus": "active", 5 | "iconsrc": "graph_datasource_pairs1.svg", 6 | "config": { 7 | "$type": "http://sap.com/vflow/extract.datasourcepairs.configSchema.json", 8 | "errorHandling": { 9 | "type": "terminate on error" 10 | }, 11 | "script": "file://get_pairs.py" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/subengines/com/sap/python3/operators/extract/datasources/configSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-06/schema#", 3 | "$id": "http://sap.com/vflow/extract.datasources.configSchema.json", 4 | "type": "object", 5 | "properties": { 6 | "codelanguage": { 7 | "type": "string" 8 | }, 9 | "errorHandling": { 10 | "title": "Error Handling", 11 | "$ref": "http://sap.com/vflow/com.sap.error.scriptOperator.schema.json" 12 | }, 13 | "script": { 14 | "type": "string" 15 | } 16 | }, 17 | "required": [] 18 | } 19 | -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/subengines/com/sap/python3/operators/extract/datasources/operator.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "Get Graph Datasources", 3 | "component": "com.sap.system.python3Operator.v2", 4 | "versionStatus": "active", 5 | "iconsrc": "pipeline_api_graph_datasources.svg", 6 | "config": { 7 | "$type": "http://sap.com/vflow/extract.datasources.configSchema.json", 8 | "errorHandling": { 9 | "type": "terminate on error" 10 | }, 11 | "script": "file://get_datasources.py" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/subengines/com/sap/python3/operators/extract/runtimegraphs/configSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-06/schema#", 3 | "$id": "http://sap.com/vflow/extract.runtimegraphs.configSchema.json", 4 | "type": "object", 5 | "properties": { 6 | "codelanguage": { 7 | "type": "string" 8 | }, 9 | "errorHandling": { 10 | "title": "Error Handling", 11 | "$ref": "http://sap.com/vflow/com.sap.error.scriptOperator.schema.json" 12 | }, 13 | "script": { 14 | "type": "string" 15 | } 16 | }, 17 | "required": [] 18 | } 19 | -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/subengines/com/sap/python3/operators/extract/runtimegraphs/operator.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "Get Runtime Graphs", 3 | "component": "com.sap.system.python3Operator.v2", 4 | "versionStatus": "active", 5 | "iconsrc": "pipeline_api_graph.svg", 6 | "config": { 7 | "$type": "http://sap.com/vflow/extract.runtimegraphs.configSchema.json", 8 | "errorHandling": { 9 | "type": "terminate on error" 10 | }, 11 | "script": "file://get_runtime_graphs.py" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/subengines/com/sap/python3/operators/extract/users/configSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-06/schema#", 3 | "$id": "http://sap.com/vflow/extract.users.configSchema.json", 4 | "type": "object", 5 | "properties": { 6 | "codelanguage": { 7 | "type": "string" 8 | }, 9 | "errorHandling": { 10 | "title": "Error Handling", 11 | "$ref": "http://sap.com/vflow/com.sap.error.scriptOperator.schema.json" 12 | }, 13 | "script": { 14 | "type": "string" 15 | }, 16 | "connection_id": { 17 | "title": "Connection ID", 18 | "description": "Connection ID", 19 | "type": "object", 20 | "properties": { 21 | "connectionID": { 22 | "title": "ConnectionID", 23 | "type": "string", 24 | "format": "com.sap.dh.connection.id", 25 | "sap_vflow_valuehelp": { 26 | "url": "/app/datahub-app-connection/connections?connectionTypes=HTTP", 27 | "valuepath": "id", 28 | "displayStyle": "autocomplete" 29 | } 30 | } 31 | } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/subengines/com/sap/python3/operators/extract/users/get_users.py: -------------------------------------------------------------------------------- 1 | 2 | import os 3 | import requests 4 | import pandas as pd 5 | 6 | 7 | # 8 | # get all users 9 | # 10 | def get_users(connection): 11 | restapi = "/auth/v2/user" 12 | url = connection['url'] + restapi 13 | headers = {'X-Requested-With': 'XMLHttpRequest'} 14 | resp = requests.get(url, headers=headers, auth=connection['auth'], verify=True) 15 | 16 | users = resp.json() 17 | 18 | return users 19 | 20 | 21 | # 22 | # Callback of operator 23 | # 24 | def gen(): 25 | host = api.config.connection_id['connectionProperties']['host'] 26 | user = api.config.connection_id['connectionProperties']['user'] 27 | pwd = api.config.connection_id['connectionProperties']['password'] 28 | tenant = os.environ.get('VSYSTEM_TENANT') 29 | 30 | if not tenant: 31 | api.logger.warning("No system variable \'VSYSTEM_TENANT\' set.") 32 | tenant = 'default' 33 | connection = {'url': host, 'auth': (tenant + '\\' + user, pwd)} 34 | 35 | # process 36 | users = get_users(connection) 37 | 38 | df = pd.DataFrame(users) 39 | df = df.loc[:, ['tenant', 'username']] 40 | df = df[['tenant', 'username']] 41 | 42 | # output 43 | header = {"com.sap.headers.batch": [0, True, 1, 0, ""], 44 | "extract.connection_http": [host, user, pwd, '', tenant]} 45 | 46 | 47 | tbl1 = api.Table(df.values.tolist(), 'extract.users') 48 | api.outputs.output.publish(tbl1, header=header) 49 | 50 | 51 | api.set_prestart(gen) -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/subengines/com/sap/python3/operators/extract/users/operator.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "Get Users", 3 | "component": "com.sap.system.python3Operator.v2", 4 | "versionStatus": "active", 5 | "iconsrc": "users.svg", 6 | "config": { 7 | "$type": "http://sap.com/vflow/extract.users.configSchema.json", 8 | "errorHandling": { 9 | "type": "terminate on error" 10 | }, 11 | "script": "file://get_users.py" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/vtypes/structures/extract/connection_http/structure.vtype: -------------------------------------------------------------------------------- 1 | {"name":"extract.connection_http","description":"Connection details of HTTP type","vflow.type":"structure","components":[{"host":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}},{"user":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}},{"password":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}},{"path":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}},{"tenant":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}}]} 2 | -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/vtypes/tables/extract/runtime_graphs/table.vtype: -------------------------------------------------------------------------------- 1 | {"name":"extract.runtime_graphs","description":"extract.runtime_graphs","vflow.type":"table","keys":["handle"],"rows":{"components":[{"user":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}},{"tenant":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}},{"src":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}},{"name":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}},{"handle":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}},{"status":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}},{"submitted":{"vflow.type":"scalar","vtype-ID":"com.sap.core.timestamp"}},{"stopped":{"vflow.type":"scalar","vtype-ID":"com.sap.core.timestamp"}},{"runtime":{"vflow.type":"scalar","vtype-ID":"com.sap.core.int64"}},{"substitutions":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}}]}} 2 | -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/content/files/vflow/vtypes/tables/extract/users/table.vtype: -------------------------------------------------------------------------------- 1 | {"name":"extract.users","description":"extract.users","vflow.type":"table","keys":[],"rows":{"components":[{"tenant":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}},{"username":{"vflow.type":"scalar","vtype-ID":"com.sap.core.string"}}]}} 2 | -------------------------------------------------------------------------------- /DI-Extract-Usage/extract.pipeline.usage-1.0.0/manifest.json: -------------------------------------------------------------------------------- 1 | {"name":"extract.pipeline.usage","version":"1.0.0","format":"2","dependencies":[],"description":""} 2 | -------------------------------------------------------------------------------- /GitWorkflow/img/build_triggers_environment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/build_triggers_environment.png -------------------------------------------------------------------------------- /GitWorkflow/img/cicd_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/cicd_flow.png -------------------------------------------------------------------------------- /GitWorkflow/img/cicd_flow_di.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/cicd_flow_di.png -------------------------------------------------------------------------------- /GitWorkflow/img/configure-bindings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/configure-bindings.png -------------------------------------------------------------------------------- /GitWorkflow/img/configure-git.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/configure-git.png -------------------------------------------------------------------------------- /GitWorkflow/img/g-custom-copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/g-custom-copy.png -------------------------------------------------------------------------------- /GitWorkflow/img/g-github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/g-github.png -------------------------------------------------------------------------------- /GitWorkflow/img/g-gitworkflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/g-gitworkflow.png -------------------------------------------------------------------------------- /GitWorkflow/img/g-launchpad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/g-launchpad.png -------------------------------------------------------------------------------- /GitWorkflow/img/g-overview-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/g-overview-2.png -------------------------------------------------------------------------------- /GitWorkflow/img/g-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/g-overview.png -------------------------------------------------------------------------------- /GitWorkflow/img/g-user-workspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/g-user-workspace.png -------------------------------------------------------------------------------- /GitWorkflow/img/g-vsc-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/g-vsc-app.png -------------------------------------------------------------------------------- /GitWorkflow/img/shell-step-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/shell-step-1.png -------------------------------------------------------------------------------- /GitWorkflow/img/shell-step-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/img/shell-step-2.png -------------------------------------------------------------------------------- /GitWorkflow/scripts/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # CI Helper Script for SAP Data Intelligence Pipeline Solutions 4 | # 5 | # About 6 | # ----- 7 | # 8 | # Performs the following build steps for SAP Data Intelligence 9 | # Pipeline solutions tracked in Git. 10 | # 11 | # Following steps are performed: 12 | # 13 | # (1) Package solution (zip) from files tracked in Git repository 14 | # (2) Install solution on a test tenant 15 | # (3) Execute a test graph (usually a workflow) and wait 16 | # until finished 17 | # 18 | # The work folder should have the following structure: 19 | # 20 | # / 21 | # /manifest.json <- vsolution manifest file 22 | # /vflow/... <- pipeline artifacts (graphs, operators) 23 | # /... <- all other files ignored 24 | # 25 | # Parametrization 26 | # --------------- 27 | # 28 | # The script needs information to connect to a SAP Data Intelligence 29 | # test tenant. This information can be provided as parameters in 30 | # different ways: 31 | # 32 | # - Directly in the utilized scripts (only recommended for testing) 33 | # - As environment variables 34 | # 35 | # When implementing the process on a build sever, consider to use 36 | # a 'secret store' provided by the build server for the username 37 | # and password parameters to not expose the information to others. 38 | # E.g., the 'secret binding' of Jenkins can be used to provide 39 | # these parameters as environment variables to the script and 40 | # hide them in the output of the log files. 41 | # 42 | # ////////////////////////////////////////////////////////////////// 43 | 44 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 45 | 46 | # Provide build stages as script arguments for local testing 47 | STAGES=("bundle", "install", "test") 48 | if [ "$1" != "" ]; then 49 | STAGES=( "$@" ) 50 | fi 51 | 52 | if [[ "${STAGES[@]}" =~ "bundle" ]]; then 53 | $DIR/bundle-solution.sh || exit 1 54 | fi 55 | 56 | if [[ "${STAGES[@]}" =~ "install" ]]; then 57 | $DIR/install-solution.sh || exit 1 58 | fi 59 | 60 | if [[ "${STAGES[@]}" =~ "test" ]]; then 61 | $DIR/test-pipeline.sh || exit 1 62 | fi 63 | -------------------------------------------------------------------------------- /GitWorkflow/scripts/bundle-solution.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # ////////////////////////////////////////////////////////////////////////////// 4 | # Zipping of SAP Data Intelligence Pipeline Solutions 5 | # 6 | # This script zips files of a solution that are tracked in 7 | # a Git project into a vsolution package. 8 | # 9 | # Note: Solutions tracked in Git by following the "Git Workflow" guide 10 | # have a slightly different structure than the native solution structure. 11 | # This script re-organizes the file structure in a temporary folder before 12 | # zipping the files. See the "Git Workflow" guide for more information. 13 | # 14 | # ////////////////////////////////////////////////////////////////////////////// 15 | 16 | echo "---------------------" 17 | echo "@@ Bundle Solution @@" 18 | echo "---------------------" 19 | 20 | if [ ! -f "manifest.json" ] || [ ! -d "vflow" ]; then 21 | echo "Error: Current path seems not to be a vsolution pipeline project (missing 'manifest.json' file or 'vflow' folder)" 22 | exit 1 23 | fi 24 | 25 | # Extract solution name from manifest file. 26 | DI_SOLUTION_NAME=$(python -c \ 27 | "import json; o = json.load(open(\"manifest.json\")); print(o['name'])") \ 28 | || exit 1 29 | DI_SOLUTION_VERSION=$(python -c \ 30 | "import json; o = json.load(open(\"manifest.json\")); print(o['version'])") \ 31 | || exit 1 32 | DI_SOLUTION="$DI_SOLUTION_NAME-$DI_SOLUTION_VERSION" 33 | PACKAGE_NAME="$DI_SOLUTION.zip" 34 | 35 | # Zip folder in temp space and move back 36 | tmp_dir=$(mktemp -d -t vsol-XXXXXXXXXX) 37 | mkdir -p "$tmp_dir/content/files/" 38 | cp -R vflow "$tmp_dir/content/files/" 39 | cp manifest.json "$tmp_dir/" 40 | pushd . > /dev/null 41 | cd $tmp_dir && zip -r $PACKAGE_NAME content/ manifest.json 42 | popd > /dev/null 43 | mv $tmp_dir/$PACKAGE_NAME . 44 | echo "Created package '$PACKAGE_NAME'" 45 | -------------------------------------------------------------------------------- /GitWorkflow/vscode-app/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:18.04 2 | 3 | RUN apt-get update && apt-get install -y \ 4 | openssl \ 5 | net-tools \ 6 | git \ 7 | locales \ 8 | dumb-init \ 9 | vim \ 10 | curl \ 11 | wget \ 12 | && rm -rf /var/lib/apt/lists/* 13 | 14 | RUN locale-gen en_US.UTF-8 15 | # We cannot use update-locale because docker will not use the env variables 16 | # configured in /etc/default/locale so we need to set it manually. 17 | ENV LC_ALL=en_US.UTF-8 \ 18 | SHELL=/bin/bash 19 | 20 | RUN wget https://github.com/cdr/code-server/releases/download/2.1698/code-server2.1698-vsc1.41.1-linux-x86_64.tar.gz 21 | #COPY code-server2.1698-vsc1.41.1-linux-x86_64.tar.gz /code-server2.1698-vsc1.41.1-linux-x86_64.tar.gz 22 | RUN tar xvfz /code-server2.1698-vsc1.41.1-linux-x86_64.tar.gz 23 | 24 | RUN groupadd -g 999 coder && \ 25 | useradd -r -u 999 -g coder coder && \ 26 | mkdir /home/coder && \ 27 | chown coder:coder /home/coder 28 | 29 | USER 999:999 30 | 31 | WORKDIR /home/coder 32 | 33 | EXPOSE 3000 34 | 35 | ENV HOME /home/coder 36 | ENV GIT_DISCOVERY_ACROSS_FILESYSTEM 1 37 | 38 | ENTRYPOINT ["dumb-init", "--"] 39 | CMD ["bash", "-c", "exec /code-server2.1698-vsc1.41.1-linux-x86_64/code-server --port 3000 --auth none /vhome"] 40 | -------------------------------------------------------------------------------- /GitWorkflow/vscode-app/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | docker build -t vsc-app:1.0 . 4 | docker login 5 | docker tag vsc-app:1.0 sapdi/vsc-app:1.0 6 | docker push sapdi/vsc-app:1.0 7 | rm -f vscode-app.zip 8 | zip -r vscode-app.zip manifest.json content/ 9 | -------------------------------------------------------------------------------- /GitWorkflow/vscode-app/content/vsystem/apps/vsc-app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "VSCode", 3 | "stableLink": "vsc", 4 | "mounts": { 5 | "vhome": true, 6 | "vrep": true 7 | }, 8 | "version": "1.0.0", 9 | "apiVersion": "v2", 10 | "type": "kubernetes", 11 | "body": { 12 | "kubernetes": { 13 | "apiVersion": "v2", 14 | "service": { 15 | "metadata": { 16 | "generateName": "vsc" 17 | }, 18 | "spec": { 19 | "ports": [ 20 | { 21 | "name": "vsc", 22 | "port": 3000 23 | } 24 | ] 25 | } 26 | }, 27 | "deployment": { 28 | "spec": { 29 | "template": { 30 | "spec": { 31 | "imagePullSecrets": [ 32 | { 33 | "name": "{{ .vsystem.imagePullSecret }}" 34 | } 35 | ], 36 | "containers": [ 37 | { 38 | "name": "vsc", 39 | "image": "sapdi/vsc-app:1.0", 40 | "ports": [ 41 | { 42 | "name": "vsc", 43 | "containerPort": 3000 44 | } 45 | ], 46 | "securityContext": { 47 | "runAsNonRoot": true 48 | } 49 | } 50 | ] 51 | } 52 | } 53 | } 54 | } 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /GitWorkflow/vscode-app/manifest.json: -------------------------------------------------------------------------------- 1 | {"name":"vscode-app","version":"1.0.1","format":"2","dependencies":[]} 2 | -------------------------------------------------------------------------------- /GitWorkflow/vscode-app/vscode-app.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/GitWorkflow/vscode-app/vscode-app.zip -------------------------------------------------------------------------------- /HANA_exposed_via_OpenAPIServer/README.md: -------------------------------------------------------------------------------- 1 | ## Exposing HANA via an OpenAPI server ## 2 | 3 | This sample graph exposes an SAP HANA database through an OpenAPI server operator. A table name can be provided and the content of the table will be given as result. 4 | 5 | The graph was tested with Data Hub version 2.4. 6 | 7 | ![alt text](./open_api_graph.png "Graph") 8 | 9 | ## Requirements 10 | 11 | Before you start using the example, please make sure that: 12 | 13 | - You are familiar with the basic concepts of SAP Data Hub Modeling such Pipelines (Graphs), Operators and Dockerfiles. For more information, you may refer to the Modeling Guide for SAP Data Hub that is available on the SAP Help Portal (https://help.sap.com/viewer/p/SAP_DATA_HUB). 14 | - You are familiar with the basic concepts of Docker (https://docs.docker.com/get-started/) and Kubernetes (https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/). 15 | 16 | ## Content 17 | **Sample graph** 18 | - Demonstrates a workflow where a HANA table is exposed via OpenAPI Server operator. In this case, user can query table via GET request. 19 | 20 | ## How to run 21 | 22 | 1. Import the sample graph 23 | 2. Define a HANA connection in the Connection Management 24 | 3. Change the 'SAP HANA Client' operator in the graph to use that HANA connection 25 | 4. Start the graph 26 | 5. To verify, go to the browser and execute below URL: 27 | `https:///app/pipeline-modeler/openapi/service/samples/hanaServer/hana/{tablename}` 28 | 29 | For example 30 | `https://myhostname.com/app/pipeline-modeler/openapi/service/samples/hanaServer/hana/m_databases` 31 | `https://myhostname.com/app/pipeline-modeler/openapi/service/samples/hanaServer/hana/sys.users` 32 | 33 | **Additional information** 34 | 35 | | Operator | Source Code | 36 | | ------------- | ------------- | 37 | | OpenAPI | [swagger file](src/Additional/swagger.json) | 38 | | Request JS | [Request Code](src/Additional/Request.js) | 39 | | Response JS | [Response Code](src/Additional/Response.js) | 40 | -------------------------------------------------------------------------------- /HANA_exposed_via_OpenAPIServer/open_api_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/HANA_exposed_via_OpenAPIServer/open_api_graph.png -------------------------------------------------------------------------------- /HANA_exposed_via_OpenAPIServer/solution/OpenAPI-HANA-1.0.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/HANA_exposed_via_OpenAPIServer/solution/OpenAPI-HANA-1.0.tgz -------------------------------------------------------------------------------- /HANA_exposed_via_OpenAPIServer/src/Additional/Request.js: -------------------------------------------------------------------------------- 1 | $.setPortCallback("input",onInput); 2 | 3 | //Checks the data if in bytes 4 | //Incase of bytes we need to convert to string 5 | function isByteArray(data) { 6 | return (typeof data === 'object' && Array.isArray(data) 7 | && data.length > 0 && typeof data[0] === 'number') 8 | } 9 | 10 | function onInput(ctx,s) { 11 | var msg = {}; 12 | var inbody = s.Body; 13 | var inattributes = s.Attributes; 14 | 15 | // convert the body into string if it is bytes 16 | if (isByteArray(inbody)) { 17 | inbody = String.fromCharCode.apply(null, inbody); 18 | } 19 | 20 | // just send a copy of the request to the output for someone else (e.g., if port output is connected) 21 | msg.Attributes = {}; 22 | for (var key in inattributes) { 23 | msg.Attributes[key] = inattributes[key]; 24 | } 25 | msg.Body = inbody; 26 | 27 | 28 | // pass a copy to the output if connected 29 | if ($.output != null) { 30 | $.output(s); 31 | } 32 | 33 | //Construct message SQL (Just the holder) 34 | var msgSQL = {}; 35 | msgSQL.Body = {}; 36 | 37 | // send the response 38 | var reqmethod = inattributes["openapi.method"]; 39 | var reqpath = inattributes["openapi.request_uri"]; 40 | var opid = inattributes["openapi.operation_id"]; 41 | var tabName = inattributes["openapi.path_params.hanaTable"]; 42 | 43 | //Construct response holder 44 | var resp = {}; 45 | resp.Attributes = {}; 46 | 47 | // workaround for the current limitaiton in openapi.server not deriving the content-type automatically 48 | resp.Attributes["openapi.header.content-type"] = "application/json"; 49 | 50 | switch (opid) { 51 | case "getDummy": 52 | var str = "select * from dummy;"; 53 | msgSQL.Body = str; 54 | $.outsql(msgSQL); 55 | break; 56 | case "getHanaTable": 57 | var str = "select * from " + tabName + ";"; 58 | msgSQL.Body = str; 59 | $.outsql(msgSQL); 60 | break; 61 | default: 62 | $.sendResponse(s, null, Error("Unexpected operation ID " + opid)) 63 | break; 64 | } 65 | } 66 | 67 | -------------------------------------------------------------------------------- /HANA_exposed_via_OpenAPIServer/src/Additional/Response.js: -------------------------------------------------------------------------------- 1 | $.setPortCallback("input",onInput); 2 | 3 | $.setPortCallback("inResp",inResp); 4 | var orig_resp; 5 | 6 | function isByteArray(data) { 7 | switch (Object.prototype.toString.call(data)) { 8 | case "[object Int8Array]": 9 | case "[object Uint8Array]": 10 | return true; 11 | case "[object Array]": 12 | case "[object GoArray]": 13 | return data.length > 0 && typeof data[0] === 'number'; 14 | } 15 | return false; 16 | } 17 | 18 | 19 | function inResp(ctx,s1) { 20 | orig_resp = s1; 21 | } 22 | 23 | function onInput(ctx,s) { 24 | var msg = {}; 25 | 26 | var inbody = s.Body; 27 | var inattributes = s.Attributes; 28 | 29 | // convert the body into string if it is bytes 30 | if (isByteArray(inbody)) { 31 | inbody = String.fromCharCode.apply(null, inbody); 32 | } 33 | 34 | var data = inbody; 35 | 36 | //Construct response of the output from HANA client 37 | var resp = {}; 38 | resp.Attributes = {}; 39 | 40 | // workaround for the current limitaiton in openapi.server not deriving the content-type automatically 41 | resp.Attributes["openapi.header.content-type"] = "application/json"; 42 | resp.Body = {"output": data}; 43 | //resp.Body = {"output": "helloWorld"}; 44 | $.sendResponse(orig_resp, resp, null); 45 | $.output(resp); 46 | } 47 | 48 | -------------------------------------------------------------------------------- /HANA_exposed_via_OpenAPIServer/src/OpenAPI-HANA-1.0/vsolution.json: -------------------------------------------------------------------------------- 1 | {"name":"OpenAPI-HANA","version":"1.0","AdditionalFields":{"manifest":{"name":"OpenAPI-HANA","version":"1.0"},"paths":["/vflow/graphs/OpenAPI-HANA"]}} -------------------------------------------------------------------------------- /HiveOperator/Hive_Sql.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/HiveOperator/Hive_Sql.jpg -------------------------------------------------------------------------------- /HiveOperator/graph.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/HiveOperator/graph.jpg -------------------------------------------------------------------------------- /HiveOperator/solution/HiveOperator-1.0.1.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/HiveOperator/solution/HiveOperator-1.0.1.tar.gz -------------------------------------------------------------------------------- /HiveOperator/solution/HiveOperator-1.0.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/HiveOperator/solution/HiveOperator-1.0.tgz -------------------------------------------------------------------------------- /HiveOperator/solution/HiveOperator-1.1.0.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/HiveOperator/solution/HiveOperator-1.1.0.7z -------------------------------------------------------------------------------- /HiveOperator/solution/HiveOperator-1.1.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/HiveOperator/solution/HiveOperator-1.1.0.tar.gz -------------------------------------------------------------------------------- /HiveOperator/src/vrep/vflow/dockerfiles/examples/HiveOperator/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:3.6.4-slim-stretch 2 | 3 | ENV DEBIAN_FRONTEND=noninteractive 4 | 5 | RUN apt-get update && \ 6 | apt install -y python3-pip && \ 7 | apt-get install -y python3-dev && \ 8 | apt-get install -y krb5-user && \ 9 | apt-get install -y libsasl2-dev && \ 10 | apt-get install -y libsasl2-modules-gssapi-mit && \ 11 | mkdir /keytabs 12 | 13 | # Install python libraries 14 | RUN pip3 install pyhive[hive] 15 | RUN pip3 install tornado==5.0.2 16 | 17 | 18 | # Add vflow user and vflow group to prevent error 19 | # container has runAsNonRoot and image will run as root 20 | RUN groupadd -g 1972 vflow && useradd -g 1972 -u 1972 -m vflow 21 | USER 1972:1972 22 | WORKDIR /home/vflow 23 | ENV HOME=/home/vflow -------------------------------------------------------------------------------- /HiveOperator/src/vrep/vflow/dockerfiles/examples/HiveOperator/Tags.json: -------------------------------------------------------------------------------- 1 | { 2 | "pyhive": "pip3", 3 | "python36": "", 4 | "tornado": "5.0.2" 5 | } -------------------------------------------------------------------------------- /HiveOperator/src/vrep/vflow/graphs/HiveOperator_test/graph.json: -------------------------------------------------------------------------------- 1 | { 2 | "properties": {}, 3 | "description": "Hive Operation", 4 | "processes": { 5 | "terminal1": { 6 | "component": "com.sap.util.terminal", 7 | "metadata": { 8 | "label": "Terminal", 9 | "x": 241.99999904632568, 10 | "y": 39.99999952316284, 11 | "height": 80, 12 | "width": 120, 13 | "ui": "dynpath", 14 | "subengines": [ 15 | "main" 16 | ], 17 | "config": {} 18 | } 19 | }, 20 | "hiveoperator1": { 21 | "component": "examples.HiveOperator", 22 | "metadata": { 23 | "label": "hiveOperator", 24 | "x": 72.99999904632568, 25 | "y": 39.99999952316284, 26 | "height": 80, 27 | "width": 120, 28 | "extensible": true, 29 | "config": {} 30 | } 31 | } 32 | }, 33 | "groups": [], 34 | "connections": [ 35 | { 36 | "metadata": { 37 | "points": "196.99999904632568,79.99999952316284 236.99999904632568,79.99999952316284" 38 | }, 39 | "src": { 40 | "port": "output", 41 | "process": "hiveoperator1" 42 | }, 43 | "tgt": { 44 | "port": "in1", 45 | "process": "terminal1" 46 | } 47 | }, 48 | { 49 | "metadata": { 50 | "points": "365.9999990463257,79.99999952316284 393.9999985694885,79.99999952316284 393.9999985694885,12 12,12 12,79.99999952316284 67.99999904632568,79.99999952316284" 51 | }, 52 | "src": { 53 | "port": "out1", 54 | "process": "terminal1" 55 | }, 56 | "tgt": { 57 | "port": "inSql", 58 | "process": "hiveoperator1" 59 | } 60 | } 61 | ], 62 | "inports": {}, 63 | "outports": {} 64 | } -------------------------------------------------------------------------------- /HiveOperator/src/vrep/vflow/subengines/com/sap/python36/operators/examples/HiveOperator/operator.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "hiveOperator", 3 | "component": "com.sap.system.python3Operator", 4 | "inports": [ 5 | { 6 | "name": "inSql", 7 | "type": "string" 8 | } 9 | ], 10 | "outports": [ 11 | { 12 | "name": "output", 13 | "type": "string" 14 | } 15 | ], 16 | "icon": "puzzle-piece", 17 | "iconsrc": "Apache_Hive_logo.svg", 18 | "config": { 19 | "$type": "http://sap.com/vflow/examples.HiveOperator.configSchema.json", 20 | "database": "default", 21 | "delimiter": ";", 22 | "hive_hostname": "fqdn.hive.com", 23 | "http_mode": false, 24 | "kerberos_enabled": false, 25 | "kerberos_keytab_filename": "vora.keytab", 26 | "kerberos_principal": "vora", 27 | "kerberos_realm": "AD.HADOOP", 28 | "port": 10000, 29 | "script": "file://script.py", 30 | "username": "hive" 31 | }, 32 | "tags": { 33 | "pyhive": "pip3", 34 | "python36": "", 35 | "tornado": "5.0.2" 36 | } 37 | } -------------------------------------------------------------------------------- /HiveOperator/src/vrep/vsolution.json: -------------------------------------------------------------------------------- 1 | {"name":"HiveOperator","version":"1.1","AdditionalFields":{"manifest":{"name":"HiveOperator","version":"1.1"},"paths":["/vflow"]}} -------------------------------------------------------------------------------- /HiveOperator/upload.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/HiveOperator/upload.gif -------------------------------------------------------------------------------- /JavaProcessExecutor/graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/JavaProcessExecutor/graph.png -------------------------------------------------------------------------------- /JavaProcessExecutor/solution/JavaProcessExecutor.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/JavaProcessExecutor/solution/JavaProcessExecutor.tgz -------------------------------------------------------------------------------- /JavaProcessExecutor/src/JavaApplication/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | com.sap 5 | JavaApplication 6 | 1 7 | jar 8 | 9 | UTF-8 10 | 1.8 11 | 1.8 12 | 13 | 14 | 15 | 16 | org.apache.maven.plugins 17 | maven-assembly-plugin 18 | 19 | 20 | package 21 | 22 | single 23 | 24 | 25 | 26 | 27 | 28 | com.sap.javaapplication.Main 29 | 30 | 31 | 32 | 33 | jar-with-dependencies 34 | 35 | ${project.artifactId} 36 | false 37 | ${project.basedir}/../vrep/vflow/operators/examples/JavaProcessExecutor 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /JavaProcessExecutor/src/JavaApplication/src/main/java/com/sap/javaapplication/Main.java: -------------------------------------------------------------------------------- 1 | package com.sap.javaapplication; 2 | 3 | import java.io.BufferedReader; 4 | import java.io.IOException; 5 | import java.io.InputStreamReader; 6 | 7 | public class Main 8 | { 9 | public static void main( String[] args ) 10 | { 11 | InputStreamReader inputStreamReader = new InputStreamReader(System.in); 12 | BufferedReader bufferedReader = new BufferedReader(inputStreamReader); 13 | 14 | String line = null; 15 | 16 | try { 17 | 18 | while ((line = bufferedReader.readLine()) != null ) { 19 | 20 | if ( args.length == 0 ) { 21 | System.err.println( "No Mode specified." ); 22 | continue; 23 | } 24 | if ( line.length() == 0 ) { 25 | System.err.println( "Received empty value." ); 26 | continue; 27 | } 28 | 29 | if ( args[0].toUpperCase().equals( "LENGTH" ) ) { 30 | System.out.println( "String \"" + line + "\" has length " + line.length() ); 31 | } else if ( args[0].toUpperCase().equals( "UPPER" ) ) { 32 | System.out.println( line + " -> " + line.toUpperCase() ); 33 | } else { 34 | System.err.println( "Mode " + args[0] + " is unknown.." ); 35 | } 36 | } 37 | 38 | } catch (IOException e) { 39 | System.err.println(e.toString()); 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /JavaProcessExecutor/src/vrep/vflow/dockerfiles/examples/JavaProcessExecutor/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM openjdk:11-jre-slim -------------------------------------------------------------------------------- /JavaProcessExecutor/src/vrep/vflow/dockerfiles/examples/JavaProcessExecutor/Tags.json: -------------------------------------------------------------------------------- 1 | { 2 | "java": "11" 3 | } -------------------------------------------------------------------------------- /JavaProcessExecutor/src/vrep/vflow/operators/examples/JavaProcessExecutor/JavaApplication.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/JavaProcessExecutor/src/vrep/vflow/operators/examples/JavaProcessExecutor/JavaApplication.jar -------------------------------------------------------------------------------- /JavaProcessExecutor/src/vrep/vflow/operators/examples/JavaProcessExecutor/configSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-06/schema#", 3 | "$id": "http://sap.com/vflow/examples.JavaProcessExecutor.configSchema.json", 4 | "type": "object", 5 | "properties": { 6 | "TraceStderr": { 7 | "type": "boolean" 8 | }, 9 | "cmdLine": { 10 | "type": "string" 11 | }, 12 | "codelanguage": { 13 | "type": "string", 14 | "sap_vflow_constraints": { 15 | "ui_visibility": false 16 | } 17 | }, 18 | "mode": { 19 | "title": "Mode", 20 | "type": "string", 21 | "enum": [ 22 | "Length", 23 | "Upper" 24 | ] 25 | }, 26 | "script": { 27 | "type": "string", 28 | "sap_vflow_constraints": { 29 | "ui_visibility": false 30 | } 31 | } 32 | }, 33 | "required": [ 34 | "cmdLine" 35 | ] 36 | } -------------------------------------------------------------------------------- /JavaProcessExecutor/src/vrep/vflow/operators/examples/JavaProcessExecutor/operator.json: -------------------------------------------------------------------------------- 1 | {"description":"JavaProcessExecutor","component":"com.sap.system.processExecutor","icon":"cogs","config":{"$type":"http://sap.com/vflow/examples.JavaProcessExecutor.configSchema.json","cmdLine":"java -jar /vrep/vflow/operators/examples/JavaProcessExecutor/JavaApplication.jar ${mode}","mode":"upper","script":""},"tags":{"java":"11"}} -------------------------------------------------------------------------------- /JavaProcessExecutor/src/vsolution.json: -------------------------------------------------------------------------------- 1 | {"name":"JavaProcessExecutor","version":"1.0","AdditionalFields":{"manifest":{"name":"JavaProcessExecutor","version":"1.0"},"paths":["/vflow"]}} -------------------------------------------------------------------------------- /ParquetWriterOperator/graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/ParquetWriterOperator/graph.png -------------------------------------------------------------------------------- /ParquetWriterOperator/modify.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/ParquetWriterOperator/modify.jpg -------------------------------------------------------------------------------- /ParquetWriterOperator/solution/ParquetWriter-1.1.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/ParquetWriterOperator/solution/ParquetWriter-1.1.0.zip -------------------------------------------------------------------------------- /ParquetWriterOperator/src/ParquetWriter-1.1.0/content/files/vflow/dockerfiles/examples/Python27_pyArrow_pandas/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM $com.sap.python27 2 | RUN apt-get install python-pip -y 3 | RUN pip install pyarrow pandas -------------------------------------------------------------------------------- /ParquetWriterOperator/src/ParquetWriter-1.1.0/content/files/vflow/dockerfiles/examples/Python27_pyArrow_pandas/Tags.json: -------------------------------------------------------------------------------- 1 | { 2 | "debian": "", 3 | "python27": "", 4 | "tornado": "5.0.2", 5 | "pyarrow": "", 6 | "pandas": "" 7 | } -------------------------------------------------------------------------------- /ParquetWriterOperator/src/ParquetWriter-1.1.0/content/files/vflow/subengines/com/sap/python27/operators/examples/ParquetWriter/operator.json: -------------------------------------------------------------------------------- 1 | {"description":"ParquetWriter","component":"com.sap.system.python2Operator","inports":[{"name":"input","type":"message"}],"outports":[{"name":"output","type":"message"}],"icon":"puzzle-piece","iconsrc":"parquet_logo.png","config":{"script":"import json\nimport pandas as pd\nimport pyarrow as pa\nimport pyarrow.parquet as pq\n\ndef on_input(data):\n \n #create pandas data frame from Data section (=query result from HANA Client)\n body = data.body\n df = pd.read_json(json.dumps(body))\n \n # use pyarrow to write dataframe into buffer\n pt = pa.Table.from_pandas(df)\n output = pa.BufferOutputStream()\n pq.write_table(pt, output)\n buf = output.getvalue()\n\n # send output to next operator\n api.send(\"output\", api.Message(str(buf.to_pybytes()), None))\n\napi.set_port_callback(\"input\", on_input)"},"tags":{"pandas":"","pyarrow":"","python27":""}} -------------------------------------------------------------------------------- /ParquetWriterOperator/src/ParquetWriter-1.1.0/content/files/vflow/subengines/com/sap/python27/operators/examples/ParquetWriter/parquet_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/ParquetWriterOperator/src/ParquetWriter-1.1.0/content/files/vflow/subengines/com/sap/python27/operators/examples/ParquetWriter/parquet_logo.png -------------------------------------------------------------------------------- /ParquetWriterOperator/src/ParquetWriter-1.1.0/manifest.json: -------------------------------------------------------------------------------- 1 | {"name":"ParquetWriter","version":"1.1.0","format":"2","dependencies":[]} -------------------------------------------------------------------------------- /QualtricsIntegration/graph-extract.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/QualtricsIntegration/graph-extract.png -------------------------------------------------------------------------------- /QualtricsIntegration/graph-receive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/QualtricsIntegration/graph-receive.png -------------------------------------------------------------------------------- /QualtricsIntegration/qualtrics-action.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/QualtricsIntegration/qualtrics-action.png -------------------------------------------------------------------------------- /QualtricsIntegration/solution/qualtrics-1.0.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/QualtricsIntegration/solution/qualtrics-1.0.0.zip -------------------------------------------------------------------------------- /QualtricsIntegration/src/qualtrics-1.0.0/content/files/vflow/dockerfiles/com/poc/qualtrics/qualtrics/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM $com.sap.sles.base 2 | WORKDIR /home/vflow 3 | ENV HOME=/home/vflow 4 | RUN pip3.6 install --no-cache-dir --user requests pytz python-dateutil -------------------------------------------------------------------------------- /QualtricsIntegration/src/qualtrics-1.0.0/content/files/vflow/dockerfiles/com/poc/qualtrics/qualtrics/Tags.json: -------------------------------------------------------------------------------- 1 | { 2 | "default": "", 3 | "sles": "", 4 | "python27": "", 5 | "python36": "", 6 | "tornado": "5.0.2", 7 | "node": "10.16.0", 8 | "qualtrics": "" 9 | } -------------------------------------------------------------------------------- /QualtricsIntegration/src/qualtrics-1.0.0/content/files/vflow/subengines/com/sap/python36/operators/com/poc/qualtrics/exportResponses/README.md: -------------------------------------------------------------------------------- 1 | Export Responses 2 | === 3 | 4 | This operator is designed to export responses from a Qualtrics survey in batch mode. 5 | It can export them continously using the `recurrence` configuration parameter. 6 | 7 | Configuration parameters 8 | --- 9 | 10 | - `API token`: Qualtrics API token, obtained from your Qualtrics account 11 | - `Data Center`: Your Qualtrics account's data center. It's in the format `.qualtrics.com` 12 | - `Survey ID`: The ID of the Qualtrics survey 13 | - `Start Date and Time for initial export`: Defines an initial timestamp from where to start exporting survey responses. If left untouched, first query will return all responses until the moment the operator is run. It works with the `Recurrence` configuration, in the sense that if recurrence is set to a value greater than `0`, it will return only the delta on survey responses. 14 | - `Recurrence`: The frequency you want this operator to extract responses. If left to `0`, the operator will run a single time, otherwise it will run with the specified recurrence. 15 | 16 | Output 17 | --- 18 | 19 | - `responses (string)`: CSV string with responses provided by Qualtrics 20 | - `terminate (string)`: Boolean signal to complete execution of the graph. It will only be used in case `recurrence` is set to `0`. 21 | 22 |
23 | -------------------------------------------------------------------------------- /QualtricsIntegration/src/qualtrics-1.0.0/content/files/vflow/subengines/com/sap/python36/operators/com/poc/qualtrics/exportResponses/configSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-06/schema#", 3 | "$id": "http://sap.com/vflow/com.poc.qualtrics.exportResponses.configSchema.json", 4 | "type": "object", 5 | "properties": { 6 | "apiToken": { 7 | "title": "API token", 8 | "type": "string", 9 | "format": "password" 10 | }, 11 | "dataCenter": { 12 | "title": "Data Center", 13 | "type": "string" 14 | }, 15 | "surveyID": { 16 | "title": "Survey ID", 17 | "type": "string" 18 | }, 19 | "startDate": { 20 | "title": "Start Date and Time for initial export", 21 | "description": "Start Date and Time field from which to initially extract the survey responses", 22 | "type": "string", 23 | "format": "date-time" 24 | }, 25 | "recurrence": { 26 | "title": "Recurrence (in minutes)", 27 | "description": "Recurrence to download the responses in minutes", 28 | "type": "integer" 29 | }, 30 | "codelanguage": { 31 | "type": "string" 32 | }, 33 | "script": { 34 | "type": "string" 35 | } 36 | }, 37 | "required": [ 38 | "apiToken", 39 | "dataCenter", 40 | "surveyID" 41 | ] 42 | } -------------------------------------------------------------------------------- /QualtricsIntegration/src/qualtrics-1.0.0/content/files/vflow/subengines/com/sap/python36/operators/com/poc/qualtrics/getResponse/README.md: -------------------------------------------------------------------------------- 1 | Get Response 2 | === 3 | 4 | Operator designed to extract a full response from a Qualtrics survey, provided its ID. Ideally used with with an API receiving response IDs from Qualtrics. 5 | 6 | Configuration parameters 7 | --- 8 | 9 | - `API token`: Qualtrics API token, obtained from your Qualtrics account 10 | - `Data Center`: Your Qualtrics account's data center. It's in the format `.qualtrics.com` 11 | - `Survey ID`: The ID of the Qualtrics survey 12 | 13 | Input 14 | --- 15 | 16 | - `responseID (string)`: a json string with the response ID in format `{'responseID': response-id}`. 17 | 18 | Output 19 | --- 20 | 21 | - `response (string)`: CSV string of the full response, provided by Qualtrics 22 | 23 |
24 | -------------------------------------------------------------------------------- /QualtricsIntegration/src/qualtrics-1.0.0/content/files/vflow/subengines/com/sap/python36/operators/com/poc/qualtrics/getResponse/configSchema.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-06/schema#", 3 | "$id": "http://sap.com/vflow/com.poc.qualtrics.getResponse.configSchema.json", 4 | "type": "object", 5 | "properties": { 6 | "apiToken": { 7 | "key": "apiToken", 8 | "name": "apiToken", 9 | "type": "string", 10 | "title": "API Token", 11 | "isRequired": true, 12 | "isVisible": true, 13 | "format": "password" 14 | }, 15 | "dataCenter": { 16 | "key": "datacenterID", 17 | "name": "datacenterID", 18 | "type": "string", 19 | "title": "Data Center", 20 | "isRequired": true, 21 | "isVisible": true 22 | }, 23 | "surveyID": { 24 | "key": "surveyID", 25 | "name": "surveyID", 26 | "type": "string", 27 | "title": "Survey ID", 28 | "isRequired": true, 29 | "isVisible": true 30 | }, 31 | "codelanguage": { 32 | "key": "codelanguage", 33 | "name": "codelanguage", 34 | "type": "string", 35 | "isVisible": true 36 | }, 37 | "script": { 38 | "key": "script", 39 | "name": "script", 40 | "type": "string", 41 | "isVisible": true 42 | } 43 | }, 44 | "required": [ 45 | "apiToken", 46 | "dataCenter", 47 | "surveyID" 48 | ] 49 | } -------------------------------------------------------------------------------- /QualtricsIntegration/src/qualtrics-1.0.0/content/files/vflow/subengines/com/sap/python36/operators/com/poc/qualtrics/getResponse/operator.json: -------------------------------------------------------------------------------- 1 | {"description":"Get Single Response","component":"com.sap.system.python3Operator","inports":[{"name":"responseID","type":"string"}],"outports":[{"name":"response","type":"string"}],"iconsrc":"qualtrics-xm-long.svg","config":{"$type":"http://sap.com/vflow/com.poc.qualtrics.getResponse.configSchema.json","script":"import requests\nimport json\nfrom io import StringIO\nimport csv\n\ndef jsonToCsv(data):\n output = StringIO()\n writer = csv.DictWriter(output, data[0].keys())\n writer.writeheader()\n \n for row in data:\n writer.writerow(row)\n \n return output\n\napiToken = api.config.apiToken\nsurveyID = api.config.surveyID\ndataCenter = api.config.dataCenter\n\ndef on_input(sResponseID):\n oResponseID = json.loads(sResponseID)\n responseID = oResponseID[\"responseID\"]\n baseUrl = \"https://{0}.qualtrics.com/API/v3/surveys/{1}/responses/{2}\".format(dataCenter, surveyID, responseID)\n headers = {\n \"accept\": \"application/json\",\n \"x-api-token\": apiToken\n }\n\n requestUrl = baseUrl\n downloadRequestResponse = requests.request(\"GET\", requestUrl, headers=headers)\n print(downloadRequestResponse.text)\n responseValues = downloadRequestResponse.json()[\"result\"][\"values\"]\n csvValues = jsonToCsv([responseValues]).getvalue()\n\n api.send(\"response\", csvValues)\n\napi.set_port_callback(\"responseID\", on_input)"},"tags":{"qualtrics":""}} -------------------------------------------------------------------------------- /QualtricsIntegration/src/qualtrics-1.0.0/manifest.json: -------------------------------------------------------------------------------- 1 | {"name":"qualtrics","version":"1.0.0","format":"2","dependencies":[]} -------------------------------------------------------------------------------- /SampleData/HANA/ProductMasterdata/HANA_export.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SAP-samples/datahub-integration-examples/d13354a567c37fbc23a9d7f35904d0d878238cad/SampleData/HANA/ProductMasterdata/HANA_export.tar.gz --------------------------------------------------------------------------------