Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with reading syslog / function RSLG_READ_FILE

hi there,

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'

EXPORTING

  • file_info = syslog_file

selection = ta

  • IMPORTING

  • COUNTERS =

  • CUR_POS =

  • CUR_WC =

  • END_INFO =

  • END_REASON =

  • LOST_ENTRIES =

  • OLD_POS =

  • OLD_WC =

TABLES

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

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question