I create such a journal:
CALL FUNCTION 'BAL_LOG_CREATE'
EXPORTING
i_s_log = ls_log
IMPORTING
e_log_handle = mv_log_handle.
Then I add a message to it:
CALL FUNCTION 'BAL_LOG_MSG_ADD'
EXPORTING
i_log_handle = mv_log_handle
i_s_msg = ls_msg
IMPORTING
e_msg_was_logged = lv_was_logged.
After I save it, I will go to the transaction slg1
to find my log object and find my msg:
But in the SAP demo program SBAL_DEMO_02 I see the message log:
It has a cool button with a question mark on the right, if I click on it, I will see even more text.
I also want it to be in my journal , how to add this to my journal message?
I looked at the code SBAL_DEMO_02, but I still don't understand how they added it.
source
share