SAP S/4HANA KPI Automator

GCP Proof of Concept (€0.00/mo) Checking GCP backend... Legacy ABAP Copilot ↗

How This GCP Proof of Concept Works (What Calls What)

Live architecture map: every button click below triggers real calls across these layers and logs them at the bottom of the page.

Frontend Host: detecting...
1. Browser Frontend (Static UI)
-
Pure HTML/JS. Sends HTTPS POST requests + X-App-Key header to Cloud Run. Zero SAP or Python runs on your laptop.
Ready in browser
→ HTTPS
POST
2. Google Cloud Run (FastAPI)
-
Runs kpi_engine.py (openpyxl) in Docker (europe-west1, scales to 0). Computes 100% deterministic KPIs — no AI math.
Waiting for health check...
⇄ JSON
~28 rows
3. Gemini AI (Google AI Studio)
gemini-3.8-flash
Cloud Run sends only ambiguous/contradictory comment rows & Q&A prompts. Returns structured JSON reasons without changing counts.
Standby
⇢ Prod
Target
4. Enterprise Target (terraform/)
SAP S/4HANA → GCS → BigQuery
Modeled in terraform/main.tf (not applied yet): SAP OData / SM36 job drops exports to Cloud Storage; Cloud Run saves snapshots to BigQuery.
Blueprint ready (PoC uses upload/sample)
Step 1 · Data Ingestion (Replaces Manual SAP Extraction)

Load 443-Row SAP S/4HANA Export into Cloud Run

PoC Mode: Load the synthetic 443-row SAP export baked into Cloud Run (POST /api/kpi/sample) or drop your own .xlsx / .csv (POST /api/kpi/upload). Prod Target: SAP S/4HANA sends this automatically every morning.

Drag & drop a real SAP .xlsx or .csv export here, or click to browse (uploaded directly to Cloud Run)
Live GCP Call Inspector · What Actually Ran

Network & Execution Log (Frontend → Cloud Run → Gemini)

Watch every real HTTP call leave your browser, hit Google Cloud Run, run deterministic Python vs. Gemini AI, and return.

Time Step Frontend → Cloud Run Endpoint Auth Status Latency What Happened Inside GCP
Waiting for first action...