<?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: JAVA code for fetching a single row from a table in SAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394256#M191262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay/Rich/Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I am already using this FM RFC_READ_TABLE.  In this FM, we have a parameter called &amp;lt;b&amp;gt;DATA&amp;lt;/b&amp;gt; in &amp;lt;b&amp;gt;TABLES&amp;lt;/b&amp;gt; list.  The length of the record of this table DATA is 512 charaters, whereas the length of the record of the table &amp;lt;b&amp;gt;VBKD&amp;lt;/b&amp;gt;(the table which i am trying to fetch) is 586 characters.  As a result of which, an exception is being thrown stating that "The record does not fit into the table &amp;lt;b&amp;gt;DATA&amp;lt;/b&amp;gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz clarify this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sree Ramya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jun 2006 12:54:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-29T12:54:57Z</dc:date>
    <item>
      <title>JAVA code for fetching a single row from a table in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394251#M191257</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;&lt;/P&gt;&lt;P&gt;Can anybody please tell me how to implement the "Select Single" query in JAVA while accessing SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our requirement is to fetch the Sales Document number(VBELN) by passing the Purchase Order Number(BSTKD) from any of the tables containing these two fields like VBKD. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Sree Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 12:39:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394251#M191257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T12:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA code for fetching a single row from a table in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394252#M191258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would need to create an RFC enabled function module on the ABAP side, and put your select in this function module. Then call this function module from your java app using jCo.  You can not select data directly from the ABAP database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 12:41:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394252#M191258</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-29T12:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA code for fetching a single row from a table in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394253#M191259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can call the RFC_READ_TABLE which can read any table on the SAP side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 12:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394253#M191259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T12:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA code for fetching a single row from a table in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394254#M191260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer this thread for some insight:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1617252"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 12:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394254#M191260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T12:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA code for fetching a single row from a table in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394255#M191261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to use Java Connector, using RFC &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RFC_READ_TABLE&amp;lt;/b&amp;gt; , to fetch the data from the tables from java applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 12:45:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394255#M191261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T12:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA code for fetching a single row from a table in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394256#M191262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay/Rich/Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I am already using this FM RFC_READ_TABLE.  In this FM, we have a parameter called &amp;lt;b&amp;gt;DATA&amp;lt;/b&amp;gt; in &amp;lt;b&amp;gt;TABLES&amp;lt;/b&amp;gt; list.  The length of the record of this table DATA is 512 charaters, whereas the length of the record of the table &amp;lt;b&amp;gt;VBKD&amp;lt;/b&amp;gt;(the table which i am trying to fetch) is 586 characters.  As a result of which, an exception is being thrown stating that "The record does not fit into the table &amp;lt;b&amp;gt;DATA&amp;lt;/b&amp;gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz clarify this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sree Ramya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 12:54:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394256#M191262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T12:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA code for fetching a single row from a table in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394257#M191263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can as well specify the names of the fiels that you need. in the FIELDS table of the rfc.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2006 12:57:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/java-code-for-fetching-a-single-row-from-a-table-in-sap/m-p/1394257#M191263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-29T12:57:08Z</dc:date>
    </item>
  </channel>
</rss>

