Production-ready Claude Code skills for SAP development. Covers BTP, CAP, Fiori, ABAP, HANA, Analytics Cloud, and more. Enables developers to automate SAP tasks, integrate with cloud services, and build enterprise applications. Connects to SAP ecosystems and developer tools.
git clone https://github.com/secondsky/sap-skills.gitProduction-ready Claude Code skills for SAP development. Covers BTP, CAP, Fiori, ABAP, HANA, Analytics Cloud, and more. Enables developers to automate SAP tasks, integrate with cloud services, and build enterprise applications. Connects to SAP ecosystems and developer tools.
1. **Identify Your SAP Component:** Determine whether your solution involves S/4HANA Cloud, BTP, Fiori, ABAP, or another SAP component. Use the exact SAP terminology (e.g., "SAP Fiori Elements" instead of "UI5 app"). 2. **Define the Business Need:** Clearly articulate the problem you're solving (e.g., "automate invoice posting" or "build a real-time dashboard"). Include any SAP modules or external systems involved (e.g., SAP Analytics Cloud, SAP Ariba). 3. **Select the Right Tools:** Choose the appropriate SAP development tools based on your component: - For Fiori: Use SAP Fiori tools (Fiori Elements or freestyle apps). - For ABAP: Use SAP BAS or Eclipse with ADT. - For BTP: Use SAP Business Application Studio or VS Code with SAP extensions. 4. **Generate and Refine Code:** Use the prompt template to generate initial code (CDS views, OData services, Fiori apps, etc.). Review the output for SAP best practices (e.g., proper annotations, error handling, and performance optimizations). 5. **Test and Deploy:** Validate the solution in a sandbox environment before deploying to production. Use SAP Fiori launchpad for Fiori apps or SAP BTP cockpit for cloud solutions. Monitor performance and user feedback post-deployment. **Tips for Better Results:** - Always include SAP version numbers (e.g., "SAP S/4HANA Cloud 2308") to ensure compatibility. - Specify SAP-specific constraints (e.g., "must use OData V4" or "cannot modify standard CDS views"). - For integrations, provide the exact API endpoints or service names (e.g., "SAP Ariba API v2").
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/secondsky/sap-skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Develop a [SAP_SERVICE_OR_TOOL] solution for [BUSINESS_NEED]. Include integration with [SAP_COMPONENT] and [EXTERNAL_SERVICE] if needed. Use [PROGRAMMING_LANGUAGE] where applicable. Follow SAP best practices for [SAP_DOMAIN]. Provide code snippets, configuration steps, and validation checks. Example: 'Develop a Fiori Elements app for SAP S/4HANA Cloud to display real-time inventory levels from a custom CDS view. Integrate with SAP Analytics Cloud for reporting. Use OData V4 and SAP Fiori tools. Ensure the app follows SAP Fiori design guidelines and includes error handling for API failures.'
### Fiori Elements App for Inventory Tracking in S/4HANA Cloud
**Business Need:** A Fiori Elements app to display real-time inventory levels for warehouse managers, with drill-down to item details and integration with SAP Analytics Cloud for trend analysis.
**Solution Overview:**
Developed a Fiori Elements app using SAP Fiori tools (version 1.120) with the following components:
1. **CDS View (Z_C_INVENTORY_OVERVIEW):**
```sql
@AbapCatalog.sqlViewName: 'ZC_INV_OVER'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Inventory Overview'
define view Z_C_INVENTORY_OVERVIEW as select from z_inventory_data {
key material_id as MaterialID,
material_desc as MaterialDescription,
warehouse_id as WarehouseID,
current_stock as CurrentStock,
unit_of_measure as UoM,
last_updated as LastUpdated
}
where last_updated ge @abap.dats_add_days( $session.system_date, -30 )
```
2. **OData Service (Z_INVENTORY_SRV):**
- Annotated with `@OData.publish: true` to auto-generate the service.
- Added custom annotations for Fiori Elements:
```json
{
"@UI.lineItem": [
{"Value": "MaterialID", "Label": "Material ID"},
{"Value": "MaterialDescription", "Label": "Description"},
{"Value": "CurrentStock", "Label": "Stock"},
{"Value": "WarehouseID", "Label": "Warehouse"}
],
"@UI.identification": [
{"Value": "MaterialID", "Label": "Material ID"}
]
}
```
3. **Fiori App (InventoryOverview.view.xml):**
- List Report template with a table to display inventory data.
- Added a filter for warehouse and a date range selector.
- Implemented a custom action to export data to SAP Analytics Cloud:
```xml
<Button text="Export to SAC" press=".onExportToSAC" />
```
4. **SAP Analytics Cloud Integration:**
- Configured a live connection to the OData service in SAC.
- Created a story with a table and chart visualizations for inventory trends.
- Set up a scheduled refresh every 4 hours.
5. **Validation & Testing:**
- Tested the app in SAP Fiori launchpad with 100+ inventory records.
- Verified OData service response times (avg. 1.2s for 50 records).
- Confirmed SAC dashboard updates within 5 minutes of data changes in S/4HANA.
**Deployment Steps:**
1. Import the CDS view and OData service into your S/4HANA Cloud system.
2. Deploy the Fiori app using SAP Fiori tools (run `npm run deploy`).
3. Configure the SAC live connection with the OData service URL.
4. Assign the app to the Warehouse Manager role in SAP Fiori launchpad.
**Error Handling:**
- Added a fallback message when the OData service is unavailable.
- Implemented a retry mechanism for SAC data refresh failures.
**Next Steps:**
- Extend the app to include low-stock alerts using SAP Event Mesh.
- Add a barcode scanner feature for quick inventory checks using SAP Mobile Services.Auto-transcribe meetings and generate action items
AI assistant built for thoughtful, nuanced conversation
Peer-to-peer marketplace for data
Cloud ETL platform for non-technical data integration
Customer feedback management made simple
Enterprise workflow automation and service management platform
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan