Following the SAP Cloud Application Programming Model documentation on Mocking App Services this project provides a standalone mock service for the S/4HANA Business Partner based on the Business Partner (A2X) API. The API is not only served as OData V4, but also as OData V2 using the @sap/cds-odata-v2-adapter-proxy.
- Open a new terminal and run
npm i
to install all dependencies - Then run
npm run deploy:local
to create and fill the sqlite database - Then start the application with
npm start
and head over to http://localhost:4004
Currently using $expand i.e. at A_BusinessPartner with to_BusinessPartnerAddress does not work.