Skip to content

improve user exit #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions docs/advanced/extensibility/user_exits.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
abap2UI5 contains predefined predefined user exits which can be used to modify the standard behaviour. The user exits are exposed by the interface `Z2UI5_IF_EXIT`. To use them in your system you have to create a new class which implements the interface and its methods. They're called dynamically by abap2UI5 class `Z2UI5_CL_EXIT`. You should **not** include your class into abap2UI5 packages but in any other custom package.
# User Exits

These are the available methods:
- `GET_DRAFT_EXP_TIME_IN_HOURS`: You can override the default 4 hour abap2UI5 draft session timeout
- `ADJUST_CONFIG`: You can change abap2UI5 startup parameters like theme or UI5 version
abap2UI5 contains predefined predefined user exits which can be used to modify the standard behaviour. The user exits are exposed by the interface [`Z2UI5_IF_EXIT`](https://github.com/abap2UI5/abap2UI5/blob/main/src/02/z2ui5_if_exit.intf.abap). To use them in your system you have to create a new class which implements the interface and its methods. They're called dynamically by abap2UI5 class [`Z2UI5_CL_EXIT`](https://github.com/abap2UI5/abap2UI5/blob/main/src/02/z2ui5_cl_exit.clas.abap). You should **not** include your class into abap2UI5 packages but in any other custom package.

### `GET_DRAFT_EXP_TIME_IN_HOURS`
You can override the default 4 hour abap2UI5 draft session timeout

### `ADJUST_CONFIG`
You can change abap2UI5 startup parameters like theme or UI5 version