PackagePackagetypeA library you install and call yourself.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

sap-usi-exception

A shared root exception class and text getter API used across SchwarzIT's USI ABAP developments, converting an exception's text into a common format such as BAPIRET2 or SYMSG.

Every USI package reuses one root exception class from this repository rather than defining its own, and an extensible text getter API converts an exception's text into a common format such as BAPIRET2 or SYMSG for the caller that needs it. It installs as its own ABAP package, /USI/EXCEPTION, with no further dependencies. It stops at the exception class and the text conversion; what raises the exception is left to each USI package.

Facts

Last pushLicenceApache-2.0

Where it sits

Lives in
Provides
Error handlingABAPError handlingcapabilityTurning a failure into a response a client can act on — protocol-correct error payloads, correlation, and a boundary between internal detail and what a caller sees.

Who is behind it

Schwarz ITSchwarz ITOrganisationMaintains this
In the atlas: maintains 3
@SchwarzIT
maintainerDennis SchaafPersonContributes to this
In the atlas: contributes to 3
@d-schaaf
Marc F. BernardPersonContributes to this
In the atlas: contributes to 4
@marcfbe
Jörg NeumannPersonContributes to this
In the atlas: contributes to 3
@NeumannJoerg
Patrick HahnPersonContributes to this
In the atlas: contributes to 3
@patrick246
4 contributors

What it declares

Every artifact

Type
Package
Origin
Independently maintained

As a package

Where it runs
does not say
Distributed through
does not say

Connections1

README

quoted from SchwarzIT/sap-usi-exception under Apache-2.0, read
SchwarzIT/sap-usi-exception/README.mdOn GitHub

SIT USI

USI Exception

Purpose

The component offers an extensible text getter API that can be used to convert exception texts into various common formats such as BAPIRET2 or SYMSG.

It additionally contains our root exception class, that will be reused by all USI developments.

Installation Guide

This component has no dependencies and no special authorizations are required.

It is recommended to create the repository using the follwing settings. image

FieldValue
Git Repository URLhttps://github.com/SchwarzIT/sap-usi-exception
Package/USI/EXCEPTION
Display NameUSI Exception
LabelsSchwarzIT

Note: The package name must start with /USI/ to avoid issues when pulling the repository.

After cloning the repository the basic customizing has to be maintained manually. The process is described here.

How to contribute

Please check our contribution guidelines to learn more about this topic.

Further information

Please refer to the wiki.

Apache-2.0, read

History

Latest

v1.0.0

Error handling
  1. throwRaises an ABAP exception from a text or the last system messagefrom ABAP
  2. ABAP-PRCFramework for multi-step ABAP processes with monitoringfrom ABAP
  3. com.sap.cds:cds-services-bomMaven bill of materials pinning CAP Java module versionsfrom CAP
  4. cds-error-outboxCaptures CAP service errors, deduplicates them and mails alertsfrom CAP
  5. RESULT-for-ABAPResult pattern for ABAP instead of exceptions for expected failuresfrom ABAP
  6. EITHER-FOR-ABAPABAP class implementing the Either patternfrom ABAP
  7. @sap/cdsCAP Node.js runtimefrom CAP

Details

Sources3
dotabapdiscovered herechecked
github.com/SchwarzIT/sap-usi-exceptiontree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viadotabap
first seen in the atlas
ecosystem and domainabap, protocols-and-apis
abaplint
issues under its own abaplint configuration226
lines2,426
statements1,491
objects26
files53
analysed, main
abaplint version2.120.84
Contributors4

From the repository’s contributor list, .

History in the atlas1
  1. First seen.
For your agent
Ref
artifact:schwarzit-sap-usi-exception
JSON
/artifacts/schwarzit-sap-usi-exception.json
MCP
Connecting an agent