<?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: field unknown in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185169#M1980181</link>
    <description>&lt;P&gt;Thank you a lot.&lt;/P&gt;&lt;P&gt;But why "m~matkl = lt_cat99-categorie" and not "lt_cat99-categorie = m~matkl" ????&lt;/P&gt;</description>
    <pubDate>Sat, 11 Apr 2020 18:14:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2020-04-11T18:14:49Z</dc:date>
    <item>
      <title>field unknown</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185164#M1980176</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;In this code, i have an error if someone can help :&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;lt_cat99 type standard table of zcategorie99

select distinct matkl as categorie wgbez as description
  from t023t
  into corresponding fields of table lt_cat99
  where matkl in ('001', '00103', '002', '00207', '004')
  and spras = 'F'.

select m~matnr as id_produit kt~maktx as description m~meins as unite b~stprs as prix m~matkl as categorie
  up to 100 rows
  from mara as m
  inner join makt as kt on ( m~matnr = kt~matnr )
  inner join mbew as b  on ( b~matnr = m~matnr )
  into corresponding fields of table lt_prd99
  for all entries in lt_cat99
  where llt_cat99-categorie = m~matkl
  and b~bwkey = 1000.
&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;It says : Field "LT_CAT99-CATEGORIE" unknown &lt;/P&gt;
  &lt;P&gt;and in the table "zcategorie99" I have a column name "CATEGORIE"&lt;/P&gt;</description>
      <pubDate>Sat, 11 Apr 2020 17:32:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185164#M1980176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-04-11T17:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: field unknown</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185165#M1980177</link>
      <description>&lt;P&gt;It would be good if you would share the structure definition for zcategorie99 too.&lt;/P&gt;&lt;P&gt;But looking at your code - which is by the way not complete, e.g. the missing data keyword at the beginning - one issue is that in the where clause of your second query you named the table &lt;STRONG&gt;LL&lt;/STRONG&gt;T_CAT99 instead of LT_CAT99. Changing the name to LT_CAT99 in where clause too, should resolve the issue.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Apr 2020 18:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185165#M1980177</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2020-04-11T18:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: field unknown</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185166#M1980178</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In your where clause you have a typo (llt_cat99 instead of lt_cat99) and a wrong statement (m~matkl should be before lt_cat99).&lt;/P&gt;&lt;P&gt;This should solve your problem:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select m~matnr as id_produit kt~maktx as description m~meins as unite b~stprs as prix m~matkl as categorie
  up to 100 rows
  from mara as m
  inner join makt as kt on ( m~matnr = kt~matnr )
  inner join mbew as b  on ( b~matnr = m~matnr )
  into corresponding fields of table lt_prd99
  for all entries in lt_cat99
  where m~matkl = lt_cat99-categorie
  and b~bwkey = 1000.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Geert-Jan Klaps&lt;/P&gt;</description>
      <pubDate>Sat, 11 Apr 2020 18:05:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185166#M1980178</guid>
      <dc:creator>geert-janklaps</dc:creator>
      <dc:date>2020-04-11T18:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: field unknown</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185167#M1980179</link>
      <description>&lt;P&gt;Typo llt_cat99 - that should be:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  where m~matkl = lt_cat99-categorie&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 11 Apr 2020 18:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185167#M1980179</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-04-11T18:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: field unknown</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185168#M1980180</link>
      <description>&lt;P&gt;My mistake! Corrected! Thanks Sandra!&lt;/P&gt;</description>
      <pubDate>Sat, 11 Apr 2020 18:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185168#M1980180</guid>
      <dc:creator>geert-janklaps</dc:creator>
      <dc:date>2020-04-11T18:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: field unknown</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185169#M1980181</link>
      <description>&lt;P&gt;Thank you a lot.&lt;/P&gt;&lt;P&gt;But why "m~matkl = lt_cat99-categorie" and not "lt_cat99-categorie = m~matkl" ????&lt;/P&gt;</description>
      <pubDate>Sat, 11 Apr 2020 18:14:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185169#M1980181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-04-11T18:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: field unknown</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185170#M1980182</link>
      <description>&lt;P&gt;Please use the COMMENT button for comments, questions, adding details, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Apr 2020 21:57:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185170#M1980182</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-04-11T21:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: field unknown</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185171#M1980183</link>
      <description>&lt;P&gt;Because ... it's how it works.&lt;/P&gt;&lt;P&gt;Other examples:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Valid: where column = 'literal'&lt;/LI&gt;&lt;LI&gt;Error: where 'literal' = column&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And many more.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Apr 2020 21:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185171#M1980183</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-04-11T21:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: field unknown</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185172#M1980184</link>
      <description>&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 12 Apr 2020 11:02:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-unknown/m-p/12185172#M1980184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-04-12T11:02:23Z</dc:date>
    </item>
  </channel>
</rss>

