<?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 read data from cluster tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-cluster-tables/m-p/1591773#M266170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I met a problem.&lt;/P&gt;&lt;P&gt;  How to read data from cluster tables using:&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  b2-key-pernr = 20.&lt;/P&gt;&lt;P&gt;  b2-key-pabrj = 2006.&lt;/P&gt;&lt;P&gt;  b2-key-pabrp = 09.&lt;/P&gt;&lt;P&gt;  b2-key-cltyp = '1'.&lt;/P&gt;&lt;P&gt;  import saldo from database pcl2(b2) id b2-key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is that the sy-subrc is always 4, could anyone help me?&lt;/P&gt;&lt;P&gt; thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2006 01:42:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-11T01:42:38Z</dc:date>
    <item>
      <title>read data from cluster tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-cluster-tables/m-p/1591773#M266170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I met a problem.&lt;/P&gt;&lt;P&gt;  How to read data from cluster tables using:&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  b2-key-pernr = 20.&lt;/P&gt;&lt;P&gt;  b2-key-pabrj = 2006.&lt;/P&gt;&lt;P&gt;  b2-key-pabrp = 09.&lt;/P&gt;&lt;P&gt;  b2-key-cltyp = '1'.&lt;/P&gt;&lt;P&gt;  import saldo from database pcl2(b2) id b2-key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is that the sy-subrc is always 4, could anyone help me?&lt;/P&gt;&lt;P&gt; thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 01:42:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-cluster-tables/m-p/1591773#M266170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T01:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: read data from cluster tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-cluster-tables/m-p/1591774#M266171</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;Import and export to database is used in two programs and not in the same program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ZPROGRAM1.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;tables : indx.&lt;/P&gt;&lt;P&gt;Data : SALDO type i,&lt;/P&gt;&lt;P&gt;       indxkey LIKE indx-srtfd VALUE 'ZAB1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  indx-aedat = sy-datum.&lt;/P&gt;&lt;P&gt;  indx-usera = sy-uname.&lt;/P&gt;&lt;P&gt;  indx-pgmid = sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXPORT SALDO TO DATABASE indx(zc) ID indxkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In another program, &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ZPROGRAM2.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;tables : indx.&lt;/P&gt;&lt;P&gt;Data : SALDO type i,&lt;/P&gt;&lt;P&gt;       indxkey LIKE indx-srtfd VALUE 'ZAB1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  indx-aedat = sy-datum.&lt;/P&gt;&lt;P&gt;  indx-usera = sy-uname.&lt;/P&gt;&lt;P&gt;  indx-pgmid = sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IMPORT SALDO FROM DATABASE indx(zc) ID indxkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 02:21:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-cluster-tables/m-p/1591774#M266171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T02:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: read data from cluster tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-cluster-tables/m-p/1591775#M266172</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;I think u can using FM "HR_TIME_RESULTS_GET" to read data from Table Cluster B2. Here the sample code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: saldo like pc2b5 occurs 0 with header line.

    call function 'HR_TIME_RESULTS_GET'
      exporting
        get_pernr             = pernr
        get_pabrj             = pabrj
        get_pabrp             = pabrp
      tables
        get_saldo             = saldo
      exceptions
        no_period_specified   = 1
        wrong_cluster_version = 2
        no_read_authority     = 3
        cluster_archived      = 4
        technical_error       = 5
        others                = 6.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;JR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 02:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-data-from-cluster-tables/m-p/1591775#M266172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T02:30:07Z</dc:date>
    </item>
  </channel>
</rss>

