Skip to Content
avatar image
Former Member

SLG1 with long texts

Dear all,

I have a requirement to create an application log in SLG1 so the customer would be able to find out what's going on in a given procedure we trigger on the systems.

I have created a brief program using the info I have retrieved on the internet and seems to be working fine!. But, still, there are a question I would like to ask you:

1.- We are currently invoking some SQL Procedures in the process, The log displays the information shortened!.

We would need to be able to get both the parameters we are calling the procedure with and also the extended information returned from the procedure.

I've been searching some information to get the errors from the sql calls. ( with try....catch.... ), but have not found a proper way to make it work.

i would really appreciate if someone could give me a clue. 😊.

Kind regards!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 08, 2015 at 12:34 PM

    We would need to be able to get both the parameters we are calling the procedure with and also the extended information returned from the procedure.

    Very good use case for the use of appl. log "context". You can refer to the demo program - SBAL_DEMO_02.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 08, 2015 at 04:02 PM

    Dear Suhas Saha,

    Thank you very much for your help!. It was great point there!. At least I have had a better point to start at this point....:).

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      I think you dont need for batch input, just take it easy, you can use the functions modules to display ur output,

      there is a FM to retrieve log files from database, and you can display it in your own ALV:;

      so in FM , you will get ITAB ( APP LOG ) and just display it as want.

      so this waht could help you.

      'BAL_DB_SEARCH'

      'BAL_DB_LOAD'

      'BAL_LOG_MSG_READ'

      Try this, and tell us 😊

      Regards

      Ibrahim