abapDomCheck
Checks a structure's field values against ABAP domain fixed values and check tables outside the GUI, such as during a data import, answering with a rejected flag and the messages behind it.
SAP checks data against domain fixed values and check tables in the GUI, so data arriving another way — during an import, for example — can enter the system with values those checks would have rejected. zcl_dom_check=>get_instance( ) returns an instance whose check_fix_values_struc runs the same check against a structure and answers with a rejected flag, and get_msg returns the messages behind it. What it checks is what the ABAP Dictionary already defines, fixed values and check tables, against the fields of one structure.
Facts
Where it sits
Who is behind it
In the atlas: maintains 1@abapToolsmaintainerPeter ReinbothContributes to this
In the atlas: contributes to 2@preinboth1 contributor
Before choosing this
Signals
ActivityQuietNo published releases; repository quiet for 54 months
It publishes no releases, and its repository has been quiet for at least 24 full months. This may be normal for stable software; check whether its current state still fits your use.
What it declares
Every artifact
- Type
- Package
- Origin
- Independently maintained
As a package
- Where it runs
- does not say
- Distributed through
- does not say
Connections
Rejecting bad input before it reaches a handler
Download
README
quoted from abapTools/abapDomCheck under MIT, read
abapDomCheck
SAP only check data against the domain fixed values and check tables in the GUI. This causes problems during data import, for example, as these checks do not take place there. This could result in incorrect data entering the system. This project was created for this purpose.
data type ref to zcl_dom_check.
lo_object = zcl_dom_check=>get_instance( ).
data(rejected) = lo_object->check_fix_values_struc( ls_dataset ).
if rejected eq abap_true.
data(lt_msg) = lo_object->get_msg().
endif.
Others providing
Compare all 8 on the Input validation page →- com.sap.cds:cds-services-bomcom.sap.cds:cds-services-bomThe Maven bill of materials for CAP Java, pinning every com.sap.cds module in a release, from the API and core runtime to the Spring Boot starters and the CQN engine, to the same version.sap official, capMaven bill of materials pinning CAP Java module versionsfrom CAP
- cap-toolkitcap-toolkitA utility bundle for CAP handlers, with a chainable HandlerBuilder, role checks, validation rules and query helpers, collecting boilerplate that otherwise repeats across projects into one dependency.independent, capUtility bundle for CAP handlers: builder, roles, validation, queriesfrom CAP
- abap-data-validatorabap-data-validatorA validation library for ABAP that checks values such as dates, emails, URLs, JSON and GUIDs against type rules through one interface, or a whole internal table against a set of rules.independent, abapValidation library for ABAP checking dates, emails and GUIDsfrom ABAP
- sap-cap-validator-pluginsap-cap-validator-pluginA CAP plugin that checks incoming data against JSON Schema rules written as @Validator annotations on model elements, evaluated by Ajv, with no handler to register.independent, capCAP plugin validating input against @Validator JSON Schema rulesfrom CAP
- capvalcapvalReplaces the message a failed input validation annotation returns, and adds @validation.handler, which names a class that runs a check of the developer's own.independent, capCustom messages and handler classes for CAP input validationfrom CAP
- cds-validatecds-validateA package that runs Zod schemas as CAP validation middleware, so one schema replaces the hand-written checks at the top of a handler and failures come back as OData 422 errors per field.independent, capZod schemas as CAP validation middlewarefrom CAP
- @sap/cds@sap/cdsThe CAP Node.js runtime, which compiles the CDS model, serves the services declared in it, answers generic requests before any handler runs, and loads every cds-plugin.sap official, capCAP Node.js runtimefrom CAP
Details
Sources
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
abaplint
Flavors
“” — abapTools/abapDomCheck — README, badges
Contributors
History in the atlas
- First seen.
For your agent
- Ref
artifact:abaptools-abapdomcheck- JSON
- /artifacts/abaptools-abapdomcheck.json
- MCP
- Connecting an agent