<?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 select queary in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-queary/m-p/1878686#M369211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u please write joins according to this condition, i will give pooints to us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the detail data will need to be checked to see if there is any data records to be selected for the internal table.   Select a count of records from the ZPNOTEDETL table for the PSPID passed from the calling program.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the record count is zero then the internal table should be set to initial. A parameter called IS_NOTICES should be set to &amp;#147;N&amp;#148;.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the record count is greater than zero then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set the parameter IS_NOTICES = &amp;#147;Y&amp;#148;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the following data from the ZPNOTEDETL table where the PSPNR = the PSPID passed from the calling program.  The PNOTE_NO, PNOTE_TYPE, AWD_TYPE_CODE, PSPNR, BID_NO, PROC_STEP_CODE, PNOTE_STAT, PUB_DATE, PUB_TIME, ORIG_PUB_DATE, ORIG_PUB_TIME, SUB_END_DATE, Concatenate (SUB_END_TIME_HR + &amp;#147;:&amp;#148; + SUB_END_TIME_MM) as SUB_END_TIME, CTR_DESC as PNOTE_DESC, PROC_METH_CODE, CHG_BY_NAME, CRE_BY_NAME, REPT_FROM_DATE, REPT_TO_DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join the PNOTE_NO for the selected data to the PNOTE_NO in the ZPNOTEHIST table where the PNOTE_HIST_NO = 1 and select the PNOTE_EDIT_DATE as the PNOTE_CRE_DATE.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join the PNOTE_TYPE for the selected data to the PNOTE_TYPE in the ZPNOTETYPE table and select the PNOTE_TYPE_CODE value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join the PNOTE_TYPE_CODE from the ZPNOTETYPE table and the DISP_LANG value to the PNOTE_TYPE_CODE and SPRAS in the ZPNOTETYPEDESC table and select the PNOTE_TYPE_DESC value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data should be selected into the PNOTE_LIST internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2007 10:42:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-30T10:42:19Z</dc:date>
    <item>
      <title>select queary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-queary/m-p/1878686#M369211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u please write joins according to this condition, i will give pooints to us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the detail data will need to be checked to see if there is any data records to be selected for the internal table.   Select a count of records from the ZPNOTEDETL table for the PSPID passed from the calling program.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the record count is zero then the internal table should be set to initial. A parameter called IS_NOTICES should be set to &amp;#147;N&amp;#148;.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the record count is greater than zero then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set the parameter IS_NOTICES = &amp;#147;Y&amp;#148;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the following data from the ZPNOTEDETL table where the PSPNR = the PSPID passed from the calling program.  The PNOTE_NO, PNOTE_TYPE, AWD_TYPE_CODE, PSPNR, BID_NO, PROC_STEP_CODE, PNOTE_STAT, PUB_DATE, PUB_TIME, ORIG_PUB_DATE, ORIG_PUB_TIME, SUB_END_DATE, Concatenate (SUB_END_TIME_HR + &amp;#147;:&amp;#148; + SUB_END_TIME_MM) as SUB_END_TIME, CTR_DESC as PNOTE_DESC, PROC_METH_CODE, CHG_BY_NAME, CRE_BY_NAME, REPT_FROM_DATE, REPT_TO_DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join the PNOTE_NO for the selected data to the PNOTE_NO in the ZPNOTEHIST table where the PNOTE_HIST_NO = 1 and select the PNOTE_EDIT_DATE as the PNOTE_CRE_DATE.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join the PNOTE_TYPE for the selected data to the PNOTE_TYPE in the ZPNOTETYPE table and select the PNOTE_TYPE_CODE value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join the PNOTE_TYPE_CODE from the ZPNOTETYPE table and the DISP_LANG value to the PNOTE_TYPE_CODE and SPRAS in the ZPNOTETYPEDESC table and select the PNOTE_TYPE_DESC value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data should be selected into the PNOTE_LIST internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 10:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-queary/m-p/1878686#M369211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T10:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: select queary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-queary/m-p/1878687#M369212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of join...write first select statement for main table and then using for all entries write select for other tables....now using loop &amp;amp; read statements insert the data to final internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 10:58:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-queary/m-p/1878687#M369212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T10:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: select queary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-queary/m-p/1878688#M369213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can pl u write select statement for all joins&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 12:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-queary/m-p/1878688#M369213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T12:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: select queary</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-queary/m-p/1878689#M369214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;field1 a&lt;/SUB&gt;field2 b&lt;SUB&gt;field3 c&lt;/SUB&gt;field4 into corresponding fields of itab&lt;/P&gt;&lt;P&gt; from table1 as a inner join table 2 as b on a&lt;SUB&gt;field1 = b&lt;/SUB&gt;field3&lt;/P&gt;&lt;P&gt;  inner join table 3 as c on a&lt;SUB&gt;field1 = c&lt;/SUB&gt;field4&lt;/P&gt;&lt;P&gt;  where &amp;lt;conditions&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 12:21:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-queary/m-p/1878689#M369214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-30T12:21:04Z</dc:date>
    </item>
  </channel>
</rss>

