SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

forsap-s4hana-private-simulator

A CAP project standing in for S/4HANA Private Edition OData APIs on localhost, serving API_BUSINESS_PARTNER's A_Supplier entity over OData V4 and, through an adapter, V2.

Development against an S/4HANA API without an S/4HANA system to reach. It serves V4 from CAP and V2 through @cap-js-community/odata-v2-adapter, so a consumer built for either protocol has something to talk to. One entity so far; the README is in Portuguese.

Facts

Latestv0.1.0ReleasedLast pushLicenceMIT

Where it sits

Lives in
Demonstrates
Local developmentCAPLocal developmentcapabilityRunning the whole stack on a laptop against real bindings — the service, the UI and the routing in front of it — without deploying to see a change.
Flavors
Node.jsfrom its runtime
Requires
@cap-js-community/odata-v2-adapter@cap-js-community/odata-v2-adapterartifactNamed as a dependency in its documentation.

Who is behind it

Vinicius Cesar DiasVinicius Cesar DiasPersonMaintains this
In the atlas: maintains 1, contributes to 1
@vcd94xt10z
maintainer

What it declares

Every artifact

Type
Sample
Origin
Independently maintained
Runtime
Node.js

As a sample

Form
A reference application

Connections2

forsap-s4hana-private-simulator connectionsforsap-s4hana-private-simulatorPROVIDES→ demonstrates1demonstrates authoredLocal developmentNEEDS→ needs1needs authored@cap-js-community/odata-v2-adapter

Install

npm add forsap-s4hana-private-simulator

Derived from the package name. No recipe recorded; the README has the configuration.

README

quoted from vcd94xt10z/forsap-s4hana-private-simulator under MIT, read
vcd94xt10z/forsap-s4hana-private-simulator/README.mdOn GitHub

forsap-s4hana-private-simulator

Simulador local de APIs OData do SAP S/4HANA Private Edition, iniciado com a API API_BUSINESS_PARTNER e a entidade A_Supplier.

Pré-requisitos

  • Node.js 22+
  • SAP CDS Development Kit 10+

Instalação

npm install

Execução

npm run watch

Endpoints atuais

OData V4 do CAP:

http://localhost:4004/odata/v4/API_BUSINESS_PARTNER/A_Supplier

OData V2 compatível com a URL da API standard:

http://localhost:4004/sap/opu/odata/sap/API_BUSINESS_PARTNER/$metadata
http://localhost:4004/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_Supplier

Exemplos:

http://localhost:4004/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_Supplier?$select=Supplier,SupplierName
http://localhost:4004/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_Supplier?$filter=SupplierName eq 'Fornecedor ABC'
http://localhost:4004/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_Supplier?$filter=contains(SupplierName,'ABC')&$select=Supplier,SupplierName
http://localhost:4004/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_Supplier?$orderby=SupplierName asc&$top=3
http://localhost:4004/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_Supplier?$inlinecount=allpages

O endpoint V2 é implementado diretamente no mesmo servidor HTTP e acessa o banco SQLite. Ele não faz uma chamada HTTP para o endpoint V4.

MIT, read

History

Latest

v0.1.0

2downloads per week, npm
Weekly downloads for forsap-s4hana-private-simulator26 complete calendar weeks from 2026-04-20 to 2026-10-18; the latest total is 2.20 Apr – 26 Apr: 027 Apr – 3 May: 04 May – 10 May: 011 May – 17 May: 018 May – 24 May: 025 May – 31 May: 01 Jun – 7 Jun: 08 Jun – 14 Jun: 015 Jun – 21 Jun: 022 Jun – 28 Jun: 029 Jun – 5 Jul: 06 Jul – 12 Jul: 013 Jul – 19 Jul: 020 Jul – 26 Jul: 027 Jul – 2 Aug: 03 Aug – 9 Aug: 010 Aug – 16 Aug: 15117 Aug – 23 Aug: 2524 Aug – 30 Aug: 1331 Aug – 6 Sept: 47 Sept – 13 Sept: 514 Sept – 20 Sept: 721 Sept – 27 Sept: 628 Sept – 4 Oct: 55 Oct – 11 Oct: 312 Oct – 18 Oct: 2

Details

Sources4
npm registrydiscovered here, keywords:sap-capchecked
npm registry, forsap-s4hana-private-simulatorversion, releases, installschecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
runtimesnode
latestv0.1.0
first release
releases and cadence1
discovered vianpm registry · keywords:sap-cap
first seen in the atlas
ecosystem and domaincap, developer-experience
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:vcd94xt10z-forsap-s4hana-private-simulator
JSON
/artifacts/vcd94xt10z-forsap-s4hana-private-simulator.json
MCP
Connecting an agent