Skip to content

Commit 8b76a53

Browse files
authored
update
1 parent e521b2e commit 8b76a53

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

docs/development/general.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ CLASS z2ui5_cl_app IMPLEMENTATION.
2121
RETURN.
2222
ENDIF.
2323
24-
"callback after previous app
24+
"callback after navigation
2525
IF client->check_on_navigated( ).
2626
DATA(lo_app_prev) = client->get_app_prev( ).
2727
"read attributes of previous app
2828
RETURN.
2929
ENDIF.
3030
31-
"handle events
31+
"handle events after frontend
3232
CASE client->get( )-event.
3333
WHEN 'OK'.
3434
data(lt_arg) = client->get_event_arg( ).

docs/development/logging.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,17 @@ outline: [2, 6]
66
Logging is essential for developing end-user business processes. In ABAP systems, the standard tool for this is the Business Application Log, which is supported in both on-premise systems and ABAP Cloud (via new APIs). With abap2UI5 you can use the BAL functions as you would do it in classic development. to display logs just create a table with the entries or use predefinded popups of the framework.
77

88
###### BAL structure
9-
109
In on-premise ABAP systems, you can use the classic BAL APIs. As no specific logging object exists, simply import the BAL table into `z2ui5add_cl_bal_cl`:
10+
```abp
11+
METHOD z2ui5_if_app~main.
1112
13+
DATA(lt_bal) = VALUE bal_t_msgr(
14+
( msgid = 'Z001' msgno = '001' msgty = 'S' time_stmp = '21354' msgnumber = '01' )
15+
( msgid = 'Z001' msgno = '001' msgty = 'S' time_stmp = '21354' msgnumber = '02' ) ).
1216
17+
client->nav_app_call( z2ui5_cl_pop_messages=>factory( lt_bal ) ).
18+
19+
```
1320

1421
###### ABAP Cloud Log
1522
Similar to messages you can display bal log directly in the message_popup. Just drop the into it:

0 commit comments

Comments
 (0)