cancel
Showing results for 
Search instead for 
Did you mean: 

RFC_READ_TABLE !!

Former Member
0 Kudos

Hi All,

how can I get the multiple record-rows returned by RFC_READ_TABLE.

I have created a RESP_DT, but it gets only 1st row of the return data.

Thanks,

Narendra.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

The problem seems to be defining the RESP_DT without the necessary nesting corresponding to the TABLES prameters of the FM.

The best thing will beto import the signature (parameters) of FM RFC_READ_TABLE using the 'imported objects' step in XI, instead of using the RESP_DT Data Type. That way, you need not worry about correctly defining the Data Type RESP_DT.

If this helps you, please remember to award points.

Cheers,

Bhanu

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

have you check the occurance of your data type?

(is it 0..unbound?)

if not change it

btw try your mapping first (test tab from Repository):

RFC -> DT

if you can execute is successfully with multiple rows

then procees to real execution from R/3

Regards,

michal

Former Member
0 Kudos

Thanks michal,

now the only problem i have is the data.

Using DATA Browser I get GUID data with length 32

but with RFC_READ_TABLE I get GUID data with length 16.

I tried to Test the FUNCTION MODULE (RFC_READ_TABLE) with Fields specified (GUID) of Length 50, I get only 16 characters of GUID.

What is the problem??

Thanks,

Narendra.

MichalKrawczyk
Active Contributor
0 Kudos

hmm...

don't know it might be the problem with this function module

can you use your own modele to retrive the date just from one table? this way you'd be able to create your own parameters inside the RFC

REgards,

michal