Skip to content

Commit 9ac03ba

Browse files
authored
update
1 parent c306742 commit 9ac03ba

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

docs/development/custom_js.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ outline: [2, 6]
33
---
44
# Custom JS
55

6-
If the UI5 framework functionalities do not fulfill all the requirements, you have the option to define your own custom frontend functions and call them at the frontend. For example, this approach is used in the scanner section to play a sound after scanning.
6+
If the standard UI5 framework functionalities do not fulfill all your requirements, you can define and call your own custom JavaScript functions. For example, this approach is used in the scanner section to play a sound after scanning.
77

88
The idea is to send the custom JavaScript function along with the view to the frontend and invoke it later when an event is triggered.
99

10-
Below is a working example:
10+
Below is a working example that you can use as a starting point:
1111

1212
```abap
1313
METHOD z2ui5_if_app~main.

docs/development/logging.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ outline: [2, 6]
33
---
44
# Logging, BAL
55

6-
Logging is essential for developing end-user business processes. In ABAP systems, the standard tool for this purpose is the Business Application Log (BAL), supported in both on-premise systems and ABAP Cloud (via new APIs). With abap2UI5, you can use BAL functions just as you would in classic development and create a table with the entries or use predefined popups provided by the framework.
6+
Logging is essential for developing end-user business processes. In ABAP systems, the standard tool for this purpose is the Business Application Log (BAL), which is supported in both on-premise systems and ABAP Cloud. With abap2UI5, you can use BAL functions just as you would in classic development. Logs can be displayed in tables or using the predefined popups provided by the framework.
77

88
##### BAL Variables
99
In ABAP classic, you can use the classic BAL function modules and display the BAL table with the popup `z2ui5_cl_pop_messages`:
@@ -19,7 +19,7 @@ METHOD z2ui5_if_app~main.
1919
```
2020

2121
##### ABAP Cloud
22-
In ABAP cloud, you can just import the logging object into the message popup:
22+
In ABAP Cloud, you can directly pass the logging object into the popup:
2323
```abap
2424
METHOD z2ui5_if_app~main.
2525
@@ -61,7 +61,7 @@ ENDMETHOD.
6161
```
6262

6363
##### BAL Popup
64-
Compared to T100 messages, BAL logs include more detailed information, such as timestamps. You can also use the BAL log popup to display this information. All the examples above can be used as is, but for the popup app, you should use the `z2ui5_cl_pop_bal` popup instead:
64+
Compared to message classes, BAL logs include more detailed information, such as timestamps. You can also use the specific BAL log popup to display this information. All the examples above can be used with the `z2ui5_cl_pop_bal` popup instead. Here’s an example using the abap-logger:
6565

6666
```abap
6767
METHOD z2ui5_if_app~main.
@@ -78,6 +78,5 @@ ENDMETHOD.
7878
```
7979

8080
::: tip
81-
This popup is still in its early stages, offering basic functionality. If you’ve implemented BAL features with abap2UI5, consider sharing your work! Contributions and pull requests are always welcome.
82-
:::
83-
81+
This popup is still in its early stages and offers basic functionality. If you’ve implemented BAL features with abap2UI5, consider contributing to extend its capabilities. Contributions are always welcome!
82+
:::

0 commit comments

Comments
 (0)