sap-btp-business-application-studio
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSAP Business Application Studio
SAP Business Application Studio
Table of Contents
目录
Overview
概述
SAP Business Application Studio is a cloud-based IDE on SAP BTP built on Code-OSS (VS Code foundation). It provides tailored dev spaces for SAP Fiori, CAP, HANA, and mobile development with pre-installed tools and runtimes.
Architecture: Multi-cloud SaaS (AWS, Azure, GCP) with isolated dev spaces functioning as Developer Virtual Appliances.
SAP Business Application Studio是基于Code-OSS(VS Code基础)构建、运行在SAP BTP上的云原生IDE。它为SAP Fiori、CAP、HANA和移动应用开发提供定制化的开发空间,预装了相关工具和运行时环境。
架构:多云SaaS(AWS、Azure、GCP),隔离的开发空间充当开发者虚拟设备。
Quick Decision Tree
快速决策树
Setting up BAS? → See Setup Checklist
Creating a dev space? → See Dev Space Types
Connecting to external systems? → See Connectivity
Deploying applications? → See Build & Deploy
Working with Git? → See
Project creation/development? → See
Service Center/Extensions? → See
Troubleshooting? → See
references/git-operations.mdreferences/development-workflow.mdreferences/service-center-and-tools.mdreferences/connectivity-guide.mdSetup Checklist
设置检查清单
Prerequisites
前提条件
- SAP BTP global account
- Subaccount in Cloud Foundry environment
- SAP BTP全球账户
- Cloud Foundry环境下的子账户
Steps
步骤
- Create Subaccount - Select region based on availability
- Configure Entitlements - Add SAP Business Application Studio service plan
- Subscribe - Complete subscription in subaccount
- Assign Roles - Add role collection
Business_Application_Studio_Developer - Optional: Configure IdP - Set up assertion-based attribute mapping
- Optional: Connect Git - Link to public or corporate repositories
- Optional: Create CF Spaces - At least 1 space per development team
For detailed setup: See
references/setup-checklist.md- 创建子账户 - 根据可用区域选择区域
- 配置权限配额 - 添加SAP Business Application Studio服务计划
- 完成订阅 - 在子账户中完成订阅操作
- 分配角色 - 添加角色集合
Business_Application_Studio_Developer - 可选:配置身份提供商(IdP) - 设置基于断言的属性映射
- 可选:连接Git - 关联公共或企业仓库
- 可选:创建CF空间 - 每个开发团队至少创建1个空间
详细设置步骤:查看
references/setup-checklist.mdDev Space Types
开发空间类型
| Type | Purpose | Key Extensions |
|---|---|---|
| SAP Fiori | Fiori apps (CF, ABAP Cloud, on-prem) | SAP Fiori Tools, SAPUI5 Layout Editor, MTA Tools |
| Full Stack Cloud Application | CAP with Node.js/Java + Fiori | CAP Tools, CDS Graphical Modeler, Java Tools |
| Full-Stack Application Using Productivity Tools | Low-code development | Productivity Tools, CAP Tools, Mobile Services |
| SAP HANA Native Application | Native HANA apps, calculation views | HANA Tools, Calculation View Editor, SDI Tools |
| SAP Mobile Application | iOS/Android with MDK | Mobile Services Tools, HTML5 Runner |
| SAP SME Business Application | SME apps with Business Application Factory | SME programming model tools |
| Basic | Minimal environment | SAP Basic Tools only |
For extension details: See
references/dev-space-types.md| 类型 | 用途 | 核心扩展 |
|---|---|---|
| SAP Fiori | 开发Fiori应用(CF、ABAP Cloud、本地部署) | SAP Fiori Tools、SAPUI5 Layout Editor、MTA Tools |
| Full Stack Cloud Application | 基于Node.js/Java的CAP + Fiori全栈开发 | CAP Tools、CDS图形建模器、Java Tools |
| Full-Stack Application Using Productivity Tools | 低代码开发 | 生产力工具、CAP Tools、移动服务工具 |
| SAP HANA Native Application | 原生HANA应用、计算视图开发 | HANA Tools、计算视图编辑器、SDI Tools |
| SAP Mobile Application | 基于MDK的iOS/Android应用开发 | 移动服务工具、HTML5运行器 |
| SAP SME Business Application | 基于Business Application Factory的中小企业应用开发 | 中小企业编程模型工具 |
| Basic | 极简开发环境 | 仅包含SAP基础工具 |
扩展详情:查看
references/dev-space-types.mdService Plans
服务计划
| Plan | Dev Spaces | Running | Storage | Notes |
|---|---|---|---|---|
| Standard | 10 | 2 | 10 GB | Production development |
| Free | 2 | 1 | 4 GB | Community support only, 2 deployments max |
| Trial | 2 | 1 | 4 GB | 1-hour timeout, 30-day inactivity deletion |
| Build-Code | Varies | Varies | Varies | Requires SAP Build Code subscription |
For restrictions: See
references/service-plans.md| 计划 | 开发空间数量 | 可同时运行数量 | 存储空间 | 说明 |
|---|---|---|---|---|
| Standard | 10 | 2 | 10 GB | 生产环境开发 |
| Free | 2 | 1 | 4 GB | 仅社区支持,最多2次部署 |
| Trial | 2 | 1 | 4 GB | 1小时超时,30天无活动将被删除 |
| Build-Code | 按需分配 | 按需分配 | 按需分配 | 需要SAP Build Code订阅 |
限制说明:查看
references/service-plans.mdConnectivity
连接配置
Required Destination Properties
必需的目标配置属性
WebIDEEnabled = true
HTML5.DynamicDestination = trueWebIDEEnabled = true
HTML5.DynamicDestination = trueWebIDEUsage by System Type
按系统类型划分的WebIDEUsage取值
| System Type | WebIDEUsage Value |
|---|---|
| ABAP System | |
| SAP Cloud for Customer | |
| Service URL | |
| SAP Business Accelerator Hub | |
| 系统类型 | WebIDEUsage取值 |
|---|---|
| ABAP系统 | |
| SAP Cloud for Customer | |
| 服务URL | |
| SAP Business Accelerator Hub | |
Cloud Connector Requirements (On-Premise)
云连接器(Cloud Connector)要求(本地系统)
- Virtual URL in Cloud Connector must match destination URL (host:port only)
- Protocol must be HTTP
- Grant access to required paths:
- (OData services)
/sap/opu/odata/ - (UI5 resources)
/sap/bc/ui5_ui5/ - (ABAP Development Tools)
/sap/bc/adt/ - (App index)
/sap/bc/ui2/app_index/
For troubleshooting: See
references/connectivity-guide.md- 云连接器中的虚拟URL必须与目标配置URL匹配(仅主机:端口)
- 协议必须为HTTP
- 授予以下路径访问权限:
- (OData服务)
/sap/opu/odata/ - (UI5资源)
/sap/bc/ui5_ui5/ - (ABAP开发工具)
/sap/bc/adt/ - (应用索引)
/sap/bc/ui2/app_index/
排查指南:查看
references/connectivity-guide.mdBuild & Deploy
构建与部署
Prerequisites
前提条件
- Log into Cloud Foundry account
- For HANA apps: Add "SAP HANA Cloud, SAP HANA Schemas & HDI Containers" entitlement
- For Trial/Free: Add "SAP Build Work Zone, standard edition" + Launchpad_Admin role
- 登录Cloud Foundry账户
- 开发HANA应用:添加“SAP HANA Cloud, SAP HANA Schemas & HDI Containers”权限配额
- 使用试用版/免费版:添加“SAP Build Work Zone, standard edition” + Launchpad_Admin角色
MTA Deployment
MTA部署
bash
undefinedbash
undefinedBuild MTA archive
Build MTA archive
mbt build
mbt build
Deploy to Cloud Foundry
Deploy to Cloud Foundry
cf deploy mta_archives/<app>.mtar
undefinedcf deploy mta_archives/<app>.mtar
undefinedKey Tools
核心工具
- MTA Editor: Visual editing of
mta.yaml - Cloud Foundry CLI: commands for deployment
cf - Cloud MTA Build Tool: Generates files
.mtar - Task Explorer: Execute build/deploy tasks
- MTA编辑器:可视化编辑
mta.yaml - Cloud Foundry CLI:使用命令进行部署
cf - Cloud MTA构建工具:生成文件
.mtar - 任务资源管理器(Task Explorer):执行构建/部署任务
Roles & Authorization
角色与权限
| Role | Purpose |
|---|---|
| Developer | |
| Administrator | Export/delete user data, restart dev spaces |
| Extension Deployer | Create and deploy custom extensions |
Assign via: SAP BTP Cockpit → Security → Role Collections
| 角色 | 用途 |
|---|---|
| 开发者 | |
| 管理员 | 导出/删除用户数据、重启开发空间 |
| 扩展部署者 | 创建并部署自定义扩展 |
分配路径:SAP BTP控制台 → 安全 → 角色集合
Common Issues
常见问题
Dev Space Stuck in STARTING
开发空间卡在STARTING状态
- Wait 5 minutes
- If persists, start new dev space and restore via Git
- Contact support with workspace ID (ws-id)
- 等待5分钟
- 若仍未解决,创建新开发空间并通过Git恢复
- 联系支持并提供工作区ID(ws-id)
Connectivity Failures
连接失败
- Verify destination in BTP Cockpit (WebIDEEnabled, HTML5.DynamicDestination)
- Check Cloud Connector configuration
- Run in terminal: then
curl localhost:8887/reloadcurl $H2O_URL/api/listDestinations -o dests.json
- 在BTP控制台验证目标配置(WebIDEEnabled、HTML5.DynamicDestination)
- 检查云连接器配置
- 在终端执行:然后执行
curl localhost:8887/reloadcurl $H2O_URL/api/listDestinations -o dests.json
Storage/Inode Issues
存储/Inode问题
bash
df -ih # Check inodes
df -h # Check disk spaceRemove cache folders and unnecessary files.
bash
df -ih # Check inodes
df -h # Check disk space删除缓存文件夹和不必要的文件。
HANA Connection Issues
HANA连接问题
Configure SAP HANA Cloud to allow BAS IP addresses. See Availability for region IPs.
配置SAP HANA Cloud以允许BAS的IP地址。查看可用区域获取区域IP列表。
Keyboard Shortcuts
键盘快捷键
| Action | Shortcut |
|---|---|
| Command Palette | |
| Select parent control | |
| Move control up | |
| Move control down | |
| 操作 | 快捷键 |
|---|---|
| 命令面板 | |
| 选择父控件 | |
| 向上移动控件 | |
| 向下移动控件 | |
Security Recommendations
安全建议
- BTP-BAS-0001: Limit administrators with full management permissions
- Use Personal Access Tokens (PATs) for Git authentication
- Protect connections to external systems
- Avoid personal data in source files when using Joule AI
- BTP-BAS-0001:限制拥有完整管理权限的管理员数量
- 使用个人访问令牌(PAT)进行Git身份验证
- 保护与外部系统的连接
- 使用Joule AI时避免在源文件中包含个人数据
Reference Files
参考文件
- - Detailed dev space extensions and capabilities
references/dev-space-types.md - - Complete connectivity troubleshooting
references/connectivity-guide.md - - Plan restrictions and metering
references/service-plans.md - - Detailed setup procedures
references/setup-checklist.md - - Git commands, stash, authentication, Gerrit
references/git-operations.md - - Project creation, UI development, debugging, CI/CD
references/development-workflow.md - - Service providers, extensions, IDE features
references/service-center-and-tools.md
- - 开发空间扩展与功能详情
references/dev-space-types.md - - 完整连接排查指南
references/connectivity-guide.md - - 服务计划限制与计量
references/service-plans.md - - 详细设置步骤
references/setup-checklist.md - - Git命令、暂存、身份验证、Gerrit
references/git-operations.md - - 项目创建、UI开发、调试、CI/CD
references/development-workflow.md - - 服务提供商、扩展、IDE功能
references/service-center-and-tools.md
Bundled Resources
内置资源
Reference Documentation
参考文档
- - Complete connectivity setup guide
references/connectivity-guide.md - - All dev space types and use cases
references/dev-space-types.md - - Git integration and operations
references/git-operations.md - - Service Center and tool management
references/service-center-and-tools.md - - Service plans comparison and selection
references/service-plans.md - - Complete setup checklist
references/setup-checklist.md - - Development workflow and best practices
references/development-workflow.md
- - 完整连接设置指南
references/connectivity-guide.md - - 所有开发空间类型与使用场景
references/dev-space-types.md - - Git集成与操作
references/git-operations.md - - 服务中心与工具管理
references/service-center-and-tools.md - - 服务计划对比与选择
references/service-plans.md - - 完整设置检查清单
references/setup-checklist.md - - 开发工作流与最佳实践
references/development-workflow.md
Templates
模板
- - Destination configuration examples
templates/destination-config.md - - Dev space creation checklist
templates/dev-space-setup.md
- - 目标配置示例
templates/destination-config.md - - 开发空间创建检查清单
templates/dev-space-setup.md
Documentation Links
文档链接
| Resource | URL |
|---|---|
| SAP Help Portal | https://help.sap.com/docs/bas |
| GitHub Docs Source | https://github.com/SAP-docs/sap-btp-business-application-studio |
| Discovery Center | https://discovery-center.cloud.sap/serviceCatalog/business-application-studio |
| Availability/IPs | https://help.sap.com/docs/bas/sap-business-application-studio/sap-business-application-studio-availability |
Last Verified: 2025-11-27
Source: SAP-docs/sap-btp-business-application-studio (145+ docs)
最后验证时间:2025-11-27
来源:SAP-docs/sap-btp-business-application-studio(145+份文档)