<?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 Event declaration in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008307#M78306</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;Is it possible to declare the events in a report program twice. That is, can i declare an event  'initialization' or say 'start-of-selection' twice in the same report program. If yes, then what is the implication of such an instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hitanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2005 13:47:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-06T13:47:31Z</dc:date>
    <item>
      <title>Event declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008307#M78306</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;Is it possible to declare the events in a report program twice. That is, can i declare an event  'initialization' or say 'start-of-selection' twice in the same report program. If yes, then what is the implication of such an instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hitanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 13:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008307#M78306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T13:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Event declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008308#M78307</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;No You can't .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; navigation in se80 (events) notifies an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 13:49:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008308#M78307</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-10-06T13:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Event declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008309#M78308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No You can't Declare Same Events Twice in a Program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 13:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008309#M78308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T13:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Event declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008310#M78309</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;these are the events are processed by the system, you can't declare twice .  suppose if the orders are changed the system takes the correct order automatically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 13:52:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008310#M78309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T13:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Event declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008311#M78310</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; Yes, You cabn declare it.&lt;/P&gt;&lt;P&gt; The even at last will get processed in case yiu have &lt;/P&gt;&lt;P&gt; declared the same one twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But I don't know why you are doing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if this explanation is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regads,&lt;/P&gt;&lt;P&gt; siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 13:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008311#M78310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T13:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Event declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008312#M78311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi siva ,&lt;/P&gt;&lt;P&gt;thanks for the reply. I was just checking it out and the implication of such an instant.&lt;/P&gt;&lt;P&gt;if u can kindly look at my test code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  Z_TEST_101                                                  *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  Z_TEST_101                              .&lt;/P&gt;&lt;P&gt;TABLES : MARA, MARC, MARD.&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF I_MARA OCCURS 0,&lt;/P&gt;&lt;P&gt;       MATNR LIKE MARA-MATNR,&lt;/P&gt;&lt;P&gt;       MTART LIKE MARA-MTART,&lt;/P&gt;&lt;P&gt;       MEINS LIKE MARA-MEINS,&lt;/P&gt;&lt;P&gt;       END OF I_MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF I_MARC OCCURS 0,&lt;/P&gt;&lt;P&gt;       MATNR LIKE MARC-MATNR,&lt;/P&gt;&lt;P&gt;       WERKS LIKE MARC-WERKS,&lt;/P&gt;&lt;P&gt;       END OF I_MARC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF I_MARD OCCURS 0,&lt;/P&gt;&lt;P&gt;       MATNR LIKE MARD-MATNR,&lt;/P&gt;&lt;P&gt;       WERKS LIKE MARD-WERKS,&lt;/P&gt;&lt;P&gt;       LGORT LIKE MARD-LGORT,&lt;/P&gt;&lt;P&gt;       LABST LIKE MARD-LABST,&lt;/P&gt;&lt;P&gt;       END OF I_MARD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : S_MATNR FOR MARA-MATNR.&lt;/P&gt;&lt;P&gt;PARAMETERS : P_WERKS LIKE MARC-WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  SELECT MATNR MTART MEINS&lt;/P&gt;&lt;P&gt;  INTO TABLE I_MARA&lt;/P&gt;&lt;P&gt;  FROM MARA&lt;/P&gt;&lt;P&gt;  WHERE MATNR IN S_MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT I_MARA[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    SELECT MATNR WERKS&lt;/P&gt;&lt;P&gt;    INTO TABLE I_MARC&lt;/P&gt;&lt;P&gt;    FROM MARC&lt;/P&gt;&lt;P&gt;    FOR ALL ENTRIES IN I_MARA&lt;/P&gt;&lt;P&gt;    WHERE MATNR = I_MARA-MATNR.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT I_MARA.&lt;/P&gt;&lt;P&gt;    WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; I_MARA-MATNR, I_MARA-MTART, I_MARA-MEINS.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  start-of-selection.&lt;/P&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT I_MARC.&lt;/P&gt;&lt;P&gt;    WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; I_MARC-MATNR, I_MARC-WERKS.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it has two intialisations and two start of selections but &lt;/P&gt;&lt;P&gt;it is firing all the events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Hitanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 13:59:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008312#M78311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T13:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Event declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008313#M78312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it sure is firing both.  That's kind of funny.   So now we, proved that it works.  It will fired the events one after the other in TOP DOWN order.    Let's just say that it is not a good practice to have multiple occurances of an event.  It will just confused people.&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;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 14:08:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008313#M78312</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-10-06T14:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Event declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008314#M78313</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;You can't write this statament:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;SELECT MATNR MTART MEINS&lt;/P&gt;&lt;P&gt;INTO TABLE I_MARA&lt;/P&gt;&lt;P&gt;FROM MARA&lt;/P&gt;&lt;P&gt;WHERE MATNR IN S_MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because this statament run before generate selection-screen, so it can't know how S_MATNR is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : MARA, MARC, MARD.&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF I_MARA OCCURS 0,&lt;/P&gt;&lt;P&gt;MATNR LIKE MARA-MATNR,&lt;/P&gt;&lt;P&gt;MTART LIKE MARA-MTART,&lt;/P&gt;&lt;P&gt;MEINS LIKE MARA-MEINS,&lt;/P&gt;&lt;P&gt;END OF I_MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF I_MARC OCCURS 0,&lt;/P&gt;&lt;P&gt;MATNR LIKE MARC-MATNR,&lt;/P&gt;&lt;P&gt;WERKS LIKE MARC-WERKS,&lt;/P&gt;&lt;P&gt;END OF I_MARC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF I_MARD OCCURS 0,&lt;/P&gt;&lt;P&gt;MATNR LIKE MARD-MATNR,&lt;/P&gt;&lt;P&gt;WERKS LIKE MARD-WERKS,&lt;/P&gt;&lt;P&gt;LGORT LIKE MARD-LGORT,&lt;/P&gt;&lt;P&gt;LABST LIKE MARD-LABST,&lt;/P&gt;&lt;P&gt;END OF I_MARD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : S_MATNR FOR MARA-MATNR.&lt;/P&gt;&lt;P&gt;PARAMETERS : P_WERKS LIKE MARC-WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT MATNR MTART MEINS&lt;/P&gt;&lt;P&gt;INTO TABLE I_MARA&lt;/P&gt;&lt;P&gt;FROM MARA&lt;/P&gt;&lt;P&gt;WHERE MATNR IN S_MATNR.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;SELECT MATNR WERKS&lt;/P&gt;&lt;P&gt;INTO TABLE I_MARC&lt;/P&gt;&lt;P&gt;FROM MARC&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN I_MARA&lt;/P&gt;&lt;P&gt;WHERE MATNR = I_MARA-MATNR&lt;/P&gt;&lt;P&gt;  AND WERKS = P_WERKS.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;LOOP AT I_MARA.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; I_MARA-MATNR, I_MARA-MTART, I_MARA-MEINS.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;ULINE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;LOOP AT I_MARC.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; I_MARC-MATNR, I_MARC-WERKS.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 14:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008314#M78313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T14:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Event declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008315#M78314</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;why you want like this?&lt;/P&gt;&lt;P&gt;is there any logic behind there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;intialization executes only once&lt;/P&gt;&lt;P&gt;and start-of selection executes (and executes at F8)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 14:12:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008315#M78314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T14:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Event declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008316#M78315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can write the events in your code as many times as you wish and in whatever order you want. The program will execute them in the order of INITIALIZATION, SELECTION-SCREEN, START-OF-SELECTION, END-OF-SELECTION, AT events. TOP-OF-PAGE, END-OF-PAGE will get triggered as you output to the screen, whether in START-OF-SELECTION or END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you have more than on occurance of an event, the system will execute all the occurances in the order they appear in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the following piece of program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: v_flag_init1,
      v_flag_init2,
      v_flag_init3,
      v_flag_start,
      v_flag_top,
      v_flag_end.

