How to repeat a previously entered record 10 times

Hi,
I am using BC4J and JClient. My users want a feature where they can insert a record and then want to repeat the same record n times with the primary key value changed using a prefix. For example, BSM_MGMG_01, BSM_MGMG_02 and so on. I am putting a button on the same panel which can then open a dialog box asking for the prefix and how many times they want the record repeated. Alternatively I can just put a button which will repeat the record one at a time. That's nto problem.
Any idea how this can be done quickly? How can I use the VO to do this?

Dear Shailesh,
Thanks for your help. I tried it and it works, except that I can' get the navBar activate the green commit arrow. It remains unactivated even tough the rest of the screen shows the new 10 rows. I can commit using menu but in production environment, there is only navBar but no menu. How can I notify navBar that rows have been updated and the green arrow should light up?
I am trying various methods associated with navBar, but still no luck.
With regards,
Mahendra

Similar Messages

  • If I completely fill my hard drive 500Gb how time machine will keep working having 1Tb of total space, I mean I have to delete mu hard drive but how I keep my previous information on time machine and keep using to with new information?

    If I completely fill my hard drive 500Gb how time machine will keep working having 1Tb of total space [externak hard drive], I mean I have to delete my hard drive but how I keep my previous information on time machine and keep using it with new information?

    Time Machine does not provide archival storage.
    If you delete a file from your disk it will eventually be deleted from your TM backup without any notice to you.
    You need a second external disk to use for archival storage.
    You also need a third disk for backups of the second disk.

  • How to disable the previously entered user ID's that automatically appear. For example ; when logging into email , first letter of user ID promts the previously used email user IDs... Want to disable this feature---How can ot be done ?

    Question
    How to disable the previously entered user ID's that automatically appear. For example ; when logging into email , first letter of user ID prompts the previously used email user IDs... Want to disable this feature---How can it be done ?

    *Click the (empty) input field on the web page to open the drop down list
    *Highlight an entry in the drop down list
    *Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    * Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    * Tools > Options > Privacy > History: "Remember search and form history"
    * https://support.mozilla.com/kb/Remembering+passwords
    * https://support.mozilla.com/kb/Form+autocomplete

  • Dynamically creating a Record Group based on Previously entered Record Grou

    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    Hi,
    I know how to dynamically create a record group based on a query and putting the code in When new form instance.
    My query is. I have a form which has multiple Record Groups and the user wants to dynamically create subsequent groups based on previous groups.
    For example
    I have a record group with selects a Location,
    when the user selects the Location from a list of values
    the 2nd record group called 'Cost Centres' will have to filter out only those with the locations selected above.
    How can I populate the 2nd record group at run-time when I do not know what site the user will select?
    If I simply populate in when new form instance as in location and just select everything, the list of values populates.
    CC field is a LIST ITEM and the list style is a POP LIST, it is not required.
    I have put the code in the Location field in the when-list-changed trigger.
    I am getting this error:
    frm-41337: cannot populate the list from the record group
    here is the code:
    DECLARE
    v_recsql Varchar2(1000); -- The SQL for creating the Record Group.
    v_recgrp RecordGroup; -- Record Group
    v_status Number; -- Return Value of Populate_Group function.
    c_where VARCHAR2(1000);
    BEGIN
         IF :location = '1' THEN
              c_where := ' substr(cost_centre,1,2) in (''01'',''02'')';
         ELSIF :location  = '2' THEN
              c_where := ' substr(cost_centre,1,2) in (''02'',''03'')';
         ELSIF :location   = '3' THEN
              c_where := ' substr(cost_centre,1,2) in (''01'',''11'',''07'')';
                   ELSE
              c_where :=  ' 1=1'; --EVERYTHING
         END IF;
    v_recsql := 'SELECT cost_centre, description  FROM   cost_centres  where '||c_where;
    -- Create the Record Group
    v_recgrp := CREATE_GROUP_FROM_QUERY('v_recgrp', v_recsql);
    IF NOT ID_NULL(v_recgrp)
    THEN -- No Error, record group has been successfully created.
    -- Populate Record Group
    v_status := POPULATE_GROUP('v_recgrp');
    IF v_status = 0
    THEN -- No Error. Record Group has been Populated.
    POPULATE_LIST('block.CC', 'v_recgrp');
    END IF; -- IF v_status = 0
    -- Delete the Record Group as it is no longer needed.
    DELETE_GROUP('v_recgrp');
    END IF; -- IF NOT ID_NULL(v_recgrp)
    END;thanks for your assistance.

    Hi,
    Once record status gets change for block you can not populate/repopulate the list item. Keep those list items as non-database item with different names and create different items as database orignal items. Than assign the values in WHEN-LIST-CHANGE trigger to the actual database items.
    -Ammad

  • Keep the value of previously entered record on Submit Action in Infopath

    Hi,
    I am using SharePoint 2010 list. I have customized a list form using the out of box functionality.
    I have requirement that when user clicks on the “Submit” button, the form should preserve the field values so for the second record, user does not
    need to enter all the fields as some of the fields might be common for both the records.
    To serve this purpose, in Button properties
    I selected “Submit” as an Action
    In Submit options, under “Advanced” I selected “Leave the form open” after submit. 
    After filling the field values, when I click on “submit”, the first record has been submitted correctly to list and it kept the form open with the
    same field values of first record. So after changing some field values when I tried to send the second record, instead of entering second record as a new record, it updated the first record.
    Which are the other settings I need to make to achieve this?
    Thanks,
    Patav. 

    You need to set the submit options to "open a new, blank form" for it to open a new form, but this of course won't have the same data.  So, you'll need to use a rule that immediately queries back to the list to get the data of the most recent
    ID and then populate the fields.  That's kind of tedious, though.
    I have been researching this for some time all around the web and you sir are the one of the closest to answering my question.
    I actually need this tedious task to work. I have been told by other coworkers in my office that Access has this capability, but I'm trying to stay away from Access as much as possible. If I need to do some coding, that is fine too.
    A little info:
    I am building an inventory database using hardware from different schools, with multiple buildings and classrooms. I have cascading dropdowns School->Building->Classroom and text boxes such as Serial # and Software. Since I have multiple pieces of
    hardware (monitors, desktops, laptops, and other) there are multiple systems that are the exact same, the only difference is the "Serial #". Everything works as it should for the current form, but as we are entering thousands of records, it'd be
    nice to only have to change the Serial # until a new School/Building/Classroom is presented.
    Could I kindly ask that you explain how to do this, and give an example using my outline? Or direct me to a link that has already answered this. Thank you!
    (I tried adding a picture, but I'm not verified yet)

  • Can you edit previously entered records ?

    Hi I have a problem that I need to solve with my form.
    I need to enter various fields on my form - the first field is in an email address and I want this to be a unique key field
    and once entered then if its entered again I want to be able to pull back the whole record of information to allow all the previously eneterd fields to be edited and re-saved.
    Can that be achieved ?
    Thanks
    Mike

    I am referring to edit not deleting.
    its simple – it means you initially enter a record using the form with say the following information,
    email :  [email protected]
    name : mickey mouse
    address : Disneyland Florida
    and you save that information.
    then if you realize you made a mistake and want to edit the information you input but you don’t want to delete the whole record – then you re-visit the form – enter the email address and the rest of the fields populate automatically allowing you to edit say name from Mickey Mouse to Donald Duck and allows you to resave..
    does that explain it ?

  • How do I restore previous session one time only.

    I closed Firefox by mistake.
    I reopened it, hoping to Restore Previous Session.
    Unlike other browsers, I found no easy link nor mention in any of the dropdowns from the menu on top left.
    I went to the Archives, but none of the solutions worked:
    1) I do not want it to auto restore the previous session, I only want it to do it this one time.
    2) None of the things mentioned to click on in the help articles exist in this version of Firefox.

    Go to [http://kb.mozillazine.org/About:config About:config] find (type in the bar) [http://kb.mozillazine.org/Browser.sessionstore.resume_session_once browser.sessionstore.resume_session_once] and change it to TRUE (by double-click on it).
    see for more info : [http://kb.mozillazine.org/Session_Restore#Restoring_a_session_once Restoring a session once]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Please:How to repeat the return values multiple times in sapscript

    Currently my subroutine is returning a value called TOQBSSHB single time and i am working with standard layout called RFFOUS_C.Please can anybody tell me if i want to show multiple times TOQBSSHB for different values of VBLNR .Is it possible if it is what are changes i should make on layout and subroutine.
    PERFORM EXTRACT IN PROGRAM Y_MIT_TEST2
    USING &REGUH-VBLNR&
    USING &REGUH-NAME1&
    CHANGING&TOTQBSHB&
    ENDPERFORM
    FORM EXTRACT TABLES IN_PAR STRUCTURE ITCSY OUT_PAR STRUCTURE ITCSY.
    TABLES : REGUP,BSEG,REGUH,REGUD.
      DATA : BILL_NO LIKE REGUH-VBLNR.
      DATA : ITAB LIKE REGUP OCCURS 0 WITH HEADER LINE.
      DATA : JTAB LIKE REGUP OCCURS 0 WITH HEADER LINE.
      DATA : BELNR1 LIKE ITAB-BELNR.
      DATA : QBSHB1 LIKE REGUD-SWNES.
      DATA : QBSHB2 LIKE REGUD-SWNES.
      DATA : TOTOQBSHB LIKE REGUD-SWNES.
      READ TABLE IN_PAR WITH KEY NAME = 'REGUH-VBLNR'.
      IF SY-SUBRC = 0.
       BILL_NO = IN_PAR-VALUE.
      ENDIF.
    SELECT * FROM REGUP INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE VBLNR
    = BILL_NO.
      READ TABLE ITAB INDEX 1.
      IF SY-SUBRC = 0.
      MOVE ITAB-QBSHB TO QBSHB1.
      MOVE ITAB-BELNR TO BELNR1.
      ENDIF.
    SELECT * FROM BSEG INTO CORRESPONDING FIELDS OF TABLE JTAB WHERE BELNR
    = BELNR1.
      LOOP AT JTAB.
      READ TABLE JTAB INDEX SY-TABIX.
      IF SY-SUBRC = 0.
      QBSHB2 = QBSHB2 + JTAB-QBSHB.
      ENDIF.
      ENDLOOP.
      TOTOQBSHB = QBSHB1 + QBSHB2.
      READ TABLE OUT_PAR WITH KEY NAME = 'TOTQBSHB'.
      IF SY-SUBRC = 0.
      MOVE TOTOQBSHB TO OUT_PAR-VALUE.
      MODIFY OUT_PAR INDEX SY-TABIX.
      ENDIF.
    ENDFORM.

    I said :
    - A) you should copy the main program without to copy
         includes, so when the systems ask you which objects
         you want to copy: check all excluding INCLUDES.
    So you'll have a new program which uses the same includes of the standard program.
    - B) in your z-program you find the point where you should insert your code: you'll have two cases:
    - you should insert code in a point that is writen in z-program;
    - you should insert code in a point (for example a form) that isn't write in z-program, but in a standard include your z-program use.
    In first case you only write your code, in second one before you should copy the include, than insert it in your z-program and so insert your code in the include.
    For example:
    - A) Copy RFFOUS_C in ZRFFOUS_C
    - B) I should change the code of routine  
         SCHECKDATEN_EINGABE, it's defined in RFFORI01, so I copy it in ZRFFORI01, insert my code in it.
    - C) found where my z-program call include RFFORI01:
    subroutines for check print and prenumbered checks                  *
      INCLUDE RFFORI01.
    now replace this with the call to my new include:
      INCLUDE RFFORI01.
      INCLUDE ZRFFORI01.
    If you do in this way you copy only includes where you should change the code.
    Message was edited by: max bianchi
    Message was edited by: max bianchi

  • Enter record in infotype 0001

    Hi,
      How can I go about entering records in IT0001. I just want to enter test data 2 to 3 records for new person.
    PA30 i need to create a new pernr i guess. how can i create a new pernr?
    Thanks.
    Oscar

    You can create on in PO13.
    I think HR config is missing, check this documne tfor that -
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPA/PAPA.pdf
    Regards,
    Amit

  • How do i make an unlimited recording track?

    Im new to this disscusion thing but I appreciate any help ya all can give. I'm trying to record messages from my church in garage band it worked well but would only record till it hit 999 on the counter then I had to open a new window/project so I lost a couple minutes of the mesage two different times. dang it! how do I make the track record time unlimited? can anyone help thanks.

    but would only record till it hit 999
    then you're not using GB08, you're using GB2 (this is the 08 forum). always best to post in the forum for the version you're actually using because the answers are different depending upon version. nevertheless, read this for your solution:
    http://www.bulletsandbones.com/GB/GBFAQ.html#recordlength

  • How to set the number of records displayed at run time

    Is it possible to set the number of records displayed block property at run time? The built-in 'GET_BLOCK_PROPERTY' can retrieve the number of RECORDS_DISPLAYED. But I can't find SET_BLOCK_PROPERTY to set this property. Is there anyway I can set this property programmatically? Thanks for any suggestions!

    Bookmark Go to End
    goal: How to vary the number of records displayed in a block
    programmatically
    fact: Oracle Forms Developer
    fix:
    Block property 'Number of Records Displayed' can not be changed during runtime
    using SET_BLOCK_PROPERTY. However, it is still possible programmatically change
    the visual appearance of the form so that it creates effect of changing this
    property. To achieve such an effect follow these steps:
    1. in Forms Builder, in the multirecord block define the new set of items.
    The simplest way is to copy/paste the original item and rename created item.
    2. set properties of these new items so that they are the same as the properties
    of the original items. If these new items were copied from original items
    then properties are already the same. Modify following properties
    'Database item' on new items to value 'No'
    'Synchronize with item' to the value of the original item
    'Number of Items Displayed' to desired value.
    'Visible' to 'No'
    In other words, these new items are mirrors of original items.
    3. code event, which is meant to trigger the change in block appearance.
    This code should use SET_ITEM_PROPERTY built-in to set properties
    like 'VISIBLE', 'ENABLED', 'NAVIGABLE', 'UPDATE_ALLOWED' and others
    to desired value for items which are about to be displayed, then
    move cursor to one of these just displayed items with GO_ITEM built-in
    and then hide the previously displayed items.
    Example:
    Assume that the block is built on SCOTT.DEPT schema. Following will
    change the set of displayed items
    set_item_property('dept.mdeptno',visible,property_true);
    set_item_property('dept.mdname',visible,property_true);
    set_item_property('dept.mloc',visible,property_true);
    set_item_property('dept.mdeptno',enabled,property_true);
    set_item_property('dept.mdname',enabled,property_true);
    set_item_property('dept.mloc',enabled,property_true);
    set_item_property('dept.mdeptno',update_allowed,property_true);
    set_item_property('dept.mdname',update_allowed,property_true);
    set_item_property('dept.mloc',update_allowed,property_true);
    set_item_property('dept.mdeptno',navigable,property_true);
    set_item_property('dept.mdname',navigable,property_true);
    set_item_property('dept.mloc',navigable,property_true);
    go_item('dept.mdeptno');
    set_item_property('dept.deptno',visible,property_false);
    set_item_property('dept.dname',visible,property_false);
    set_item_property('dept.loc',visible,property_false);
    Regards,
    Monica

  • How to get the previous record value in the current record plz help me...

    In my sql how to get the previous record value...
    in table i m having the field called Date i want find the difference b/w 2nd record date value with first record date... plz any one help me to know this i m waiting for ur reply....
    Thanx in Advance
    with regards
    kotresh

    First of this not hte mysql or database forum so don;t repeate again.
    to get diff between two date in mysql use date_format() to convert them to date if they r not date type
    then use - (minus)to get diff.

  • How much recording time on my iphone 4 voice memo?

    How much recording time on iphone4 voice memo?

    I would suggest that it depends on how much free space you have on the phone. I have done voice memos of over an hour before, and have read of other users reporting larger ones. I do not believe there is any documented source of what size you can do.

  • Although my ipod shows the number of steps, calories, and time, it no longer is saving it to the history. also when I open the history it takes me to May 2010 instead of the current date. Any ideas on how to get it to start recording the history again?

    Although my ipod shows the number of steps, calories, and time, it no longer is saving it to the history. Also when I open the history it takes me to May 2010 instead of the current date. Any ideas on how to get it to start recording the history again?

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar
    The missing apps could have been done by setting the Restrictions that can hid those apps. If the backup was made with those retrictions set the the Restrictions are also restored.
    Thus, if you get it to work restore to factory settings/new iPod, not from backup                               
    You can redownload most iTunes purchases by:        
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How do I edit or enter values on multiple sheets at the same time in Numbers?  I can do this Excel but don't know procedure in Numbers.  Thanks.

    How do I edit or enter values on multiple sheets at the same time in Numbers?  I can do it in Excel but I don't the procedure in Numbers.  Thank you!

    The only I way I can think of to modify a single value and have that value change in multipl locations is to have all "the other places" reference a single cell.  There is not way without a referene to modify a set of cells simulateously.
    This may be something like what you want:
    Enter a value in the table "Original Data" cell A1 and the A1 cells of tables Ref1, Ref2 and Ref2-1 will change

Maybe you are looking for