<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RFC_READ_TABLE: Fields with type P in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331224#M168759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hv u checked 'FIELDS' tables in 'RFC_READ_TABLE'. We can specify type FIELDS-TYPE = 'P' while calling the FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 May 2006 09:05:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-23T09:05:52Z</dc:date>
    <item>
      <title>RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331223#M168758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I use RFC_READ_TABLE in order to read some table values from another SAP system. This works fine in principle - it returns data converted to characters, which I can access via wa+offset(length). However, I haven't found a way to access fields, which are of type P, e.g. T006-ADDKO. So far I managed to get various short dumps. Any ideas?&lt;/P&gt;&lt;P&gt;(I know the function module is not released to customers. Maybe this is a "feature" ...)&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 09:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331223#M168758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T09:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331224#M168759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hv u checked 'FIELDS' tables in 'RFC_READ_TABLE'. We can specify type FIELDS-TYPE = 'P' while calling the FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 09:05:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331224#M168759</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T09:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331225#M168760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome to SDN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this oss note (382318) about using RFC_READ_TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you may be interested in this code sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f50dcd4e-0501-0010-3596-b686a7b51492" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f50dcd4e-0501-0010-3596-b686a7b51492&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 09:50:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331225#M168760</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-05-23T09:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331226#M168761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;I think the attributes like TYPE within FIELDS are returned by the function module - any value I specify there when calling the function module seems to be ignored. I got always the same data back, which I failed so far to convert to a variable of type P.&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 10:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331226#M168761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-23T10:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331227#M168762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fm 'TABLE_ENTRIES_GET_VIA_RFC'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's better . i think&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 11:49:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331227#M168762</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2006-05-23T11:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331228#M168763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lars,&lt;/P&gt;&lt;P&gt;the RFC_READ_TABLE fubas are only sample stuff and lack also in some other respect than only p Fields. As already mentioned a Fuba with xString-Table and Serialization can solve your requirements. But different to the mentioned PDF the use of export/import from/to data buffer is superior to call transformation in this case. It is much faster and offers better compression. The only reason for XML might be if you cross relase boundaries.&lt;/P&gt;&lt;P&gt;Additionally it is to mention that such a RFC might introduce a security leak. Please use AUTHORITY-CHECK to ensure a proper permission.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;  klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 14:44:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331228#M168763</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2006-05-23T14:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331229#M168764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK fellows,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put a similar question here some time ago and did not get really helpful answers - but I am successful with any kind of tables and fields now (after having had dump after dump and try after try):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I use a structure of veri_raw (uninterpreted sequence of 2048 bytes) for the transfer table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Numerical fields are 'aligned' in ABAP: You can get the actual offset and length (x031l-dblength) using FUNCTION 'DD_RTOBJ_GET'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Put the determined part of the record into a temporary field of raw type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_tabrec  =  &amp;lt;ft&amp;gt;+&amp;lt;x031l&amp;gt;-offset(&amp;lt;x031l&amp;gt;-dblength).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign the appropriate part of this to an untyped field-symbol (type any) casting the desired type:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN lv_tabrec(&amp;lt;x031l&amp;gt;-dblength) TO  &amp;lt;fs&amp;gt;&lt;/P&gt;&lt;P&gt;  CASTING TYPE (&amp;lt;x031l&amp;gt;-rollname).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field-symbol &amp;lt;fs&amp;gt; carries whatever field you assigned. No dumps except for fields without &amp;lt;x031l&amp;gt;-rollname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure why I need the temporary field between, but I had dumps when assigning directly with given offset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this in 640 unicode for a RFC table compare program - tens of thousands of tables checked successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this really helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 16:28:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331229#M168764</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-05-23T16:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331230#M168765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Clemens,&lt;/P&gt;&lt;P&gt;a table of type Xstring will also do, and be a little more comfortable. Bt regarding field-symbols and casting I have strong concerns. This might cause lots of problems when crossing system boundaries (little/big endian, (non) unicode). What was your reason not to use export/import or call transformation ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 16:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331230#M168765</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2006-05-23T16:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331231#M168766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Klaus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;XSTRING does not work at all because you can't assign offsets with length in xstrings. So not much more comfort. I don't even know if you can select into xstrings, but I didn't try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may be right with your conversion concerns. Our situation is a typical 3-system-landscape with technical idetical systems - so ther is nothing to bother.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My solution allows to get data of any table in any type from any system reached by RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it works without implementing anything in any system except the calling one - this makes the difference and is the reason not to use any method recommended by you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may be so many better solutions not running yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Clemens Li&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 17:10:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331231#M168766</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-05-23T17:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331232#M168767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Clemens,&lt;/P&gt;&lt;P&gt;the xString is only to carry the data between both systems. Of course you have to deserialize it at the end.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Klaus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Report Kzi_test_01.
  data: cur_Info type xstring, all_Infos type standard table of xstring.
  data: cur_Line type Tadir,   all_Lines type standard table of tadir.

" get data / serialize at rfc target "
  select * from Tadir up to 20 rows into table all_Lines.
  loop at all_Lines into cur_Line.
    export data = cur_Line to data buffer cur_Info.
    append cur_Info to all_Infos.
  endloop.

