How to disable a particular record in a block???help

Hi
i am form in which there is a db block.the block shows 12 records at a time...also the block has 12 db items but only 8 are on the canvas..4 four of these eight items are display items
My requiremnt is that if the value in..say..item_5 is 17 at any number of record then the particlar record becomes disabled. is it possible to achieve in forms 6i...
i would be extremly grateful if any one could work that out for me..as this is the requirement of my programme..
thanks in advance,
regrard,
Asim.

On the four items that the user can update, in your post-query trigger do this:
Set_item_instance_property('BLOCKNAME.ITEMNAME',
                           to_number(:System.trigger_record),
                           Update_allowed,Property_false);This will prevent the user from making any changes to the data, so Forms will not allow changes to the record. You will also need to prevent the user from deleting the record by adding code to the key-delrec trigger.

Similar Messages

  • How to find the particular record in 1000's of workflow jobs are running

    Hi,
    In a data manager -> in workflow tab>IF a record is in CHECK-OUT MODE there are 1000's of jobs are running in that workflow tab. Can anyone tell me how to find that particular record in that workflow jobs.
    Can anyone show me the difference in getting a record in 5.5 and 7.1

    Hello COTI
    Unfortunatly, SAP MDM doesn't have good ability for  WF search.
    All WF clarify by it's status (unlaunched, avialable, Received, complited, error  etc.)
    For each WF SAP MDM assing unique Job ID and this id will be shown in Job ID field in Data Manager WF Tab.
    You can change WF list order by all WF fields like as Job ID, Step, User, Start etc. and try to find your's WF.
    You can use Java API - this is one of the best solution for WF management and WF mass upload  (for example)
    Regards
    Kanstantsin Chernichenka

  • How to disable a particular cell in JTable ?

    I having a problem on how to set disable a particular cell in JTable. At the first place to load the JTable, I want to set some of the cell to disabled, it only will run at the first time, is there anyway to do it ?

    This is the function that disable/enable cells in JTables.
    Are you looking for this?
    public boolean isCellEditable(int row, int col)
      if(((new Integer((String)(getValueAt(row,0)).toString()).intValue()>9))&&(col==1))
        return true;
      if(row!=4&&col!=5)
        return true;
      return false;
         this metod belong to the TableModel function
    and what I gave you is only an example of what you can do with it.
    if it return false it disable and if true it enable the cell...but I think this you allready know!
    Regards Amnon

  • How to delete a particular record in field symbol

    Hi,
    i am declaring field symbol type any table i, i want delete a particular record in that filed symbol.
    How to do that.

    Hello Himam,
    It is not possible to delete directly from <itab> as it is of generic type.
    But you can do loop at <itab> ASSIGNING <wa> and then you can clear content of <wa> this will delete
    the line from internal table.
    Thanks,
    Augustin.

  • How to disable a particular CELL in matrix?????

    Hi All,
               I have a doubt regarding the matrix.In my matrix the first column is a combobox it has a,b,c items....so if i select 'a' the remaining 'b' & 'c' columns should get disabled....previously iam able to disable the 'b' & 'c' columns but it's disabling the total 'b & 'c' columns in my matrix.....i just want to disable the particular cell based on the combobox selection....can we disable a particular cell in matrix.....
    regards,
    shangai.

    Shangai,
    here were many threads about this in last month. Try to search in history.
    BTW, the particular cell cannot be disabled (only whole column), but you could make system, that the cell is enabled but you cannot click on it (when user clicks on the cell, set bubbleeevnt to fasle).

  • How to read a particular record from BRF+ table in ABAP

    hi all,
    I have a requirement where a particular record has to be read based on certain value for a set of columns from BRFplus Decision table to Delete/Update. I tried many methods of CL_FDT* but could not find any right one.
    Could anyone please help me?
    Thanks,
    Deepika

    Hi Deepika,
    There is one solution from my side.
    1. Include the Decision table in a BRF+ function.
    2. Set the input and result of the function.
    3. Call the function in the ABAP.
    4. Get the record from result.
    Please find the call function logic in ABAP as below.
    Data:
            lo_admin_data         TYPE REF TO if_fdt_admin_data,
            lo_function           TYPE REF TO if_fdt_function,
            lo_context            TYPE REF TO if_fdt_context,
            lo_result             TYPE REF TO if_fdt_result.
    cl_fdt_factory=>get_instance_generic( EXPORTING iv_id = "functon id in general tab"
                                                          IMPORTING eo_instance = lo_admin_data ).
    lo_function ?= lo_admin_data.
    *Set input parameter
    lo_context ?= lo_function->get_process_context( ).
    lo_context->set_value( iv_name = "parameter name"    ia_value ="parameter value" ).
    lo_function->process( EXPORTING io_context = lo_context
                                              IMPORTING eo_result = lo_result ).
    lo_result->get_value( IMPORTING ea_value = "Result" ).
    Best Regards
    Clark Huang

  • How to get the total record in the block before save them

    Hello,
    I need to recalculate the amout for all records in one block before saving them.
    How can I get it?
    Thanks for your helping

    You write a loop, something like this:
    Go_block('B1');
    If not form_success then
      Raise Form_Trigger_failure;
    End if;
    First_Record;
    If not form_success then
      Raise Form_Trigger_failure;
    End if;
    Loop
      If :system.record_status in('CHANGED','INSERT') then
        -- modify the record here--
      End if;
      Exit when :System.Last_Record = 'TRUE';
      Next_Record;
    End Loop;
    First_Record;But be very careful-- If your block can fetch a large number of rows, (over 100), this loop can take a long time, and you should not use this method. The loop will continue fetching more rows from the database until all rows satisfying the query are retrieved.

  • How to make a particular record in a particular column in a table as a link

    Hi All,
    I have a table in which the data is getting populated from the response of the BAPI.
    I have a column in this table which is not related to the BAPI response. I am binding the column with locally created attribute which is related to the custom controller also.
    The name of this column is LINK. The records for this column is "click to view".
    According to the requirement,I have two webservices which I am suppose to use in the same table.
    So the "click to view" should be enbled for the records from one webservice and should be disabled for the other.
    Now I have successfully added the column LINK and the record for it is also"click to view" as i have set it.But its not acting as a link.
    So kindly help me out.Looking forward to you.
    Regards
    DK

    Hi Dipendra,
    You can dynamically change TableCellEditor as you want a LINK at one time and no LINK(i.e. TextView ) at other time.
    You can get the handle for your table with IWDTable interface and then get handle for your table column with IWDTableColumn. Once you get these you can change the TableCellEditor for that column at runtime.
    I would sugesst you to read <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7f531207-0301-0010-5f9c-8652a3232ae0">this</a> document for further details on how to set TableCellEditor at runtime etc.
    Hope this helps,
    Regards,
    Mausam

  • How to disable a particular row in a JTable

    How can a disable only a particular row/column in a JTable.
    I am trying to create an XML Notepad type of application for which I need the row which contains the root element or any element which has a child element to be disabled. How can I achieve this??
    I would be grateful for replies.

    Hi,
    Create your own class which extends TableModel and in that class u override the method
    public boolean isCellEditable( int row, int col)
    As u know the row and col which u want to disable hard code those values in the method.
    Like
    public boolean isCellEditable( int row, int col)
    if( row == 2 and col == 1 )
    return false
    else
    return true
    Hopefully this provides u with a solution.
    Cheers :)
    Nagaraj

  • How to disable a particular node in JTree?

    Hi
    I am working with an application where in which I have a tree component and when a select a node and click a disable button , I want to disable the selected node(that is no further selection of that node possible until I enable it). I am using DefaultTreeCellRenderer for rendering nodes. I tried the following.
    DefaultTreeCellRenderer renderer = (DefaultTreeCellRenderer)tree.getCellRenderer();
    JLabel label = (JLabel) renderer.getTreeCellRendererComponent(tree,selectedNode,true,true,false,row,true);
    label.setEnabled(false);
    But it doesn't work.
    Does any one know how to do this?
    Thank you.

    Its not going to work if you implement the TreeCEllRenderer, cos' all it does is paint your tree.
    What u need to implement is the treeSelectionListener interface,
    and override the addSelectedPath(path), addSelectedPath(paths[]) etc.
    You might want to create a list of all the nodes that the user selectes to diable, and then in these methods decide if the node is that then do not allow its selection.

  • How to disable a particular list item in flash cs3

    Friends,
    I need a small help on list component in flash cs3.
    assume that i have 5 items in my list and i want to disable 3,4,5 items from mylist box. how to do this ??
    item 1 -- enabled state
    item 2 -- enabled state
    item 3 -- disabled state
    item 4 -- disabled state
    item 5 -- disabled state
    using flash cs3, i want to achieve this , how to do this ?? any ideas pls..
    Rajesh

    Hi Rajesh,
    I've seen your query all over the internet, so I should warn you I don't believe it's possible to disable a List Item.
    For that you should use Josh Tynjala's open source Advanced List (http://code.google.com/p/flextoolbox/downloads/list).
    Best Regards,
    Filipe.

  • How to Disable a PARTICULAR action key?

    Hi,
    I know how to turn off action keys from BIOS. What i want to is just disable the help action of the F1key. I basically want it o have no fuction (so that it would perform the assigned function for the game) like the f5 key on my Envy 15t. I use the f1 key in games, since every time i press it it opens up the help, i want to disable it. However, i do not want to disable the rest and want to be able use them without having to press the FN key. 
    I am not sure if there is a solution to this problem but i would still love to hear some suggestions.
    Thank You.

    Hi,
    If just for Windows XP: you should be able to disable the help stuff by disabling the Help and Support service. (start->type services.msc->press enter).
    And for Windows 7 (Vista could be the same):
       http://www.sevenforums.com/customization/171360-there-way-totally-disabling-f1-hotkey.html
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to move  between  the records of a block  quickly

    Hi ,
    i am using dev6i  and i have a form connected to data block
    this table has 500,000 record
    when new_form_Instance  it executes the query
    the number of record dispalyed is 5
    The problem is  when i go  to the 6th Record  or higher  it takes few second to go to  each record
    The Question is
    How can i make the form fetch more record ? or how to make the movement between the record faster ?
    Regards,

    ayadsufyan wrote:
    Thanks NewRodeo
    I tried to to change the  Query _Array_Size  And Number_Of_Record_Buffered but  it doesn't work
    What did you change these properties too?  Since you are dealing with a rather large record set, I recommend you change these properties to 50 or 100 each.  The initial query time to display the first set of records will be a little longer because it is fetching so many records, but scrolling through the records will be faster because Forms will already have 50 to 100 of the records fetched.  Once the records fetched have been displayed, then Forms will have to communicate with the database to fecth the next 50 to 100 records.
    Craig...

  • How do I select more records using data blocks, set_block_property

    Hi, I am new in oracle forms builder. I want to fetch more then one records using set_block_property and data block. please help me. How do I select more then one data? I don't have any Idea about Oracle
    Please Help its urgent

    What is your Forms version?  Is your form in "Form" (single record) or "Tabular" (multi-record) layout?  You can't use the SET_BLOCK_PROPERTY() built-in to change the number of records that are displayed - this must be done during design through the Forms Builder.
    What exactly are you needing to do?
    Craig...

  • How can I know that record(s) are locked?

    Hi,
    I am querinh the table for updating.
    How can I check particular record or set of records if those records are locked?
    Any help are welcome.
    Thank you.
    Dmitry

    Please add some details:
    - Locked with what, locked with search my iPad?
    - Do you mean just normal locked (with a code/password every time you want to use your iPad)?

