Which method is invoked first when we create a component or view controller

When we create a component controller & view, what method is invoked / initialized first in component & view.

Hi,
wdDoInit() will be called first.whenevr u invoke an application
then the sequence of invokation is wdDoInit() of component
controller and then wdDoInit() of view will be called
Regards.
Surender Dahiya

Similar Messages

  • When to create SAP IAC i-view and SAP transaction i-view

    Hi Gurus,
                Could you please tell me when to create SAP IAC iview and when to create SAP transaction i-view.
    Regards
    Indranil

    Indranil,
    check this from one of the threads
    Transaction iViews as the name suggests point to SAP transactions. These iViews can be presented in three flavors out of portal - Win,Web and Java GUI. All have their different advantages. One rule of thumb I have been followins is that if the SAP transaction has a lot of user input go with WinGui (talk to users who use these transactions the most and find out what GUI would make them more happy)
    WebGui is pretty good in scenarios where the transaction is going to be mostly getting the information a some little interaction. Haven't had a chance to try Java GUI.
    Now about IAC or internet application component iviews. These iviews mostly point to services based on ITS i.e. web applications which are served thru ITS. How are they different from SAP transactions served thru webgui is that these have more web like look and feel. A good exampple of this kind of application is Shopping Cart in the Enterprise Buyer Professional. The web like look and feel is given by the service files in ITS.
    some questions
    1. Is one preferable to the other?
    ans: Please read above
    2. Is there a corresponding IAC for every SAP Transaction?
    ans :No
    3. Can either use WebGui or WinGui mode?
    ANS: IACs don't have wingui mode.
    4. Why do IAC Services need to be "activated"?
    ANS: Otherwise they won't be published to ITS and you cannot access them.
    Thanks
    Bala Duvvuri

  • Which method will be called, when invoking home.create() ?

    Hi,
    In a Stateless session Bean, I want initialize some variables, whenever a bean is created or retrieved from the pool. So I used the ejbCreate() method to initialize the variables, but it is called only first time when I call the home.create(). If I call the home.create() method next time it doesn't call the ejbCreate().
    Which method will be called, whenever I call home.create();.

    hi siva,
    first of all Ejbcontainers maintain a pool of stateless sessionbeans .when you call home.create() the ejbCreate () method is definitely called and you said you are initializing some variable and may be you are trying to retrive that value after home.create() method.. when you try to retrive the value thee value may be same as you have initialized or different depending upon the no of stateless session beans in the container. you have created a bean and there is no guarantee that the same bean will be called when you invoke retrieval method..
    i hope you understood.
    cheers

  • While executing the application which method will trigger first

    Hi all,
    while executing a webdynpro application which hooker  method will trigger first?

    Hi Naveen,
    The first method called is the WDDOINIT of the component controller.
    For more details on hook method please see the below link.
    http://wiki.sdn.sap.com/wiki/display/WDABAP/HooksMethodsinWebdynprofor+ABAP
    http://help.sap.com/saphelp_tm70/helpdata/en/45/c87f413e70010de10000000a1550b0/frameset.htm
    Thanks
    Pradeep

  • How the compiler chooses which method to invoke?

      public class A {
            public void foo(Object o) {
                System.out.println("A.foo with an object");
      public class B extends A {
            public void foo(Object o) {
                System.out.println("B.foo with an object");   
            public void foo(String s) {
                System.out.println("B.foo with a string");   
    public class C {
        public static void main(String[] args) {
            String s = "hello";
            A a = new B();
            a.foo(s);
    }why the output is "B.foo with an object" and not "B.foo with a String".
    or more generally: how the compiler choses the method to invoke?

    or more generally: how the compiler choses the method
    to invoke?Variable a is declared as a reference to an A. The compiler only knows this. It doesn't know that the object it happens to be pointing at is a B. So it only looks at A's methods.
    A has only foo(Object), so it will call the method with the signature foo(Object).
    Which signature to use is determined at compile time, and is determined by the type of the reference.
    Now, as for whether A's foo or B's foo, that's where Java's polymorphism comes in. In this case, the VM looks at the object, not the reference, and calls the "deepest" (furthest from Object) class' method that matches that signature.
    Which class' implementation of that signature to call is determined at runtime, and is determined by the object, not the reference.

  • Which method is invoked everytime a row in invoked

    Hi all,
    I have a Table that is having the Code of the LOV field that is stored in the database. I have just drag and drop the Fields from the View Objects to my jspx page. So that it is displaying only the code of the LOV field. But i need to display the Description of the LOV field. how do i achieve this.
    so i am trying to find a method invoked for every row fetched from db.then i will write a code in that method to get the Description of the Field. What is that method we need to override.pls guide me in this.
    Thanks in Advance

    Hi,
    Can you please let know what is the exact issue that you are facing?
    What do you mean by
    I have also tried the same that is only working for add mode.but in the query it showing as blank.Thanks,
    Navaneeth

  • Calling view controller method from component controller method

    Hi,
    Is there any way to call view controller method from component controller method?
    Thanks,

    Hi Khandal.
    You should not make you component controller dependent from a view controller.
    But what you can do is to define an event in the component controller. The view
    controller can register for this event.
    In the stage where you currently want to call the view controller method just fire
    the event. In the event handler method in the view controller you can call the
    method then.
    Why do you need to call a view controller method? Can you give more details
    about the scenario?
    Cheers,
    Sascha

  • How many methods copies will create when i create multiple objects

    Hi
    I have big doubt in java. See the following Program
    class A{
    public int i;
    public static int j;
    public void methodOne(){
    Sytem.out.println("Welcome");
    public static void methodTwo(){
    System.out.println("Welcome methodOne");
    class B{
    public static void main(String[] args){
    A obj = new A();
    A objOne = new A();
    A objTwo = new A();
    In this program how many method copies and variable copies will create when i create mulitiple objects. I am sure that only one copy j variable and methodTwo method (becz both are static) for all the objects. what about the method methodOne and i. Here how many copies will create. Could you please explain this concept very clearly.
    Thanks and Regards
    Sherin Pooja

    Sherin wrote:
    Sorry I pasted the previous comment with table format. Here the table format is not working
    Local variables---Stack     
    Instance/Member/field variables---Heap     
    Class/static variables---Static Memory
    Methods---Methods do not live on the heap or stack.Incorrect. Methods live in the method area, which is "logically part of the heap," according to the JVM spec.
    Instance/Member/field variables---It will create and destroy according to object initialization and destroy.That's very poor English and doesn't really capture what happens.
    policyHolder = new PolicyHolder(); //Dynamic objects will be stored in the heap.
    All objects are stored in the heap. There's no distinction between "dynamic" and "static."
    Class/static variables---Static variables are created when the program starts and destroyed when the program stops.Wrong. They are created when the class is loaded and destroyed when it is unloaded.
    I don't know where you got all this information from, but I recommend you don't use that site. Much of it is just plain wrong, and the rest is very poorly written and imprecise.

  • Which method is right  for creating directory

    Hi all
    whenever we create directory for oracle 11g during installtion
    we have two method from documents
    which method is right
    Create the directories in which the Oracle software will be installed:
    mkdir -p /u01/app/oracle/product/11.1.0/db_1
    chown -R oracle:oinstall /u01
    chmod -R 775 /u01
    or
    Create the directories in which the Oracle software will be installed:
    mkdir -p /u01/app/oracle
    chown -R oracle:oinstall /u01
    chmod -R 775 /u01

    ORACLE_BASE is a base directory which is owned by oracle user. The software itself is installed in ORACLE_HOME. When you create ORACLE_HOME it creates you also ORACLE_BASE. That's the way to go. If you don't have ORACLE_HOME created Oracle Universal Installer might complain or fail.

  • How does Weblogic find out which webservice method to invoke?

    Hi!
    I developed a webservice which is currently running on weblogic & everything is fine ;). Yesterday I tried to get it running on a different app server (jboss) and it simply would not work. I always got an error, that the operation requested does not exist on the endpoint. I investigated the issue & came to the conclusion that it is correct...the operation requested does really not exist. Now...why does it work on weblogic?!?
    Here a few details on the application:
    important part from the wsdl & xsds:
    <wsdl:message name="performTransactionSearch">
    <wsdl:part name="parameters" element="tns:performTransactionSearchRequest" />
    </wsdl:message>
    <wsdl:portType name="TransactionService">
    <wsdl:operation name="performTransactionSearch">
    <wsdl:input message="tns:performTransactionSearch" />
    <wsdl:output message="tns:performTransactionSearchResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="O2HWOnlyJournalServicePortBinding" type="tns:O2HWOnlyJournalService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
    style="document" />
    <wsdl:operation name="performTransactionSearch">
    <soap:operation soapAction="" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    And here the xsd type:
    <xs:element name="performTransactionSearchRequest" type="tns:performTransactionSearchRequest"/>
    <xs:element name="performTransactionSearchResponse" type="tns:performTransactionSearchResponse"/>
    <xs:complexType name="performTransactionSearchRequest">
    <xs:all>
    <xs:element name="RequestHeader" type="base:requestHeader" minOccurs="0"/>
    <xs:element name="TransactionSearchCriteria" type="wstypes:transactionSearchCriteria" minOccurs="1"/>
    </xs:all>
    </xs:complexType>
    <xs:complexType name="performTransactionSearchResponse">
    <xs:sequence>
    <xs:element name="SearchResponseItem" type="wstypes:searchResponseItem" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    Last but not least, the method:
    public List<SearchResponseItem> performTransactionSearch(RequestHeader header, TransactionSearchCriteria criteria) { ... }
    The difference in the soap request messages differs in the outer tag. Weblogic expects what is defined in the xsd -> <performTransactionSearchRequest>, whereas jboss expects the operation/method <performTransactionSearch>.
    With jboss it only works w/o the 'Request'-suffix....with Weblogic it only works with the suffix.
    In a last attempt I adjusted the xsd, and changed the name for the tag to 'performTransactionSearch'. In that case, both app servers accept the same request (the one w/o the 'Request'-suffix) & it works fine.
    Now...long story short ;) ... why is that? I understand why Jboss is not able to work with the "wrong" tag, even though it is strange that it accepts a tag that is not even defined in the xsd.
    But, at least to me, I found it even stranger, that weblogic "knows" which operation to invoke. Can anyone give a little insight how a soap message gets processed in wl & how wl finds out which operation to invoke?
    Many thanks in advance :).

    Hi
    I am seeing frequent FULL GC This is because you are creating and destroying objects VERY frequently. Try to look at your design and see where you can reuse objects (i.e. object pooling) if possible, that is if this is adversely affecting performance.
    and not able to locate
    which particular class/method is calling the
    System.gc(). Classes don't call GC. The VM handles that automagically.
    I have disabled it using
    -XX:DisableExplicitGC and performance issues have
    been resolved. Also, I noticed that it does not
    happen periodically, so it is not RMI GC. How to find
    out who exactly is doing this? Does any of of the
    profilers like Optimizeit/Jprobe help find out this.OptimizeIt will tell you everything you need to know. However, NetBeans offers a free profiler now!

  • I am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    i am trying to generate purchase order and i create a BAPI also which is active.
    But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    Hi,
    Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
    This is my CODE-
    FUNCTION ZBAPIPOTV2.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(POHD) TYPE  ZPOHD OPTIONAL
    *"     VALUE(POITEM) TYPE  ZPOITEM OPTIONAL
    *"  TABLES
    *"      RETURN STRUCTURE  BAPIRET1 OPTIONAL
    data: ls_pohd type bapimepoheader,
             ls_pohdx TYPE bapimepoheaderx,
             lt_poit TYPE TABLE OF bapimepoitem,
             lt_poitx TYPE TABLE OF bapimepoitemx,
             ls_poit TYPE bapimepoitem,
             ls_poitx TYPE bapimepoitemx.
       MOVE-CORRESPONDING pohd to ls_pohd.
       MOVE-CORRESPONDING poitem to ls_poit.
       ls_pohdx-comp_code = 'x'.
       ls_pohdx-doc_type = 'x'.
       ls_pohdx-vendor = 'x'.
       ls_pohdx-purch_org = 'x'.
       ls_pohdx-pur_group = 'x'.
       ls_poit-po_item = '00010'.
       APPEND ls_poit to lt_poit.
       ls_poitx-po_item = '00010'.
       ls_poitx-po_itemx = 'x'.
       ls_poitx-material = 'x'.
       ls_poitx-plant = 'x'.
       ls_poitx-quantity = 'x'.
       APPEND ls_poitx to lt_poitx.
    CALL FUNCTION 'BAPI_PO_CREATE1'
       EXPORTING
         POHEADER                     = ls_pohd
        POHEADERX                    =  ls_pohdx
    *   POADDRVENDOR                 =
    *   TESTRUN                      =
    *   MEMORY_UNCOMPLETE            =
    *   MEMORY_COMPLETE              =
    *   POEXPIMPHEADER               =
    *   POEXPIMPHEADERX              =
    *   VERSIONS                     =
    *   NO_MESSAGING                 =
    *   NO_MESSAGE_REQ               =
    *   NO_AUTHORITY                 =
    *   NO_PRICE_FROM_PO             =
    *   PARK_COMPLETE                =
    *   PARK_UNCOMPLETE              =
    * IMPORTING
    *   EXPPURCHASEORDER             =
    *   EXPHEADER                    =
    *   EXPPOEXPIMPHEADER            =
      TABLES
        RETURN                       = return
        POITEM                       = lt_poit
        POITEMX                      = lt_poitx
    *   POADDRDELIVERY               =
    *   POSCHEDULE                   =
    *   POSCHEDULEX                  =
    *   POACCOUNT                    =
    *   POACCOUNTPROFITSEGMENT       =
    *   POACCOUNTX                   =
    *   POCONDHEADER                 =
    *   POCONDHEADERX                =
    *   POCOND                       =
    *   POCONDX                      =
    *   POLIMITS                     =
    *   POCONTRACTLIMITS             =
    *   POSERVICES                   =
    *   POSRVACCESSVALUES            =
    *   POSERVICESTEXT               =
    *   EXTENSIONIN                  =
    *   EXTENSIONOUT                 =
    *   POEXPIMPITEM                 =
    *   POEXPIMPITEMX                =
    *   POTEXTHEADER                 =
    *   POTEXTITEM                   =
    *   ALLVERSIONS                  =
    *   POPARTNER                    =
    *   POCOMPONENTS                 =
    *   POCOMPONENTSX                =
    *   POSHIPPING                   =
    *   POSHIPPINGX                  =
    *   POSHIPPINGEXP                =
    *   SERIALNUMBER                 =
    *   SERIALNUMBERX                =
    *   INVPLANHEADER                =
    *   INVPLANHEADERX               =
    *   INVPLANITEM                  =
    *   INVPLANITEMX                 =
    ENDFUNCTION.
    i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". 

  • I was having an issue opening a spreadsheet with the file extension .xlsm. This appears as an attachment from a client which means macros were utilized when creating the spreadsheet. The problem lies in. The iPads ability to open the attachment. I downloa

    I was having an issue opening a spreadsheet with the file extension .xlsm. This appears as an attachment from a client which means macros were utilized when creating the spreadsheet. The problem lies in. The iPads ability to open the attachment. I downloaded the numbers app thinking this would be a default software to open any and all spreadsheets.
    Please Help!
    Ipad 2- iOS5

    You may need a version without macros on it. Unfortunately, pretty much all apps are skinned down versions of their original program, often with less functionality. For example in a word document I can italicize,bold and underline, but I only have a handful of fonts to play with and I don't think I can insert tables or images.
    It is very possible that the app simply cannot run macros, which means that document may never work on an iPad.

  • Which CZ-Schema tables get affected when we create Non BOM items in OCD?

    Hi,
    Please LIST ALL the CZ tables which gets affected when we create Non BOM structure.
    Or Else Atleast suggest a means where I can get which tables are getting affected(i.e, In which CZ tables rows are being inserted).
    Thanks.
    Edited by: 1008308 on May 28, 2013 2:03 AM

    I cannot speak for Murali, but from my experience...this information is not available in particular manual or documentation. These table names are known over the course of working with the product over a period of time, seeing SQL statements inside working code, working on bugs alongside Oracle Support and Development, etc. However, there is some information available in the following locations to help you out:
    * CZ Implementation Guide - Section D - CZ Subschemas (http://docs.oracle.com/cd/E18727_01/doc.121/e14322/T440679CHDJBBFB.htm). This part of the manual lists the key tables used for various activities (product structure, publishing, UI, etc.)
    * ETRM (http://etrm.oracle.com) also has some useful information. Not every table is described, but many of them are. As an example, here is what you might find as a description of the CZ_PS_NODES table:
    +"The CZ_PS_NODES table contains the entire structure of a product model. Data can be imported from Oracle Bill of Materials. Each project has a root (product) node. When the project structure is imported, project structure nodes mirror the imported BOM structure. Nodes of type REFERENCE are used to include a separate project ("model") into another psnode project tree."+
    Thanks,
    Jason

  • When we create a contract in which tables conditions are updated.

    When we create a contract using ME31K & matains conditions in which table conditions are updated.
    Please guide in which table i'll find all prices.
    In EKKO also no  document condition is generated.
    Please its urgent.

    Hi.....
    Open this link once....,
    http://www.sapnet.ru/viewtopic.php?t=837&sid=4a33ddb8dec93fe4fd726e6e98e9b62f
    May helpful to you..,
    Thanks,
    Naveen.I

  • Which API is invoked by coherence when a object meets it's expiry interval

    Hi,
    Need an Information about which API is invoked by Coherence Internally when an cached object meets it's expiry delay time or interval?
    Will Coherence invokes CacheFactory. releaseCache(NamedCache map) API or CacheFactory.destroyCache()?
    We need this details because we see increase in size(byte) of object and count as 0 in our JMX stats. expiry-delay is 10 sec.

    Hi Jonathan,
    Thanks a lot for the response. We've observed that cached objects size shrinks and it's sporadic and for expired cache objects we see increase in size of the object. We are using following code to calculate size of cache object in bytes.
    import com.vladium.utils.ObjectProfiler;
         * Returns the size of near cache
         * @param cache
         * @return size of near cache
         int getSizeInBytes(){
    NamedCache cache = CacheFactory.getCache(cacheName);
              return ObjectProfiler.sizeof(((NearCache) cache)
              .getFrontMap());
         }

Maybe you are looking for

  • Follow-up Business Transactions

    Hi Experts, I have a problem with follow-up transactions. I created two transactions, a Quotation and a Standard Order. Then I created follow-up for these transactions in the copying control, ZAG --> ZTA. Now, when I create a new Quotation in the Web

  • 2 Lion Problems: Waking from Sleep Doesn't Go to Wifi Network; & Can No Longer Finger Swipe in Firefox to Move Backward/Forward

    I hve a late 2009 iMac at home that I've upgraded to Lion. So far, there are only 2 issues that I'm having: 1 - When I wake the iMac from a long sleep, it doens't automatically log into my wifi network. I have to drag the mouse up to the menu bar, cl

  • Mail comes in, but won't hardly go out. 450 host down

    09:16:13 2A9 Queuing deferred message: GMAIL_S/SYS:\GDOMAIN\WPGATE\GWIA\send\sf0272f3.391 09:16:13 2A9 MSG 2249149 Analyzing result file: GMAIL_S/SYS:\GDOMAIN\WPGATE\GWIA\result\rf026b6b.349 09:16:13 2A9 MSG 2249149 Detected error on SMTP command 09:

  • Oracle 10.2 Install on RedHat EL5 PowerPC

    I am trying to install Oracle 10.2 on RedHat EL5 for PowerPC ./runInstaller -ignoreSysPrereqs I have this error in the log file: NFO: Start output from spawned process: INFO: ---------------------------------- INFO: INFO: /home/oracle/oracle_10g/prod

  • DAY WISE INVENTORY REPORT

    Hi In which txn we can see the inventory report day wise. ( we know we can monthy wise inventory report in MC.5 )