How to save multiple new entries in one shot?

Hi,
I am working on a pretty complex Create form. So apart from the standard form fields to allow user to enter the data, one of the sections in this form is a table which allows user to create multiple entries for this entity. And when hitting the "Save" button in this form, it will save all the data plus the multiple entries defined in this table.
Is it possible to create multiple new entries in a table, and then save all of the new entries at the end? My experience so far is only create and save one new entry at a time.
Any sample?
Please advise.
Thanks.
-Mina

Yes, I am using ADF BC.
Let me explain more in details of the scenario:
I have a table with "Create New" and "Save" button. The "Create New" button's ActionListener is set to "#{bindings.CreateInsert.execute}", and the "Save" button's ActionListener is set to "#{bindings.Commit.execute}".
When the "Create New" button is hit, a new row shows up in the table to allow entering data inline. When the "Save" button is hit, it got committed. I would like to allow user to create multiple rows before committing. But currently, after I hit "Create New" button, then enter data, then hit "Create New" button again without committing, it gives error.
Since this table is part of a form with other fields, I would like to save/commit it until everything in the form are completed, including creating multiple rows in the table.
Any ideas how to achieve this?
Any comments are appreciated.
Thanks.
-Mina

Similar Messages

  • Deletion of multiple sale orders at one shot

    Hi Friends,
    Can anyone tell me how to delete multiple sale orders at one shot?
    Friendly
    Rama Rao

    Hi
    Try doing it through LSMW, I used LSMW for deleting deliveries in mass and it worked
    Anurag

  • How to avoide multiple duplicate entries in adress book?

    How to avoide multiple duplicate entries in adress book? I can add the same contact name and number more than twice and the phone isn't warning me at all!!! I's quite a heck for me.

    not possible from inside AB AFAIK. but you can do the following. in finder open the folder /users/username/library/application support/address book/metdata. switch to the list mode and sort by date modified. quicklook the vcards at the top to see which ones they are.

  • How to Save Multiple Records In Data Block

    Hi All,
    I Have Two Blocks --> Control Block,Database Block
    Please Any Idea How to Save Multiple Records In Data Block when User changed Data in Control Block.
    Thanks For Your Help
    Sa

    Now i have to use each record of control block(ctl_blk) as where condition in data base block(dat_blk)and display 10 records from database table.>
    Do you want this coordination to be automatic/synchronized or only when the user clicks a button or something else to signal the coordination? Your answer here will dicate which trigger to put your code in.
    As to the coordination part, as the user selects a record in the Control Block (CB), you will need to take the Key information and modify the Data Block's (DB) "DEFAULT_WHER E" block property. The logical place to put this code is the CB When-New-Record-Instance (WNRI) trigger. You code will look something like the following:
    /* Sample WNRI trigger */
    /* This sample assumes you do not have a default value in the BLOCK WHER E property */
    DECLARE
       v_tmp_dw    VARCHAR2(250);
    BEGIN
       v_tmp_dw := ' DB_Key_Column1 = '||:CONTROL.Key_Column1||' AND DB_Key_Column2 = '||:CONTROL.Key_Column_2;
       Set_Block_Property('DATA_BLOCK', DEFAULT_WHER E, v_tmp_df);
       /* If you want auto coordination to occur, do the following */
       Go_Block('DATA_BLOCK');
       Execute_Query;
       /* Now, return to the Control Block */
       Go_Block('CONTROL_BLOCK');
    END;
    The Control block items are assigned with values in Form level (Key_exeqry).If your CD is populated from a single table, it would be better to create a Master - Detail relationship (as Abdetu) describes.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How To Install Multiple OBIEE Instances On One Linux Machine

    Hi,
    OS: Red Hat ES 5.2
    OBIEE : 10.1.3.4
    We one development server(Linux) where one OBIEE 10.1.3.4 was installed with os user as 'ora1a' (Deployed on Oracle Application Server 10.1.3.4)
    and now I have installed OBIEE 10.1.3.4 on same Linux Server with different user(ora2b) and different mount point (Deployed on Another Oracle Application Server 10.1.3.4 )
    But My OBIEE was not working and I came to know that only one can be working by default.
    After following few notes i have update NQSConfig.inc and odbc.ini with different ports ie from 9704 to 9725 and bounced BI server and presentation server
    But still its not working can any one tell me what are all needs to update to make it work
    Thanks in advance
    Regards,
    Bhanu Chander
    Reference's i used: HOW TO: Install Multiple OBIEE Instances On One UNIX Machine          (Doc ID 605582.1)

    Hi
    I was not much clear about what you are telling
    See my first OBIEE instance URL is http://hostname18.oracle.com:7777/analytics (As i deployed OBIEE on Application server 10g(OAS1))
    and second one is http://hostname18.oracle.com:7778/analytics (As i deployed OBIEE on another Application server 10g(OAS2))
    Also My port for first OBIEE instance is 9704 and second one is 9725(Which i changed to this)
    Now tell me what are all i should update
    Thanks,
    Bhanu Chander

  • How to keep multiple function modules under one Web service

    Hi Experts,
    I have Three RFC function modules and i need to create one web service for these three RFC function modules. I know How to crearte a web service for one function module.
    please suggest me How to keep multiple function modules under one Web service.
    Thanks in advance
    Lakshminarayana

    Hi Lakshmi,
    The best way to do it is to assign all the three RFC Enabled FM's to one function group. Later on the top menu in Utilities you get an option to Create a Webservice from a Function Group.
    You can create one single Webservice using all the the 3 FM's.
    I hope this helps.
    Thanks,
    Manu

  • How to setup multiple base station under one network?

    How to setup multiple base station under one network? I have 6 rooms but one airport base station makes really difficult to get good signal from every rooms. I wonder if I can setup multiple airport base stations talking to each other under the same network to build up the signal strength will help solve this problem. But, is it possible? How?

    One route would be to utilize a "roaming" network. In a roaming network, you would connect multiple AirPort Extreme Base Stations (AEBS) to the same Ethernet. Of course, this would require that your home is already wired for Ethernet.

  • How to save a new value for Set command variable

    I am using SET [variable = [String]] to update Set variable. It works fine. But when I restart MSDOS Prompt, I get old value for variable.
    How to save a new value for SET command variable?
    I am using Windows XP.

    And this has to do with java how?

  • Does anyone know how to save multiple webpages in safari using automator?

    Does anyone know how to save multiple webpages in safari using automator?

    You will likely get better program help in a program forum
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • How to tracke the new entries in database table ?

    Hi,
    How to tracke the new entries in database table ? is there any FM or report is there to check it ?
    regards
    vishnu

    Hi Vishnu,
    u can write a report program for this and in that use the event  :
    AT NEW <field-name> ( use primary key)
    your statements
    ENDAT
    for eg.
    loop at itab ( herfe itab must be of type of table for which u want to track new entries)
    at new matnr
    write:/ new record
    endat
    endloop.
    schedule this report in background to run in every 5 or 10 mins as per your requirement and hence changes can be tracked.
    regards
    Vinod

  • How to combine multiple Unmanaged Solution to one single Managed solution

    Hi,
    How to combine multiple Unmanaged Solution to one single Managed solution.?
    There were some other third party developer have kept things lik ein UAT there are 2 release solution and both are Managed Solution.
    And in Production the changes are only deployed for release 1 and for the release 2 changes deployment needs to be done.
    But when i import that second release Managed Solution from UAT to Production then i got number of elements missing but i have checked they are already there in Soolution.
    I did some R&D on this but not much helpful.
    I thought i require to convert Unmanaged Solution of Production environment to Managed first for first release and then needs to import Managed solution of UAT to Production for second release.
    Is this the right way to overcome form this situation?
    Any help and response would be really appreciated.
    Thanks.
    If this post answers your question, please click &quot;Mark As Answer&quot; on the post and &quot;Mark as Helpful&quot;

    Hi, 
    You can prepare unmanaged solution by adding all the components from the default solution,which are there in the managed solution, If Customizatiable entity is true in  the managed solution.

  • How to save 2-3 doc in one folder on ipad

    How to save 2-3 doc in one folder on ipad.

    Got it figured out ... but I'll repeat it here in case it helps others.
    When I went to "Documents" it was always bringing me into a subfolder within (probably where I'd last been). And I think I had so many files in Documents from trying over and over that if I ever did end up there, I wasn't finding what I'd just opened because there were so many.
    Thanks again for your help!

  • How to remove the 'New Entry' button in the warning message for a dialog bo

    Hi Experts,
    I am calling a Modal Dialog box screen having a pushbutton.
    On the click of the pushbutton, I am performing some checks, and giving a warning message.
    The warning message comes as a popup in this case and has three buttons on it.
    One of these buttons is titled 'New entry'.
    I dont want that button to come on the warning popup.
    Please let me know if there is a way out for this.
    Thanks in advance.
    Useful answers will surely be rewarded.
    Regards,
    Himanshu

    Hi Jyothi,
    Thanks a lot for ur prompt reply.
    But, in my dialog screen, on click of the button I am simply using the statement :
    MESSAGE W000(0K) with 'text'.
    The resulting warning message comes as a popup with the 'New Entry' button on it.
    From the warning popup, how can I remove the button.
    Please let me know.
    Thanks.
    Regards,
    Himanshu

  • How to delete multiple mail ids in one customer using LSMW ?

    Suppose in one customer having multiple mail ids. I wants to delete those multiple mail ids from one customer how I can do this using LSMW.
    Experts please help me out this problem.

    Dear Venu,
    LSMW or BDC will only add / append data.
    Write a program:
    list of Address number of the customer from KNA1.
    delete all entries from ADR6 for those customer numbers.
    Regards,
    Mani

  • How to create multiple new rows in ADF Table?

    Hello,
    being new to ADF Faces/BC I managed to display data in an ADF Table and create new entries using the "CreateInsert" operation (one at a time).
    Now, the next task is to create multiple new rows at the same time, set some default values and display the new rows in the ADF table. Then the user will enter additional data and commit the new rows.
    Where do I step in? In the EntitiyImpl? Can this be handled declaratively or do I have to implement custom method(s) in the AM?
    Thanks
    Gerald

    Hi John,
    I'm still getting the following error
    Error(94,144): method getValue() not found in class javax.faces.el.ValueBinding
    What should it be casted to?
    The code in backing bean is like this..
    package view.backing;
    //import com.test.model.TestAppModuleImpl;
    import javax.faces.component.html.HtmlForm;
    import javax.faces.component.html.HtmlPanelGroup;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    //import javax.faces.event.FacesListener;
    //import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCBindingContainer;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.adf.view.faces.component.core.data.CoreColumn;
    import oracle.adf.view.faces.component.core.data.CoreTable;
    import oracle.adf.view.faces.component.core.input.CoreInputText;
    import oracle.adf.view.faces.component.core.nav.CoreCommandButton;
    import oracle.adf.view.faces.component.core.output.CoreMessages;
    import oracle.adf.view.faces.component.html.HtmlBody;
    import oracle.adf.view.faces.component.html.HtmlHead;
    import oracle.adf.view.faces.component.html.HtmlHtml;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    //import oracle.jbo.server.ViewObjectImpl;
    //import view.utils.EL;
    public class MultipleInsert1 {
    private HtmlHtml html1;
    private HtmlHead head1;
    private HtmlBody body1;
    private CoreMessages messages1;
    private HtmlForm form1;
    private CoreTable table1;
    private CoreColumn column1;
    private CoreInputText inputText1;
    private CoreColumn column2;
    private CoreInputText inputText2;
    private CoreCommandButton commandButton1;
    private HtmlPanelGroup panelGroup1;
    private CoreCommandButton commandButton2;
    public void setHtml1(HtmlHtml html1) {
    this.html1 = html1;
    public void createMultiRows(ActionEvent actionEvent) {
    DCBindingContainer dc = (DCBindingContainer) FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings}").getValue();
    DCIteratorBinding iter = dc.findIteratorBinding("TestView1Iterator");
    ViewObject vo = iter.getViewObject();
    for (int i=1; i<=5; i++) {
    Row newRow = vo.createRow();
    newRow.setAttribute("Id", i);
    ApplicationModule am = vo.getApplicationModule();
    am.getTransaction().commit();
    vo.executeQuery();
    Do I need to import something else?
    Thanks,
    Shri.

Maybe you are looking for

  • Receipt and issu

    i get the total value and qty of purchase materila and issu material in the fisical year or one month. Can it is possible i used sap b1 2005a any body write a query i purchased local and imported materile thanks

  • BDLS for conversion of logical source system name

    Hello All, I am trying to reassign a new source system NEW1 by replacing old source system OLD1 using BDLS in the source system. But the NEW source system logical system name already exists as I created it . Can I delete the new source system and the

  • [solved]Firefox segfaults on start

    Hi, since the last update my firefox segfaults on startup. knopwob@desktop ~ % firefox [1] 20712 segmentation fault (core dumped) firefox I tried downgrading firefox (together with xulrunner) but nothing changed. I've also rebuild firefox from abs, t

  • Portal Integrate with Siebel CRM

    Hi All, Please give me the reference document link to how to integrate Portal with Siebel CRM using WLI. Thanks, Venkata Sarvabatla

  • Como puedo usar mi ipod 4 en una power book g4

    tengo una powerbook g4 y un ipod de cuarta generacion y no puedo sincronizarlos alguien puede ayudarme