Maybe you are looking for

  • How to resolve this Fatal error on windows 8.1

    HI, Fatal error encountered during installation. The installer will now cleanup and exit! c:\oracle\Middleware\jdeveloper\wlserver_10.3\common\ bin\console.exe(Accesss is denied)

  • Displaying JTable using GridBagLayout

    Hii Javaties I am displaying all my GUI using GridBagLayout Manager. But i dont know , how to add a JTable using GridBagLayout manager. I[b] want tht each column of the JTable be displayed in each cell . i.e column 1 should be displayed at position 1

  • Network fails to load on 2.6 kernel since initsctip update..

    Ok I updated to the new 0.7-2 of the initscripts and installed the udev package.. Whether I load the 2.6 kernel that worked perfectly before the initscripts update with the devfs-nomount or not network fails. It reads the pcmcia card just fine and lo

  • PC suite(V 7.1) issue on WIN XP SP 3 after re-ins...

    I operates on P4 PC, where recently crashed one of my HDD due to that I have format the PC, but due to the booting issue I had to repair Windows (XP SP3) again, then after PC suite(V 7.1) not working. I tried to re-install the application where it ga

  • LS24 stock showing up as negative with stock type Q

    Hi Gurus, Can anybody please help me through this issue. The quality team passed an inspection lot and i see that there is a mterial doc generated with movement type 321 with a storage type 922, storage bin TR_ZONE stock category Q and posting change