Skip to Content
0
Former Member
Jul 13, 2012 at 09:19 AM

ARCHIVE_GET_NEXT_RECORD does not fill structure

96 Views

Hello Friends,

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,

Ali