<?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: Parameters Properties in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165898#M1370945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;yeah it can be handled thrugh At Selection-Screen  also in this case.&lt;/P&gt;&lt;P&gt;and tat code is helpful if we don't know tat value '3000' and we have to check that through some table or some where else.&lt;/P&gt;&lt;P&gt;or say if in future hardcoding is to be removed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Sep 2009 10:45:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-18T10:45:31Z</dc:date>
    <item>
      <title>Parameters Properties</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165892#M1370939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls go through the fillowing code snippet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS      : p_swerk TYPE iloa-swerk,
                               p_ingpr TYPE afih-ingpr,
                               p_auart TYPE aufk-auart.
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I dynamically set the attributes of p_ingpr. I mean Is there any way to make p_ingpr obligatory If user enter 3000 (as per my requirement) in p_swerk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Maverick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 10:04:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165892#M1370939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T10:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters Properties</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165893#M1370940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For this you can use the AT SELECTION-SCREEN event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

AT SELECTION-SCREEN on p_ingri.

if p_werks = '3000' and p_ingri is initial.

Message 'Error'.

endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 10:05:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165893#M1370940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T10:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters Properties</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165894#M1370941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       Please validate in AT SELECTION-SCREEN event so that you can get required output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank U,&lt;/P&gt;&lt;P&gt;Jay....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 10:08:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165894#M1370941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T10:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters Properties</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165895#M1370942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please &lt;STRONG&gt;SEARCH&lt;/STRONG&gt; in SCN before posting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 10:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165895#M1370942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T10:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters Properties</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165896#M1370943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;use this code to get the values provided by user in selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;at selection-screen on  p_ingpr.

  refresh dynpvaluetab.
  clear   dynpvaluetab.
  dynpvaluetab-fieldname = 'P_IND'.
  get cursor line dynpvaluetab-stepl.
  append dynpvaluetab.

  call function 'DYNP_VALUES_READ'
    exporting
      dyname               = sy-repid   "dynpname
      dynumb               = sy-dynnr    "dynpnumb
    tables
      dynpfields           = dynpvaluetab
    exceptions
      invalid_abapworkarea = 01
      invalid_dynprofield  = 02
      invalid_dynproname   = 03
      invalid_dynpronummer = 04
      invalid_request      = 05
      others               = 01.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then u can easily check the value of required parameter and give the appropriate message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope u will get the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sourabh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 10:22:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165896#M1370943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T10:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters Properties</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165897#M1370944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;saurabh,&lt;/P&gt;&lt;P&gt;this can be easily done at &lt;STRONG&gt;at selection-screen&lt;/STRONG&gt; event itself.&lt;/P&gt;&lt;P&gt;no need to call any FM for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;parameters: p1 type char10,
              p2 type char10.

at selection-screen.
  if p1 is not initial and p2 is initial.
     message 'Error' type 'E'.
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 10:32:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165897#M1370944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T10:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters Properties</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165898#M1370945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;yeah it can be handled thrugh At Selection-Screen  also in this case.&lt;/P&gt;&lt;P&gt;and tat code is helpful if we don't know tat value '3000' and we have to check that through some table or some where else.&lt;/P&gt;&lt;P&gt;or say if in future hardcoding is to be removed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2009 10:45:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameters-properties/m-p/6165898#M1370945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-18T10:45:31Z</dc:date>
    </item>
  </channel>
</rss>

