<?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: Selct query error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selct-query-error/m-p/4230783#M1010409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plz change your query as per bold area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select &lt;STRONG&gt;a~bukrs_vf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;a~fkdat&lt;/P&gt;&lt;P&gt;a~spart&lt;/P&gt;&lt;P&gt;b~vbeln&lt;/P&gt;&lt;P&gt;b~posnr&lt;/P&gt;&lt;P&gt;b~matnr&lt;/P&gt;&lt;P&gt;b~zzpernr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c~werks&lt;/P&gt;&lt;P&gt;b~zzfname&lt;/P&gt;&lt;P&gt;b~zzlname&lt;/P&gt;&lt;P&gt;b~ps_psp_pnr&lt;/P&gt;&lt;P&gt;b~spart&lt;/P&gt;&lt;P&gt;into table git_data&lt;/P&gt;&lt;P&gt;from ( vbak as a join vbap as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln )&lt;/P&gt;&lt;P&gt;join pa0001 as c&lt;/P&gt;&lt;P&gt;on&lt;/P&gt;&lt;P&gt;c&lt;SUB&gt;pernr = b&lt;/SUB&gt;zzpernr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where a~vbeln in so_vbeln&lt;/P&gt;&lt;P&gt;and &lt;STRONG&gt;a~bukrs_vf&lt;/STRONG&gt; in so_bloc&lt;/P&gt;&lt;P&gt;and b~spart in so_bu&lt;/P&gt;&lt;P&gt;and b~ps_psp_pnr in so_proj&lt;/P&gt;&lt;P&gt;and b~zzpernr in so_epno&lt;/P&gt;&lt;P&gt;and a~fkdat in so_per&lt;/P&gt;&lt;P&gt;and a~fksto ne 'X'&lt;/P&gt;&lt;P&gt;and a~fkart ne 'S1'&lt;/P&gt;&lt;P&gt;and c~werks in so_loc&lt;/P&gt;&lt;P&gt;and c~endda in '99991231'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Aug 2008 09:14:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-08T09:14:59Z</dc:date>
    <item>
      <title>Selct query error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selct-query-error/m-p/4230779#M1010405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all I made a select query and its giving me a strange error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Unknown column name "a~BUKRS". not determined until runtime, you&lt;/P&gt;&lt;P&gt;cannot specify a field list."		&lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz suggest...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select a~bukrs&lt;/P&gt;&lt;P&gt;         a~fkdat&lt;/P&gt;&lt;P&gt;         a~spart&lt;/P&gt;&lt;P&gt;         b~vbeln&lt;/P&gt;&lt;P&gt;         b~posnr&lt;/P&gt;&lt;P&gt;         b~matnr&lt;/P&gt;&lt;P&gt;         b~zzpernr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         c~werks&lt;/P&gt;&lt;P&gt;         b~zzfname&lt;/P&gt;&lt;P&gt;         b~zzlname&lt;/P&gt;&lt;P&gt;         b~ps_psp_pnr&lt;/P&gt;&lt;P&gt;         b~spart&lt;/P&gt;&lt;P&gt;        into  table git_data&lt;/P&gt;&lt;P&gt;         from ( vbak as a join vbap as b&lt;/P&gt;&lt;P&gt;         on  a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln  )&lt;/P&gt;&lt;P&gt;         join pa0001 as c&lt;/P&gt;&lt;P&gt;         on&lt;/P&gt;&lt;P&gt;          c&lt;SUB&gt;pernr = b&lt;/SUB&gt;zzpernr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         where a~vbeln      in so_vbeln&lt;/P&gt;&lt;P&gt;         and   a~bukrs      in so_bloc&lt;/P&gt;&lt;P&gt;         and   b~spart      in so_bu&lt;/P&gt;&lt;P&gt;         and   b~ps_psp_pnr in so_proj&lt;/P&gt;&lt;P&gt;         and   b~zzpernr    in so_epno&lt;/P&gt;&lt;P&gt;         and   a~fkdat      in so_per&lt;/P&gt;&lt;P&gt;         and   a~fksto      ne 'X'&lt;/P&gt;&lt;P&gt;         and   a~fkart      ne 'S1'&lt;/P&gt;&lt;P&gt;         and   c~werks      in so_loc&lt;/P&gt;&lt;P&gt;         and   c~endda      in '99991231'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 09:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selct-query-error/m-p/4230779#M1010405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-08T09:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Selct query error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selct-query-error/m-p/4230780#M1010406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(In ECC 6.0) there is no field BUKRS in VBAK, only BUKRS_VF.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 09:11:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selct-query-error/m-p/4230780#M1010406</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-08-08T09:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Selct query error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selct-query-error/m-p/4230781#M1010407</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;The error is because the table &lt;STRONG&gt;VBAK&lt;/STRONG&gt; i.e &lt;STRONG&gt;a&lt;/STRONG&gt; does not have field called BUKRS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 09:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selct-query-error/m-p/4230781#M1010407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-08T09:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Selct query error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selct-query-error/m-p/4230782#M1010408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;"Unknown column name "a~BUKRS". not determined until runtime, you&lt;/P&gt;&lt;P&gt;There is no field BUKRS in VBAK that is the reason you are getting the syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a~BUKRS_VF  "Try this&lt;/P&gt;&lt;P&gt;a~fkdat &lt;/P&gt;&lt;P&gt;a~spart&lt;/P&gt;&lt;P&gt;b~vbeln&lt;/P&gt;&lt;P&gt;b~posnr&lt;/P&gt;&lt;P&gt;b~matnr&lt;/P&gt;&lt;P&gt;b~zzpernr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c~werks&lt;/P&gt;&lt;P&gt;b~zzfname&lt;/P&gt;&lt;P&gt;b~zzlname&lt;/P&gt;&lt;P&gt;b~ps_psp_pnr&lt;/P&gt;&lt;P&gt;b~spart&lt;/P&gt;&lt;P&gt;into table git_data&lt;/P&gt;&lt;P&gt;from ( vbak as a join vbap as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln )&lt;/P&gt;&lt;P&gt;join pa0001 as c&lt;/P&gt;&lt;P&gt;on&lt;/P&gt;&lt;P&gt;c&lt;SUB&gt;pernr = b&lt;/SUB&gt;zzpernr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 09:12:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selct-query-error/m-p/4230782#M1010408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-08T09:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Selct query error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selct-query-error/m-p/4230783#M1010409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plz change your query as per bold area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select &lt;STRONG&gt;a~bukrs_vf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;a~fkdat&lt;/P&gt;&lt;P&gt;a~spart&lt;/P&gt;&lt;P&gt;b~vbeln&lt;/P&gt;&lt;P&gt;b~posnr&lt;/P&gt;&lt;P&gt;b~matnr&lt;/P&gt;&lt;P&gt;b~zzpernr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c~werks&lt;/P&gt;&lt;P&gt;b~zzfname&lt;/P&gt;&lt;P&gt;b~zzlname&lt;/P&gt;&lt;P&gt;b~ps_psp_pnr&lt;/P&gt;&lt;P&gt;b~spart&lt;/P&gt;&lt;P&gt;into table git_data&lt;/P&gt;&lt;P&gt;from ( vbak as a join vbap as b&lt;/P&gt;&lt;P&gt;on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln )&lt;/P&gt;&lt;P&gt;join pa0001 as c&lt;/P&gt;&lt;P&gt;on&lt;/P&gt;&lt;P&gt;c&lt;SUB&gt;pernr = b&lt;/SUB&gt;zzpernr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where a~vbeln in so_vbeln&lt;/P&gt;&lt;P&gt;and &lt;STRONG&gt;a~bukrs_vf&lt;/STRONG&gt; in so_bloc&lt;/P&gt;&lt;P&gt;and b~spart in so_bu&lt;/P&gt;&lt;P&gt;and b~ps_psp_pnr in so_proj&lt;/P&gt;&lt;P&gt;and b~zzpernr in so_epno&lt;/P&gt;&lt;P&gt;and a~fkdat in so_per&lt;/P&gt;&lt;P&gt;and a~fksto ne 'X'&lt;/P&gt;&lt;P&gt;and a~fkart ne 'S1'&lt;/P&gt;&lt;P&gt;and c~werks in so_loc&lt;/P&gt;&lt;P&gt;and c~endda in '99991231'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 09:14:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selct-query-error/m-p/4230783#M1010409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-08T09:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selct query error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selct-query-error/m-p/4230784#M1010410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shashank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   As others have also said, the field name is as BUKRS_VF in table VBAK that is Company code to be billed.&lt;/P&gt;&lt;P&gt;   So change BUKRS to BUKRS_VF in your select query whether is are working in ECC 6.0 or ECC 4.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With luck,&lt;/P&gt;&lt;P&gt;Pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 09:19:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selct-query-error/m-p/4230784#M1010410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-08T09:19:28Z</dc:date>
    </item>
  </channel>
</rss>

