https://github.com/yukta026/leave-management-system
Leave Management App built with ABAP RAP and Fiori Elements in Eclipse
https://github.com/yukta026/leave-management-system
abap-rap cds eclipse-adt fiori-elements leave-management-system odata sap-btp
Last synced: 9 months ago
JSON representation
Leave Management App built with ABAP RAP and Fiori Elements in Eclipse
- Host: GitHub
- URL: https://github.com/yukta026/leave-management-system
- Owner: Yukta026
- Created: 2025-09-18T19:10:43.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-18T19:45:27.000Z (9 months ago)
- Last Synced: 2025-09-18T21:58:05.096Z (9 months ago)
- Topics: abap-rap, cds, eclipse-adt, fiori-elements, leave-management-system, odata, sap-btp
- Language: ABAP
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# 🌟 Leave Management App (Built with ABAP RAP & Fiori)
This project demonstrates how a **Leave Management System** can be built using the **ABAP RESTful Application Programming Model (RAP)** in the SAP Business Technology Platform (BTP) trial environment.
Employees can **submit leave requests**, and managers can **approve or reject** them directly through a modern **Fiori app**.
It showcases how backend business logic, database handling, and user interface can all come together in SAP’s cloud environment.
---
## 📸 Project Highlights
### Fiori App Preview
*(auto-generated Fiori Elements app from OData service)*

Accepting/Rejecting Leave Request

### Service Binding in Eclipse
*(exposing the RAP Business Object as an OData V4 service)*

---
## 🧩 How It Works (Simplified)
1. **Data Model** – A table (`ZTABLE_NEW`) stores leave requests (employee, leave type, dates, status).
2. **Business Logic** – RAP behavior implementation controls what happens when a leave is **approved** or **rejected**.
3. **Fiori Interface** – The OData service is automatically consumed by a Fiori Elements app, giving managers a clean UI to act on requests.
---
## ✨ Key Features
- **Submit & Manage Requests** – Employees can request different types of leave (vacation, sick leave, etc.).
- **Approve / Reject Actions** – Managers act on requests with a single click.
- **Automated UI Generation** – Fiori Elements generates a responsive web app directly from the service definition.
- **Realistic Workflow** – Mimics the type of leave management process used in enterprises.
---
## 🎯 Why This Project Matters
- Shows practical use of **SAP’s RAP framework**, which is the modern way of developing apps in ABAP.
- Demonstrates **end-to-end skills**: data modeling, backend logic, and frontend UI.
---
## 📚 What I Learned
- Designing a **RAP Business Object** and handling **instance-level authorization**.
- Implementing **custom actions** like Approve/Reject in ABAP.
- Debugging RAP short dumps and resolving missing handler issues.
- Connecting business logic with a **Fiori app** to provide a user-friendly interface.
---