Add row in Memu Event can't work

1:I create a Master UDO
2:Regist UDO with a child table
3:use UDO form generator tool to generate a UDO form with xml file
4:I use load from xml funtion to call form.
5. Add a buttom name "Add row" and have code with Add a row for matrix 
I have two problems
one is,
I can add row by press "Add row" button and I can delete a row by UDO default menu("delete Row CtrlK"). My problem is why the default menu(Add Row CtrlI) don't work? May I write code for add a row by myself?
The other is
When I add menueven sub(catch menueven) in program ,my "Add row" buttom can't work normally. If I remove the menueven sub from my program, the  "Add row" buttom work fine. Why? somebody help me.

Hi Glen,
In my case, I developed own functionality to add row for a matrix.
I don't use 'add row' menu event actually.
And I don't know about menu event sub problems without any source code.
Regards,
Hyunil.

Similar Messages

  • Add rows to tabular form does not work

    When two user try to "Add row" simultaneously then nothing happens i.e no new row is added.
    When one of the user clicks on the "Previous" pagination buttons then only its possible to add a new row. The following pagination options is used in the report:
    Row Ranges 1-15 16-30 in select list (with pagination)
    I use internal Application Express account credentials and login page in this application as my authentication scheme.

    Any idea, what is not working here.
    Help!

  • In WPF When Row Virtualisation is enabled the highlighting of rows on SelectedCellsChanged event does not work properly

    I have written code on SelectedCellsChanged that highlights the rows corresponding to cells selected. When I select few cells in wpf data grid it selects corresponding rows. But When I scroll down/up, it automatically selects some random rows every time.
    But when I set EnableRowVirtualization to false in data grid it works properly. I can not keep virtualization set to false as data is huge it and impacts performance of the grid. So I need both of them working together. Please provide some solution for this
    issue I need it urgently.

    I think you errouneously posted your question on the Project forum which is dedicated to the Microsoft scheduling and planning enterprise application.
    Please go to the
    WPF TechNet forum.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Add row based on previous row in table control?

    Dear all,
    I have a table control with some rows. Every row contains one button. On button click i want to add another row with dirrerent data. I want to add content based on button text or another columns (ex text views text,) based on this text view, I have to add row. One button can click any no of times. On every click i want to add row, but desired position and content should be based on button click.  Any help in doing this??
    Cheers,
    Venkys.

    Refer to these old threads referring this table and button problem.
    Adding rows to table
    How to create different rows in table or in ALV?
    and for the current scenario what you can do is ...
    in the eventhandler of the button click .
    find out the row number by using the code to read index.
    then based upon that add the element in the node at the desired position.
    finding the row number
      data indx type i.
          DATA lo_el TYPE REF TO if_wd_context_element.
          lo_el = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).
    indx = lo_el->get_index( ).
    and the adding the element at the desired position say n
        DATA lo_nd_zdealer TYPE REF TO if_wd_context_node.
        lo_nd_zdealer = wd_context->get_child_node( name = 'DEALER' ).
    data ls_str type  wd_this->element_dealer.
       ls_str-id = '00023445'.
       ls_str-name = 'sarbjeet'.
       ls_str-location = 'hosiarpur'.
       ls_str-status = '0001'.
       lo_nd_zdealer->bind_structure( new_item = ls_str
       set_initial_elements = abap_false
       index = n
    thanks
    sarbjeet singh

  • I want my wife to be able to see my calendars on my IPad /I phone on her mac and for her to add to it . She can then see my work movements and also add in any important events from home life. Can it be done without sync of email and contacts?

    I would like my wife to see my calendar on her mac from my iPad so she knows my work movements and can add in any important events I need to be aware of at home. Can I do this without upsetting her mac/iPhone arrangement and without sync of contacts and email?

    I'm not sure how iCloud will handle this, but I believe it will allow something along these lines - cloud syncing of the calendar between two. For now, you could just move your calendars to Google calendar and sync it to your iPad - then - you can subscribe to each other's calendars, give priviliges to add events to them, etc.

  • Add row not working when creating tabular form manually

    Hi friends,
    I am trying to create a manual tabular form( with the help of Denes's example). When adding a new row by clicking
    the add button new row is added and i can enter data in that row. This works fine when there is only one page.
    Now i have 30 rows in 2 pages. Now when i tried to add a new row by pressing the add button nothing is happening.
    In my add button i have given redirect to the same page and request as ADD and the report query is as below.
    SELECT apex_item.checkbox (1,
                               EQUIPMENT_ID,
                               'onclick="highlight_row(this,' || ROWNUM || ')"',
                               NULL,
                               'f01_' || LPAD (ROWNUM, 4, '0')
                              )Tick,
       EQUIPMENT_ID,
              apex_item.hidden (2,EQUIPMENT_ID)
    ||apex_item.text (3,
                              EQUIPMENT_ROLE,
                              80,
                              100,
                              'style="width:170px"',
                              'f03_' || LPAD (ROWNUM, 4, '0')
                             )|| apex_item.hidden (4, wwv_flow_item.md5(EQUIPMENT_ID,EQUIPMENT_ROLE,EQUIPMENT_VERSION,                       
                             SNMP_PORT,RO_COMMUNITY_STRING ,RW_COMMUNITY_STRING,COMMISIONED_STATE,CUSTOMER_ID,
                             SITE_ID
                             ))EQUIPMENT_ROLE,
    apex_item.text (5,
                             EQUIPMENT_VERSION,
                              80,
                              100,
                              'style="width:170px"',
                              'f05_' || LPAD (ROWNUM, 4, '0')
                             ) EQUIPMENT_VERSION,
    apex_item.text (6,
                             SNMP_PORT,
                              80,
                              100,
                              'style="width:170px"',
                              'f06_' || LPAD (ROWNUM, 4, '0')
                             ) SNMP_PORT,
    apex_item.text (7,
                             RO_COMMUNITY_STRING,
                              80,
                              100,
                              'style="width:170px"',
                              'f07_' || LPAD (ROWNUM, 4, '0')
                             ) RO_COMMUNITY_STRING,
    apex_item.text (8,
                             RW_COMMUNITY_STRING,
                              80,
                              100,
                              'style="width:170px" ',
                              'f08_' || LPAD (ROWNUM, 4, '0')
                             ) RW_COMMUNITY_STRING,
    apex_item.text (9,
                             COMMISIONED_STATE,
                              80,
                              100,
                              'style="width:170px" ',
                              'f09_' || LPAD (ROWNUM, 4, '0')
                             ) COMMISIONED_STATE,
    apex_item.text (10,
                             CUSTOMER_ID,
                              80,
                              100,
                              'style="width:170px" ',
                              'f10_' || LPAD (ROWNUM, 4, '0')
                             ) CUSTOMER_ID,
    apex_item.text (11,
                             SITE_ID,
                              80,
                              100,
                              'style="width:170px"',
                              'f11_' || LPAD (ROWNUM, 4, '0')
                             ) SITE_ID
          FROM EQUIPMENTS_FEAT_MVIEW
          UNION ALL
          SELECT     apex_item.checkbox
                                    (1,
                                     NULL,
                                     'onclick="highlight_row(this,' || ROWNUM || ')"',
                                     NULL,
                                     'f1_' || LPAD (9900 + LEVEL, 4, '0')
                                    ) delete_checkbox,
                     NULL,
                        apex_item.hidden (2, NULL)
                     ||apex_item.text (3,
                                        NULL,
                                        80,
                                        100,
                                        'style="width:170px"',
                                        'f3_' || LPAD (9900 + LEVEL, 4, '0')
                                 ) || apex_item.hidden (4, NULL)EQUIPMENT_ROLE ,
                      apex_item.text (5,
                                 NULL,
                                 80,
                                 100,
                                 'style="width:170px"',
                                 'f05_' || LPAD (9900 + LEVEL, 4, '0')
                                 )EQUIPMENT_VERSION,
                      apex_item.text (6,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f06_' || LPAD (9900 + LEVEL, 4, '0')
                                 )SNMP_PORT,
                     apex_item.text (7,
                                NULL,
                               80,
                                100,
                                'style="width:170px"',
                               'f07_' || LPAD (9900 + LEVEL, 4, '0')
                                 ) RO_COMMUNITY_STRING,
                      apex_item.text (8,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f08_' || LPAD (9900 + LEVEL, 4, '0')
                                 )RW_COMMUNITY_STRING,
                     apex_item.text (9,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f09_' || LPAD (9900 + LEVEL, 4, '0')
                                 )COMMISIONED_STATE,
                       apex_item.text (10,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f10_' || LPAD (9900 + LEVEL, 4, '0')
                                 )CUSTOMER_ID,         
                     apex_item.text (11,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f11_' || LPAD (9900 + LEVEL, 4, '0')
                                 )SITE_ID
                         FROM DUAL
                        WHERE :request = 'ADD'
    CONNECT BY LEVEL <= 1How can i solve this problem . Please help,
    Thanks,
    Jeev

    Hi,
    The blank row that you get from your second select statement would appear at the end of the report. Put that statement first and it should be at the top of the first page
    Andy

  • Can you please help me resolve this issue on Batch Management Completion. "Cannot Add row without complete selection of batch number." Message 29-77

    'Another user or another operation modified data, to continue open the window again ' Inventory Transaction Log' (OITL)(ODBC-2039) (Message 131-183). If I click again on add I get the following message : 'Cannot add row without complete selection of Batch / Serial Nos. [Message-29-77]
    Path:
    Inventory -> Item Management -> Batches -> Batch Management - Complete form.
    Before this I use Return Components on Receipts from Production as I am mistakenly issued it more than what was needed.
    Were anyone be able to explain why it worked for certain items  and not for others? I have successfully done  “return components with some batches"

    Hi Nagarajan,
    I'm one of colleague of caterine, we only accessing the batch management-complete window, no other window is open, still the error occurs; see image below
    Before that error occurs(in image); first error we encounter was batch number is already exist, then upon click add another person modified the window; but we tried to restore the db then try to add the batch number in different transaction like SI 1658(Goods Issue), and it is okay.. but on the SI 50003 which is Receipt from production we can't add it.
    Hope you can help us.
    Regards,
    Lean

  • Add Row Button Not Working

    I've read the threads and done numerous searches.  Not sure why the add row button isn't working, other buttons work.
    Here's what I've found and done.
    Print button subform - positioned (have tried flowed, too) allow page breaks
    Table: body rows vary   -    Insert wrap in subform  - subform flowed - allow page breaks
         row 1 binding - repeat row for each data item - min 1, max 25 (why won't it  keep an initial count when I try putting in 1 or 0?)
    Form properties - preview in dynamic PDF, interactive   -   PDF render format dynamic xml, run in 9.0 or later (to remove errors)
    Insert Row Button in Subform Row 1 Cell 1 (not counting header row) on  click, JavaScript run at client tried table.row1.instancemanager.addinstance(1);   also tried full path
    saved as dynamic pdf
    My hierarchy looks like:
    form1   [autofit]
         master pages
              page 1
                   untitled content area
         printbuttonSubForm  [flowed, top to bottom, allow page breaks]
              untitled subform [flowed, top to bottom, allow page breaks]
                   printbutton1
              tablesf    [flowed, top to bottom, allow page breaks]
                   table1    [allow page breaks]
                        headerRow
                             cell1
                             cell2 etc
                        Row1   [allow page breaks, repeat row for each data item, min 1, max 25 (why won't it  keep an initial count when I try putting in 1 or 0?)]
                             subform   [allow page breaks, repeat row for each data item, min 1, max 25
                                            (why won't it  keep an initial count when I try putting in 1 or 0?)]
                                  button1    table1.row1.subform1.instanceManager.addinstance(1);
                             cell2, etc
         Referenced objects
    Questions:
    I click the Add Row button, but nothing happens, why?  The print button works.
    Found a reference to def instances of same row, what does that mean?
    Is my hierarchy correct?
    How to set Form1 to flow? Object says mixed objects with no options
    Many thanks for your assistance! Leslie

    Hi Leslie,
    There could be a few things.
    First check that the form is saved as Dynamic XML in the save as dialog. If it is saved as Static the add instance will not work.
    Make sure that the object you are targetting is set to repeat in the Object > Binding tab
    Check your syntax in the script editor (button above the editor). Some of your post is not camel case. For example addInstance and instanceManager. Note the capital letter for the second word.
    If you could share your form it would be easier to track down what the problem is. You can use Acrobat.com or YouSendIt.com or some other file sharing site. Just remember to post the published URL.
    Good luck,
    Niall

  • Can't add row to sorted tabular form

    I have a very basic tabular form created using the wizard. The only significant change I made was to the sort order. When I click on the add row button, the new blank row is created at the top of the table. When the number of rows in the table grew beyond the page size (10), the blank row seems to be created at the top, but the form goes to the last page of data so the blank row is never displayed.
    If I remove the ordering then the blank row is added at the bottom and the automatic navigation to the last page shows the blank row.
    How can I modify this behaviour - either add the blank row at the end, or display the first page when adding rows.
    Table Structure
    dt_id (populated by trigger)
    dt_date
    dt_meal_type varchar2
    dt_food varchar2
    Sort order is (dt_date desc, dt_meal_type)
    Apex 2.1.0.00.39 on XE

    Vikas,
    I've had a look at your javascript idea. It took a little bit of figuring out but I think I understand it. I had to modify it a bit so that it cleared the values (I'm not trying to clone anything - I just want a blank record).
    After spending a whole morning on this I still have 2 fairly serious outstanding issues:
    a) When I enter some values into my new blank record and hit Submit nothing seems to be saved and the record just seems to get lost (I suspect I have cleared out some important hidden fields or something)
    b) It doesn't work if the table is blank and I am trying to enter the very first record.
    I'm sure it's possible to fix these issues but I am no javascript expert and I have come to the conclusion that it just isn't worth investing any more time.
    The benefit of Application Express to me is that it is a simple declarative development environment. There are many things I need to be concerned about and javascript just isn't one of them.
    Whilst I wait for the tabular forms functionality to mature, I think I will go back to the good old report + Edit button style.
    Thanks,
    Alastair
    PS. Here is the script I added to the region header (I removed everything I didn't understand and added it back in as and when I needed it):
    <script>
    function addRow()
    var col = html_GetElement('NAME'); // NAME is just an arbitrary column in my table
    var tab = html_CascadeUpTill(col,'TABLE');
    var row1 = tab.rows[1];
    var clone = row1.cloneNode(true);
    var elements = clone.getElementsByTagName('input');
    for (var j=0;j<elements.length;j++) elements[j].value="";
    myNewRow = tab.insertRow(tab.rows.length);
    myNewClone = myNewRow.replaceNode(clone);
    </script>

  • Can't add row using table sorter

    I had a jtable with my own mytableModel that implements AbstractTableModel. In mytableModel, I have addRow, removeRow... so I can delete/add row dynamically by calling mytableModel.addRow(..). Everything works fine.
    However, after I added the table sorter and table map (got the code from the tutorial).
    MyTableModel myModel = new MyTableModel();
    TableSorter sorter = new TableSorter(myModel);
    JTable table = new JTable(sorter);
    sorter.addMouseListenerToHeaderInTable(table);
    Now, when i call mytableModel.addRow(..), it doesn't work anymore. It doesn't add a row anymore, why?
    Thank you so much for your help.

    I don't have a addRow method in TableSorter. My addRow method is in myTableModel. So, when I need to addRow, I called myTableModel.addRow, In my addRow method, I have fireTableRowsInserted method. This used to work using integrating with TableSorter.
    Do I need to move all my addRow, addCol....DelRow... to TableSorter? The table data are stored in myTableModel. I guess I really doesn't know how the TableSorter work :(
    Thanks

  • 3.1 Bug - Add row not working if Sort Nulls defautls to first.

    In some situations when you click "Add" to add a new row of a tabular form you are not provided a blank row, although you can see the row count is incremented in the lower right corner.
    This occurs if the setting of Sort Nulls first/last is allowed to default in the region attributes. By default nulls are sorted first. If your tabular form has a sort on any column and you try to add a row, the new row sorts to the top. If you have more than a screens worth of rows your blank row is not visible because APEX places focus to the last page of the result set. A work around is to go to the region's Report Attributes tab and look for "Sort Nulls" and set it to last.
    But even if you do this you may still run into problems. For example if you sort on a column that has a lot of null values, your blank row may still not appear as the last row and so may not be visible.
    I'm wondering if this is a know issue and if there are plans to correct.
    I mentioned the bug to David Peake when he was out here this week, but I didn't realize what was causing the weird behavior. Too bad I couldn't get his opinion about the cause.
    Thanks!
    Ken

    I'm seeing something that might be related to this, might not. I've setup a tabular form (Apex 3.1.0.00.9) and added a select list (Select list with submit) to help control the number or rows displayed.
    Let's say I select 30 rows to be displayed. Then I click the Add Row button. I'm getting my new empty row at the bottom of the list of records, however I'm only seeing 5 rows of data displayed above my new empty row, rather than the complete list of records (I only have 15 rows in the table right now).
    Another oddity is that the the pagination shown in the pagination select list shows "row(s) 1-15 of 16" even though the report is showing only 5 rows of data. It's almost as if some pagination value has been cached and not updating.
    Anyone got any ideas?
    Earl

  • Problem  in 2007 :----MasterData Type UserTable can not add row

    hi  all
    i have create a "masterline" UDT.
    In 2005 i have written a code to insert data in that table.
    eg..
    SAPbobsCOM.UserTable UDT;
    UDT=Company.UserTables.Item("TableName");                    
    UDT.Code ="ABC";
    UDT.Name ="1";
    UDT.UserFields.Fields.Item("U_USNM").Value ="XYZ";
    int nErr=UDT.Add();
    In "2005" it working fine but in "2007" it gives exception "MasterData Type UserTable can not add row"
    Regards,
    Rajesh Saini
    Edited by: Rajesh Saini on Feb 5, 2008 2:21 PM

    Hi Rajesh,
    What kind of User Data Table is your table? MasterData, Document or NoObject?
    I have tested and the error shows only when you are trying to fill a table of type MasterData or Document. For tables of type "NoObject" it works fine.
    The only UDTs that you should fill by using UserTable object are the ones of type "NoObject". AddOns that want to be certified cannot update UDO tables (only via UI API for the moment).
    But you are right in version 2005 SP01 it worked fine. I'll ask development whether it has been changed deliberately in B1 2007 or it is a problem.
    Thanks for sharing this information with us, it is very important in order to improve the quality of the final version.
    Regards
    Trinidad.

  • Add row button on tabular form works from time to time

    Hi!
    we have two environments (dev & prod) with 10gR2 and APEX 3.2.1.00.12 (installed from one and only setup file)
    we have developed application on dev and moved it to prod,
    and on prod it was discovered that - from time to time (not always) -
    when you press 'add row' button on tabular form,
    tabular form does not display new record on the page,
    if number of records exceeds number of records allowed to show
    (i.e. with 10 records maximum it works fine when you add records from 1 to 10 and can't add record 11)
    but - interestingly - increases number of rows in pagination by 1
    (e.g. "rows 10-20 of 35" changes to "rows 10-20 of 36").
    on dev this tabular form works correctly.
    what is it and how to heal it?..
    I recall I had same issue in prior releases (3.0 - 3.1), is it known issue?

    It seems to be true:
    - if there is ascending order on columns which fields are null in new line (have no default value), new row is visible in current "pagination" page
    - but if there is DEScending order OR ANY sort order is set on columns which fields are NOT null in new line (have default value), new row is NOT visible in current "pagination" page
    thank you!

  • Add row by right click event

    hello expert
    i want to create add row functionality by right click event like in SAP B1 when we click on matrix colum it give menu for Remove,copy,add row in matrix how i do it by in my userdefiend form matrix

    Hello,
    If you enable the menu on your form Add row (menu id: 1292), Del Row  (menu id: 1293 )it will automatically appear in right click .
    copy should be added indivudally, and developed the functionality for each
    enable them:
    oForm.EnableMenu("1292", True)
                oForm.EnableMenu("1293", True)
    You can use MenuEvent to add/del/copy rows in the matrix or RightClickEvent
    Regards,
    J.

  • I updated to Lion, and all of my events show up, but I cannot "add invitees" to any event. I can accept/reject invites, but cannot create them myself.

    Help!  updated to Lion, and all of my events show up, but I cannot "add invitees" to any event. I can accept/reject invites, but cannot create them myself.

    Purplehiddledog wrote:
    I do backup with iCloud.  I can't wait until the new iMac is available so that I can once again have my files in more than 1 location without needing to rely solely on the cloud. 
    I also rely on iTunes and my MacBook and Time Machine as well as backing up to iCloud. I know many users know have gone totally PC free, but I chose to use iCloud merely as my third backup.
    I assume that the restore would result in my ability to open Pages and Numbers and fix the problem with deleting apps, but this would also mean that if my Numbers documents still exist solely within the app and are just not on iCloud for some reason that they would be gone forever.  Is that right?
    In a word, yes. In a little more detail.... When you restore from an iCloud backup, you must erase the device and start all over again. There is no other way to access the backup in iCloud without erasing the device. Consequently, you are starting all over again. Therefore, it would also be my assumption that Pages and Numbers will work again and that the deleting apps issues would be fixed as well.
    If the documents are not in the backup, and you do not have a backup elsewhere, the documents could be gone forever.

Maybe you are looking for

  • Obtaining the full file path specification from Flash Movie and QuickTime icons?

    How do you obtain the full file path specification from Flash Movie and QuickTime icons? I want the path and the file name that is contained in these icons. I am using a "dive" to run through the icons of a file, and when I come upon these two types

  • Where Clause in Table Lookups for Data Load

    Hello, In Shared Components I created in Data Load Table. In this Data Load Table I added a Table Lookup. On the page to edit the Table Lookup, there is a field called Where Clause. I tried to add a Where Clause to my Table Lookup in this field but i

  • Adobe AIR dynamic sound and recording delay issue

    I'm writing mobile application with Adobe AIR. The application use AIR Microphone API to record sound to file and later replay it. The problem manifest only on mobile devices, not simulator. Specifically only on iOS devices, android devices seem to w

  • DVDs not showing up correctly on desktop

    I have a friend who is having this problem and I tried to help last night: DVDs that are authored in DVD Studio Pro or iDVD will show up on the desktop as DVDs with the round DVD icon w/DVD logo on the icon. DVDs that are recorded on a set top Sony D

  • AR 9.X Crashing IE (6 and 7)  when opening PDF with sw:iexplore - Application Error

    The majority of my systems are having a problem with Acrobat Reader 9.0 and 9.1. When they click on a PDF from within IE the browser crashes with the following error: sw: iexplore.exe - Application Error The instruction at '0x051251b6" referenced mem