<?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: Table data extraction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-data-extraction/m-p/4324268#M1030422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of Doing selects on the JEST table etc. you can use the Function &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STATUS_TEXT_EDIT , for this pass the OBJNR which you got it from the AUFK table. and get the status.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2008 16:19:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-20T16:19:00Z</dc:date>
    <item>
      <title>Table data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-data-extraction/m-p/4324267#M1030421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to select distinct AUFNR OBJNR from AUFK for Plant in select screen and Order number in Selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next I need to select the Orders from the above list with system status (TJ02T-TXT004) in the selection screen into another internal table.&lt;/P&gt;&lt;P&gt;The logic is -&lt;/P&gt;&lt;P&gt;from AUFK, we get OBJNR.&lt;/P&gt;&lt;P&gt;using this OBJNR in JEST table and TJO2T table, I need to extract the orders with the status in the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic to use JEST, JSTO and TJ20T for getting the system status is --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE d~txt04 INTO l_zztxt04 (variable or table field)&lt;/P&gt;&lt;P&gt;                    FROM aufk AS a&lt;/P&gt;&lt;P&gt;              INNER JOIN jest AS b ON a&lt;SUB&gt;objnr = b&lt;/SUB&gt;objnr&lt;/P&gt;&lt;P&gt;              INNER JOIN jsto AS c ON a&lt;SUB&gt;objnr = c&lt;/SUB&gt;objnr&lt;/P&gt;&lt;P&gt;              INNER JOIN tj20t AS d ON c&lt;SUB&gt;stsma = d&lt;/SUB&gt;stsma&lt;/P&gt;&lt;P&gt;                                   AND b&lt;SUB&gt;stat = d&lt;/SUB&gt;estat&lt;/P&gt;&lt;P&gt;              WHERE  a~aufnr = l_aufnr    " Production Order&lt;/P&gt;&lt;P&gt;                AND  b~inact  = ' '&lt;/P&gt;&lt;P&gt;                AND  d~spras =  sy-langu&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please help me out how I can achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2008 16:12:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-data-extraction/m-p/4324267#M1030421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-20T16:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: Table data extraction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-data-extraction/m-p/4324268#M1030422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of Doing selects on the JEST table etc. you can use the Function &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STATUS_TEXT_EDIT , for this pass the OBJNR which you got it from the AUFK table. and get the status.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2008 16:19:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-data-extraction/m-p/4324268#M1030422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-20T16:19:00Z</dc:date>
    </item>
  </channel>
</rss>

