<?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: Default values to the parameter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-to-the-parameter/m-p/6127847#M1364857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Durga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In &lt;STRONG&gt;PROCESS AFTER INPUT&lt;/STRONG&gt; of 1st screen you are selecting some value from data base and you want to assign this value to your &lt;STRONG&gt;PARAMETER&lt;/STRONG&gt; Simply do the following in &lt;STRONG&gt;PROCESS BEFORE OUTPUT&lt;/STRONG&gt; of you SUBSCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;p_val01 = lv_val. " here lv_val is the variable where you have select the Value and p_val01 is your parameter name.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this time it will solve out your problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Sep 2009 12:11:36 GMT</pubDate>
    <dc:creator>faisalatsap</dc:creator>
    <dc:date>2009-09-12T12:11:36Z</dc:date>
    <item>
      <title>Default values to the parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-to-the-parameter/m-p/6127843#M1364853</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;I have a requirement wherin i need to the set the default values to the parameter. The default value is fetched from a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here in my program, i have fetched the value from the table into a variable say, lv_val.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the selection screen i gave the parameter as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_val01 type char(4) default lv_val.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i execute the program i am not gatting any value as default to the parameter, eventhough the variable contains the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please suggest, how to go about this.&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;Regards,&lt;/P&gt;&lt;P&gt;Durga.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2009 10:47:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-to-the-parameter/m-p/6127843#M1364853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-12T10:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Default values to the parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-to-the-parameter/m-p/6127844#M1364854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;p_val(4) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set the default value under INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;p_val = lv_val.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2009 10:54:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-to-the-parameter/m-p/6127844#M1364854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-12T10:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Default values to the parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-to-the-parameter/m-p/6127845#M1364855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Ginkala&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USE &lt;STRONG&gt;Event INITIALIZATION&lt;/STRONG&gt; following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: p_val01(4).

INITIALIZATION.
" do your select here after select

p_val01 = lv_val. " and after select add this line&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2009 10:56:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-to-the-parameter/m-p/6127845#M1364855</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-09-12T10:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Default values to the parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-to-the-parameter/m-p/6127846#M1364856</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;Thanks for the replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I forgot to mention few points in my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In first screen i pass some values as input.Based on the values i get from the first screen i am making a call to the sub screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this subscreen i need to get the deafult parameter values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The select statement i use is deepnding on the values i get from the 1st screen as input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Durga.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2009 11:33:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-to-the-parameter/m-p/6127846#M1364856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-12T11:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Default values to the parameter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-to-the-parameter/m-p/6127847#M1364857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Durga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In &lt;STRONG&gt;PROCESS AFTER INPUT&lt;/STRONG&gt; of 1st screen you are selecting some value from data base and you want to assign this value to your &lt;STRONG&gt;PARAMETER&lt;/STRONG&gt; Simply do the following in &lt;STRONG&gt;PROCESS BEFORE OUTPUT&lt;/STRONG&gt; of you SUBSCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;p_val01 = lv_val. " here lv_val is the variable where you have select the Value and p_val01 is your parameter name.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this time it will solve out your problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2009 12:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/default-values-to-the-parameter/m-p/6127847#M1364857</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-09-12T12:11:36Z</dc:date>
    </item>
  </channel>
</rss>

