<?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: How to select data from sub Text Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-select-data-from-sub-text-table/m-p/12501657#M2003249</link>
    <description>&lt;P&gt;You have to read the text table too, use some JOIN option in the SELECT, don't forget the language field.&lt;/P&gt;&lt;P&gt;(You may have been tricked by SE16 or SE16n which autimatically add the text table)&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2022 16:23:10 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2022-03-25T16:23:10Z</dc:date>
    <item>
      <title>How to select data from sub Text Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-select-data-from-sub-text-table/m-p/12501654#M2003246</link>
      <description>&lt;P&gt;I am new to SAP programming and trying to pull data from this table AGR_DEFINE which has a Text Table AGR_TEXTS apart of it. The data I need is the Role(AGR_NAME) and Short Description(TEXT), which the Role I have no problem grabbing but the Description is causing problems. I defined my types: &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF TY_AGR,&amp;lt;br&amp;gt;        AGR_NAME LIKE AGR_DEFINE-AGR_NAME,&amp;lt;br&amp;gt;        TEXT LIKE AGR_TEXTS-TEXT,&amp;lt;br&amp;gt;  END OF TY_AGR.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;But selecting the data gives me the error "Unknown column name "Text". until runtime, you cannot specify a field list" &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;SELECT AGR_NAME&amp;lt;br&amp;gt;         TEXT&amp;lt;br&amp;gt;  FROM AGR_DEFINE INTO CORRESPONDING FIELDS OF TABLE ITAB_AGR.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;How am I able to grab this data?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 19:32:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-select-data-from-sub-text-table/m-p/12501654#M2003246</guid>
      <dc:creator>former_member805784</dc:creator>
      <dc:date>2022-03-24T19:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to select data from sub Text Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-select-data-from-sub-text-table/m-p/12501655#M2003247</link>
      <description>&lt;P&gt;Thank
you for visiting SAP Community to get answers to your questions. Since you're
asking a question here for the first time, I recommend that you familiarize
yourself with &lt;A href="https://community.sap.com/resources/questions-and-answers" target="test_blank"&gt;https://community.sap.com/resources/questions-and-answers&lt;/A&gt;, as it
provides tips for preparing questions that draw responses from our members. Feel
free to take our Q&amp;amp;A tutorial at
&lt;A href="https://developers.sap.com/tutorials/community-qa.html" target="test_blank"&gt;https://developers.sap.com/tutorials/community-qa.html&lt;/A&gt; as well, as that will
help you when submitting questions to the community.&lt;/P&gt;

&lt;P&gt;I
also recommend that you include a profile picture. By personalizing your
profile, you encourage readers to respond:
&lt;A href="https://developers.sap.com/tutorials/community-profile.html" target="test_blank"&gt;https://developers.sap.com/tutorials/community-profile.html&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Kind
regards,&lt;/P&gt;

&lt;P&gt;--Jerry&lt;/P&gt;

&lt;P&gt;Moderation
Lead&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 19:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-select-data-from-sub-text-table/m-p/12501655#M2003247</guid>
      <dc:creator>jerryjanda</dc:creator>
      <dc:date>2022-03-24T19:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to select data from sub Text Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-select-data-from-sub-text-table/m-p/12501656#M2003248</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use Inner join instead. This code should work.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Types: Begin of ty_agr,
       agr_name Like agr_define-agr_name,
       text Like agr_texts-text,
      End of ty_agr.
Data: itab type standard table of ty_agr.

Select from agr_define as a 
       inner join agr_texts as b on a~agr_name = b~agr_name 
       fields a~agr_name as a1,
              b~text as b1 into Table @itab. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Note: Specify your Condition in select Statement. &lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 03:06:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-select-data-from-sub-text-table/m-p/12501656#M2003248</guid>
      <dc:creator>shivakrishna1507</dc:creator>
      <dc:date>2022-03-25T03:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to select data from sub Text Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-select-data-from-sub-text-table/m-p/12501657#M2003249</link>
      <description>&lt;P&gt;You have to read the text table too, use some JOIN option in the SELECT, don't forget the language field.&lt;/P&gt;&lt;P&gt;(You may have been tricked by SE16 or SE16n which autimatically add the text table)&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 16:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-select-data-from-sub-text-table/m-p/12501657#M2003249</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2022-03-25T16:23:10Z</dc:date>
    </item>
  </channel>
</rss>

