{"id":24569726,"url":"https://github.com/gregorwolf/cap-rfc","last_synced_at":"2025-08-22T06:34:27.750Z","repository":{"id":268139816,"uuid":"903438837","full_name":"gregorwolf/cap-rfc","owner":"gregorwolf","description":"CAP RFC","archived":false,"fork":false,"pushed_at":"2025-04-11T13:28:28.000Z","size":418,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T14:48:23.121Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CAP CDS","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,"zenodo":null}},"created_at":"2024-12-14T15:54:32.000Z","updated_at":"2025-04-11T13:28:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"abd324a7-2c8f-44de-8357-48bf22e470da","html_url":"https://github.com/gregorwolf/cap-rfc","commit_stats":null,"previous_names":["gregorwolf/cap-rfc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fcap-rfc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fcap-rfc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fcap-rfc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fcap-rfc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregorwolf","download_url":"https://codeload.github.com/gregorwolf/cap-rfc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250314890,"owners_count":21410469,"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":"2025-01-23T15:55:56.717Z","updated_at":"2025-04-22T19:53:29.306Z","avatar_url":"https://github.com/gregorwolf.png","language":"CAP CDS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CAP with RFC\n\n## Preperation\n\nIf you can reach the ABAP backend system from your network then you can configure the connection details in an `.env` file:\n\n```\ncds.requires.SAP_ABAP_BACKEND_RFC.credentials={\"ashost\": \"\u003cfqdn\u003e\",\"client\": \"001\",\"sysnr\": \"00\",  \"user\": \"\u003cusername\u003e\",  \"passwd\": \"\u003cpassword\u003e\"}\n```\n\nThe package @sap-rfc/node-rfc-library is provided via the [Repository-Based Shipment Channel](https://help.sap.com/docs/RBSC/0a64be17478d4f5ba45d14ab62b0d74c/175673b12feb41739df4f041db52fe76.html). The Product Name used is [SPA BAPI NODE LIBRARY](https://ui.repositories.cloud.sap/www/webapp/licenses/73554900100900009091). You have to [define a user](https://ui.repositories.cloud.sap/www/webapp/users) for the Repository-Based Shipment Channel and set it by running:\n\n```bash\nexport SAP_NPM_AUTH=\"\u003cNPM Base64 Credentials\u003e\"\n```\n\n## Connect to the ABAP backend system via a Cloud Connector in SAP Business Application Studio (BAS)\n\nCreate a `.cdsrc-private.json` file in the root folder of your project with the following structure and fill it with the values also maintained in the Subaccount Destination:\n\n```json\n{\n  \"requires\": {\n    \"SAP_ABAP_BACKEND_RFC\": {\n      \"credentials\": {\n        \"destinationBack\": \"\",\n        \"connectivity_subaccount\": \"\u003cSubaccount GUID\u003e\",\n        \"connectivity_proxy_host\": \"localhost\",\n        \"connectivity_proxy_port\": \"\",\n        \"ashost\": \"\",\n        \"client\": \"\",\n        \"sysnr\": \"\",\n        \"connectivity_location_id\": \"\",\n        \"user\": \"\",\n        \"passwd\": \"\"\n      }\n    }\n  }\n}\n```\n\n## Add additional RFC enabled function modules\n\n```bash\ncds import --from rfc --as cds --name BAPI_USER_GET_DETAIL --destination SAP_ABAP_BACKEND_RFC\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorwolf%2Fcap-rfc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregorwolf%2Fcap-rfc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorwolf%2Fcap-rfc/lists"}