Read SAP tables

Hi all,

I have a question...

I would like to get the data of a structure table (table not in our Oracle database) from SAP in a way so the data will be available in PHP. I was thinking about getting the data in an array, or something like that...

I've tried the RFC_READ_TABLE function, but it is not recommended by SAP. It also has the problem that it causes the DATA_BUFFER_EXCEEDED exception quiet easily.

Anyone has some ideas or tips on how I could do this.

BTW, In first place I would like to get the data from the BSEG table in PHP.

I'm using the saprfc 1.4.1 module and PHP 5.1.2 on an Apache2 Linux server.

Many thanks in advance.