btp-abap-environment
Help with SAP BTP ABAP Environment setup and development including service instance creation, ADT connectivity, communication arrangements, communication scenarios, inbound/outbound services, destination configuration, identity and access management, software components, and first-project scaffolding. Use when users ask about BTP ABAP Environment, SAP BTP ABAP, Steampunk, ABAP environment service instance, ADT connection to BTP, communication arrangement, communication scenario, communication system, outbound communication, inbound communication, destination service, software component, ABAP system on BTP, or cloud ABAP development setup. Triggers include "set up BTP ABAP", "connect ADT to BTP", "communication arrangement", "communication scenario", "create service instance", "ABAP on BTP", "outbound service", or "first ABAP project on BTP".
likweitan · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add likweitan/abap-skills --skill btp-abap-environment技能说明
name: btp-abap-environment description: Help with SAP BTP ABAP Environment setup and development including service instance creation, ADT connectivity, communication arrangements, communication scenarios, inbound/outbound services, destination configuration, identity and access management, software components, and first-project scaffolding. Use when users ask about BTP ABAP Environment, SAP BTP ABAP, Steampunk, ABAP environment service instance, ADT connection to BTP, communication arrangement, communication scenario, communication system, outbound communication, inbound communication, destination service, software component, ABAP system on BTP, or cloud ABAP development setup. Triggers include "set up BTP ABAP", "connect ADT to BTP", "communication arrangement", "communication scenario", "create service instance", "ABAP on BTP", "outbound service", or "first ABAP project on BTP".
SAP BTP ABAP Environment
Guide for setting up and developing in the SAP BTP ABAP Environment (Steampunk).
Workflow
-
Determine the user's goal:
- Setting up a new ABAP Environment instance
- Connecting ADT to the BTP ABAP system
- Configuring communication arrangements for integrations
- Creating a first ABAP Cloud project
- Managing software components and packages
- Setting up outbound/inbound connectivity
-
Identify the phase:
- Initial provisioning and setup
- Developer onboarding
- Integration configuration
- Application development
-
Guide implementation step by step
Setup Overview
Prerequisites
| Requirement | Description |
|---|---|
| SAP BTP Account | Global account with entitlements for ABAP Environment |
| Subaccount | Cloud Foundry-enabled subaccount |
| ADT | Eclipse with ABAP Development Tools installed |
| User | Platform user with Space Developer role |
| Entitlements | abap/standard or abap/saas_oem service plan |
Service Instance Creation
- Navigate to BTP Cockpit → Subaccount → Cloud Foundry → Spaces
- Create service instance:
- Service: ABAP Environment
- Plan: standard
- Instance name: e.g.,
my-abap-instance
- Provide parameters (JSON):
{
"admin_email": "admin@example.com",
"description": "Development ABAP System",
"is_development_allowed": true,
"sapsystemname": "DEV",
"size_of_runtime": 1,
"size_of_persistence": 4
}
- Create a service key for ADT connectivity
Connecting ADT to BTP ABAP
- In Eclipse/ADT: File → New → ABAP Cloud Project
- Select SAP BTP ABAP Environment
- Enter the service key (JSON) or service instance URL
- Authenticate via browser (SAP Identity Authentication)
- Project is created — start developing
System Architecture
SAP BTP Subaccount
└── Cloud Foundry Space
└── ABAP Environment Service Instance
├── ABAP System (development/production)
├── Software Components (ZLOCAL, custom)
├── Communication Arrangements (integrations)
└── Business Services (OData, RFC)
Software Components
| Component | Description |
|---|---|
ZLOCAL | Local development — not transportable (like $TMP) |
| Custom | Transportable components — managed via gCTS or Manage Software Components app |
Creating a Software Component
- Open the Manage Software Components Fiori app
- Click Create (or use the
+button) - Enter:
- Name:
Z_MY_COMPONENT - Description: e.g., "My Custom Component"
- Type: Development
- Name:
- Clone the component to make it available in ADT
- Create packages within the component
Package Structure
Z_MY_COMPONENT (Software Component)
└── Z_MY_APP (Structure Package)
├── Z_MY_APP_MODEL (Sub-package: CDS views, database tables)
├── Z_MY_APP_BIZ (Sub-package: business logic, RAP BOs)
└── Z_MY_APP_SRV (Sub-package: service definitions, bindings)
Communication Management
Concepts
| Artifact | Purpose |
|---|---|
| Communication Scenario | Template defining inbound/outbound services and auth methods |
| Communication System | Represents the external system (host, port, credentials) |
| Communication Arrangement | Binds scenario + system + user, activating the integration |
| Communication User | Technical user for inbound communication |
Creating a Communication Scenario
"Defined via ADT: New → Other → Communication Scenario
"Name: Z_MY_COMM_SCENARIO
Communication scenario definition (in ADT):
| Property | Value |
|---|---|
| Scenario ID | Z_MY_COMM_SCENARIO |
| Scenario Type | Managed by Customer |
| Inbound Services | List of inbound OData services |
| Outbound Services | List of outbound HTTP services |
| Allowed Auth Methods | Basic, OAuth 2.0, x.509 |
Outbound Communication (Calling External Services)
"Get HTTP destination from communication arrangement
DATA(lo_dest) = cl_http_destination_provider=>create_by_comm_arrangement(
comm_scenario = 'Z_MY_COMM_SCENARIO'
service_id = 'Z_MY_OUTBOUND_SERVICE' ).
"Create HTTP client
DATA(lo_client) = cl_web_http_client_manager=>create_by_http_destination( lo_dest ).
"Execute request
DATA(lo_request) = lo_client->get_http_request( ).
lo_request->set_uri_path( '/api/r
阅读完整来源 ↗