As bernd suggests there is not a table that handles that - as far as I know it is an internal functional from baan. As it writes the text it just assigns the next consecutive number for the next line of text.
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.
systems provided free by Baan Board
Play the Google game and help Baanboard get better rankings. Do your part. Click here
to find how.