<?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: About Event  'INITIALIZATION' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006999#M957233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved the problem myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Soln: The problem was that, the Tcode was declared as 'Program and Screen'. I changed it to 'Program and Selection Screen'. Now the initialization is getting triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jun 2008 08:04:54 GMT</pubDate>
    <dc:creator>kammaje_cis</dc:creator>
    <dc:date>2008-06-24T08:04:54Z</dc:date>
    <item>
      <title>About Event  'INITIALIZATION'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006993#M957227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am using event Initialization to assign default values to the selection screen date fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I go to SE38 and execute the program, it is showing those default values, but when I use the Transaction code directly, these default values are not getting assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I debugged and found that INITIALIZATION is not getting triggered when I use the TCode, but gets triggered when I execute from the SE38 editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection screen fields are declared in a separate INCLUDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the main program,&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  p_begda = sy-datum - 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know your views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 07:33:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006993#M957227</guid>
      <dc:creator>kammaje_cis</dc:creator>
      <dc:date>2008-06-24T07:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: About Event  'INITIALIZATION'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006994#M957228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to set the initial value in the declaration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_begda type .... value gv_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gv_date = sy-datum - 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;lavanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 07:39:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006994#M957228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T07:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: About Event  'INITIALIZATION'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006995#M957229</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;  Your code is good, check the tcode once again, I tried with below code by running the tcode for the below report, it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REPORT  ztest_initi.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PARAMETERS: p_date TYPE d.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INITIALIZATION.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  &lt;STRONG&gt;p_date = sy-datum - 1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 07:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006995#M957229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T07:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: About Event  'INITIALIZATION'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006996#M957230</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;I tried putting selection screen and initilization in different includes  but I am getting values on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;think there is no prob in this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try default edition of parameters otherwise&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 07:44:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006996#M957230</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-06-24T07:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: About Event  'INITIALIZATION'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006997#M957231</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 tried with the below code using tcode for the program . It is working fine i am getting the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: &lt;/P&gt;&lt;P&gt;  p_date TYPE d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;p_date = sy-datum - 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 07:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006997#M957231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T07:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: About Event  'INITIALIZATION'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006998#M957232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna&lt;/P&gt;&lt;P&gt;Initialization event is used when you execute your report first of all the initialization event will trigger where you can check the authorisation of hte report etc......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;**********&lt;STRONG&gt;Reward point if helpful&lt;/STRONG&gt;***********&amp;amp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 07:58:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006998#M957232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T07:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: About Event  'INITIALIZATION'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006999#M957233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved the problem myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Soln: The problem was that, the Tcode was declared as 'Program and Screen'. I changed it to 'Program and Selection Screen'. Now the initialization is getting triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 08:04:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4006999#M957233</guid>
      <dc:creator>kammaje_cis</dc:creator>
      <dc:date>2008-06-24T08:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: About Event  'INITIALIZATION'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4007000#M957234</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 you want to show default values to your parameters on the selection screen.&lt;/P&gt;&lt;P&gt;So, why dont use the DEFAULT addtion with the parameter .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 08:06:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4007000#M957234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T08:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: About Event  'INITIALIZATION'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4007001#M957235</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;   While creating T code in start object tab select radio button "program &amp;amp; selection screen".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; in next screen under GUI support tab check box SAPGUI gor HTML &amp;amp; SAPGUI for windows. i hope ur prlbm is solved..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2008 08:58:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-event-initialization/m-p/4007001#M957235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-24T08:58:06Z</dc:date>
    </item>
  </channel>
</rss>