" deserialize in local system "
  loop at all_Infos into cur_Info.
    import data = cur_Line from data buffer cur_Info.
    write: / cur_Line-Obj_Name.
  endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2006 17:21:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331232#M168767</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2006-05-23T17:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331233#M168768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;thanks for all the answers!&lt;/P&gt;&lt;P&gt;Unfortunately I cannot use TABLE_ENTRIES_GET_VIA_RFC due to Unicode and not having the possibility to restrict the SELECT to a list of fields.&lt;/P&gt;&lt;P&gt;I thought there may be a possibility with RFC_READ_TABLE, also on fields of type P. Then I have either to live without P fields or to write something my self.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 10:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331233#M168768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-24T10:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331234#M168769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm quite sure it works with my approach posted earlier. Do you have a table name for trying?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with T001K with type P field BDIFP and it works perfect. We are on SAP ERP Central Component 5.0, BASIS 640, Unicode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2006 12:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331234#M168769</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-05-24T12:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331235#M168770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;you wrote your own function module, right?&lt;/P&gt;&lt;P&gt;I would like to use an existing one like RFC_READ_TABLE, since I do not have development access to some of the systems I would like to call.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 12:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331235#M168770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T12:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331236#M168771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just one more feature that does not require developer access at the destination. The select statement has the option to define a RFC target ( keyword Connection ). This of course requires an authorization one should not have.&lt;/P&gt;&lt;P&gt;Best Regards &lt;/P&gt;&lt;P&gt;  Klaus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see /nabaphelp select source connection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 13:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331236#M168771</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2006-05-29T13:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331237#M168772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Lars,&lt;/P&gt;&lt;P&gt;one other feature that does not require developer access is to use a RFC target in the select statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * From {db-table} connection {rfc-dest} ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This of course requires an authorization one should not have :(=.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;  Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 13:33:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331237#M168772</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2006-05-29T13:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331238#M168773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no I did not write my own function module. I wrote a report as temporary object on development system and I can read tables from all systems including productive system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try the way I suggested earlier?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 13:56:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331238#M168773</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-05-29T13:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331239#M168774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Klaus,&lt;/P&gt;&lt;P&gt;our Basis team was clever enough not to define the destinations in table DBCON. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; ==&amp;gt; I get short dumps.&lt;/P&gt;&lt;P&gt;Was a nice try anyway ...&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 14:39:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331239#M168774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T14:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331240#M168775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;hm, I tried to call RFC_READ_TABLE using a table for the data based on veri_raw. I already get a short dump when I call the FM (CX_SY_DYN_CALL_ILLEGAL_TYPE). The reason may be that we are on Unicode. I also tried to define a new data element and domain for RAW 512 (since the data table in the FM interface has got a record length of 512 characters) and failed again.&lt;/P&gt;&lt;P&gt;Best ragards&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 14:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331240#M168775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-29T14:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331241#M168776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lars,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;our system is SAP ERP Central Component 5.0, SAP_BASIS 640, SAP_ABA 640, ORACLE 9.2.0.7.0, Unicode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I won't post the whole program here (too much and too specific), just the most 'critical' pieces:&lt;/P&gt;&lt;P&gt;PARAMETERS:&lt;/P&gt;&lt;P&gt;  p_rfc1                                  TYPE rfcdes-rfcdest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES:&lt;/P&gt;&lt;P&gt;  tabrec                                  TYPE veri_raw,&lt;/P&gt;&lt;P&gt;  ty_t_tabrec                             TYPE STANDARD TABLE OF tabrec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;  DATA:&lt;/P&gt;&lt;P&gt;    lt_tabrec_1                           TYPE ty_t_tabrec,&lt;/P&gt;&lt;P&gt;    lv_dbcnt1                             TYPE sy-dbcnt.&lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS:&lt;/P&gt;&lt;P&gt;    &amp;lt;tabname&amp;gt;                             TYPE tabname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;get table entries from 1st destination&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    PERFORM rfc_tab_get&lt;/P&gt;&lt;P&gt;      USING    p_rfc1 &amp;lt;tabname&amp;gt;&lt;/P&gt;&lt;P&gt;      CHANGING lt_tabrec_1 lv_dbcnt1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form rfc_tab_get&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM rfc_tab_get  USING    pv_rfc1        TYPE rfcdest&lt;/P&gt;&lt;P&gt;                           pt_tabname     TYPE tabname&lt;/P&gt;&lt;P&gt;                  CHANGING pt_tab         TYPE table&lt;/P&gt;&lt;P&gt;                           pv_dbcnt       TYPE sydbcnt.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RFC_GET_TABLE_ENTRIES' DESTINATION pv_rfc1&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      table_name        = pt_tabname&lt;/P&gt;&lt;P&gt;      max_entries       = p_maxrec&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      number_of_entries = pv_dbcnt&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      entries           = pt_tab&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS            = 0.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "rfc_tab_get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: &amp;lt;tabname&amp;gt; is used with loop ... assigning and an internal table for all tables to be read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if your table type is wrong or you are on a system^I don't know what kind of. And one more hint: If you want to test it, use DESTINATION NONE. May be you got the dump because you tried to execute without DESTINATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep on steady,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2006 15:22:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331241#M168776</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-05-29T15:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE: Fields with type P</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331242#M168777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clemens,&lt;/P&gt;&lt;P&gt;thanks for the hint regarding DESTINATION 'NONE' - no short dump anymore!&lt;/P&gt;&lt;P&gt;I got it working with RFC_GET_TABLE_ENTRIES, but failed on RFC_READ_TABLE (data looks shifted somehow). By the way, I didn't need the temporary raw variable before the ASSIGN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RFC_GET_TABLE_ENTRIES does not have the possibility to specify the field values - how do you read tables with a wide record structure like VBAP (exceeded 512 characters)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, RFC_GET_TABLE_ENTRIES does not have a parameter for the WHERE clause. But there is a generic key, which I didn't get working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for all your help!&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Lars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2006 12:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-fields-with-type-p/m-p/1331242#M168777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-30T12:48:49Z</dc:date>
    </item>
  </channel>
</rss>

