Skip to Content

application log message change

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2005 at 11:17 AM

    Don't you get any sy-subrc errors ?

    Regards,

    Subramanian V.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 27, 2005 at 12:00 PM

    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...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2005 at 01:13 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2005 at 02:38 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.