INITIALIZATION.

  v_flag_init1 = '1'.

END-OF-SELECTION.

  v_flag_end = '1'.

  WRITE:/ 'V_FLAG_END = ', v_flag_end.

INITIALIZATION.

  v_flag_init2 = '3'.

START-OF-SELECTION.

  WRITE:/ 'V_FLAG_INIT1 = ', v_flag_init1,
        / 'V_FLAG_INIT2 = ', v_flag_init2,
        / 'V_FLAG_INIT3 = ', v_flag_init3.

  v_flag_start = '2'.

  WRITE:/ 'V_FLAG_START = ', v_flag_start.

INITIALIZATION.

  v_flag_init3 = '2'.

TOP-OF-PAGE.

  v_flag_top = '2'.
  WRITE:/ 'V_FLAG_TOP = ', v_flag_top.

START-OF-SELECTION.

  v_flag_start = '1'.

  WRITE:/ 'V_FLAG_START = ', v_flag_start.

END-OF-SELECTION.

  v_flag_end = '2'.

  WRITE:/ 'V_FLAG_END = ', v_flag_end.


TOP-OF-PAGE.

  v_flag_top = '1'.
  WRITE:/ 'V_FLAG_TOP = ', v_flag_top.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It gives the following output.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
V_FLAG_TOP =  2   
V_FLAG_TOP =  1   
V_FLAG_INIT1 =  1 
V_FLAG_INIT2 =  3 
V_FLAG_INIT3 =  2 
V_FLAG_START =  2 
V_FLAG_START =  1 
V_FLAG_END =  1   
V_FLAG_END =  2   
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this helps, please reward and close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2005 14:34:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008316#M78315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-06T14:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Event declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008317#M78316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Srini !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2005 05:45:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008317#M78316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-07T05:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Event declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008318#M78317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please reward and close if answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2005 16:43:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/event-declaration/m-p/1008318#M78317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-07T16:43:00Z</dc:date>
    </item>
  </channel>
</rss>

