<?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>Question Re: conditional statement to make comparision between tables in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571969#M4714115</link>
    <description>&lt;P&gt;the 'LOCALE_SAP' is a one letter convention ('E'), isn't it ?&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2022 08:57:31 GMT</pubDate>
    <dc:creator>yannmiquel</dc:creator>
    <dc:date>2022-08-18T08:57:31Z</dc:date>
    <item>
      <title>conditional statement to make comparision between tables</title>
      <link>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaq-p/12571963</link>
      <description>&lt;P&gt;a table has two columns one for English language and one for french language if user is English then it should show English description if user is french then it should show french description then for that what i have to do if i use Conditional Statement then how can I make comparison In every table. If this two field i.e. English &amp;amp; French column so I need to Make logic for that. &lt;/P&gt;
  &lt;P&gt;Anyone can help me then most welcome.&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Saurabh &lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 05:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaq-p/12571963</guid>
      <dc:creator>devboy</dc:creator>
      <dc:date>2022-08-18T05:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: conditional statement to make comparision between tables</title>
      <link>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571964#M4714110</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Can you please explain with some examples.  Not able to get it fully.&lt;/P&gt;&lt;P&gt;Do you want it in SQL or ABAP? &lt;/P&gt;&lt;P&gt;Which table ?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 06:24:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571964#M4714110</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2022-08-18T06:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: conditional statement to make comparision between tables</title>
      <link>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571965#M4714111</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you can use the LOCALE of the users, then a calculation view with "&lt;A href="https://help.sap.com/docs/CP/3746eb56b77943b699df025ab2bc7552/905d411f657b4ee693be695897a3864a.html?locale=en-US" target="_blank"&gt;Text join&lt;/A&gt;" can be a good option. Since you have one column for each language, you should do an union of these 2 in 1 column with a fixed input for the language (E or F) in a 2nd column.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yann&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 07:11:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571965#M4714111</guid>
      <dc:creator>yannmiquel</dc:creator>
      <dc:date>2022-08-18T07:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: conditional statement to make comparision between tables</title>
      <link>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571966#M4714112</link>
      <description>I want a sql code which is used in a cat-service.cds file actually we have problem statement like when we get a response from user means if they select a english language then we need to compare the table and according to show the table fields inside a table and if user select french then for that we need to show a some different table field  for that which operation we need to perform please share your response If you knows something related to this issueRegards,Saurabh</description>
      <pubDate>Thu, 18 Aug 2022 08:02:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571966#M4714112</guid>
      <dc:creator>devboy</dc:creator>
      <dc:date>2022-08-18T08:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: conditional statement to make comparision between tables</title>
      <link>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571967#M4714113</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You may use the union based on the session variable as below: &lt;/P&gt;&lt;P&gt;Provided, the COL1 , COL2, COL3 of same type. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT COL1, COL2, COL3 
FROM TABLE
WHERE SESSION_CONTEXT('LOCALE_SAP') = 'EN'
UNION
SELECT COL1, COL2, COL3 
FROM TABLE
WHERE SESSION_CONTEXT('LOCALE_SAP') &amp;lt;&amp;gt; 'EN'&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 08:17:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571967#M4714113</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2022-08-18T08:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: conditional statement to make comparision between tables</title>
      <link>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571968#M4714114</link>
      <description>&lt;P&gt;I put some example code in answer.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 08:17:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571968#M4714114</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2022-08-18T08:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: conditional statement to make comparision between tables</title>
      <link>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571969#M4714115</link>
      <description>&lt;P&gt;the 'LOCALE_SAP' is a one letter convention ('E'), isn't it ?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 08:57:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571969#M4714115</guid>
      <dc:creator>yannmiquel</dc:creator>
      <dc:date>2022-08-18T08:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: conditional statement to make comparision between tables</title>
      <link>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571970#M4714116</link>
      <description>&lt;P&gt;Thank You for your response but what I required I have a 5-6 table in which there are multiple field and in that table there is English description column and French description column also so we need to convert those column i.e. English to french. So, the challenge is How can we get that type of user either English or French user then we need to make comparison of that table and need to make change.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 09:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571970#M4714116</guid>
      <dc:creator>devboy</dc:creator>
      <dc:date>2022-08-18T09:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: conditional statement to make comparision between tables</title>
      <link>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571971#M4714117</link>
      <description>&lt;P&gt;Yes it is Single Char 'E'&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 09:19:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/conditional-statement-to-make-comparision-between-tables/qaa-p/12571971#M4714117</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2022-08-18T09:19:00Z</dc:date>
    </item>
  </channel>
</rss>

