<?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: Transform a field INPUT ON/OFF in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/transform-a-field-input-on-off/m-p/6178719#M1372917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Have an other question...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want clear a variable when a user launch a transaction,&lt;/P&gt;&lt;P&gt;that is the sequence i would make :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Launch transaction -&amp;gt;: Screen 1000 - Variable clear -&amp;gt; Fill variable with '0000' and Push button -&amp;gt;: Screen 1200 - Back &lt;/P&gt;&lt;P&gt;-&amp;gt; Screen 1000 variable '0000'. Exit transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when the user will launch again the transaction, the variable should be clear, but the last data still appear....&lt;/P&gt;&lt;P&gt;I make a clear on it, but the variable still appear... it is a variable in the system...? why i cant clear that...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanna the variable clear for the begining of the transaction, always.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Sep 2009 11:44:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-21T11:44:00Z</dc:date>
    <item>
      <title>Transform a field INPUT ON/OFF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transform-a-field-input-on-off/m-p/6178717#M1372915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some problem with a transformation of a field in a dynpro.&lt;/P&gt;&lt;P&gt;I make a button to make INPUT or NON INPUT the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data element of that field is DATUV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is :&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      CASE screen-name.&lt;/P&gt;&lt;P&gt;        WHEN 'RC271-STTAG'.&lt;/P&gt;&lt;P&gt;          screen-input = 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         gv_flag = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;        WHEN OTHERS.&lt;/P&gt;&lt;P&gt;      ENDCASE.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That code is in a PAI, and before that, i have tested the SY-UCOMM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That code works, BUT, when the field is in state INPUT = 1, the old value which was filled, appear on the field.....&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;Open transaction&lt;/P&gt;&lt;P&gt;FIELD -- INPUT 0&lt;/P&gt;&lt;P&gt;Push button&lt;/P&gt;&lt;P&gt;FIELD -- INPUT 1&lt;/P&gt;&lt;P&gt;Field value is empty&lt;/P&gt;&lt;P&gt;Fill value '00001' on the field&lt;/P&gt;&lt;P&gt;Out to transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open transaction&lt;/P&gt;&lt;P&gt;FIELD -- INPUT 0&lt;/P&gt;&lt;P&gt;Push button&lt;/P&gt;&lt;P&gt;FIELD -- INPUT 1&lt;/P&gt;&lt;P&gt;Field value not emply, the value is '00001'.&lt;/P&gt;&lt;P&gt;Out to transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your help....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 15:37:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transform-a-field-input-on-off/m-p/6178717#M1372915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T15:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Transform a field INPUT ON/OFF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transform-a-field-input-on-off/m-p/6178718#M1372916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; That code is in a PAI, and before that, i have tested the SY-UCOMM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi, Guilaume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Always USE &lt;STRONG&gt;MODIFY SCREEN&lt;/STRONG&gt; in &lt;STRONG&gt;PBO&lt;/STRONG&gt; so Please Move you Code to PBO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USE &lt;STRONG&gt;CLEAR&lt;/STRONG&gt; for your Screen &lt;STRONG&gt;Parameter or Select Option&lt;/STRONG&gt; just before &lt;STRONG&gt;screen-input = 1.&lt;/STRONG&gt; this line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Reply if any Issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 15:44:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transform-a-field-input-on-off/m-p/6178718#M1372916</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-09-18T15:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: Transform a field INPUT ON/OFF</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transform-a-field-input-on-off/m-p/6178719#M1372917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Have an other question...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want clear a variable when a user launch a transaction,&lt;/P&gt;&lt;P&gt;that is the sequence i would make :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Launch transaction -&amp;gt;: Screen 1000 - Variable clear -&amp;gt; Fill variable with '0000' and Push button -&amp;gt;: Screen 1200 - Back &lt;/P&gt;&lt;P&gt;-&amp;gt; Screen 1000 variable '0000'. Exit transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when the user will launch again the transaction, the variable should be clear, but the last data still appear....&lt;/P&gt;&lt;P&gt;I make a clear on it, but the variable still appear... it is a variable in the system...? why i cant clear that...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanna the variable clear for the begining of the transaction, always.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2009 11:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transform-a-field-input-on-off/m-p/6178719#M1372917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-21T11:44:00Z</dc:date>
    </item>
  </channel>
</rss>

