# dheeram/fullstack-sap-project architecture

> Architecture diagram of the GitHub repository dheeram/fullstack-sap-project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dheeram/fullstack-sap-project
- Repository: https://github.com/dheeram/fullstack-sap-project

## Overview

This is a SAPUI5 employee-management app. Users browse and search employees, open a record, and create or edit employee data; the app consumes an OData service backed by an on-premise ABAP system. The graph also preserves documented CRUD, validation, two-way binding, and export capabilities. Controller excerpts establish the shown read/create and PDF-export calls; README statements support the broader CRUD and SAP connectivity links, while unsampled configuration and update/delete implementation are not inferred.

Main entry points: [`webapp/controller/View1.controller.js`](https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/controller/View1.controller.js) (Employee list), [`webapp/controller/EmployeeEdit.controller.js`](https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/controller/EmployeeEdit.controller.js) (Edit employee), [`webapp/view`](https://github.com/dheeram/fullstack-sap-project/tree/main/webapp/view) (Employee views), [`webapp/controller/EmployeeCreate.controller.js`](https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/controller/EmployeeCreate.controller.js) (Create employee)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["UI and navigation"]
  node_employee_views["Employee views"]
  node_app_controller["App controller<br/>[App.controller.js]"]
end

subgraph group_employee["Employee workflows"]
  node_list_controller["Employee list"]
  node_create_controller["Create employee"]
  node_details_controller["Employee details"]
  node_edit_controller["Edit employee"]
end

subgraph group_connectivity["OData connectivity"]
  node_odata[("Employee OData")]
  node_destination["BTP destination"]
  node_cloud_connector["Cloud Connector"]
  node_sap_gateway["SAP Gateway"]
  node_abap[("On-prem ABAP")]
end

subgraph group_shared["Shared runtime"]
  node_component["UI5 component<br/>[Component.js]"]
  node_device_model["Device model<br/>[models.js]"]
  node_pdf_loader["PDF library loader<br/>[LibraryLoader.js]"]
end

node_user(("Employee user"))
node_pdf_service["jsPDF libraries"]

node_user -->|"uses"| node_employee_views
node_employee_views -.->|"dispatches"| node_list_controller
node_list_controller -->|"navigates"| node_details_controller
node_list_controller -->|"navigates"| node_edit_controller
node_user -.->|"starts create"| node_create_controller
node_create_controller -->|"creates employee"| node_odata
node_details_controller -->|"reads employee"| node_odata
node_edit_controller -->|"reads employee"| node_odata
node_edit_controller -->|"updates employee"| node_odata
node_list_controller -->|"CRUD operations"| node_odata
node_component -->|"creates model"| node_device_model
node_list_controller -->|"loads library"| node_pdf_loader
node_pdf_loader -->|"loads scripts"| node_pdf_service
node_odata -->|"uses destination"| node_destination
node_destination -->|"connects securely"| node_cloud_connector
node_cloud_connector -->|"routes to"| node_sap_gateway
node_sap_gateway -->|"serves OData"| node_abap

click node_employee_views "https://github.com/dheeram/fullstack-sap-project/tree/main/webapp/view"
click node_list_controller "https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/controller/View1.controller.js"
click node_create_controller "https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/controller/EmployeeCreate.controller.js"
click node_details_controller "https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/controller/EmployeeDetails.controller.js"
click node_edit_controller "https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/controller/EmployeeEdit.controller.js"
click node_app_controller "https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/controller/App.controller.js"
click node_component "https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/Component.js"
click node_device_model "https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/model/models.js"
click node_pdf_loader "https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/util/LibraryLoader.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_employee_views,node_app_controller,node_user toneBlue
class node_list_controller,node_create_controller,node_details_controller,node_edit_controller toneAmber
class node_odata,node_destination,node_cloud_connector,node_sap_gateway,node_abap toneMint
class node_component,node_device_model,node_pdf_loader toneRose
class node_pdf_service toneIndigo
```

## Components

### UI and navigation

- [Employee views](https://github.com/dheeram/fullstack-sap-project/tree/main/webapp/view): `webapp/view`
- [App controller](https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/controller/App.controller.js): `webapp/controller/App.controller.js`

### Employee workflows

- [Employee list](https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/controller/View1.controller.js): `webapp/controller/View1.controller.js`
- [Create employee](https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/controller/EmployeeCreate.controller.js): `webapp/controller/EmployeeCreate.controller.js`
- [Employee details](https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/controller/EmployeeDetails.controller.js): `webapp/controller/EmployeeDetails.controller.js`
- [Edit employee](https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/controller/EmployeeEdit.controller.js): `webapp/controller/EmployeeEdit.controller.js`

### OData connectivity

- **Employee OData**
- **BTP destination**
- **Cloud Connector**
- **SAP Gateway**
- **On-prem ABAP**

### Shared runtime

- [UI5 component](https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/Component.js): `webapp/Component.js`
- [Device model](https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/model/models.js): `webapp/model/models.js`
- [PDF library loader](https://github.com/dheeram/fullstack-sap-project/blob/main/webapp/util/LibraryLoader.js): `webapp/util/LibraryLoader.js`

### Other components

- **Employee user**
- **jsPDF libraries**

## Connections

- Employee user → Employee views: uses (evidence: `README.md`)
- Employee views → Employee list: dispatches
- Employee list → Employee details: navigates (evidence: `webapp/controller/View1.controller.js`)
- Employee list → Edit employee: navigates (evidence: `webapp/controller/View1.controller.js`)
- Employee user → Create employee: starts create
- Create employee → Employee OData: creates employee (evidence: `webapp/controller/EmployeeCreate.controller.js`)
- Employee details → Employee OData: reads employee (evidence: `webapp/controller/EmployeeDetails.controller.js`)
- Edit employee → Employee OData: reads employee (evidence: `webapp/controller/EmployeeEdit.controller.js`)
- Edit employee → Employee OData: updates employee (evidence: `README.md`)
- Employee list → Employee OData: CRUD operations (evidence: `README.md`)
- UI5 component → Device model: creates model (evidence: `webapp/Component.js`)
- Employee list → PDF library loader: loads library (evidence: `webapp/controller/View1.controller.js`)
- PDF library loader → jsPDF libraries: loads scripts (evidence: `webapp/util/LibraryLoader.js`)
- Employee OData → BTP destination: uses destination (evidence: `README.md`)
- BTP destination → Cloud Connector: connects securely (evidence: `README.md`)
- Cloud Connector → SAP Gateway: routes to (evidence: `README.md`)
- SAP Gateway → On-prem ABAP: serves OData (evidence: `README.md`)
