SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.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 →

cap-java-draft-composition-delete

Draft cancel on composition items turned into a flag update instead of a cascading physical delete, with the handler reading the incoming CQN so both delete paths behave the same.

The tests cover deleting an item by its own entity path and deleting it through the header-to-items navigation a Fiori list report produces — the two shapes that make a naive handler work in one case and not the other.

Facts

Last push

Where it sits

Lives in
Demonstrates
Draft handlingCAPDraft handlingcapabilityLetting a user edit a record over several requests before it becomes real — saving unfinished changes, locking, and activating a completed draft.
Flavors
Javafrom its runtime

Who is behind it

Mio YasutakeMio YasutakePersonMaintains this
In the atlas: maintains 47, contributes to 47, wrote 10
@miyasuta
maintainer

Before choosing this

Signals

LicenceNo licenseNeither the package manifest nor the repository tree declares a licence

Without a licence the default is all rights reserved. Ask the maintainer, or check for terms stated elsewhere, before depending on it.

What it declares

Every artifact

Type
Sample
Origin
Independently maintained
Runtime
Java

As a sample

Form
Code snippets

Connections1

cap-java-draft-composition-delete connectionscap-java-draft-composition-deletePROVIDES→ demonstrates1demonstrates authoredDraft handling

README

quoted from miyasuta/cap-java-draft-composition-delete, read
miyasuta/cap-java-draft-composition-delete/README.mdOn GitHub

CAP Java Composition Delete Test

This project demonstrates how to implement logical deletes for composition items in a CAP Java service. Draft-enabled headers with composed items are exposed via OData V4, and delete operations from Fiori List Report-style navigation paths must not physically remove the child records.

excerpt, no licence read, read the rest, on GitHub

Details

Sources3
GitHub APIdiscovered here, miyasutachecked
github.com/miyasuta/cap-java-draft-composition-deletetree, 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
runtimesjava
discovered viaGitHub API · miyasuta
first seen in the atlas
ecosystem and domaincap, ui-and-frontend-bridge
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:miyasuta-cap-java-draft-composition-delete
JSON
/artifacts/miyasuta-cap-java-draft-composition-delete.json
MCP
Connecting an agent