<?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: Smart Field Value Help in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/smart-field-value-help/qaa-p/579682#M131464</link>
    <description>&lt;P&gt;Thanks for the response Sagarika. &lt;/P&gt;
  &lt;P&gt;The following annotation in my ABAP CDS view helped.&lt;/P&gt;
  &lt;P&gt;ObjectModel.updateEnabled: true&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Kabir&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2018 22:33:31 GMT</pubDate>
    <dc:creator>developerone</dc:creator>
    <dc:date>2018-02-08T22:33:31Z</dc:date>
    <item>
      <title>Smart Field Value Help</title>
      <link>https://community.sap.com/t5/technology-q-a/smart-field-value-help/qaq-p/579679</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I have a smart field in my UI5 application which has value help which returns Key and Description. When using the F4 help the smart field gets updated with the chosen value say (key field). I have created a normal input field which needs to be updated with the description of the input selected by user.&lt;/P&gt;
  &lt;P&gt;How can I achieve this as I do not find any control over the OK button of the value help attached to the smart field.&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Kabir&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 21:09:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/smart-field-value-help/qaq-p/579679</guid>
      <dc:creator>developerone</dc:creator>
      <dc:date>2018-02-05T21:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Field Value Help</title>
      <link>https://community.sap.com/t5/technology-q-a/smart-field-value-help/qaa-p/579680#M131462</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;did you try with change event on SmartField?&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Sagarika.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 08:45:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/smart-field-value-help/qaa-p/579680#M131462</guid>
      <dc:creator>sagarikagattu</dc:creator>
      <dc:date>2018-02-06T08:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Field Value Help</title>
      <link>https://community.sap.com/t5/technology-q-a/smart-field-value-help/qaa-p/579681#M131463</link>
      <description>&lt;P&gt;You can try the below code.&lt;/P&gt;
  &lt;P&gt;in View &lt;/P&gt;
  &lt;P&gt;&amp;lt;form:content&amp;gt;&lt;/P&gt;
  &lt;P&gt; &amp;lt;smartField:SmartLabel labelFor="idPrice"/&amp;gt; &lt;/P&gt;
  &lt;P&gt;&amp;lt;smartField:SmartField value="{Price}" id="idPrice" change="onSelect"/&amp;gt; &lt;/P&gt;
  &lt;P&gt;&amp;lt;Input id="input" editable="false"/&amp;gt; &lt;/P&gt;
  &lt;P&gt;&amp;lt;/form:content&amp;gt;&lt;/P&gt;
  &lt;P&gt;In Controller &lt;/P&gt;
  &lt;P&gt;onSelect: function(evt){ &lt;/P&gt;
  &lt;P&gt;var oView = this.getView(); &lt;/P&gt;
  &lt;P&gt;var pri = evt.getParameter("value");&lt;/P&gt;
  &lt;P&gt; oView.byId("input").setValue(pri);&lt;/P&gt;
  &lt;P&gt; }&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 09:16:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/smart-field-value-help/qaa-p/579681#M131463</guid>
      <dc:creator>sagarikagattu</dc:creator>
      <dc:date>2018-02-06T09:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Field Value Help</title>
      <link>https://community.sap.com/t5/technology-q-a/smart-field-value-help/qaa-p/579682#M131464</link>
      <description>&lt;P&gt;Thanks for the response Sagarika. &lt;/P&gt;
  &lt;P&gt;The following annotation in my ABAP CDS view helped.&lt;/P&gt;
  &lt;P&gt;ObjectModel.updateEnabled: true&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Kabir&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 22:33:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/smart-field-value-help/qaa-p/579682#M131464</guid>
      <dc:creator>developerone</dc:creator>
      <dc:date>2018-02-08T22:33:31Z</dc:date>
    </item>
  </channel>
</rss>

