btp-developer-guidelisted
Install: claude install-skill williamcorrea23/sap-router-skill
# SAP BTP Developer Guide
## 1. Choose Runtime
| Runtime | Best For | Languages |
|---|---|---|
| **Cloud Foundry** | CAP apps, microservices, stateless APIs | Node.js, Java, Python, Go |
| **Kyma** | Event-driven, custom Docker stacks | Any container |
| **ABAP Environment** | RAP Cloud extensions, Steampunk | ABAP (clean core) |
| **SAP Build** | Citizen dev, low-code process automation | LCNC |
## 2. CAP Quick Start
```bash
cds init my-project && cd cds-project
cds add mta && cds add app --ui5 && cds add sample
cds watch # http://localhost:4004
npx cds add xsuaa # authentication
npx cds add hana # production DB
mbt build # → mta_archives/*.mtar
cf deploy mta_archives/*.mtar
```
## 3. Integration Patterns
| Pattern | BTP Service | Protocol |
|---|---|---|
| REST/OData Proxy | API Management | HTTP |
| Async Events | Event Mesh | MQTT, CloudEvents |
| B2B/EDI | TPM | AS2, OFTP2 |
| File Transfer | CPI | SFTP |
| Scheduled Jobs | Job Scheduling | Cron-triggered REST |
## 4. CI/CD Pipeline
```yaml
# .pipeline/config.yml
stages:
- Build: mbt build
- Test: cds test --coverage
- Lint: eslint src/ && abaplint --format json
- Deploy DEV: cf deploy mta_archives/*.mtar -f
- Deploy PRD: manual approval → cf deploy mta_archives/*.mtar
```
## 5. Monitoring
| Service | What It Monitors |
|---|---|
| Cloud Logging | Centralized logs via OpenSearch + Kibana dashboards |
| Alert Notification | Proactive alerts