Skip to Content

How to Read Contents of field BALDAT-CLUSTD Without using FM

Hi Experts,

I need your help to read the contents of the field BALDAT-CLUSTD. I know there is a FM "APPL_LOG_READ_DB" which is used to read this data.

But still I need a direct code to achieve this, like some IMPORT Command.

Can anyone share me the Import code to extract this data.

Rufus Samuel

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 19, 2017 at 09:40 AM

    The classic way to get the answer is to create a test program with APPL_LOG_READ_DB, start the debugger (/H), run your program, the debugger starts, within the debugger press F9 to add a breakpoint on statement IMPORT FROM DATABASE, and continue the program until it reaches the line IMPORT FROM DATABASE baldat. Or run a trace ST05 to reach the ABAP code which reads the BALDAT table. Then copy the standard code.

    But, of course, I fully agree with Uwe : why?

    PS: use the more recent and more documented BAL_* function modules (BAL_DB_LOAD + BAL_LOG_MSG_READ). cf SAP Library: Application Log (BC-SRV-BAL).

    Add comment
    10|10000 characters needed characters exceeded