Problem with reading syslog / function RSLG_READ_FILE
i have a problem reading the syslog with my program... i tried it like this but it doesnt work. any idea why it doesnt? there is no documentation for this function in my sap system.
DATA: BEGIN OF ta.
INCLUDE STRUCTURE rslgsel.
DATA: END OF ta.
DATA: entriestab LIKE rslgetab OCCURS 0 WITH HEADER LINE.
ta-user = 'TL79'.
ta-startdate = '20100412010000'.
ta-stop_date = '20100413010000'.
CALL FUNCTION 'RSLG_READ_FILE'
file_info = syslog_file
selection = ta
syslog_in_table = entriestab
thx in advance.
EDIT (Forgot 3 lines. anyway id be happy if someone got a good sample code for this function)
Edited by: rafe b. on Apr 13, 2010 2:08 PM