export const E2E_SCENARIOS = [
  {
    id: "E2E-001", name: "Quote to Cash (Salesforce \u2192 S/4 \u2192 DHL \u2192 Stripe)", process: "O2C", status: "pass", criticality: "critical",
    steps: [
      { seq: 1, system: "Salesforce Sales Cloud", action: "Create Opportunity \u2192 Generate Quote", status: "pass", time: 1.8, interface: "IF-002" },
      { seq: 2, system: "SAP CPI", action: "Map & Transform Quote \u2192 SAP Sales Order", status: "pass", time: 3.2, interface: "IF-002" },
      { seq: 3, system: "S/4HANA", action: "Create Sales Order (VA01)", status: "pass", time: 2.8, interface: null },
      { seq: 4, system: "Vertex O Series", action: "Tax Determination (Multi-jurisdiction)", status: "pass", time: 0.3, interface: "IF-075" },
      { seq: 5, system: "S/4HANA", action: "Credit Check + Delivery (VL01N) \u2192 PGI", status: "pass", time: 3.5, interface: null },
      { seq: 6, system: "DHL Express", action: "Shipment Booking + Label Generation", status: "pass", time: 1.6, interface: "IF-080" },
      { seq: 7, system: "S/4HANA", action: "Billing Document (VF01)", status: "pass", time: 4.2, interface: null },
      { seq: 8, system: "Stripe Connect", action: "Payment Confirmation \u2192 Auto-Clear", status: "pass", time: 0.4, interface: "IF-090" },
      { seq: 9, system: "Salesforce Sales Cloud", action: "Sync Order Status + Revenue", status: "pass", time: 1.2, interface: "IF-003" },
    ],
    e2eTime: 19.0, sla: 25, dataIntegrity: 100, revenueAtRisk: "\u20AC12.4M/day",
  },
  {
    id: "E2E-002", name: "Procure to Pay (Ariba \u2192 S/4 \u2192 Deutsche Bank)", process: "P2P", status: "warning", criticality: "critical",
    steps: [
      { seq: 1, system: "SAP Ariba Network", action: "Create Purchase Requisition", status: "pass", time: 2.1, interface: "IF-050" },
      { seq: 2, system: "SAP CPI", action: "Transform PR \u2192 S/4HANA Purchase Order", status: "pass", time: 3.8, interface: "IF-050" },
      { seq: 3, system: "S/4HANA", action: "Create Purchase Order (ME21N)", status: "pass", time: 3.1, interface: null },
      { seq: 4, system: "SAP Ariba Network", action: "PO to Vendor via cXML", status: "pass", time: 2.3, interface: "IF-051" },
      { seq: 5, system: "Vendor EDI Gateway", action: "Order Confirm + ASN (EDI 856)", status: "warning", time: 4.8, interface: "IF-112" },
      { seq: 6, system: "OpenText VIM", action: "Invoice Capture \u2192 3-Way Match Prep", status: "pass", time: 1.8, interface: "IF-086" },
      { seq: 7, system: "S/4HANA", action: "Invoice Verification (MIRO) \u2192 Blocking", status: "warning", time: 4.5, interface: null },
      { seq: 8, system: "Deutsche Bank", action: "SEPA Payment Execution (F110)", status: "pass", time: 8.5, interface: "IF-041" },
    ],
    e2eTime: 30.9, sla: 35, dataIntegrity: 97, revenueAtRisk: "\u20AC8.7M/day",
    issues: ["Vendor ASN parsing errors for 3 of 20 top vendors \u2014 X12_856 segment mapping issue in EDI gateway", "MIRO three-way match timeout on large POs (>50 line items) \u2014 OpenText pre-validation reduces but doesn't eliminate"],
  },
  {
    id: "E2E-003", name: "Corporate Card Expense (Amex \u2192 Concur \u2192 S/4)", process: "P2P", status: "fail", criticality: "critical",
    steps: [
      { seq: 1, system: "American Express (Amex)", action: "Card Transaction Feed (GL1025)", status: "fail", time: 0, interface: "IF-030" },
      { seq: 2, system: "SAP CPI", action: "Transform Card Data \u2192 Concur", status: "not-run", time: 0, interface: null },
      { seq: 3, system: "SAP Concur", action: "Match Card Txn \u2192 Expense Report", status: "not-run", time: 0, interface: null },
      { seq: 4, system: "SAP Concur", action: "Manager Approval Workflow", status: "not-run", time: 0, interface: null },
      { seq: 5, system: "SAP CPI", action: "Expense Replication \u2192 S/4 FI Posting", status: "not-run", time: 0, interface: "IF-060" },
      { seq: 6, system: "S/4HANA", action: "Amex Statement Reconciliation", status: "not-run", time: 0, interface: "IF-031" },
      { seq: 7, system: "Deutsche Bank", action: "Employee Reimbursement Payment", status: "not-run", time: 0, interface: "IF-041" },
    ],
    e2eTime: null, sla: 20, dataIntegrity: 0, revenueAtRisk: "\u20AC2.1M unposted/month + 3,200 employees",
    issues: [
      "BLOCKED AT STEP 1: Amex deprecated GL1025 file format \u2014 new REST API requires OAuth 2.0 token refresh not yet implemented in CPI",
      "Cascading failure: Concur cannot match card transactions \u2192 expense reports incomplete \u2192 S/4 posting blocked \u2192 bank reimbursement impossible",
      "3,200 Amex cardholders affected across 14 countries \u2014 manual Excel reconciliation workaround consuming 120 person-hours/month",
    ],
  },
  {
    id: "E2E-004", name: "Hire to Retire (Oracle HCM \u2192 S/4 \u2192 Payroll \u2192 Bank)", process: "H2R", status: "fail", criticality: "high",
    steps: [
      { seq: 1, system: "Oracle HCM Cloud", action: "New Hire \u2192 Employee Central", status: "pass", time: 1.5, interface: null },
      { seq: 2, system: "SAP CPI", action: "Employee Replication to S/4", status: "fail", time: 8.2, interface: "IF-010" },
      { seq: 3, system: "S/4HANA", action: "Create Personnel Master (PA30)", status: "fail", time: 0, interface: null },
      { seq: 4, system: "S/4HANA", action: "Org Assignment & Payroll Area", status: "not-run", time: 0, interface: null },
      { seq: 5, system: "S/4HANA", action: "Payroll Simulation (PC00)", status: "not-run", time: 0, interface: null },
      { seq: 6, system: "Deutsche Bank", action: "Salary Payment via SEPA", status: "not-run", time: 0, interface: "IF-041" },
    ],
    e2eTime: null, sla: 20, dataIntegrity: 0, revenueAtRisk: "2,400 employees",
    issues: [
      "CPI flow fails at step 2: Oracle HCM sends 10-digit cost center format, S/4HANA expects 6-digit \u2014 mapping rule missing in CPI iFlow",
      "Secondary issue: Oracle HCM Cloud API v2.4 broke date format parsing \u2014 CPI adapter not updated since Oracle's Jan 2026 release",
      "Downstream blocked: payroll cannot run for new hires, salary payments impossible until personnel master created",
    ],
  },
  {
    id: "E2E-005", name: "Travel Booking (Uber + Booking.com \u2192 Concur \u2192 S/4)", process: "P2P", status: "warning", criticality: "medium",
    steps: [
      { seq: 1, system: "Uber for Business", action: "Trip Receipt Auto-Submit", status: "pass", time: 1.4, interface: "IF-065" },
      { seq: 2, system: "Booking.com for Business", action: "Hotel Invoice Auto-Submit", status: "warning", time: 2.8, interface: "IF-070" },
      { seq: 3, system: "SAP Concur", action: "Aggregate Trip + Hotel \u2192 Expense Report", status: "pass", time: 1.2, interface: null },
      { seq: 4, system: "SAP Concur", action: "Policy Check + Manager Approval", status: "pass", time: 0.8, interface: null },
      { seq: 5, system: "SAP CPI", action: "Expense Replication \u2192 S/4 FI Posting", status: "warning", time: 5.1, interface: "IF-060" },
      { seq: 6, system: "S/4HANA", action: "Cost Center Allocation + FI Posting", status: "pass", time: 1.8, interface: null },
    ],
    e2eTime: 13.1, sla: 15, dataIntegrity: 91, revenueAtRisk: "\u20AC180K/month travel spend",
    issues: [
      "Booking.com hotel invoices missing VAT breakdowns for 4 EU countries \u2014 manual tax correction needed in S/4",
      "Concur \u2192 S/4 replication has 12 unmapped GL accounts from legacy Chart of Accounts \u2014 9% of expenses fail posting",
    ],
  },
  {
    id: "E2E-006", name: "Engineering Change (Teamcenter \u2192 S/4 \u2192 Production)", process: "P2D", status: "warning", criticality: "high",
    steps: [
      { seq: 1, system: "Siemens Teamcenter PLM", action: "Release Engineering Change Notice", status: "pass", time: 2.4, interface: "IF-021" },
      { seq: 2, system: "SAP CPI", action: "Transform ECN \u2192 Material / BOM Change", status: "warning", time: 5.2, interface: "IF-021" },
      { seq: 3, system: "S/4HANA", action: "Update Material Master + BOM", status: "pass", time: 3.1, interface: null },
      { seq: 4, system: "S/4HANA", action: "MRP Re-run (Affected Materials)", status: "pass", time: 45, interface: null },
      { seq: 5, system: "S/4HANA", action: "Adjust Production Orders", status: "pass", time: 2.8, interface: null },
    ],
    e2eTime: 58.5, sla: 90, dataIntegrity: 98, revenueAtRisk: "Production line disruption",
    issues: ["Teamcenter ECN with >20 affected materials triggers CPI timeout (5.2s avg, P95 at 12.8s) \u2014 batch splitting needed"],
  },
  {
    id: "E2E-007", name: "Period End Close (Cross-System Consolidation)", process: "R2R", status: "warning", criticality: "critical",
    steps: [
      { seq: 1, system: "S/4HANA", action: "Subledger Close (AP/AR/AA)", status: "pass", time: 45, interface: null },
      { seq: 2, system: "S/4HANA", action: "Foreign Currency Revaluation", status: "warning", time: 62, interface: null },
      { seq: 3, system: "S/4HANA", action: "Intercompany Reconciliation", status: "pass", time: 28, interface: null },
      { seq: 4, system: "J.P. Morgan", action: "FX Rate Feed + Treasury Position", status: "pass", time: 0.8, interface: "IF-043" },
      { seq: 5, system: "Vertex O Series", action: "Tax Provision Calculation", status: "pass", time: 12, interface: "IF-076" },
      { seq: 6, system: "SAP Analytics Cloud", action: "Management Reporting Refresh", status: "warning", time: 35, interface: "IF-095" },
      { seq: 7, system: "Celonis Process Mining", action: "Period Close Process Analysis", status: "pass", time: 85, interface: "IF-096" },
      { seq: 8, system: "S/4HANA", action: "External Audit Extract (Trial Balance)", status: "pass", time: 8, interface: null },
    ],
    e2eTime: 275.8, sla: 300, dataIntegrity: 99.2, revenueAtRisk: "Financial close deadline",
    issues: ["FX revaluation at 62s \u2014 P95 breaches 60s SLA (cross-ref Performance report)", "SAC reporting refresh 35min \u2014 consider incremental instead of full dataset refresh"],
  },
  {
    id: "E2E-008", name: "Warehouse Inbound (Vendor \u2192 EWM \u2192 S/4 \u2192 FedEx Return)", process: "WM", status: "pass", criticality: "high",
    steps: [
      { seq: 1, system: "Vendor EDI Gateway", action: "ASN Transmission (EDI 856)", status: "pass", time: 1.5, interface: "IF-112" },
      { seq: 2, system: "S/4HANA EWM", action: "Inbound Delivery + Putaway", status: "pass", time: 3.9, interface: null },
      { seq: 3, system: "S/4HANA", action: "Goods Receipt (MIGO) + Stock Update", status: "pass", time: 3.8, interface: null },
      { seq: 4, system: "S/4HANA", action: "Quality Inspection (QM)", status: "pass", time: 2.2, interface: null },
      { seq: 5, system: "FedEx Ship Manager", action: "Return Label (if QI fails)", status: "pass", time: 2.1, interface: "IF-082" },
    ],
    e2eTime: 13.5, sla: 20, dataIntegrity: 100, revenueAtRisk: "\u20AC2.1M inventory/day",
  },
];
