Skip to content

Cookbook ​

Concrete problems and their solutions, one chapter each, grouped by what an app is made of. The Cheat Sheet is the checklist to keep open while working; the groups below are where each rule on it is explained in full. Every word the chapters rely on is defined in the Glossary.

I Want To… ​

I want to…Go to
build a first screenDefinition → Sending a View
find the right controlDefinition → Choosing a Control
show a value, or let the user edit itBinding
format a date, a time or an amountFormatter
show an internal tableTables → Basic Table
know which table row was clickedTables → Which Row Was Clicked
sort or filter a tableTables → Sorting and Filtering
show more than 100 rowsMore than 100 Rows
react to a buttonBackend → Basic
send a value with an eventBackend → Sending a Value with the Event
do something in the browser without a roundtripFrontend Actions
understand why my view is blank after a returnApp Structure
switch between two screensInner App → Within One Class
call another app and get a result backInner App → Handing a Result Back
make the browser's Back button workURL Hash and Routing
give the user a link to the current stateApp State
open and close a popupPopup
ask a yes/no questionMessage → the parameters
show a toast, an error or a BAPIRET tableMessage
handle an exceptionErrors and Exceptions
set the focusFocus
refresh the screen every few secondsTimer
upload or download a fileUpload, Download
keep two users from overwriting each otherLock → Which Strategy?
read and change a RAP business objectEML
find out why something does not workCommon Failures

The Groups ​

GroupWhat it coversStart with
ViewBuilding the view in ABAP, nested views, XML templatingBuilding a View
ModelBinding, expression binding and formatters, tables, trees, the device model, the size limitBinding
Event, NavigationThe life cycle, backend and frontend actions, navigation inside and between apps, the hash and the app state, exceptionsApp Structure
Popup, PopoverDialogs and popovers as fragments of their ownPopup
Translation, MessagesMessages, logging, translation with i18nMessage
Browser InteractionThe title, focus, scrolling, timers, the clipboard, URL handling, the soft keyboard, keyboard shortcutsTitle
Device CapabilitiesWhat the frontend reports about itself, camera, geolocation, barcode scanning, audio and video, upload and download, PDF, spreadsheetsFrontend Info
State, ConnectivityLocks, statefulness, WebSocket, OData, smart controlsLock
EML, CDS, SQLRAP, EML, RAP draft handling, CDS, ABAP SQLRAP
Patterns, HelpersSnippets, value help, demo output, e-mail, fuzzy searchSnippets
TroubleshootingThe failures that come up most, and what each one meansCommon Failures