on 03-27-2009 2:51 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.