<?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: Problem with reading cluster PCL1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-cluster-pcl1/m-p/5692540#M1293433</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;press f1 on the macro database you will get the syntax and how to use it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to read PCL1 data you need to put the macro in the ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: letzt TYPE ptk34_letzt,                             
      ccbel TYPE TABLE OF ptk34 WITH HEADER LINE,           
      inbel TYPE TABLE OF ptk34_inbel WITH HEADER LINE,    
      trans TYPE TABLE OF ptk34_trans WITH HEADER LINE.     


DEFINE rp_imp_c1_tc.
  set extended check off.
  import
         letzt
         ccbel
         inbel
         trans
         from database pcl1(te) id   IW_TE_KEY "check this this might be the personal number
         accepting padding.                                
  rp_imp_tc_subrc = sy-subrc.      "Check Sy-subrc here..
  set extended check on.
END-OF-DEFINITION.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2009 18:11:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-26T18:11:05Z</dc:date>
    <item>
      <title>Problem with reading cluster PCL1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-cluster-pcl1/m-p/5692539#M1293432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with reading data from cluster PCL1.&lt;/P&gt;&lt;P&gt;I use the following code to access PCL1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IMPORT
        ET_BELEG
  FROM   DATABASE PCL1(TE)
  ID     IW_TE_KEY
  ACCEPTING PADDING
  ACCEPTING TRUNCATION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select data from PCL1 using SE16 and enter the value of IW_TE_KEY into field SRTFD I get exactly one record.&lt;/P&gt;&lt;P&gt;After the execution of the import command I get sy-subrc = 0 but also no data in ET_BELEG. Are there any ideas what the reason might be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance and regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 18:04:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-cluster-pcl1/m-p/5692539#M1293432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T18:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading cluster PCL1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-cluster-pcl1/m-p/5692540#M1293433</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;press f1 on the macro database you will get the syntax and how to use it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to read PCL1 data you need to put the macro in the ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: letzt TYPE ptk34_letzt,                             
      ccbel TYPE TABLE OF ptk34 WITH HEADER LINE,           
      inbel TYPE TABLE OF ptk34_inbel WITH HEADER LINE,    
      trans TYPE TABLE OF ptk34_trans WITH HEADER LINE.     


DEFINE rp_imp_c1_tc.
  set extended check off.
  import
         letzt
         ccbel
         inbel
         trans
         from database pcl1(te) id   IW_TE_KEY "check this this might be the personal number
         accepting padding.                                
  rp_imp_tc_subrc = sy-subrc.      "Check Sy-subrc here..
  set extended check on.
END-OF-DEFINITION.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 18:11:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-cluster-pcl1/m-p/5692540#M1293433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T18:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with reading cluster PCL1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-cluster-pcl1/m-p/5692541#M1293434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your reply. But I don't understand the difference between my and your code? Why do I have to define a macro for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, ET_BELEG is an internal table of type PTK03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2009 07:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-reading-cluster-pcl1/m-p/5692541#M1293434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-27T07:20:09Z</dc:date>
    </item>
  </channel>
</rss>

