Initialization  and load of program

Hi ,
Can anybody tell me the difference between initialization and load of program  events because both of these events functions in a similar way .
Neetesh

Hi neetesh,
1. In normal programming for se38 reports,
   it does not make any difference between initialization and load-of-program.
2. HOWEVER,
3. Suppose u want to call some FORM in another program
   using  PERFORM MYFORM(ZREPORT2)
   and u want to fill some global varaiables of ZREPORT2,
   then WHAT ?
4. In that case,
    when PERFORM is encountered in report1,
    then the ZREPORT2 is LOADED
   and the event LOAD-OF-PROGRAM is fired,
   where we can fill values in global variables.
  (in such case, initializatino won't be fired)
regards,
amit m.

Similar Messages

  • Difference between Initialization and Load-of-Program

    Hi All!
    Could anybody tell me what exactly is the difference between Load-of-program and initialization using a sample program?
    Thanks in advance...
    Jag.

    Hi Jag
    It seems not so much difference. But INITIALIZATION block is peculiar to executables.
    <b>INITIALIZATION</b>: Only occurs in executable programs. The ABAP runtime environment triggers the INITIALIZATION event before the selection screen is processed, at which point the corresponding event block is processed.
    <b>LOAD-OF-PROGRAM</b>: When an ABAP program is loaded in an internal session, the runtime environment triggers the LOAD-OF-PROGRAM event, and the corresponding event block is executed.
    Regards
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • Register Applications photoshop CC   Lightroom 300 baht per month Creative Cloud desktop install and load the program into Lightroom down normally open normally, but the work load photoshop program installed. Open access Like we use it to fill a 30-day tr

    Register Applications photoshop CC   Lightroom 300 baht per month Creative Cloud desktop install and load the program into Lightroom down normally open normally, but the work load photoshop program installed. Open access Like we use it to fill a 30-day trial version, serial no.

    1) WHAT if I juse JUST ONE Adobe program pretty often? 
    They have a single use subscription for $20/mo.  Similar to upgrading extended version every 1.5 years.
    2)  WHAT if I created projects like 2 months ago and I didn't use Photoshop for a full month.  Who assures us that with the CC series the projects are opened with the old CS ones?Or don't use it every day?
    Same problem if you own it.  If upgrade price is $400 every 1.5 year that is same as $16/month.  You can choose not to update and version will be same as when you last used it.
    3) WHAT if I don't use Adobe 24/7?  and 5) Making an day-based subscription??  Same problem if you own it.  If upgrade price is $400 every 1.5 year that is same as $16/month.
    4) Adobe, do you think to be the only one making these softwares?
    Competition is always a factor in market.
    6) After all this mess, you discriminate Europeans, too?
    Taxes charged by Governments and municipalities are not controlled by Adobe.

  • Illegal scam has informed me Firefox out of date (it isn't) and loaded a program for me to run. BEWARE 31-01-2012 16.45 UK

    Don't know how to contact Firefox so using this method.
    Please pass on warning of scam

    Page appeared on the first click on a very reputable site (deliaonline.com/recipes/) that I use often.
    As happens with these scams it wasn't there on reload. Scam page was similar to a Firefox info page in style, but not as well designed. Could easily fool those unaware.
    'Run' window appeared and self loaded an .exe program then prompted me to install.

  • Diff betw Load-of-program and Initialisation

    Hi,
    can anyone give me in points the Diff betw Load-of-program and Initialisation events?
    Useful answers wil b rewarded.
    Thanx in advance!

    Hi,
    The purpose of load of program is to load the program into system memory so that it can be execute the program and also this is the first event in the program. After executing this event only other events is executed. Other events are
    Initialization
    start-of-selection
    get
    end-of-selection
    etc all other events are triggered.
    The purpose of Initialization:
    1 . In initialization it is not only the parameters default value
    which are required/accessed/controlled
    in initialization event.
    2. In a program there are so many variables,
    the values of these variables
    can be set in intiailization event.
    3. Such values sometimes cannot be hardcoded.
    They may be requried to fetch from database
    or do some calculations,
    (which is not possible while declaration
    data and parameters)
    4. Sometimes, some variant can also be imported
    for selection screen.
    5.This event is invoked directly after LOAD-OF-PROGRAM and before the selection screen processing of any existing standard selection screen.
    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.
    When run in background, values initialized in initialization event are considered.
    For eg: if you want to initialize like this:
    carrid-sign = 'I'.
    carrid-option = 'EQ'.
    carrid-low = 'AA'.
    carrid-high = 'LH'.
    APPEND carrid TO carrid.
    You cannot achieve this by giving 'default' or 'value' at selection-screen.
    Don't forget ot reward if useful.
    Regards,
    Varun.

  • Difference between Load - of - program & Initialization ?

    Hi Friends,
    What is the "Difference between Load - of - program & Initialization "
    Cheers
    R.Kripa.

    The corresponding event is triggered in an internal session immediately after a program with type 1, M, F, or S is loaded. The corresponding processing block is processed once per program and internal session.
    The processing block LOAD-OF-PROGRAM has approximately the same function in an ABAP program with type 1, M, F, or S as the constructor method of a class in ABAP Objects.
    Programs wiht type 1, M, F, or S can be loaded into an internal session in two ways:
    Program calls
    Whenever you call a program using SUBMIT or a transaction code, a new internal session is opened. The LOAD-OF-PROGRAM event is therefore called in each program call.
    External procedure calls
    The first time you call an external procedure (subroutine or function module), the main program of the procedure that you called is loaded into the internal session of the calling program. The eventLOAD-OF-PROGRAM is triggered and the corresponding processing block is executed before the procedure that you called. However, subsequent calls from the same calling program to a procedure in the same subroutine pool or function group do not trigger the LOAD-OF-PROGRAM event.
    so it's before the program is loaded in the memory for execution.
    Initialization:
    (For executable programs of type 1), the associated event is executed before the selection screen is displayed.
    The parameters (PARAMETERS) and selection criteria (SELECT-OPTIONS) defined in the program already contain default values (if specified). You can assign different values here and also change the database-specific selections.
    Example
    Define the last day of the previous month as the key date:
    PARAMETERS QUAL_DAY TYPE D DEFAULT SY-DATUM.
    INITIALIZATION.
      QUAL_DAY+6(2) = '01'.
      QUAL_DAY      = QUAL_DAY - 1.
    Here, the default value of QUAL_DAY is the current date, e.g. 05.04.88 (QUAL_DAY = '19880405'). Two subseqent statements set the date first to the beginning of the month, e.g. 01.04.88 (QUAL_DAY = '19880401') and then, by subtracting one day, to the last day of the previous month, e.g. 31.03.88 (QUAL_DAY = '19880331').
    so load-of-program before program is loaded in the main memory is excuted and initialization is done before selection screen of the program is displayed..
    reward points if it helps
    regds
    gunjan

  • My macbook is loaded with microsoft work and every time I try and open the program I get an error reading and it will not open.  Powerpoint and the other applications still respond!

    my macbook is loaded with microsoft word for macs and every time I try and open the program I get an error reading and it will not open. This is what it says:
    The application Microsof Word quit eunexpectedly.  Powerpoint and the other applications still respond!

    The joys of Microsoft!
    Maybe the preferences file is corrupted.  You should be able to find the Word preferences file in the folder:
    your user name/Library/Preferences
    Its name is com.microsoft.Word.plist
    I suggest you drag this another folder and try Word again. 
    If that doesn't work then you might find clearing the cache files will fix the problem.  You can do this manually but I never bother. Instead I use a program like Snow Leopard Cache Cleaner (shareware) or Onyx (free). These programs do lots of other maintenance jobs so it's worth having at least one of them.
    Bob

  • I downloaded OS X 10.9.5 and when I attempt to load the program from OS X 10.7.5 I click on the install icon and nothing happens. How do I install the upgrade?

    I downloaded OS X 10.9.5 and when I attempt to load the program from OS X 10.7.5 I click on the install icon and nothing happens. How do I install the upgrade? Can I upgrade from Lion to Mavericks? Here are my specs:
    MacBook Pro
    15 – Inch Core 2 Duo
    Processor 2.33 GHz Intel Core 2 Duo
    Memory 4 GB 667 MHZ DDR2 SDRAM
    Graphics ATI Radeon X1600 256 MB
    Serial Number W8****W0L
    Software Mac OS X Lion 10.7.5 (11G63)
    Is my system capable of running the new upgrades?
    <Personal Information Edited by Host>

    kar89 wrote:
    I downloaded OS X 10.9.5 and when I attempt to load the program from OS X 10.7.5 I click on the install icon and nothing happens. How do I install the upgrade? Can I upgrade from Lion to Mavericks? Here are my specs:
    Sounds like you downloaded the OS X Mavericks 10.9.5 Update or Combo Update. Neither will work on a version of OS X prior to OS X Mavericks. Those are only used to update an existing install of OS X Mavericks. The Combo will update any version from 10.9.0 thru 10.9.4. The Update will only update version 10.9.4.
    You need the full installer of OS X Mavericks from the App Store. However, the App Store no longer offers OS X Mavericks. Yosemite is the new FREE OS X.

  • I upgraded to Mavericks and now I get a LOT of the spinning colored disk when loading a program or almost anything.

    I upgraded to Mavericks and now I get a LOT of the spinning colored disk when loading a program or almost anything?

    For memory check out OWC http://eshop.macsales.com/, Crucial: http://www.crucial.com/ and Kingston http://www.kingston.com/us/.  You will need to know your Mac the year and season your Mac was first sold and model number which can be found here:
     > About This Mac > More Info… > System Report > Model Identifier:

  • Names of the programs which Extend Materials, Load Materials and Load maste

    Hi ,
    Could you please give the names of the programs which Extend Materials, Load Materials and Load master data settings for auto replenishment.
    With regards,
    Pritee.

    HI,
    As per your needs programs list as follows.
    1) Material Extended T-codes(program) :
       a) LSMW - Legacy System Migration Workbench
       b) BDC    - Batch data communication
       c) MM17  - Mass Maintenance Materials and
       d) MM01  - Create Material also extended material one by one.
    2) Load Materials
       a) LSMW - Legacy System Migration Workbench
       b) BDC    - Batch data communication
    3) Load Material Master
        a) MM01  - Create Material.
    Hope, it is useful for you.
    Regards,
    K.Rajendran

  • I have accidentally deleted off my Mac a preferences file for Adobe photoshop and now the program cannot initialize. I have talked to Apple and then say that if Adobe can isolate the file they can help me restore it from my time machine. How do I isolate

    I have accidentally deleted off my Mac a preferences file for Adobe photoshop and now the program cannot initialize. I have talked to Apple and then say that if Adobe can isolate the file they can help me restore it from my time machine. How do I isolate the file ?

    Do you have the path to this file and name of this file?

  • I just downloaded the Java software update and now certain programs aren't loading that use Java?

    So I downloaded the new softeware update and now my programs that use Java won't load. Does anyone know what I can do.

    Due to the extreme unpredictability of the Flashback Trojan, that was constantly changing (and a new variant that's been detected and seems to be worse), Apple decided to play it safe just in case the revised Java code was still vulnerable. So, Java is disabled by default for applets and must be manually enabled as needed (with the warning about possible vulnerability).
    So, head on over to Java Preferences, in Utilities, and enable the thing as needed. Disable when no longer in use for security's sake. BTW, if you enable but don't use Java in awhile, it is configured to self-disable for the same reason.

  • Hello. Tell how to enter the program and to start working in it.  I paid, loaded and installed the program Photoshop CC

    help please to start working... with English at me in any way without translator... if somebody can explain in Russian as to start the program, I will be very grateful
    Tell how to enter the program and to start working in it.  I paid, loaded and installed the program Photoshop CC

    Online Chat Now button near the bottom for Activation and Deactivation problems may help
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • I have Vista and can't load the program for my Blackberry Curve

    I get the message: error2730.could not access VBScript run time for custom action.  The AT&T chat support gave me a code to work around (regsvr32%windir%\system32\vbscript.dll
    That came back as "syntax incorrect"
    I would like to load this program - can anyone help?

    You might have better luck in the MobileMe for iPhone and iPod Touch forum.

  • Moving Programs with a full erase and load of Tiger

    I have a G4 iBook with Panther, I bought Tiger and want to do a full erase and load Tiger fresh. The problem is I have lost my Office 2004 Mac CD and I dont want to loose these programs. Being a fairly new Mac user, is there a simple way to "Back Up" my programs and reload them on Tiger when I do a full erase and load?
    Thanks in advance.
    idummy

    Hello Will,
    Do you have access to an external drive? A firewire one? If so you can use something like..
    Carbon Copy Cloner
    or
    Super Duper
    Both are easy to use and will do that which you seek to accomplish.
    Regards
    Ian

Maybe you are looking for

  • Crystal 2008 install problems with DLL

    Hello, When I try to install Crystal Reports 2008 there was an error message: Error 1904. Module C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\cr_report.dll failed to register.  HRESULT -2147024769.  Contact your support

  • Burning Slides to DVD

    I've never used iDVD this way. I imported 115 photos from iphoto, added music, dissolve transitions, and a title page, but when I pressed the icon to make the DVD in received this +WARNING: There were warnings during the project validation. It is rec

  • How can I get still images without blurring?

    Hi, I've found several threads on this topic. But none of them helped. Most discussions justs ended without resolution. Some had a lot of technical questions and details that I didn't understand. Can someone please tell me how to do the following...

  • Import Unmanaged version of solution into organization that already has a managed version of same solution

    If a solution is Managed and deployed in CRM 2013 and data has already been written to the entities within that Managed solution, what would happen if we imported an unmanaged version of the managed solution to the same organization?  We have a manag

  • Why photoshop elements 13 no longer can get photos off camera

    Photoshop elements 13 worked fine for awhile but now I have issues. I cannot get pictures off camera or hard drive to put into organizer. I run windows 7. like i said it worked fine up until about 2 weeks ago. I'm 59 years old and not familiar with s