I'm using the following fm to change a message in a log:
BAL_LOG_MSG_CHANGE
but it is not changing it. Am I supposed to refresh or reload or something?
What I want to do is the following:
- show log for special tasks in error
- you can fix problem online from log (callback routine)
- when you return message is updated accordingly
not working...
Any ideas?
thanks,
Phillip
No sy-subrc, but I have an update.
I call BAL_DSP_LOG_DISPLAY again and it does display the modified message but with an unwanted effect.
Log screen is in two parts: header and detail (more or less)
Now I have two headers.
Still searching...
The documentation says that these logs are in memory. You might need to use FM BAL_DB_SAVE. The documentation is at:
http://help.sap.com/saphelp_46c/helpdata/EN/d6/5d7f38f52f923ae10000009b38f8cf/frameset.htm
Brian
Hi, Phillip!
Try to set "refresh" flag for the changing parameter of callback routine:
FORM log_callback_ucomm
CHANGING c_s_user_command_data TYPE bal_s_cbuc.
CASE c_s_user_command_data-ucomm.
WHEN 'UCOMM1'.
BAL_LOG_MSG_CHANGE call
c_s_user_command_data-refresh = 'X'.
c_s_user_command_data-ucomm_exec = 'X'.
ENDCASE.
ENDFORM.
Regards,
Maxim.
Add a comment