In order to read data from archive I use fm ARCHIVE_GET_NEXT_RECORD. First I open the archive with ARCHIVE_OPEN_FOR_READ and then use ARCHIVE_GET_NEXT_OBJECT. These work without raising any exceptions. But ARCHIVE_GET_NEXT_RECORD returns end_of_object without filling record and record_structure. It is really frustrating because using tx-code SARA I can access the archived document and the standard read program uses the same fm.s. What should I check?
Thx in advance,