<?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: Select Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311776#M506414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;    declare the table SCMGV_CTYPE_PPF in the TABLES clause as below:&lt;/P&gt;&lt;P&gt;tables: SCMGV_CTYPE_PPF.&lt;/P&gt;&lt;P&gt;    if still it is not working then check wheather table SCMGV_CTYPE_PPF&lt;/P&gt;&lt;P&gt; is exists in DD or not in transaction SE11, if it is not exist then use native SQL statement as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  EXEC SQL &lt;/P&gt;&lt;P&gt;     Select RMS_ID CASE_SPS_ID NOTES_SPS_ID&lt;/P&gt;&lt;P&gt;     Into (W_RMS_ID W_CASE_SPS_ID W_NOTES_SPS_ID)&lt;/P&gt;&lt;P&gt;     from SCMGV_CTYPE_PPF&lt;/P&gt;&lt;P&gt;     where CASE_TYPE = W_CASETYP.&lt;/P&gt;&lt;P&gt;  END SQL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2007 15:33:42 GMT</pubDate>
    <dc:creator>srinivas_akiri</dc:creator>
    <dc:date>2007-05-14T15:33:42Z</dc:date>
    <item>
      <title>Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311774#M506412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Please let me know how i can correct this statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select RMS_ID CASE_SPS_ID NOTES_SPS_ID&lt;/P&gt;&lt;P&gt;           into (W_RMS_ID W_CASE_SPS_ID W_NOTES_SPS_ID)&lt;/P&gt;&lt;P&gt;           from SCMGV_CTYPE_PPF&lt;/P&gt;&lt;P&gt;           where CASE_TYPE = W_CASETYP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message I am getting is:&lt;/P&gt;&lt;P&gt;"SCMGV_CTYPE_PPF" is not defined in the ABAP Dictionary as a table,&lt;/P&gt;&lt;P&gt;projection view or database view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 15:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311774#M506412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T15:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311775#M506413</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;Try this..Give commas inbetween variable in the INTO clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select RMS_ID CASE_SPS_ID NOTES_SPS_ID&lt;/P&gt;&lt;P&gt;into &amp;lt;b&amp;gt;(W_RMS_ID,W_CASE_SPS_ID,W_NOTES_SPS_ID)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Narne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 15:32:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311775#M506413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T15:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311776#M506414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;    declare the table SCMGV_CTYPE_PPF in the TABLES clause as below:&lt;/P&gt;&lt;P&gt;tables: SCMGV_CTYPE_PPF.&lt;/P&gt;&lt;P&gt;    if still it is not working then check wheather table SCMGV_CTYPE_PPF&lt;/P&gt;&lt;P&gt; is exists in DD or not in transaction SE11, if it is not exist then use native SQL statement as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  EXEC SQL &lt;/P&gt;&lt;P&gt;     Select RMS_ID CASE_SPS_ID NOTES_SPS_ID&lt;/P&gt;&lt;P&gt;     Into (W_RMS_ID W_CASE_SPS_ID W_NOTES_SPS_ID)&lt;/P&gt;&lt;P&gt;     from SCMGV_CTYPE_PPF&lt;/P&gt;&lt;P&gt;     where CASE_TYPE = W_CASETYP.&lt;/P&gt;&lt;P&gt;  END SQL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 15:33:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311776#M506414</guid>
      <dc:creator>srinivas_akiri</dc:creator>
      <dc:date>2007-05-14T15:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311777#M506415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats because SCMGV_CTYPE_PPF is Case Type Maintenance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 15:34:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311777#M506415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T15:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311778#M506416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still the same error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 15:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311778#M506416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T15:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311779#M506417</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;  As it is a maintenance view may be u cant select data from that view.&lt;/P&gt;&lt;P&gt;Even i have tried the same code it is giving me the same error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Haritha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 15:37:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311779#M506417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T15:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311780#M506418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, What is the solution for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 15:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311780#M506418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T15:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311781#M506419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiret,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked for SCMGV_CTYPE_PPF in transaction SE12 and it is neither a database table nor a view in my SAP R3 system. I use version 4.7. Can you explain what exactly is SCMGV_CTYPE_PPF and which system are you working with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 15:49:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311781#M506419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T15:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311782#M506420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of selecting from maint view u can select from table SCMGCASETYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

tables : SCMGCASETYPE.


Select RMS_ID CASE_SPS_ID NOTES_SPS_ID
into (W_RMS_ID W_CASE_SPS_ID W_NOTES_SPS_ID)
from  SCMGCASETYPE
where CASE_TYPE = W_CASETYP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think this may help u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 07:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2311782#M506420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T07:22:08Z</dc:date>
    </item>
  </channel>
</rss>

