Skip to Content
0
Former Member
Jan 27, 2009 at 01:12 PM

Trying to get some table data

329 Views

Hi

Im pretty new to SAP and RFC so please excuse me if I seem noob.

I have an external application that must use the rfc library to access some data in SAP.

At this moment I use RFCOpen to get a connection to the server (this seem to work correctly).

But now I have to use RFC_READ_TABLE.

to read 3 differents table

MAKT

MARD

MSLB

and idealy I have to read only part of the table (with where clause in sql)

Im using VS2005 c++ with the RFCSDK, and I have no real idea how to use RFC_READ_TABLE

the only thing I know is that I have to set export parameter to something that match what I want, and call callreceive()..

Can someone put me on the right path

Thanks