How to preent the Super.doDML of EOImpl Class from being called?

Hi,
I am working on an ADF BC application, I ahve created an insert fomr that has two different View Objects based on two different entity objects.
These two View Objects are in master detail format,
What I want to do is call the super.doDML for the master and there only I do the insert in the detail VO also?
But, the problem is everytime I try to access do so the entries in the master are done successfully but for the detail VO both the custom code as well as the super.doDML are getting called?
Is there a way I can prevent the default super.doDML in the EOImpl class from getting called in case of insert operation?
If somebody has any idea please help!!
Thanks & Regards,
Raksha

Just overwrite the doDML method for the EO you want and use a condition to figure out if the DML is an insert command.
Something like this:
37.2.2 Forcing an Update DML Operation Instead of a Delete
http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcadveo.htm#sthref2899
Also, if what you are trying to do is control the order of posting the inserts see this:
37.8 Controlling Entity Posting Order to Avoid Constraint Violations
http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcadveo.htm#CEGJAFCF

Similar Messages

  • How to make the price in PO to adopt from info-record and not changeable?

    Hi Xperts,
    Can somebody explain to me how to set the PO price to be adopted from the info-record and is NOT CHANGEABLE at the creation and change of PO screen. I know that i can configure the field selection for the PO type to be "price as display" only. Any other solution?
    Thanks.

    Hi!
    tick the check box info-update at the item detail under master data tab in a PO.
    its significance is as follows:-
    Info record update
        Determines whether the prices and conditions of this purchase order item
        are suggested in future PO items.
    Use
        Selecting InfoUpdate causes one of the following situations to occur:
            -   If just one info record (with or without plant) exists, it is
                updated.
            -   If no info record exists and "plant condition requirement" was
                specified in Customizing, an info record with plant is created.
                Otherwise, an info record without plant is created.
            -   If two info records exist (that is, one info record with plant
                and one without plant) the info record with plant is updated.
    Dependencies
         You can specify that prices and conditions in purchasing info records
         are only allowed at plant level in the Purchasing IMG, under Conditions
         -> Define Condition Control at Plant Level.
    Hope this helps you,
    Regards,
    Archit.

  • How to remove the default members of a dimension from the control table?

    Hi all,
    I am new to hyperion FDM 11.1.1.2.0.0 .
    When I navigate to Metadata>Control Tables and try to delete the default memmbers
    for the dimension like category and period i got the following error.
    Error: Period( 8/31/2009 ) is an active Global or Local Period and cannot be deleted.
    Then again i unchecked active checkbox for that dimension from Hyperion Essbase Integration Setup of Workbench Client.
    After doing that i got the following error
    Error: Unable to retrieve target System Data.
    Can anyone tell me how to remove the default members of a dimension from the control table?
    Thanks

    Create a new record for the table.
    Go change the POV to the new record.
    Return to the control table and delete the default record.

  • How to get the field row name of database from a form?

    Hello experts,
    I am newer in OIM and developments with the API's.
    I have this environment,
    one resource that have the attribute department
    relationship with the database row
    UD_RESOURCE1_DEPARTMENT and other resource with the same attribute in, UD_RESOURCE2_DEPARTMENT
    I am programing one java class that put values in the
    form field through the table name, sample,
    UD_RESOURCE_DEPARTMENT.
    I let some code:
    # Hash table with the value of Department
    myMap.put("UD_RESOURCE_DEPARTMENT", value);
    # and save in the resource form
    tcFormInstanceOperationsIntf tcform = (tcFormInstanceOperationsIntf)tcUtilityFactory.getUtility(dataProvider,"Thor.API.Operations.tcFormInstanceOperationsIntf");
    tcform.setProcessFormData(Long.parseLong(formKey), myMap);
    But this solution implies know the name of the field in the database and not is a global solution.
    I am interesting in know how I can obtain the name of the
    row field of the database for the atribute. Does anybody know how to obtain the row field name of database from an IT Resource or through the field name of the form?
    Is this the correct way to store data in a form?
    Thanks in advanced.

    Hi,
    Thank you.
    I have seen this function in the OTN help, but how can i get the index number. My requirment is when saving the data, I need to save both the value and the element name into the database,
    Also it is tabular block, more than one rows
    Thanks again

  • How to get the form reference in .js page from .jsp page

    hi
    i have written one form in jsp page omething like:-
    <html:form action="/shopping" onsubmit="return false;">
    can anybody tell me,how to get the form reference in .js page from .jsp page ,
    i have tried:-
    var formRef = document.forms[0];
    butits not working.
    Thanks.

    Its very simple......y cant u prefer google...Bad
    c this example...
    function submit()
    alert("textbox"+ document.forms[0].name.value);//to get textbox value in js
    document.forms[0].submit();//to submit jsp page using js
    <html:html>
    <html:form action="/shopping" onsubmit="submit()">
    <html:text property=name>
    learn to search in google..
    </html:form>
    </html:html>

  • How to get the absolute path of a file from the local disk given the file n

    how to get the absolute path of a file from the local disk given the file name

    // will look for the file at the current working directory
    // this is wherever you start the Java application (cound be C: and your
    // application is located in C:/myapp, but the working dir is C:/
    File file = new File("README.txt"); 
    if (file != null && file.exists())
        String absolutePath = file.getAbsolutePath();

  • How to get the size of physical memory by using system call ?

    how to get the size of physical memory by using system call ?What system call can be used for me to get the size of physical memor? thanks.

    %vmstat 3
    procs memory page disk faults cpu
    r b w swap free re mf pi po fr de sr s0 -- -- -- in sy cs us sy id
    0 0 0 3025816 994456 4 19 6 0 0 0 0 8 0 0 0 459 253 139 1 1 99
    0 0 0 2864688 777408 0 2 0 0 0 0 0 3 0 0 0 428 134 175 0 1 99
    0 0 0 2864688 777408 0 0 0 0 0 0 0 7 0 0 0 448 112 166 0 0 100
    one interesting observation about vmstat I found out is (mostly on Solaris)
    the first line of information always off chart, so I usually do a few interval to get constant result.
    if you use linux
    just
    cat /proc/meminfo

  • How to translate the key words in ABAp program from lower case to upper cas

    How to translate the key words in ABAp program from lower case to upper case?

    Hi Kittu,
    You need to set the Pretty Printer settings to achieve key words in ABAP program from lower case to upper case.
    Utilities -> Settings -> Pretty Printer (tab) -> Select third radio button.
    Thats all.
    <b>Reward points if this helps.
    Manish</b>

  • How to fetch the Date column(or Month column) from the file name from the specified path in ODI 11g

    Hi ALL,
    Can any one help us regarding How to fecth the Date column(or month column) from the file name specified in the path in a generalized way .
    For example :
    file name is :subscribers (Cost) Sep13.csv is specified in the below path
      E:\Accounting\documents\subscribers (Cost) Sep13.csv
    here I need to fetch the "Sep13" as a Date column in the ODI 11g in the generalized way.
    Can any one help us in this case as early as possible.

    I would suggest using a piece of Jython code for this.  Something like this...
    import os
    import os.path
    filelist  = os.listdir(E:\Accounting\documents\)
    for file in filelist:
    datestr = file[19:-4]
    You'd need to work out what to do with datestr next...  perhaps write it to a table or update an ODI variable with it.
    Hope this is of some help.

  • How to change the paper format in SOST tcode from X_65_80 to X_65_266?

    I got data from OTF in SAPSCRIPT and send by email.
    How to change the paper format in SOST tcode from X_65_80 to X_65_255?
    I need to change it automatically from abap.
    Any suggestion?

    Hi,
           change line size and line count in report.
            By default report line size and line count is taken in printer
           settings
    REgards
    amole

  • How to refer the trigger written in one form from another form ?

    How to refer the trigger written in one form from another form ?
    Thanks,
    Ravi Shankar

    Try to convert the PL/SQL code from Forms trigger into a PL/SQL library(.PLL),
    and then attach that PLL in your forms.
    Note that all Forms objects should be referenced indirectly, for example,
    you have to rewrite
    :B1.DEPT_CODE := :B2.DEPT_CODE;
    :B3.TOTAL_AMOUNT := 100;
    ==>
    copy('B2.DEPT_NO','B1.DEPT_NO');
    copy('100','B3.TOTAL_AMOUNT');
    This is the best way to share PL/SQL code among Oracle Forms.

  • I have purchased my apple iPhone 5 from Germany, and now I am back to India. I need to contact the German apple support team for queries related  my device. How to contact the apple support team in Germany from India ?

    I have purchased my apple iPhone 5 from Germany, and now I am back to India. I need to contact the German apple support team for queries related  my device. How to contact the apple support team in Germany from India ?

    Warranty and support is only valid in the country of origin, or in the case of a device purchased in an EU country, only in an EU country.
    Unless you will be visiting an Apple store in one of the EU countries before the warranty expires, you are pretty much out of luck.
    FYI, the Contact Us link at the bottom of the page provides the appropriate contact information for Apple.

  • How to keep the current http session after returning from external web site

    Hi,
    When I use the response.sendRedirect api to redirect the web page to the external payment site, after payment and return back to the current application, I found that the current http session is lost.
    How to keep the current http session after returning from external web site?
    Thanks

    You should make your sidebar1 and sidebar2 fixed positioned. Make your content DIV fluid.
    This should help you: http://www.glish.com/css/7.asp

  • How to restore the option to sync recent photos from iPhoto to iPad?

    How to restore the option to sync recent photos from iPhoto to iPad?
    I have Yosemite 10.10.2 running on a 2008 iMac
    I have an iPad MD513B/A running version 8.1.2
    On the iMac iPhoto is version 9.5.1,  and iTunes is 12.0.1.26
    I used to be able to sync photos from iPhoto (last 3 Events) through iTunes to iPad. 
    Where has that option gone?  iTunes now only allows me to do now is to get pictures from the cloud to the iPad and I haven't prepared for that.  So I don't have any pictures on my iPad to show my folks. 
    I can sync from iPhoto to my Classic iPod but that option has been removed from iTunes for the iPad by the look of it.  I want it back so I can manage what I download to my iPAD.
    Please can someone advise me how to restore the option to sync my recent photos from iPhoto to iPad. 

    Where has that option gone?  iTunes now only allows me to do now is to get pictures from the cloud to the iPad and I haven't prepared for that.  So I don't have any pictures on my iPad to show my folks.
    Have you enabled iCloud Photo Library (Beta) on your iPad? Switching on the iCloud Photo Library (Beta) disables the syncing of Photos with iTunes.
    On your iPad check the Settings > Photos&Camera.  Disable "iCloud Photo Library (Beta)", if you want to sync your photos with iTunes or upload your photos using "My Photo Stream".
    On the iMac iPhoto is version 9.5.1,
    Is there a reason why you did not update to iPhoto 9.6? That is the version, that includes the compatibility updates for Yosemite.

  • How to change the browser used for Google search from context menu of selected text?

    How to change the browser used for Google search from context menu of selected text?
    It uses Safari. But I want to use Chrome (it's my default browser).

    How to change the browser used for Google search from context menu of selected text?
    It uses Safari. But I want to use Chrome (it's my default browser).

Maybe you are looking for

  • Error while starting SAP NetWeaver Developer Studio

    Hi, I have installed Java SDK (v1.4.2_09) and Netwearver development studio (2.0.13) on my laptop.When i try to lanch the development studio i get an error, (!MESSAGE Exception launching the Eclipse Platform:). Please see the error log for the detail

  • How to change the proxy setting

    When i am trying to search something in google. It is showing like this : The proxy server is refusing connections Firefox is configured to use a proxy server that is refusing connections. Check the proxy settings to make sure that they are correct.

  • Variable "read mode setting" Only Values for InfoProvider

    Hi, I have a problem with Selection Variable for a BEx Query: - I'm working with SAP BI 7.0 support package 15 - My query is an input ready query; - Characteristic, I want to filter with variable, has query property Advanced->Query Execution for Filt

  • New Install Help!

    I just installed an evaluation copy of Weblogic Server 6.0. I downloaded Weblogic jDriver for Informix. In the installation instructions, it tell me to setup a connection pool by adding an entry to the weblogic.properties file. I've done a search in

  • Idoc DEBMAS06 in ECC 6.0

    Hi, I have the follow problem: i have an idoc DEBMAS06 in status 51 with mesagge BP00 022. The value of field GBDAT ( field of error)  20090701. Before the upgrade from 4.6 to 6.0 the  idocs were in status 53 (OK status). Where is the problem? Thanks