Skip to Content
author's profile photo Former Member
Former Member

write to application log in user exit

Hi all,

I want to write a collection messages to the application log in user exit EBIA0003, user exit for transaction EA00, but I only can write one if I just use

message eYYY(x) with lv_msgv1

lv_msgv2

lv_msgv3

lv_msgv4.

It will be placed in the log after the exit.

I've already tried with the BAL functions, but it doesn't seem to work or maybe I'm doing something wrong. Is there a way to write a collection of messages in to the application log in this user exit?

greetz Pieter

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2007 at 02:27 PM

    Hi

    Use t-code SE62

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 03, 2007 at 03:51 PM

    Hi Pieter,

    you can do using BAL functions if the lop is already opened. Try to find out what parameters the transaction uses for LOG access (handle!). Do the calls in the exit accordingly.

    We append messages to the current log using FUNCTION 'BAL_LOG_MSG_ADD'. If the log handle is not available, you might access it using dynamic assign like

    ASSIGN ('(<program>)<field>') TO <field> .

    Regards,

    Clemens

    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.