Skip to content

Add the Everyday Work section with five guides - #411

Merged
oblomov-dev merged 3 commits into
mainfrom
claude/serene-carson-xv5jyy
Nov 2, 2026
Merged

oblomov-dev merged 3 commits into
mainfrom
claude/serene-carson-xv5jyy

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

A new section between the Tutorial and the Cookbook (nav and sidebar): Everyday Work — whole jobs from real projects, each built from several cookbook chapters and backed by an installable sample in abap2UI5/samples-stack.

Guide Sample
Excel Import into RAP Z2UI5_CL_SMPS_APP_028
Mass Change Z2UI5_CL_SMPS_APP_029
Approval Worklist Z2UI5_CL_SMPS_APP_030
Report and Export Z2UI5_CL_SMPS_APP_031
Concurrent Editing Z2UI5_CL_SMPS_APP_032

Also:

  • docs/everyday/index.md explains the section and lists the guides.
  • The Spreadsheet chapter links the Excel import guide.
  • scripts/check-examples.mjs skips fences using XCO (xco_cp_*), a fluent API of its own like ajson — its chain steps read as frozen-builder calls otherwise.
  • resources/controls.md regenerated (the import guide uses z2ui5.cc.FileUploader).

npm run check passes locally with sibling checkouts of samples, samples-stack and abap2UI5. Depends on abap2UI5/samples-stack#109 — check:samples resolves the five classes against samples-stack@main, so merge that one first.


Generated by Claude Code

A new section between the Tutorial and the Cookbook for whole jobs from
real projects: each guide combines several cookbook chapters into one
task and ends with an installable sample.

The first guide imports an Excel file into a RAP business object:
FileUploader, XCO XLSX, a preview with a status per row, one MODIFY
ENTITIES for all rows with the row number as %cid, and every refusal
from the CREATE or the COMMIT mapped back to its row. Backed by
Z2UI5_CL_SMPS_APP_028 in abap2UI5/samples-stack.

check-examples skips fences using XCO, a fluent API of its own like
ajson. The Spreadsheet chapter links the guide; the controls reference
is regenerated for the new page using z2ui5.cc.FileUploader.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmDjwUy369k1iZKoBT5
- Mass Change: select rows, describe the change once, preview old and
  new values, one MODIFY ... UPDATE, refusals by key on their row
- Approval Worklist: only what waits for a decision, several items
  decided with one EXECUTE of the business object's action, RESULT for
  the confirmation, the list shrinking on the next read
- Report and Export: the selection as range tables, one SELECT on the
  CDS view entity, a total per currency, the rows on the screen as .xlsx
- Concurrent Editing: optimistic locking in a stateless app with the
  business object's ETag - UPDATE (takes the lock), check against the
  database, COMMIT - and where the other strategies of Lock fit better

Each guide is backed by a sample in abap2UI5/samples-stack
(Z2UI5_CL_SMPS_APP_029 to 032). The section index lists all five.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmDjwUy369k1iZKoBT5

Copy link
Copy Markdown
Member Author

check is red on one gate only, check:samples: the five classes Z2UI5_CL_SMPS_APP_028–032 are not in samples-stack@main yet (CI checks out main, so it counts 46 samples there). Nothing to fix in this PR — the classes arrive with abap2UI5/samples-stack#109. Once that is merged, main is merged into this branch so the run repeats against the new catalogue; every other gate passed in this run.


Generated by Claude Code

@oblomov-dev
oblomov-dev merged commit e9917ed into main Nov 2, 2026
1 check passed
@oblomov-dev
oblomov-dev deleted the claude/serene-carson-xv5jyy branch November 2, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants