When should the afterInit event fire for sap.ui.core.mvc.View ?

I am looking to execute a function once only after the onInit() method on a controller has run. I assumed (incorrectly apparently) that the afterInit event that is provided by sap.ui.core.mvc.View would be fired after the onInit() method, however it appears that it actually executes before the onInit method on the controller.
Is this the expected behavior ?
Regards,
Trevor

Hi Jason,
Yes, I had looked at that document, however it only covers the lifecycle methods of the controller, it does not mention the events that are fired. If you look at the https://openui5.hana.ondemand.com/#docs/api/symbols/sap.ui.core.mvc.View.html documentation you will see that there are four events fired. The one I was questioning was the afterInit event, because I assumed that it was fired after the onInit method of the controller, however that is not the case.
Regards,
Trevor

Similar Messages

  • What should the default tablespace be for SAP users

    I'm using Oracle 10.2.0.4
    For the users
    OPS$<SID>ADM
    OPS$ORA<SID>
    SAP<SID>
    what should the default tablespace be
    PSAP<SID>USR or PSAP<SID>

    Hello Bill,
    > For the users
    > OPS$<SID>ADM
    For this user the default tablespace is SYSTEM
    > OPS$ORA<SID>
    For this user the default tablespace is SYSTEM
    > SAP<SID>
    For this user the default tablespace is PSAPPRDUSR
    Regards,
    Federico Biavati

  • Not able to successfully subscribe to and see the TargetApplicationChosen event fire from Windows Phone 8.1

    Matt,
    Thanks for the reply.
    In my current experience, I am not able to successfully subscribe to and see the TargetApplicationChosen event fire from Windows Phone 8.1.
    In Windows Store 8.1 (Tablet), it works fine.
    Questions
    Is this event expected to fire in Window Phone 8.1 (Universal Apps, Not Silverlight 8.1) ?
    Does this event depend on the target application to supply AppName?
    Thanks for your help. Much appreciated.
    Example Code Block
    //From Page Contstructor or OnNavigatedTo Handler
    _dataTransferManager = DataTransferManager.GetForCurrentView();
    _dataTransferManager.TargetApplicationChosen += DataTransferManagerOnTargetApplicationChosen;
    private void DataTransferManagerOnTargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
    //fires in tablet but not phone

    This is not an answer, Mr. Wong.  The link you referenced refers to the DataTransferManager class being supported only in Native apps, which includes Windows Phone 8.1 RT apps.  All aspects of the DataTransferManager work except for the TargetApplicationChosen
    event under a WP8.1 universal app.  This event does NOT fire in the Windows Phone 8.1 RT API implementation of DataTransferManager.
    You need to reopen this thread and address the issue, please.  The lack of support for this event is problematic for some phone scenarios, most notably supporting NFC Tap and Share.
    Mark Jones, Owner MJ App Factory

  • Know more detail about the Remote Support Platform for SAP Business One ?

    SAP Business One 9.1 is about to release this year and we can see in the feature enhancements that a significant update is planned in the Remote Support Platform for SAP Business One, more commonly known as RSP. Let’s have a quick look what update is planned for RSP in version 9.1:
    Enhancements planned in Remote Support Platform for SAP Business One 9.1
    RSP is planned to support both SAP Business One on Microsoft SQL Server as well as SAP Business One on HANA Database
    RSP Processes and Reports adapted to SAP HANA Database
    With this plan RSP will help in the areas of Download, Installation, Go-Live Check, Monitoring, Upgrade and Support for SAP Business One both   on SQL Server and HANA.
    But like me (non-SAP B1 Consultant) many of you have the question what is RSP and how it helps in support? Here I have tried to gather all information.
    What is Remote Support Platform for SAP Business One?
    The remote support platform for SAP Business One is designed to protect a SAP Business One installation by providing automated and remote support in a high-volume business.
    The platform monitors the entire SAP Business One environment. By significantly reducing the time between the appearance, identification, and resolution of issues, the remote support platform for SAP Business One minimizes the impact on customer databases and processes.
    Some Key Features of Remote Support Platform:
    Showing alerts to SAP B1 Admin about the events which require their attention, such as low disk space, database backups, etc.
    Incident Reports against the issues identified which require attention of SAP Support
    Company Database Backup and Restore options
    Regular fixes of Company Database inconsistencies
    Check, Download and Install regular updates in SAP Business One
    Upload Logs and required files to SAP Support or to Partner Support on regular basis
    Some details about RSP Backup Management
    Schedule daily, weekly, and monthly backups
    Perform differential and full database backups
    Back up transaction logs
    Back up files to shared folders on a network
    System Status Report through RSP
    From June 1st 2013, it will be mandatory to install, configure and upload the System Status Report (SSR) from Remote Support Platform (RSP) for SAP Business One in order to receive support for messages of a technical nature (upgrades, performance & crashes, etc).
    Database uploads only via RSP
    From June 1st 2013 SAP Business One Support will only accept database uploads to SAP via remote support platform for SAP Business One. In certain exceptional circumstances STFP may be used but this will constitute a minority of cases.
    Microsoft Windows PowerShell Scripting
    In the remote support platform studio, you can create tasks using Microsoft Windows PowerShell scripting. PowerShell enables you to perform remote administrative tasks on customers’ Microsoft Windows operating systems, by providing full access to Component Object Model (COM) and Windows Management Instrumentation (WMI).Some Network Prerequisite for RSP
    To achieve the internet connection test, you must allow port 80 for the RSP external communication
    Disabling antivirus firewall or add the RSP to the trusted zone of the antivirus
    Set the correct proxy
    Disabling Windows firewall in the TP_link Wireless Configuration Utility
    Want to now More about It Click Here :   Remote Support Platform for SAP Business One

    SAP Business One 9.1 is about to release this year and we can see in the feature enhancements that a significant update is planned in the Remote Support Platform for SAP Business One, more commonly known as RSP. Let’s have a quick look what update is planned for RSP in version 9.1:
    Enhancements planned in Remote Support Platform for SAP Business One 9.1
    RSP is planned to support both SAP Business One on Microsoft SQL Server as well as SAP Business One on HANA Database
    RSP Processes and Reports adapted to SAP HANA Database
    With this plan RSP will help in the areas of Download, Installation, Go-Live Check, Monitoring, Upgrade and Support for SAP Business One both   on SQL Server and HANA.
    But like me (non-SAP B1 Consultant) many of you have the question what is RSP and how it helps in support? Here I have tried to gather all information.
    What is Remote Support Platform for SAP Business One?
    The remote support platform for SAP Business One is designed to protect a SAP Business One installation by providing automated and remote support in a high-volume business.
    The platform monitors the entire SAP Business One environment. By significantly reducing the time between the appearance, identification, and resolution of issues, the remote support platform for SAP Business One minimizes the impact on customer databases and processes.
    Some Key Features of Remote Support Platform:
    Showing alerts to SAP B1 Admin about the events which require their attention, such as low disk space, database backups, etc.
    Incident Reports against the issues identified which require attention of SAP Support
    Company Database Backup and Restore options
    Regular fixes of Company Database inconsistencies
    Check, Download and Install regular updates in SAP Business One
    Upload Logs and required files to SAP Support or to Partner Support on regular basis
    Some details about RSP Backup Management
    Schedule daily, weekly, and monthly backups
    Perform differential and full database backups
    Back up transaction logs
    Back up files to shared folders on a network
    System Status Report through RSP
    From June 1st 2013, it will be mandatory to install, configure and upload the System Status Report (SSR) from Remote Support Platform (RSP) for SAP Business One in order to receive support for messages of a technical nature (upgrades, performance & crashes, etc).
    Database uploads only via RSP
    From June 1st 2013 SAP Business One Support will only accept database uploads to SAP via remote support platform for SAP Business One. In certain exceptional circumstances STFP may be used but this will constitute a minority of cases.
    Microsoft Windows PowerShell Scripting
    In the remote support platform studio, you can create tasks using Microsoft Windows PowerShell scripting. PowerShell enables you to perform remote administrative tasks on customers’ Microsoft Windows operating systems, by providing full access to Component Object Model (COM) and Windows Management Instrumentation (WMI).Some Network Prerequisite for RSP
    To achieve the internet connection test, you must allow port 80 for the RSP external communication
    Disabling antivirus firewall or add the RSP to the trusted zone of the antivirus
    Set the correct proxy
    Disabling Windows firewall in the TP_link Wireless Configuration Utility
    Want to now More about It Click Here :   Remote Support Platform for SAP Business One

  • Need i install the XI add-in for SAP Web AS 6.20

    I want to connect a 4.71(Web AS 6.20) as a business system to a nw2004s system.
    The scenario is JAVA<=>XI<=>RFC(Web AS 6.20)
    Do i have to install the XI add-in for SAP Web AS 6.20?
    Regards
    Ming

    Hi,
    For RFC connectivity you don't need to install any add-ins but incase proxy communication we needed.
    Thanks,
    venu.

  • Error with trial Installation of the BusinessObject Integration Kit for SAP

    Hi
    I am using the trial version of Installation of the BusinessObjects Integration Kit for SAP
    while doing the installing it gives me the screen of
    BW Publisher Parameter in which I need to fill the
    Program ID
    gateway host
    gateway service
    Can anyone please let me know where can I get the program id and gateway host and service
    Regards
    JM

    Hi John,
    those depend on you landscape. Take a look here:
    Publishing part 1
    /people/ingo.hilgefort/blog/2008/09/23/businessobjects-and-sap--publishing-of-crystal-reports-part-1-of-3
    Publishing part 2
    /people/ingo.hilgefort/blog/2008/09/24/businessobjects-and-sap--publishing-of-crystal-reports-part-2-of-3
    Publishing part 3
    /people/ingo.hilgefort/blog/2008/09/24/businessobjects-and-sap--publishing-of-crystal-reports-part-3-of-3
    and you can also look into the Installation Guide for the SAP Integration Kit
    Ingo

  • When is the next release/update for iPhone iOS.5 ? (concerning SIRI)?

    Hi,
    Given that Siri is in beta, when does Apple plan to update us with a proper version with the bugs ironed out?
    Are they going to remove the annoying design of Siri that requires an internet connection to ask it the local system time?
    If anyone has any news on this, please let me know.
    Thanks,
    H

    Hatim M wrote:
    When is the next software update for iphone 4 and which version will be available. Release date for IOS7, and is it compatible with iphone 4 ???
    Already asked and answerd many times on these forums and by a simple Google search.  Search before posting.

  • When will the ios 7 update for iphone 3GS come???

    when will the ios 7 update for iphone 3GS come???

    As you know, iOS 7 applies to the iPhone 4 and above.
    I advise you not to ever expect iOS 7 for the iPhone 3GS.  Historically, Apple has never released a version of iOS that did not include some older hardware, and later come back to include that hardware.

  • What size should the original image be for 100% width so it is responsive?

    What size should the original image be for 100% width so it is responsive?

    Please check these documents for details :
    https://helpx.adobe.com/muse/how-to/muse-optimize-graphics-assets.html
    https://helpx.adobe.com/muse/how-to/muse-size-resolution-graphics.html
    Thanks,
    Sanjit

  • When is the new movie " need for speed " coming out in itunes

    When is the new movie need for speed coming out in itunes?

    No idea.
    You would need to ask the makers of the movie when they plan to release it to itunes.

  • When will the Special Event be ready to watch? (Sept 2014)

    When will the Special Event be ready to watch? (Sept 2014)

    Now.
    <http://www.apple.com/live/2014-sept-event/>

  • What are the post installation steps for sap 4.7ee

    what are the post installation steps for sap 4.7ee

    Hi,
    Post installation steps are as follows.
    1.SICK to be run first to checkt the errors while installation.
    2. Install SAP GUI
    3. Set up the TMS. Configuration the domain controller through SE06 and then set up the transport system through TMS.
    4. Change the default password of SP* and DDIC.
    5. Set up the operations mode using RZ04 and SM63.
    6. Apply patches through SPAM.
    7 Schedule default background jobs through SM36.
    8 Import default profiles through RZ10.
    9. Schedule backup calender through DB13.
    10. Create clients using SSC4
    11. Install lisence
    12. Schedule SGEN

  • HT1904 when accepting the terms and conditions for the new terms of agreement of the policy, i press accept the terms and press agree and it will not allow me to purchase the music because it keeps going to the same page of terms and agreements

    when accepting the terms and conditions for the new terms of agreement of the policy, i press accept the terms and press agree and it will not allow me to purchase the music because it keeps going to the same page of terms and agreements

    If you can't scroll to the bottom
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.

  • When is the next firmware coming for the N97

    When is the next frimware due for the N97, V20 made it easier to use with kinectic scrolling, apart from that, it has made my phone slower, unresponsive, freezes alot, and caused more bugs innit.
    Is there another one coming out to maybe fix the rest of the bugs since V20 is suppose to fix some bugs not all of them, what about the rest of them.

    There was an announcement by xbungle in the "software updates" section that the next update for the N97 would be released mid to late next month.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • How to extend the sap.ui.core.mvc.Controller ?

    We are in the process of building a web application that allows users to "plugin" their own views (pages). When they create there own views there are a number of activities that are common across all pages that occur in the onInit() and onExit() methods, additionally, we may provide additional utility functions that should be available to the controller.
    Currently when creating a controller the standard is to use sap.ui.controller("some.name", { controller specific functionality } );  I would like to create a sap.ui.MyController("some.name", { controller specific functionality }); that contains the utility functions and extra functionality in the LifeCycle methods so that these are automatically available to anyone defining this type of controller.
    I believe the documentation I need to reference is boilerplate code for typed Controller however I am unsure on how this can be used
    I assume that I define the controller abc/xyz/MYController.js
    jQuery.sap.declare({modName:"abc.xyz.MYController", type:"controller"}); // declaring a special type of module
    abc.xyz.MYController = function () { // the constructor
        sap.ui.core.mvc.Controller.apply(this, arguments);
    jQuery.sap.require("sap.ui.core.mvc.Controller"); // this is currently required, as the Controller is not loaded by default
    abc.xyz.MYController.prototype = jQuery.sap.newObject(sap.ui.core.mvc.Controller.prototype); // chain the prototypes
    /* end of boilerplate code for typed Controller */
    abc.xyz.MYController.prototype.onInit = function() {
        // modify control tree - this is the regular lifecycle hook
        console.log("Inside my new controller.");
    Then use it in app/pageController.controller.js ...
    jQuery.sap.require("abc.xyz.MYController");
    abc.xyz.MYController("app.pageController", { ..... });
    When I try this I get the Error
    Uncaught Error: failed to load 'app/pageController.controller.js' from /mywebapp/js/app/pageController.controller.js: Error: Controller type app.pageController is still undefined after trying to load it. sap-ui-core-all-dbg.js:20313requi
    Any help with this would be appreciated.
    Regards,
    Trevor

    Hi Trevor
    may this code snippet will help.
        jQuery.sap.declare("example.MyController");
        jQuery.sap.require("sap.ui.core.mvc.Controller");
        "use strict";
        sap.ui.core.mvc.Controller.extend("example.MyController", {
            onInit: function () {
    -D

Maybe you are looking for

  • Help for Multiprovider

    Dear All, In my project client wants to maintain only 2 years history. So should i create DSO or InfoCube?? Moreover we need to develop one query which will show up data for Current transaction (coming from Cube) as well as History data. So we decide

  • Inserting and retrieving data from a al32UTF8 database USING SQL Developer

    hi guys, Before i post my questions , i think its better for me to provide you guys with my understandings first so that it easier to understand where/if i have gone wrong.. I am using Window XP and Oracle 10g Non-unicode client - a client program th

  • Obsolete statement

    Hi friends, I have used the statement: "ON CHANGE OF........ENDON." in my program. during extended check in program.... this satement is showing as obsolete statement error. The error is as follows: " The current ABAP command is obsolete and problema

  • OAM 11gR2 - Remote Registration Exception - HTTP Error 501

    Hello I installed OAM 11gR2 and am trying to configure OAM with WebGate. While doing remote registration using rreg.bat I get an exception RemoteRegistrationException HTTP error 501 could not send HTTP Post message Can anyone help me? Thanks, Ram

  • My 4gb nano wont show up on itunes when i plug it in

    I have a Toshiba lab top, it has worked before. And today when i tried to charge it, it took 6 hours to charge, and the computer was not hibernating ect...it still will not fully charge. I have plugged it into all of the 4 USB connections. But still