<?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: Parameter using user-command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-using-user-command/m-p/4317568#M1028975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I Think no. What u can do is put the logic in AT SELECTION-SCREEN ON parameter event. So when ever user enters some value in selection screen parameter and press enter ur logic should be executed to enable the new block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if the user directly execute after entering the value in parameter this won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Aug 2008 13:40:31 GMT</pubDate>
    <dc:creator>vinod_vemuru2</dc:creator>
    <dc:date>2008-08-16T13:40:31Z</dc:date>
    <item>
      <title>Parameter using user-command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-using-user-command/m-p/4317567#M1028974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we use the USER-COMMAND for a field declared as parameter?&lt;/P&gt;&lt;P&gt;Like eg:&lt;/P&gt;&lt;P&gt;Parameters ptemp1 type hap_s_object-name OBLIGATORY user-command.&lt;/P&gt;&lt;P&gt;My requirement is whenever this parameter field is not initial ..i need to enable a block on the selection screen. pls suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Padmasri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 13:33:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-using-user-command/m-p/4317567#M1028974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-16T13:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter using user-command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-using-user-command/m-p/4317568#M1028975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I Think no. What u can do is put the logic in AT SELECTION-SCREEN ON parameter event. So when ever user enters some value in selection screen parameter and press enter ur logic should be executed to enable the new block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if the user directly execute after entering the value in parameter this won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 13:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-using-user-command/m-p/4317568#M1028975</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-08-16T13:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter using user-command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-using-user-command/m-p/4317569#M1028976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is not possible to add the user command addition along with the input parameters.&lt;/P&gt;&lt;P&gt;after input you need to press enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZTEST.

PARAMETERS: p_matnr TYPE matnr OBLIGATORY.


SELECTION-SCREEN BEGIN OF  BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_vbeln TYPE vbeln MODIF ID aaa.

SELECTION-SCREEN END OF BLOCK b1.

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.

    IF NOT p_matnr IS INITIAL.
      IF screen-group1 = 'AAA'.
        screen-active = 1.
        MODIFY SCREEN.
      ENDIF.
    ELSE.
      IF screen-group1 = 'AAA'.
        screen-active = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDIF.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 13:50:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-using-user-command/m-p/4317569#M1028976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-16T13:50:06Z</dc:date>
    </item>
  </channel>
</rss>

