Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Application Log Message Truncation

prince_isaac
Active Participant
0 Likes
737

Hi Guys

My messages are getting truncated when i pass them to the variables msgv1..msgv4 however i am passing data less that is 50 Chars which is the length of msgv1..msgv4. When i view my log results some data gets truncated.

How can i pass my data and view the entire message in the log?

regards

Isaac Prince

4 REPLIES 4
Read only

former_member182670
Contributor
0 Likes
625

Hi,

Which FM do you use? How does your message with placeholders look like?

Read only

0 Likes
625

Hi

I am using the BAL* function modules


data: gt_messages type bal_t_msg.

  loop at gt_messages assigning <fs_messages>.
    call function 'BAL_LOG_MSG_ADD'
      exporting
        i_s_msg       = <fs_messages>
      exceptions
        log_not_found = 0
        others        = 1.
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
              with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
  endloop.

If i click on detail view or view list as basic list i can see the entire message.

regards

Isaac Prince

Read only

0 Likes
625

Hi

I am using the BAL* function modules


data: gt_messages type bal_t_msg.

  loop at gt_messages assigning <fs_messages>.
    call function 'BAL_LOG_MSG_ADD'
      exporting
        i_s_msg       = <fs_messages>
      exceptions
        log_not_found = 0
        others        = 1.
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
              with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
  endloop.

If i click on detail view or view list as basic list i can see the entire message.

regards

Isaac Prince

Read only

0 Likes
625

Hi

I had to cut short my message and place more text statically in the message definition through SE91.

regards

Isaac Prince