{"id":16163364,"url":"https://github.com/gregorwolf/sap-graph-client","last_synced_at":"2025-10-08T00:40:04.154Z","repository":{"id":149537001,"uuid":"451231535","full_name":"gregorwolf/sap-graph-client","owner":"gregorwolf","description":"SAP Graph Client","archived":false,"fork":false,"pushed_at":"2024-04-15T08:45:50.000Z","size":1183,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-05-02T06:04:51.662Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregorwolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-23T21:09:54.000Z","updated_at":"2024-08-08T15:07:53.273Z","dependencies_parsed_at":"2024-01-05T13:49:55.646Z","dependency_job_id":"2c76658b-c3d9-4dc7-ba0f-578b9b699fb1","html_url":"https://github.com/gregorwolf/sap-graph-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fsap-graph-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fsap-graph-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fsap-graph-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fsap-graph-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregorwolf","download_url":"https://codeload.github.com/gregorwolf/sap-graph-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247591860,"owners_count":20963414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T02:35:22.503Z","updated_at":"2025-10-08T00:40:04.051Z","avatar_url":"https://github.com/gregorwolf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SAP BTP Integration Suite - Graph\n\n## Setup Graph\n\n- Get a SAP BTP Trial Account\n- Activate Integration Suite\n- Assign yourself the Role Collection `Integration_Provisioner`\n- Navigate to the Integration Suite Tenant\n- Add the Capability 'API Management' and tick the checkbox for 'API Business Hub Enterprise' which then allows you to also activate 'Graph'\n- Assign yourself the Role Collections `Graph.KeyUser` and `GraphNavigator.Viewer`\n- Get your api.sap.com APIKey from https://api.sap.com/settings. Import the `API-Sandbox-S4HANACloud` Destination template into your BTP Subaccount\n- Maintain the APIKey in the `API-Sandbox-S4HANACloud` Destination using the additional parameter `URL.headers.apikey`\n- Now you can Navigate to Integration Suite -\u003e Design -\u003e Graph\n- Create a new Graph from File and use `graph/s4hana.json`\n- To consume the Graph create an instance of sap-graph with the api plan in your BTP Subaccount\n- Create a service key in that instance\n- Maintain the credentials in `test/.env` here is the template:\n\n```\ngraph_clientid=\ngraph_clientsecret=\"\"\ngraph_tokenendpoint=\ngraph_uri=\ngraph_name=s4hc\n```\n\nTest the Graph with the REST Client Scripts for\n\n- OData V4: `test/graph-odata.http`\n- GraphQL: `test/graph-graphql.http`\n\n## Client\n\nBased on the blog posts:\n\n- [Part 2: Hello Graph! Write your first SAP Graph application](https://blogs.sap.com/2021/06/15/part-2-hello-graph-write-your-first-sap-graph-application/)\n- [Part 3: Use SAP Graph securely with real data – authentication](https://blogs.sap.com/2021/06/25/part-3-use-sap-graph-securely-with-real-data-authentication/)\n- [Part 5: Use SAP Graph with your own data](https://blogs.sap.com/2022/01/18/part-5-use-sap-graph-with-your-own-data/)\n\n### Setup\n\nFollow [Part 5: Use SAP Graph with your own data](https://blogs.sap.com/2022/01/18/part-5-use-sap-graph-with-your-own-data/) and download the credentials to **src/credentials.json**. Then you can start with:\n\n```\nnpm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorwolf%2Fsap-graph-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregorwolf%2Fsap-graph-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorwolf%2Fsap-graph-client/lists"}