<?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: display default value in table control based on another field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-default-value-in-table-control-based-on-another-field/m-p/747879#M35894</link>
    <description>&lt;P&gt;In PAI, write code to populate Cause text. Check below sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process After Input.&lt;/P&gt;&lt;P&gt;loop tc_Table&lt;/P&gt;&lt;P&gt;field cause_code module get_cause_text on request.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;Module get_cause_text input.&lt;/P&gt;&lt;P&gt;select cause_text from &amp;lt;table&amp;gt; into tc_work_area-cause_text where cause_code = tc_work_area-cause_code.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Oct 2018 14:12:08 GMT</pubDate>
    <dc:creator>jitendra_it</dc:creator>
    <dc:date>2018-10-30T14:12:08Z</dc:date>
    <item>
      <title>display default value in table control based on another field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-default-value-in-table-control-based-on-another-field/m-p/747878#M35893</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;ZTABLE fields&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Cause code and cause text&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;1 Cause Code&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;2 Cause text&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Suppose I enter possible values for cause code like 1601..&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;The above 2 column screen shows the F4 help for cause code with thieir text.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Now if i enter 1601 for cause code, then that cause text(blower/trippers) should appear in the next column(Zeqstop-C_TEXT) automatically.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;these two fields are in table control.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Please help.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Thanks in advance,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Suresh&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 11:24:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-default-value-in-table-control-based-on-another-field/m-p/747878#M35893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-10-30T11:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: display default value in table control based on another field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/display-default-value-in-table-control-based-on-another-field/m-p/747879#M35894</link>
      <description>&lt;P&gt;In PAI, write code to populate Cause text. Check below sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Process After Input.&lt;/P&gt;&lt;P&gt;loop tc_Table&lt;/P&gt;&lt;P&gt;field cause_code module get_cause_text on request.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;Module get_cause_text input.&lt;/P&gt;&lt;P&gt;select cause_text from &amp;lt;table&amp;gt; into tc_work_area-cause_text where cause_code = tc_work_area-cause_code.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 14:12:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/display-default-value-in-table-control-based-on-another-field/m-p/747879#M35894</guid>
      <dc:creator>jitendra_it</dc:creator>
      <dc:date>2018-10-30T14:12:08Z</dc:date>
    </item>
  </channel>
</rss>

