{"id":50398360,"url":"https://github.com/magpasulke/abap-string-interpreter","last_synced_at":"2026-07-01T23:01:38.173Z","repository":{"id":358887401,"uuid":"1242503757","full_name":"MagPasulke/abap-string-interpreter","owner":"MagPasulke","description":"ABAP String Interpreter","archived":false,"fork":false,"pushed_at":"2026-06-30T20:29:37.000Z","size":619,"stargazers_count":15,"open_issues_count":15,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-30T21:07:53.296Z","etag":null,"topics":["abap","abap-development"],"latest_commit_sha":null,"homepage":"","language":"ABAP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MagPasulke.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-18T13:39:17.000Z","updated_at":"2026-06-24T10:03:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/MagPasulke/abap-string-interpreter","commit_stats":null,"previous_names":["magpasulke/abap-string-interpreter"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/MagPasulke/abap-string-interpreter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagPasulke%2Fabap-string-interpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagPasulke%2Fabap-string-interpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagPasulke%2Fabap-string-interpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagPasulke%2Fabap-string-interpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MagPasulke","download_url":"https://codeload.github.com/MagPasulke/abap-string-interpreter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MagPasulke%2Fabap-string-interpreter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35025983,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abap","abap-development"],"created_at":"2026-05-30T22:00:43.728Z","updated_at":"2026-07-01T23:01:38.167Z","avatar_url":"https://github.com/MagPasulke.png","language":"ABAP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZASIS — ABAP String Interpreter\n\n[![ci](https://github.com/MagPasulke/abap-string-interpreter/actions/workflows/ci.yml/badge.svg)](https://github.com/MagPasulke/abap-string-interpreter/actions/workflows/ci.yml)\n\n\u003e **⚠️ Pre-release:** Until v1.0.0 is reached, breaking changes may occur without prior notice.\n\nZASIS extracts structured data from unstructured strings. You configure regex-based RuleSets, pass in a raw string (e.g. a barcode scan), and get back clean key/value pairs — no coding required per use case.\n\n![RuleSet Maintenance UI](assets/readme/image.png)\n![RuleSet Test UI](assets/readme/image2.png)\n\n---\n\n## The Problem\n\nScanners, barcode readers, and external systems often deliver a single string that packs multiple business values into one payload. Parsing that string is repetitive work — different formats, different fields, same logic over and over.\n\n## The Solution\n\nZASIS lets you define a **RuleSet** once and reuse it everywhere. A RuleSet is a named collection of rules. Each rule extracts or transforms one field from the input string using regex, offsets, or custom ABAP logic. An optional **context** lets callers pass additional key/value metadata that flows through to results and downstream logic.\n\n### Features\n\n| Feature | Description |\n| --- | --- |\n| **Match extraction** | Regex match with configurable pre/post offset trimming |\n| **Replace transformation** | Regex-based find \u0026 replace with a replacement string |\n| **Custom logic** | Plug in any ABAP class implementing `ZASIS_IF_CUSTOMLOGIC` for arbitrary processing per rule |\n| **Context passing** | Pass key/value pairs alongside the input string — echoed in the response and forwarded to custom logic and event producers |\n| **Regex validation** | Invalid regex patterns are rejected at save time in the UI |\n| **Test from UI** | Execute a RuleSet directly from the Fiori maintenance screen via the `Test RuleSet` action |\n| **Authorization** | Per-RuleSet activity checks (Create, Change, Display, Delete, Execute) via auth object `ZASIS_GRL` |\n| **Three access points** | Fiori Elements UI · ABAP API · HTTP REST endpoint |\n\n---\n\n## Quick Start\n\n**Input string** from a scanner:\n\n```text\n\u003cStart\u003e\u003cA7X\u003eMyMaterialNumber\u003cB52H\u003eMyDeliveryNote\u003cEnd\u003e\n```\n\n**RuleSet \"MySample\"** with two Match rules:\n\n| Target Field | Regex | Offset |\n| --- | --- | --- |\n| `MaterialNo` | `\u003cA7X\u003e([^\u003c]*)` | 5 |\n| `DeliveryNote` | `\u003cB52H\u003e([^\u003c]*)` | 6 |\n\n**Call via HTTP POST** with an optional context:\n\n```http\nPOST /ruleSetExecution/MySample\nContent-Type: application/json\n\n{\n  \"string\": \"\u003cStart\u003e\u003cA7X\u003eMyMaterialNumber\u003cB52H\u003eMyDeliveryNote\u003cEnd\u003e\",\n  \"context\": [\n    { \"key\": \"Source\",    \"value\": \"Scanner01\" },\n    { \"key\": \"SessionId\", \"value\": \"A3F9\" }\n  ]\n}\n```\n\n**Result:**\n\n```json\n{\n  \"RESULTS\": [\n    { \"TARGETFIELD\": \"MaterialNo\",   \"INTERPRETATIONRESULT\": \"MyMaterialNumber\" },\n    { \"TARGETFIELD\": \"DeliveryNote\", \"INTERPRETATIONRESULT\": \"MyDeliveryNote\"   }\n  ],\n  \"CONTEXT\": [\n    { \"KEY\": \"Source\",    \"VALUE\": \"Scanner01\" },\n    { \"KEY\": \"SessionId\", \"VALUE\": \"A3F9\" }\n  ]\n}\n```\n\nContext is optional — omit it and the `CONTEXT` array in the response will be empty.\n\n---\n\n## Documentation\n\n- **[User Manual](docs/user/manual.md)** — configuration guide, API reference, ABAP samples, and troubleshooting\n- **[Technical Reference](docs/technical/index.md)** — architecture, off-stack development, testing, CI/CD, installation, and contributing\n\n---\n\n## Roadmap Note\n\nThe current release contains artifacts for both ABAP Cloud and on-premise installations. A clean separation into dedicated cloud and on-premise release variants — each shipping only the relevant artifacts — is planned. See [issue #88](https://github.com/MagPasulke/abap-string-interpreter/issues/88).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagpasulke%2Fabap-string-interpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagpasulke%2Fabap-string-interpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagpasulke%2Fabap-string-interpreter/lists"}