Wht happened if 2 events writen twice in a report program?

wht happnes if 2 events writen twice in a report program,,

Both will get executed depending upon teh order.
The output for Narend code is aas below:
ONE                    
TWO                    
END-OF-SELECTION ONE   
END-OF-SELECTION TWO  
See one more code sample
REPORT YJJTEST1.
initialization.
write '1'.
start-of-selection.
write '2'.
end-of-selection.
write '3'.
top-of-page.
write '4'.
initialization.
write '5'.
start-of-selection.
write '6'.
end-of-selection.
write '7'.
top-of-page.
write '8'.
DATA: val TYPE i.
Output:
Test Program                           
4                                      
8                                      






Hope u will be clear now.
Reward if this helps.

Similar Messages

  • WHAT HAPPEN IF I USE  INITILAIZATON  EVENT IN 2TIMES  IN A REPORT PROGRAM

    HI
    EXPERTS
    CAN U HELP ME PZZZZZZZZZZZZZZ

    IF YOU USE INITILIZATION 2 TIMES IN A REPORT PROGRAM
    THEIR WILL BE NO ERROR MESSAGE  FOR YOU
    FIRST IT WILL TAKE THE 1ST INITILIZATION VALUE AND GOES FOR THE NEXT INILILIZATION AND OVERLAPS THE 1ST INITILIZATION VALUE
    IF U TAKE
    INITILIZATION.
    MATNR = '1000'.
    INITILIZATION.
    MATNR = '11111'.
    FOR THE ABOVE EXAMPLE IT WILL DISPLAY
    MATNR VALUE AS 11111

  • Hi i cant download any games.. i have internet connection. before i was able to do it but this past few days i cant it says cannot connect to itunes store i didnt update my ipad to ios 7 because it will make my ipad very slow like whT happen to my iphone,

    hi i have ipad mini i cant download any games.. i have internet connection. before i was able to do it but this past few days i cant it says cannot connect to itunes store i didnt update my ipad to ios 7 because it will make my ipad very slow like whT happen to my iphone, is that the reason y i cant
    download games anymore?

    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    If no joy...
    Reset all settings
    Settings > General > Reset > Reset all Settings.
    This will return all iDevice settings to factory defaults... you will not lose any data.... But you will have to re-enter all of the device settings.

  • Wht happens when we say retry and rethrow in fault policy?

    Hi All,
    Can any one explain me on retry and rethrow in bpel fault policy?
    wht i mean if a binding/remote fault occurs then how the flow of a fault will be executed. if a retry is there then how many retries? and if that retries r finished then wht happens?

    Please refer to this thread, Re: wht is retry and rethrow in AIA fault policies

  • Why do my events appear twice on my ipad calendar

    Why do my events appear twice in my ipad calendar

    Are you syncing with itunes on the computer?  If you have both sync with itunes and use icloud, that would produce duplicates.

  • Events appearing twice in iCloud

    Hello! I need help about solving an issue with calendar events appearing twice in iCloud and the iOS systems connected. These events are rerlated to the default calendar "calendat". I have not been able to find a solution. Any suggestion?

    Hi
    Not very much sure what are you referring to here.
    But based upon the partner function procedure assigned to transaction type you get the list of partner in the ticket
    so if you have z transaction type with all partners so you are getting the entire set of partner including z and standard
    so decide as per requirement which one you want and then enhance the z partner profile and further assign it to custom transaction type
    regards
    prakhar

  • Item added & item updated events fired twice.

    Hello everyone, 
    I have item added and item updated events and both sends e-mails twice cos they are fired twice. 
    I tried the below method but the problem still continues. Any suggessions?
    base.EventFiringEnabled=false;
    base.EventFiringEnabled=true;
    note: my list is custom list. (not document lib)

    If you have required checkout enabled the events can be triggered twice. See this post for more information and how to bypass it:
    Managing ItemUpdating and ItemUpdated Events Firing Twice in a SharePoint Item Event Receiver

  • Which is the mandatory event in report program?

    which is the mandatory event in report program?
    Plz its urgent

    Hi,
    Its true, there is no mandatory event in a report program as such. You use events to organize your statements and control the flow of your program.
    For eg, following are some of the events used with their purpose :
    First event -
    Initialization : triggered when the report is loaded in memory.
    At selection-screen output : triggered when the selection screen is loaded in memory before being displayed.
    At selection-screen : before leaving the selection screen.
    start-of-selection : the first event for displaying the report.
    end-of-selection : after the start-of-selection is completed.
    classiscal report events.
    top-of-page : every time a new page is started in the list.
    end-of-page : every time the list data reaches the footer region of the page.
    interactive report events.
    top of page during line selection : top of page event for secondary list.
    at line-selection : evey time user dbl-clicks(F2) on the list data.
    at pF<key> : function key from F5 to F12 to perform interactive action on the list.
    at user-command
    And If the program contains no explicitly defined event blocks, all the statements in the program form the entire event block START-OF-SELECTION, which need not be defined explicitly but is taken by default.
    Hope it helps.

  • One particular GL account is appearing twice in a Report.

    Hi Xperts,
    We have a report in that particular report we can see the Balances of TOTAL COST OF SALES,Total wages & salaries,Total other staff costs,Total designing & merchantiging, Total selling, Total Depriciation,Total Distribution & TOTAL SUNDRY & GENERAL .
    In the above report one GL account is appearing twice (The acct name SMALL DIFFERENCES ACCT) in the section of TOTAL COST OF SALES AND  TOTAL SUNDRY & GENERAL
    Why it is appearing twice?
    Pls. help me.
    Thanks in Advance

    You have not mention that which report like Z report or standard one.
    However, if it is Z report, the GL may be grouped twice in the report. and ask your ABAP team to find from where it is getting value. So that, it is easy to track why it is appearing twice in the report.
    If it is standard report, check your FSV for the correct grouping.
    Rgds
    Satheesh Vallepu

  • GL account is appearing twice in the report

    Hi Xperts,
    We have a report in that particular report we can see the Balances of TOTAL COST OF SALES,Total wages & salaries,Total other staff costs,Total designing & merchantiging, Total selling, Total Depriciation,Total Distribution & TOTAL SUNDRY & GENERAL .
    It is a customised report.
    I am new to reports.
    In the above report one GL account is appearing twice (The acct name SMALL DIFFERENCES ACCT) in the section of  TOTAL COST OF SALES    &     TOTAL SUNDRY & GENERAL
    Why it is appearing twice?
    Pls. help me.
    Thanks in Advance

    You have not mention that which report like Z report or standard one.
    However, if it is Z report, the GL may be grouped twice in the report. and ask your ABAP team to find from where it is getting value. So that, it is easy to track why it is appearing twice in the report.
    If it is standard report, check your FSV for the correct grouping.
    Rgds
    Satheesh Vallepu

  • Why doesn't apple have a file of events that ties to the iCal program and the Address book file? By having that relationship it seems that you could call up all of the events tied to a customer while in the address book or likewise call up all of the even

    Why doesn't apple have a file of events that ties to the iCal program and the Address book file? By having that relationship it seems that you could call up all of the events tied to a customer while in the address book or likewise call up all of the events tied to a contact that was in the iCal program as a scheduled meeting. Even in the to do's you could easily look back at the events tied to an individual so as to bring yourself up to speed with what you were doing with the individual in mind.

        I definitely understand your concern and I apologize for all the frustration. Verizon Wireless has a strong customer commitment to delivering the best from our service and staff. I am disappointed to hear the service you received did not reflect this commitment.
    I definitely want to help get to the bottom of this and further assist you. Please reply to my direct message so I can access your account and further assist. I am sure we can get this resolved.
    JohnB_VZW
    Follow us on Twitter @VZWSupport

  • Use same image column twice in a report

    Hello,
    I have a question  which is, can I use a same image column (example column A) twice in a report? first occurrence (column A) will show the image thumbnail and the second occurrence (column A) will show  image download link which opens image in a new window. Is it possible?
    Thanks
    Pravish

    LA-APEX-DEv wrote:
    Yes, it's possible. However, if you intent to have two different images, then I would suggest you use a javascript to link or download the blob.
    What on Earth for? Why is JavaScript necessary to download two different images? Even if this were in any way true, the OP is clear that the displayed thumbnail and download link involve the same image.
    To accomplish this task, you either use decode or create a union query.
    No, all that should be necessary is to reference the image column twice in the report query projection, and apply a download format mask to one column and an image mask to the other. That the OP has apparently failed to do this probably indicates that they are unnecessarily complicating things.
    For example:
    select '<a href="javascript:downloadImg(' || image_id || ');"><img src="/i/download.gif"></a>' link_col
    from table
    where allow_view = 'Y'
    union all
    select '<img src="/i/folder.gif">' link_col
    from table
    where allow_view = 'N'
    or
    select decode(allow_view,'Y',
              '<a href="javascript:downloadImg(' || image_id || ');"><img src="/i/download.gif"></a>',
              '<img src="/i/folder.gif">') link_col
    from table
    What is downloadImg? it is not a standard APEX JavaScript API. It is therefore highly unlikely that this is of any use to the OP.

  • Why my money were taken twice for the same program why my money were taken twice for the same program

    why my money were taken twice for the same program?

    contact expresslane via email or chat, they will refund you as long as this is the first time

  • I have suddenly lost the ability to put events in my calendar on my iPhone. Why would this be happening? I have rebooted twice and am still having the issue.

    I have suddenly lost the ability to put events in the calendar on my iPhone. I have rebooted twice and still nothing. Does anyone have a so,union for me?

    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Tap Safari and attempt to load a webpage (try any webpage). If you can load a webpage, then your device has Internet access. If you are unable to load a webpage, follow these troubleshooting steps.Try to use an alternate Internet connection if available:
    Try a different Wi-Fi connection
    If your iOS device has an active cellular data plan, tap Settings > Wi-Fiand turn off Wi-Fi.
    If the affected email account is provided by your Internet provider, see if your issue is resolved while connected to your home Wi-Fi network.*
    Log in to your email provider's website to ensure that the account is active and the password is correct.
    Restart your iOS device.
    Delete the affected email account from your device.
    Tap Settings > Mail, Contacts, Calendars.
    Choose the affected email account, then tap Delete Account.
    Add your account again.

  • Web gallery events deleted - twice.

    After spending hours worth of upload time, i went to my web gallery to find all but one of my events were missing (all but the last one uploaded were deleted). I looked at iphoto, all the events were still there under the web gallery icon. I hit refresh on each one and they all went bye bye... This happened TWICE... applecare hadnt heard of this problem yet...

    I've just started using the web gallery and one of my recipients mentioned this to me. Some filters will not pass on the email.
    I ran a test by clicking the "tell a friend" at the bottom of the screen when I open the web gallery from iPhoto. Note that this is not the same as going to the web gallery page on your browser and clicking the "tell a friend".
    When you click on tell a friend from the iPhoto gallery screen it pulls up your email "send new" screen where you put in your friends addresses, and shows your email address in the from line.
    When you click on the tell a friend from the gallery page opened in a browser it generates an email with a from address of ".mac web gallery".

