‎2007 Oct 18 10:23 AM
Hi ,
This is urgent. point will be awarded.
I have following requirement in remote function module RFC_READ_TABLE
The scope of function module RFC_READ_TABLE is very restricted. E.g., due to the fixed maximum row size only smaller tables can be accessed. There are several data types that cannot be handled, and also there are doubts regarding the Unicode compatibility of the function module.
However, all this is quite immaterial, because the function is not meant to be publicly used anyway. It was only created to be used as a sample in various training courses, and is clearly flagged as "not released for customer".
Solution.
so please let me know how to overcome this problem in RFC_READ_TABLE.
Thanks in advance.
Best Regds,
zubera
‎2007 Oct 18 4:27 PM
Try the following.
1) Refer SAP Note: 758278, 382318
2) Try to fill query_table in FM RFC_READ_TABLE.
If you are changing RFC_READ_TABLE, please change this also. this is not in the above said NOTE.
old code:-->
data: begin of work, buffer(30000), end of work.
field-symbols: <wa> type any, <comp> type any.
assign work to <wa> casting type (query_table).
if rowcount > 0.
rowcount = rowcount + rowskips.
endif.
New Code :-->
data: dref type ref to data.
field-symbols: <wa> type any, <comp> type any.
create data dref type (query_table).
assign dref->* to <wa>.
Else, I guess the only option is to write your own RFC enabled FMs.
Hope it helps.
Lokesh
Message was edited by:
Lokesh Aggarwal
‎2007 Oct 18 4:57 PM
hi lokesh,
the code u mentioned ( new code) what it will do?
Whether it will help in accessing larger table.
Please reply.
Thanks in advance.
Best regds,
zub
‎2007 Oct 18 5:03 PM