<?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: Clear a parameter at selection-screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-a-parameter-at-selection-screen/m-p/2508610#M567239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are asking for is simply not apart of the functionality of the SAPgui. The actions which you are talking about, placing the cursor is a field, and firing an event to the application is not possible within the SAPgui presentation client.  Instead, keep you parameter P_NAME clear with not default value and just have a selection screen comment beside it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report zrich_0001.

selection-screen begin of line.
selection-screen comment 1(10) com1.
parameters: p_name(40) TYPE C.
selection-screen comment (30) com2.
selection-screen end of line.

initialization.

com1 = 'Name'.
com2 = 'Please enter your name here'.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2007 01:15:04 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-07-11T01:15:04Z</dc:date>
    <item>
      <title>Clear a parameter at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-a-parameter-at-selection-screen/m-p/2508607#M567236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, haven't found the answer to this one yet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at my selection screen, I have the field p_name(40), it's default value is "Insert your name here", what I need is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when the user selects the field to input data, the field must be cleared to receive the name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;already tried "at selection-screen" but it didn't react to field selection (or did I anything wrong?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 00:09:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-a-parameter-at-selection-screen/m-p/2508607#M567236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T00:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Clear a parameter at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-a-parameter-at-selection-screen/m-p/2508608#M567237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can try using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;case sscrfields-ucomm.&lt;/P&gt;&lt;P&gt;when 'CLK'.&lt;/P&gt;&lt;P&gt;clear p_name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 00:48:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-a-parameter-at-selection-screen/m-p/2508608#M567237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T00:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Clear a parameter at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-a-parameter-at-selection-screen/m-p/2508609#M567238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take out the default value for your parameter.&lt;/P&gt;&lt;P&gt;Instead put the text 'Insert Your Name here' as the selection screen parameter text whihc the users can understand.&lt;/P&gt;&lt;P&gt;So just take out the default value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 01:05:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-a-parameter-at-selection-screen/m-p/2508609#M567238</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-07-11T01:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Clear a parameter at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-a-parameter-at-selection-screen/m-p/2508610#M567239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are asking for is simply not apart of the functionality of the SAPgui. The actions which you are talking about, placing the cursor is a field, and firing an event to the application is not possible within the SAPgui presentation client.  Instead, keep you parameter P_NAME clear with not default value and just have a selection screen comment beside it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report zrich_0001.

selection-screen begin of line.
selection-screen comment 1(10) com1.
parameters: p_name(40) TYPE C.
selection-screen comment (30) com2.
selection-screen end of line.

initialization.

com1 = 'Name'.
com2 = 'Please enter your name here'.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 01:15:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-a-parameter-at-selection-screen/m-p/2508610#M567239</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-11T01:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Clear a parameter at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-a-parameter-at-selection-screen/m-p/2508611#M567240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that's I was looking for, the "on-field" event, too bad that the gui still doesnt have it... thank you guys anyway, till next time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 03:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-a-parameter-at-selection-screen/m-p/2508611#M567240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T03:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Clear a parameter at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-a-parameter-at-selection-screen/m-p/2508612#M567241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that's I was looking for, the "on-field" event, too bad that the gui still doesnt have it... thank you guys anyway, till next time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 03:41:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-a-parameter-at-selection-screen/m-p/2508612#M567241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T03:41:30Z</dc:date>
    </item>
  </channel>
</rss>

