AQO web editor
Edit options in the browser: from the SAP Fiori launchpad, from a link in an e-mail or with the report ZAQO_UI5.
The optional add-on aqo_ui5 (SAPUI5 1.120, OData V2) uses the same options, history and checks as SAP GUI.
The core package gets only one new method ZCL_AQO_HELPER=>IS_UI5_MODE.
Changes: CHANGELOG, what the web editor can do compared with SAP GUI: ROADMAP.
- What you can do
- History and comparison
- Technical settings and field catalog
- Info, usages and ADT links
- Locks
- Installation
- Launchpad tile
- Hooks

What you can do
- Find an option: tree by package, recent options, all options with grouping. Search in descriptions or In values
- Edit values: texts, numbers, dates, times, check boxes, fixed values, search helps (by TABLE-FIELD), ranges, long texts, tables with nested tables. The same checks as in SAP GUI, an error opens the cell with the problem
- History of every field: compare 2 versions side by side and restore an old value
- Compare with system: another system by RFC destination (SM59, type 3), take the remote values
- Technical (DEV only): description, TABLE-FIELD, editable in PROD, delete a field or the whole option, field catalog of a table
- Transport: requests and tasks that contain the option. Info: description, number of previous values, menu in ZAQO, the last call of the option (program, include, line) and Scan ABAP code for usages
- Excel export of a table, Share (link or e-mail), English and Russian

History and comparison
The history button of a field shows all saved values. Rows are matched like in a text diff, nested tables, ranges and long texts can be opened. Restore puts the old value back into the editor: nothing changes until you save.

Compare with system (scales icon in the title) compares the whole option with the same option in another system: values that differ, exist only here or only there, or have another declaration.

Technical settings and field catalog
Tab Technical in the development system: description of a field, TABLE-FIELD (for value helps), editable in PROD, delete a field.

For a table the column TABLE-FIELD opens the field catalog, as in SAP GUI:
- table kind: standard, sorted or hashed, unique key, key definition (default, user-defined, empty) and key fields
- every column: description, TABLE-FIELD, F4 internal table (another sorted or hashed table of the option)
- nested tables have their own catalog
The current value must fit into the new key: duplicates are reported and nothing is saved. The program declares the table, so its table kind and key are taken from the program again when it runs. Descriptions, TABLE-FIELD and F4 tables stay.

Info, usages and ADT links
Tab Info shows the last call of the option with a link to ABAP Development Tools (Eclipse). Scan ABAP code finds programs and classes that read the option.

The links adt:// open the code in Eclipse. To enable them:
- Window > Preferences > ABAP Development: switch on the option in the section ADT Link Handling (Windows)
- Newer Eclipse versions: Window > Preferences > General > Link Handlers:
adtandeclipse+commandare checked and handled by this Eclipse (important with several Eclipse installations) - Restart Eclipse. The browser asks once whether it may open the link: allow it
On macOS ADT registers the handler during the installation.
Locks
The web editor works like every Fiori app: each request is independent, no stateful BSP is needed.
- When an option is opened, a lock of another user (for example in SAP GUI) is shown
- Save locks the option, checks that nobody saved it in the meantime, saves and unlocks it in one request
- If somebody else saved it, you get “The option was changed by another user. Please reload it”: nothing is overwritten
Installation
Install abapGit, then (online repository or offline ZIP):
- EUI
- AQO
- aqo_ui5 in its own package, for example
$AQO_UI5. It contains the classes, the reports and the UI5 applicationZAQO_UI5(BSP) - Run the report
ZAQO_UI5_SETUP: first in test mode, then without it. It registers and activates the OData serviceZAQO_UI5_SRV. With a separate Gateway hub use/IWFND/MAINT_SERVICEthere - Run
/UI5/APP_INDEX_CALCULATEfor the applicationZAQO_UI5(needed by the launchpad) - Start: report
ZAQO_UI5or/sap/bc/ui5_ui5/sap/zaqo_ui5/index.html
| Right | Authorization objects |
|---|---|
| Start | S_SERVICE for ZAQO_UI5_SRV |
| View | S_TCODE ZAQO_VIEWER_OLD, or any edit right |
| Edit | S_TCODE ZAQO_EDITOR_OLD or ZAQO |
| Compare with system | S_RFC for ZFM_AQO_READ_OPTION in the other system |
Outside of the development client only fields marked editable in PROD can be changed.
Launchpad tile
The application has the inbound ZAqoOption-manage (URL /sap/bc/ui2/flp#ZAqoOption-manage):
/UI2/SEMOBJ: create the semantic objectZAqoOption/UI2/FLPD_CUST(or the launchpad content manager), a catalog, Target mapping: semantic objectZAqoOption, actionmanage, application type SAPUI5 Fiori App, URL/sap/bc/ui5_ui5/sap/zaqo_ui5, IDzaqo.ui5, all device types, additional parameters allowed- Tile: static app launcher, title “ABAP Quick Options”, navigation
ZAqoOption/manage - Group (or space and page), then a PFCG role with the catalog and the group for the users
Hooks
BEFORE_OPTION_SAVE gets IV_IN_EDITOR = X on the web too. No dialogs: return the text of an error in CV_ERROR_TEXT.