Skip to content

Info

abap2UI5 ships the current frontend state with every roundtrip. Read it from client->get( ) — no custom control, no extra event needed. The relevant sub-structures are s_device, s_ui5, s_focus, and s_scroll.

Device

For reading device information via client->get( )-s_device, see Device Model.

UI5

For reading the runtime UI5 framework details via client->get( )-s_ui5, see UI5 Versions.

Focus

For reading the current focus via client->get( )-s_focus, see Focus.

Scroll

For reading scroll positions via client->get( )-s_scroll, see Scrolling.

Working Samples

Complete apps from the sample catalogue that use what this page describes. Each is a single class — pull the repository with abapGit and start it with ?app_start=<class>.

SampleClass
Frontend Info: UI5 Version, Theme, OS, BrowserZ2UI5_CL_SMP_APP_122
Device Model: Phone, Tablet, Desktop (A)Z2UI5_CL_SMP_APP_445