GithubHelp home page GithubHelp logo

sap-samples / s4hana-ext-migrate-historical-data Goto Github PK

View Code? Open in Web Editor NEW
3.0 6.0 3.0 121 KB

SAP Extensibility Explorer example: Migrated Sales Order Data.

Home Page: http://tiny.cc/s4-migrate-historic-data

License: Apache License 2.0

Java 78.43% FreeMarker 1.52% JavaScript 18.50% HTML 1.55% Fluent 0.01%
sample s4hana migration sample-code sap-s4hana-cloud

s4hana-ext-migrate-historical-data's Introduction

REUSE status

SAP S/4HANA Cloud Extensions - Migrated Sales Order Data

This repository contains the sample code for the Migrated Sales Order Data tutorial.

This code is only one part of the tutorial, so please follow the tutorial before attempting to use this code.

Description

The Migrated Sales Order Data tutorial showcases an extension to an SAP S/4HANA Cloud system. The scenario contains a simple sales order UI app that displays historical data of sales orders and other documents that have been migrated from a legacy system to another database system. This app allows you to perform search, filter, and sort operations on the data. Additionally, you can export the data to a Microsoft Excel file. A user with the admin role can also import historical sales order data using the import functionality.

SAP Extensibility Explorer

This tutorial is one of multiple tutorials that make up the SAP Extensibility Explorer for SAP S/4HANA Cloud. SAP Extensibility Explorer is a central place where anyone involved in the extensibility process can gain insight into various types of extensibility options. At the heart of SAP Extensibility Explorer, there is a rich repository of sample scenarios which show, in a hands-on way, how to realize an extensibility requirement leveraging different extensibility patterns.

Requirements

  • An account in SAP Business Technology Platform (BTP) with a subaccount in the Cloud Foundry environment and Enterpise Messaging, Authorization & Trust Management services enabled or an account in SAP Business Technology Platform (BTP) with a subaccount in the Neo environment, an SAP Business Technology Platform (BTP) Java server of any size and Data Management service (SAP HANA or SAP ASE) enabled.
  • Java SE 8 Development Kit (JDK) and Apache Maven to build the application.
  • Cloud Foundry Command Line Interface (CF CLI) tool in case you want to deploy the application to Cloud Foundry.

Download and Installation

This repository is a part of the Download the Application step in the tutorial. Instructions for use can be found in that step.

Known issues

There are no known major issues.

How to obtain support

If you have issues with this sample, please open a report using GitHub issues.

License

Copyright © 2024 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

s4hana-ext-migrate-historical-data's People

Contributors

allen-1607 avatar allen-develops avatar amritanshukr avatar btbernard avatar grenik avatar jonathanbaker7 avatar ksati avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

s4hana-ext-migrate-historical-data's Issues

hdi-deployer issue

Hello,
i got error when i tried to deploy app-cf/db to BTP, after research by myself, i found one solution, so i changed package.json as
{
"name": "hdi-deployer",
"dependencies": {
"@sap/hdi-deploy": "latest"
},
"cds": {
"hana": {
"deploy-format": "hdbtable",
"syntax": "hdi"
},
"requires": {
"db": {
"kind": "hana"
}
}
},
"scripts": {
"start": "node node_modules/@sap/hdi-deploy/deploy.js"
}
}
but i still got some problem from hdbcds file....

here are the logs from: cf logs hdi-deployer --recent.

2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: "src/GENERICDOCUMENT.hdbcds": could
not create a compile unit for the file [8211714]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT at "src/GENERICDOCUMENT.hdbcds" (0:0)
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Could not find the "com.sap.hana.di.cds" build plugin [8210501]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Adding "src/GENERICDOCUMENT.hdbcds"
for deploy... failed [8211700]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Preparing... failed [8211602]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Preparing the make transaction... ok (0s 69ms)
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Make failed (5 errors, 11 warnings): tried
to deploy 15 files, undeploy 0 files, redeploy 0 dependent files
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Making... failed [8211605]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Error: Starting make in the container "A7354C3FBBD641C5A659C0E4ADBAE87A" with 15 files to deploy, 0 files to undeploy... failed [8214168]
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] ERR Deployment to container A7354C3FBBD641C5A659C0E4ADBAE87A failed - error: HDI make failed [Deployment ID: none].
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT Deployment ended at 2022-01-19 21:15:25
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] ERR Error: HDI make failed
2022-01-19T22:15:25.18+0100 [APP/PROC/WEB/0] OUT (2s 589ms)
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice New minor version of npm available! 8.0.0 -> 8.3.1
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.3.1
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice Run npm install -g [email protected] to update!
2022-01-19T22:15:25.19+0100 [APP/PROC/WEB/0] ERR npm notice
2022-01-19T22:15:25.21+0100 [APP/PROC/WEB/0] OUT Exit status 1
2022-01-19T22:15:30.48+0100 [CELL/0] OUT Cell 4e734e31-d9cc-4b4a-9f8b-948875132f7c stopping instance 8364a985-d710-428b-510e-6df6
2022-01-19T22:15:30.48+0100 [CELL/0] OUT Cell 4e734e31-d9cc-4b4a-9f8b-948875132f7c destroying container for instance 8364a985-d710-428b-510e-6df6
2022-01-19T22:15:30.50+0100 [API/0] OUT Process has crashed with type: "web"
2022-01-19T22:15:30.53+0100 [API/0] OUT App instance exited with guid 51090ebb-e358-48c1-bcc1-b486f178fa3b payload: {"instance"=>"8364a985-d710-428b-510e-6df6", "index"=>0, "cell_id"=>"4e734e31-d9cc-4b4a-9f8b-948875132f7c", "reason"=>"CRASHED", "exit_description"=>"APP/PROC/WEB: Exited with status 1", "crash_count"=>5, "crash_timestamp"=>1642626930479906185, "version"=>"f0e23ec7-1ff8-40a8-967d-64c35de58f29"}
2022-01-19T22:15:30.71+0100 [PROXY/0] OUT Exit status 137
2022-01-19T22:15:31.59+0100 [CELL/0] OUT Cell 4e734e31-d9cc-4b4a-9f8b-948875132f7c successfully destroyed container for instance 8364a985-d710-428b-510e-6df6
PS C:\Users\yhu\OneDrive - PM S.A.S\Documents\VS_Code\workspace\Migrated Sales Order Data\s4hana-ext-migrate-historical-data\app-cf\db>

Not able to deploy the application as per solution steps

Hi Team,

I am using HANA cloud Foundry to deploy this application as per the steps mentioned in this tutorial. However getting the error in the step Deploy the Application , where I am executing cf push command in db folder of the application but databse schema is not getting created. Attached here log file.
Also the refer the SAP incident 509317 / 2021 created for this issue?

Could you please help me to find out the issue and deploy the application?

error_log_from_cmd_prompt.txt
Thank You
Saurabh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.