<?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: difference b/w intialization and default.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-intialization-and-default/m-p/2990350#M706258</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;Initialization comes BEFORE default ( i meen before4 selection screen default,if that what you meant ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Yossi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2007 08:40:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-05T08:40:44Z</dc:date>
    <item>
      <title>difference b/w intialization and default..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-intialization-and-default/m-p/2990349#M706257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi plz tell differences b/w the difference b/w intialization and default..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 07:39:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-intialization-and-default/m-p/2990349#M706257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T07:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: difference b/w intialization and default..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-intialization-and-default/m-p/2990350#M706258</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;Initialization comes BEFORE default ( i meen before4 selection screen default,if that what you meant ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Yossi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 08:40:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-intialization-and-default/m-p/2990350#M706258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T08:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: difference b/w intialization and default..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-intialization-and-default/m-p/2990351#M706259</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;&lt;/P&gt;&lt;P&gt; If u want give some input to selection fields.&lt;/P&gt;&lt;P&gt;Initialization event triggers before the selection screen is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not only the parameters default value&lt;/P&gt;&lt;P&gt;which are required/accessed/controlled&lt;/P&gt;&lt;P&gt;in initialization event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In a program there are so many variables,&lt;/P&gt;&lt;P&gt;the values of these variables&lt;/P&gt;&lt;P&gt;can be set in intiailization event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Such values sometimes cannot be hardcoded.&lt;/P&gt;&lt;P&gt;They may be requried to fetch from database&lt;/P&gt;&lt;P&gt;or do some calculations,&lt;/P&gt;&lt;P&gt;(which is not possible while declaration&lt;/P&gt;&lt;P&gt;data and parameters)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Sometimes, some variant can also be imported&lt;/P&gt;&lt;P&gt;for selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.This event is invoked directly after LOAD-OF-PROGRAM and before the selection screen processing of any existing standard selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives you the one-time opportunity to initialize the input fields of the selection screen, including those defined in the logical database linked with the program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When run in background, values initialized in initialization event are considered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg: if you want to initialize like this:&lt;/P&gt;&lt;P&gt;carrid-sign = 'I'. &lt;/P&gt;&lt;P&gt;carrid-option = 'EQ'. &lt;/P&gt;&lt;P&gt;carrid-low = 'AA'. &lt;/P&gt;&lt;P&gt;carrid-high = 'LH'. &lt;/P&gt;&lt;P&gt;APPEND carrid TO carrid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot achieve this by giving 'default' or 'value' at selection-screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 10:14:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-intialization-and-default/m-p/2990351#M706259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T10:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: difference b/w intialization and default..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-intialization-and-default/m-p/2990352#M706260</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;tables sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options s_fldate for sflight-fldate default '20030101' to&lt;/P&gt;&lt;P&gt;'20031231' option bt sign i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*initialization.&lt;/P&gt;&lt;P&gt;*clear s_fldate[].&lt;/P&gt;&lt;P&gt;*s_fldate-low = '20060101'.&lt;/P&gt;&lt;P&gt;*s_fldate-high = '20061231'.&lt;/P&gt;&lt;P&gt;*s_fldate-option = 'BT'.&lt;/P&gt;&lt;P&gt;*s_fldate-sign = 'I'.&lt;/P&gt;&lt;P&gt;*append s_fldate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;select single * from sflight into sflight where fldate in s_fldate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ sflight-fldate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: remove the comment for initialization, and execute, found the difference!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 15:42:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-b-w-intialization-and-default/m-p/2990352#M706260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T15:42:44Z</dc:date>
    </item>
  </channel>
</rss>

