Install
openclaw skills install sap-bah-openapi-backend-openclawReliable SAP Business Accelerator Hub API spec downloader for OpenClaw. Uses SAP_HUB_USERNAME and SAP_HUB_PASSWORD to log in through Playwright Chromium, downloads OpenAPI JSON/YAML and OData EDMX to /usr/download, validates payload signatures, and supports importing specs into APIConnectionToSAP categories.
openclaw skills install sap-bah-openapi-backend-openclawUse this skill to reliably download SAP API specification files from hub.sap.com.
Authentication:
SAP_HUB_USERNAMESAP_HUB_PASSWORDDownloaded files are written to:
/usr/download/<API_ID>_openapi.json/usr/download/<API_ID>_openapi.yaml/usr/download/<API_ID>_odata.edmxpython3 -m pip install playwright
python3 -m playwright install chromium
/usr/download.If needed:
sudo mkdir -p /usr/download
sudo chown "$USER":staff /usr/download
export SAP_HUB_USERNAME='your_user'
export SAP_HUB_PASSWORD='your_password'
Security note:
Run from repository root:
python3 Skills/sap-bah-openapi-backend-openclaw-upload-1.0.0/scripts/reliable_sap_hub_download.py \
--api-id WAREHOUSEORDER_0001
python3 Skills/sap-bah-openapi-backend-openclaw-upload-1.0.0/scripts/reliable_sap_hub_download.py \
--api-id WAREHOUSEORDER_0001 \
--api-id API_APAR_SEPA_MANDATE_SRV
python3 Skills/sap-bah-openapi-backend-openclaw-upload-1.0.0/scripts/reliable_sap_hub_download.py \
--api-id-file /path/to/api_ids.txt
api_ids.txt example:
WAREHOUSEORDER_0001
API_APAR_SEPA_MANDATE_SRV
sap-s4-CE_EBPPPAYMENTREQUEST_0001-v1
python3 Skills/sap-bah-openapi-backend-openclaw-upload-1.0.0/scripts/reliable_sap_hub_download.py \
--api-id WAREHOUSEORDER_0001 \
--retries 4 \
--timeout-seconds 90 \
--json-report /usr/download/sap_download_report.json
python3 Skills/sap-bah-openapi-backend-openclaw-upload-1.0.0/scripts/import_sap_hub_spec.py \
--category AccountsReceivable \
--pattern CONTRACTACCOUNT_0001 \
--mode copy
The downloader script automatically:
env mode, starts with a clean temporary browser profile.SAP_HUB_USERNAME and SAP_HUB_PASSWORD.$value endpoints.0: all requested files downloaded and validated.2: partial/complete failures (see JSON report/stdout report).scripts/reliable_sap_hub_download.pyscripts/import_sap_hub_spec.pyscripts/scaffold_backend_from_openapi.pyreferences/quickstart.md