Maybe you are looking for

  • Moving mail messages from one account to another sends to inbox, not IMAP folder

    I have many email addresses (setup via Google apps) but I generally store all of my emails on one standard Gmail IMAP account. It makes looking for old emails easier IMO. Here's what my workflow should look like: I get an email on account B, reply wi

  • How to dual install Vista and Windows 7?

    Hi, I have a question about setting up windows 7. But Im trying a slightly different approach. I have a drive on my Mac Pro that has Windows Vista on it. But I would like to put Windows 7 on it too. I dont know if i have to partition the drive to do

  • Placing a Low Level DB Function for Time Offset

    Would any one be able to point me to any documentation on the Oracle 10g R2 release that might help me understand if there is a way to modify datetime query parameters and datetime query results at a low level in the DB? R12 of Oracle Apps does not h

  • Incorrectly defined Logical table source

    Hi all, I have two facts(F1& F2) and two  confirmed dimensions(D1,D2) for the facts F1 and F2. F1 F2:LTS1,LTS2 D1 D2 When I query columns from D1,D2,F1,F2 LTS1 result is coming But, when I query from D1,D2,F1,F2 LTS2 it is throwing incorrectly define

  • Filter problem in WLS 7.0

              Hi,           We have a login filter that checks for whether the user is logged in or not. If           logged in then lets the request pass thru or else redirects to the login page.           While this works absolutely fine on Windows. It