Skip to Content

Add error message to application log from BADI

Hi All,

I am working on a BADI......

As the txn is already adding its messges in log thru BAL_LOG_CREATE, BAL_LOG_MSG_ADD...etc......

after that my badi comes into picture.....and it displays the message in POPUP

Now i want to add my error message form BADI to this already created log .....

Kindly suggest...

Note..I tried to use BAL_LOG_MSG_ADD it got add but the display is in full screen...not in POPUP....

 CALL FUNCTION 'BAL_DSP_LOG_DISPLAY'
  EXCEPTIONS
    PROFILE_INCONSISTENT = 1
    INTERNAL_ERROR       = 2
    NO_DATA_AVAILABLE    = 3
    NO_AUTHORITY         = 4
    OTHERS               = 5.

Thanks

RK

Edited by: Rahul Keshav on Sep 8, 2010 12:50 AM

Edited by: Rahul Keshav on Sep 8, 2010 12:51 AM

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 07, 2010 at 07:42 PM

    Hello Rahul

    Have a look at the many instructive sample reports in package SZAL, e.g. SBAL_DEMO_04_POPUP.

    You need to fetch the log profile using fm BAL_DSP_PROFILE_POPUP_GET.

    Regards

    Uwe

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 21, 2010 at 09:27 AM

    Added error message to the return structure...

    Add comment
    10|10000 characters needed characters exceeded