cancel
Showing results for 
Search instead for 
Did you mean: 

Data Buffer Exceeded

prashanthgurra
Explorer
0 Kudos

Hi Michael,

I read your comments on RFC_READ_TABLE. Have a query here, I am using that FM to read data from table EDID4(IDOC data table), and fields I am chosing are DOCNUM and SDATA which are definitely needed.

The where clause is also take care of to fetch only one record. But still getting the DATA_BUFFER_EXCEEDED errors.

I think the problem is with SDATA is of type LCHR (Long character string).

Can you suggest of anything for me to overcome this error.

---Prashanth

Accepted Solutions (0)

Answers (2)

Answers (2)

agentry_src
Active Contributor
0 Kudos

Prasanth,

Thank you for starting a new message.

It does not look like the LINE_LENGTH parameter in the FM is large enough to handle the length of the SDATA field and is throwing the error. Try some of the fields as a test, but I don't think RFC_READ_TABLE is designed to handle that size of field.

Sorry,

Mike

Former Member
0 Kudos

Prashanth,

Did you define the fields you want pull ?

The fields to be defined in a variable of type XML as below and to be assigned to <<RFC_READ_TABLE>>.Request{/RFC_READ_TABLE/TABLES/FIELDS}. Also, make sure to use link type as 'Assign XML'.


<?xml version="1.0" encoding="UTF-8"?><FIELDS>
<item>
<FIELDNAME>AUFNR</FIELDNAME>
<OFFSET/>
<LENGTH/>
<TYPE/>
<FIELDTEXT/>
</item>
<item>
<FIELDNAME>VORNR</FIELDNAME>
<OFFSET/>
<LENGTH/>
<TYPE/>
<FIELDTEXT/>
</item>
<item>
<FIELDNAME>ARBPL</FIELDNAME>
<OFFSET/>
<LENGTH/>
<TYPE/>
<FIELDTEXT/>
</item>
</FIELDS>

- John