- Open your SAP repository
- Run:
copilot(GitHub Copilot CLI interactive mode) - Paste ONE prompt at a time
- Iterate with follow-up questions for deeper understanding
- These prompts are intentionally verbose and explicit.
- Copilot performs best when given SAP-specific context.
You are an experienced SAP Technical Architect.
Analyze this repository as an SAP project and explain it clearly and accurately.
Your output should include:
1. SAP landscape involved (ECC, S/4HANA, BW, BTP, CPI, Fiori, PI/PO, etc.)
2. Business purpose of the project (what problem it solves)
3. High-level architecture and system interactions
4. SAP modules involved (FI, CO, MM, SD, PP, HR, etc.)
5. Key technical assets:
- ABAP programs, classes, function modules
- CDS views, AMDP, RAP objects
- Interfaces and services
6. Integration patterns (IDoc, RFC, OData, REST, SOAP, events)
7. Main business processes implemented (e.g., Order-to-Cash)
8. Configuration vs custom development split
9. Assumptions, dependencies, and risks
10. A README-style summary suitable for onboarding
Use correct SAP terminology.
Be precise and avoid speculation.
If something is unclear, state assumptions explicitly.
Assume I am a new engineer joining this SAP project.
Create a concise onboarding guide that includes:
- What this SAP project does in simple terms
- Systems involved and how they communicate
- Key folders and files I should read first
- Important business flows and entry points
- How to debug or troubleshoot issues
- Common pitfalls or non-obvious behavior
Structure the response as a 30–60 minute onboarding walkthrough.
Analyze this repository as an SAP ABAP project.
Explain:
- Custom vs standard SAP objects
- Naming conventions (Z/Y objects) and what they indicate
- Key ABAP artifacts:
- Reports
- Classes
- Function modules
- Enhancements, BADIs, user exits
- Transaction codes involved
- Performance considerations
- Transport and dependency order
Highlight any technical debt or risks.
Analyze this repository as an SAP S/4HANA project.
Focus on:
- Use of CDS views, AMDP, RAP, or OData services
- Fiori/UI5 components and backend services
- Extensibility approach (in-app vs side-by-side)
- Clean core compliance
- Deprecated ECC patterns (if any)
- Readiness for cloud or BTP deployment
Call out modernization opportunities.
Analyze this SAP project focusing on integrations.
Explain:
- Source and target systems
- Integration patterns used:
- IDoc
- RFC
- OData
- REST / SOAP
- Middleware involved (CPI, PI/PO, MuleSoft, etc.)
- Message flow and data transformation
- Error handling and retries
- Security and authentication mechanisms
Summarize the end-to-end data flow.
Analyze this repository and identify the primary business processes implemented.
For each process:
- Business context and trigger
- SAP modules involved
- Technical execution flow
- Key tables and data objects
- Integration touchpoints
- Success and failure paths
Examples:
- Order-to-Cash
- Procure-to-Pay
- Record-to-Report
Analyze this SAP project and classify:
- What is configuration-driven
- What is custom-developed
- Where standard SAP was extended or modified
- Any implicit business rules in code
- Upgrade or S/4HANA conversion risks
Provide a summary suitable for an architect or program manager.
Review this SAP codebase and identify:
- Code smells and anti-patterns
- Performance risks
- Hard-coded values or assumptions
- Missing error handling
- Documentation gaps
- Opportunities for simplification or reuse
Provide prioritized recommendations.
Analyze this SAP project from a security perspective.
Focus on:
- Authorization checks
- Sensitive data handling
- Interface security
- Logging and auditability
- Compliance risks (SOX, GDPR, etc.)
Highlight any potential vulnerabilities.
Generate a professional README.md for this SAP project.
Include:
- Project overview
- SAP systems and modules
- Architecture overview (text-based diagram)
- Key business processes
- Deployment and transport considerations
- Known limitations
- Contact or ownership placeholders
Write for SAP consultants and architects.
This repository contains SAP-related code.
Use SAP terminology such as ECC, S/4HANA, ABAP, CDS, IDoc, RFC, CPI.
Assume the reader is an SAP consultant or architect.
Prefer enterprise-grade explanations over generic descriptions.
Avoid guessing—state assumptions explicitly.