Delete Allowed Property For Current Record

I have a requirement where I need to make a record allowed proeprty delete_allowed as false.
Eg:
If :variable:='YES' then
SET_ITEM_INSTANCE_PROPERTY('block_name.item',CURRENT_RECORD,UPDATE_ALLOWED,PROPERTY_FALSE);
end if;
I cannot set delete_allowed property here, so how can I set delete allowed property to false?
if I use
SET_ITEM_PROPERTY('block_name.item',ENABLED,PROPERTY_FALSE);
it will set property for all the records in the block, I have a multi-record block
I am using Oracle Forms 10g
Thanks

Thanks for the reply.
Yes I was thinking of doing this.
if I put a validation in key-delrec trigger, then do I need to explicitly call a commit or any other method to delete a record if condition is not true?
Eg:
If :variable:='YES' then
Message(' DELETE IS NOT ALLOWED');
Raise Form_Trigger_Failure;
ELSE
commit or delete_record;
End if;

Similar Messages

  • Adobe Flash Player not working. Installen latest version. Get the following: "This website would like to run the following addon: Adobe Flash Player from Adobe System Incorporated." Then asking me to allow it for current or all websites. It doesn´t matter

    Adobe Flash Player not working. Installen latest version. Get the following: "This website would like to run the following addon: Adobe Flash Player from Adobe System Incorporated." Then asking me to allow it for current or all websites. It doesn´t matter how i do this. The pop-up question returns EVERY time. What do i do to solve this issue???

    To give you any useful advice, I'm going to need to know more about your computer and browser:
    https://forums.adobe.com/message/5249945#5249945

  • Delete Allowed generation for tables

    At my group level I have set a value for the "Delete Allowed EL expression". In table layout though, it uses this value to set the rendered property of the checkbox rather than the column, meaning the users still see a column called "Delete ?" with just nothing in it. I've created a custom template and moved the rendered attribute from the selectBooleanCheckbox up to the column.
    Of course I may be doing something wrong here or this might cause problems elsewhere but in case neither of those hold true I thought I would mention it as a possible future enhancement ?
    Cheers,
    Brent

    Brent,
    That's fine, the reason we only hide the checkbox is that it allows for row-specific delete rules. You can conditonally render the delete checkbox based on some attribute values of the row.
    Steven Davelaar,
    JHeadstart Team.

  • Mass deletion of variants for Total Records

    Hi there,
    during tranings we create a lot of variants for the Total Records (UCWB->Analysis->Total Records->Save Variant). Is there a way to do a mass deletion of those variants?
    The standard options of deleting variants only allows to delete one variant per selection.
    We work with a SEM BCS EHP 4.
    Thanks for all help,
    Helge

    Helge
    you can do a mass deletion of variants.
    First you will need to find the program name for the Totals Records.  This can be found from the totals records screen when you click the Get Variant button. Across the top of the dialogue box you will see;
    "Variant catelogue for program XXXXXXXXX". 
    Note this program ID.
    Go to TCode SE38
    Key in the program - make sure the Short description for the Program is "List of Totals Records"
    Check the Variants checkbox
    Click on Display
    From the menu - go Variants > Catelogue
    This should give a list of the variants for the Totals Records. If not then you must have the wrong program.
    Click the button which has the picture of the rubbish bin with the words "Selection Criteria".
    This will then allow you to put a check mark against all the variants you want deleted.
    Click the button which has the picture of the rubbish bin with the word "Variant"
    This will then mass delete your variants.
    Regards

  • Delete DSO data for current month on a daily basis.

    Hi Gurus,
    We have a requirement where we have to delete the data in the BW DSO's for the Current Month every day before loading data into it. The reason for this is that in R3 they delete data for the current month in addition to adding new records and changing existing records. Since we do a Full load in BW, the deleted records in R3 will still exist in the BW DSO, hence the need for deletion.
    We can't delete ALL the data in the DSO as we use the BW DSO for Archiving purpose and the R3 table at any point of time will have just 3 months of data, while BW will have historical data.
    I know there is a process to delete DSO contents in the Process Chain, but can it be set up to just delete the current months data??
    Thanks
    Arvind

    Hi Arvind,
    The program RSDRD_DELETE_FACTS or transaction DELETE_FACTS will help you in deleting the records. Execute the program and select the option 'Generate Selection Program'. It will create a Z program , you can then dynamically select the current month in the Variant and assign the Z program and the variant in ABAP step of the process chain.
    Hope this helps with your requirement.
    Regards,
    BINETWEAVER2004s

  • Auto create View/Edit/Delete cfm pages for databsae records? Anyone remember CF Studio?

    Anyone use Recordmaster wizard from back in the CF Studio
    days?? Sometimes I really miss it! Is there anything comparable
    available today for the current toolset (CFeclipse or Dreamweaver)?
    RecordMaster was a little automated wizard thing that you could
    just point to a DSN and a table, and it would build a nifty set of
    basic pages to do admin stuff, namely view, add, edit and delete
    records. Very good start to build quick and dirty admin pages, and
    super easy.
    There was even a little built in Studio wizard that would
    generate record view/edit/delete pages. All just basic cfm, no
    cfc's.
    Anyhing? I've got to build some admin type pages here on a
    table with lots of fields and don't want to do it all from scratch.
    If I can't find anything, I may search my CD archives for an old
    version of Studio just to use RecordMaster! What do others use for
    fast creation of database record admin pages???
    -Jeff

    Not exactly what you are looking for, but take a look at
    reactor (
    http://www.alagad.com/go/products-and-projects/reactor-for-coldfusion).
    It will create a database abstration layer on-the-fly for simple
    CRUD operations. A similar solution would be Illudium PU-36 (
    http://cfcgenerator.riaforge.org/).
    Similar concept to reactor, but used for one-time
    generation.

  • Selective deletion in DSO  for current and previous year

    Hi,
    Can any one give an idea how can I selectively delete current and previous year data (only). is there any process type that can help me in process chains. This should be before loading a fresh load for the same period. this is for psodo delta.
    or
    any other alternative, plz. suggest.
    Thanks
    ganesh
    Edited by: Ganesh on Jul 7, 2008 12:08 PM

    Hi,
    If you have any date value example posting date or 0CALMONTH.., you can filter the date using the selection conditions and selectively delete the data.
    Process:
    Manage of DSO->Contents Tab->Selective (with delete Icon)->Deletion selections->give the period->Execute->Start->Yes->continue.
    Hope this helps..........
    Rgs,
    I.R.K

  • Problem in block property (delete allowed)

    hi friends,
    i have created a form having two blocks with non-isolated relation in them. i have set the delete allowed property to true for child block and false for master block. But when i run the form it will not allow me to delet the record from the child block as the delete allowed button appears in disabled form in the toolbar...
    please help in enabling the button so that i can delete the record at runtime for the child block

    which kind of toolbar did you use. selfwritten or oracle-standard ?

  • Enabling Insert allowed for particualr records in a block,

    Hi All,
    I have a requirement to enable insert allowed(and delete allowed) button for only particular records(say for all records where column1=2) and for all other values that insert allowed button should be disabled.
    I tried setting the property
    SET_BLOCK_PROPERTY for insert allowed for my block, in new_block_instance.
    when i'm querying the first time with column1=2, its working fine.
    But, when im querying my blcok with column1=5 and then requerying the block with column1=2, im facing issue. insert allowed button is disabled here.
    Not sure, whether this can be achieved or not using this way. Please suggest me if there is any other ways we can do in oracle forms.
    Thanks & regards,
    Pavan Kumar

    I have used the below code in when new record instance at block level,
    IF event='INSERT'
    THEN
    IF :xxscp_gbl_exp_detail_v.order_type=5
         THEN
         SET_BLOCK_PROPERTY('XXSCP_GBL_EXP_DETAIL_V',
         insert_allowed,
         property_true);
    ELSE
    SET_BLOCK_PROPERTY('XXSCP_GBL_EXP_DETAIL_V',
         insert_allowed,
         property_false);
    END IF;
    END IF;
    as i already told, it work when i directly search with order_type=5.
    But not working, when i first search with order_type=1 and then with order type 5.
    Thanks in advance,
    pavan

  • APP-PAY-07092: This action is invalid for the current record.

    Unable to access employees assignment panel in order to make updates within oracle HR receiving this error.How to fix this.

    Please see these docs.
    APP-PAY-07092 This action is invalid for the current record when Trying to Access Assignment [ID 813815.1]
    PERWSHRG APP-PAY-07092 when Navigating to Assignments Screen [ID 796523.1]
    PERWSHRG APP-PAY-07092 Trying to Access Assignment [ID 1434212.1]
    PERWSEAC Cannot enter Costing for Contingent Workers APP-PAY-07092 [ID 1458000.1]
    App-Pay-07092:Action Invalid for Current Record:Salary for Active Contingent Asg [ID 360168.1]
    Payment Method Errors When Opened: APP-PAY-07092: This process is invalid for the current record. [ID 289691.1
    Thanks,
    Hussein                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Table cntrol field to be display/Change only For each record

    Hi all,
    How to set a particular Field in table control either as display only or
    change only for <b>each row</b> based on certain condition.I need to set this property for each record in table control not for the entire coloumn?.I know the procedure for setting up an entire coloumn in table control either as diplay or change only using <b>Loop at screen</b> statement.
    Conditions:
    If Material is batch managed:
    itab-batch field has to be <b>Display only</b> mode.
    if material is not batch managed:
    itab-batch field has to be <b>change mode</b>.
    <b>O/p of Table Control :</b>
    Material     Batch
    1000         Display only
    2000        Change only
    8000        Change only
    3500        Display only
    3600        Display only

    Hi Ravi,
              Thanks for your reply.I have put the code as u said. It is modifying the whole coloumn insted of  modifying Current row of the coloumn.
    I have tried to modify the screen property using  Table control attributes (TC-COLS).The following commented code is that logic.Even that also doing the same thing.Can yoy please tell me how to do it.
    MODULE tc_get_lines OUTPUT.
    LOOP AT SCREEN.
        IF screen-name = 'X_ZPINV-CHARG'.
          IF fg_batch = ' '.
            screen-input = 0.
          ELSE.
            screen-input = 1.
          ENDIF.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    LOOP AT tc-cols INTO tc_wa
      WHERE screen-name = 'X_ZPINV-CHARG'.
       IF x_zpinv-matnr IS NOT INITIAL.
         CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
           EXPORTING
             input  = x_zpinv-matnr
           IMPORTING
             output = v_matnr.
         SELECT SINGLE * FROM marc WHERE matnr = v_matnr
         AND werks = w_plant.
         IF marc-xchar IS INITIAL.
           tc_wa-screen-input = 0.
         ELSE.
           tc_wa-screen-input = 1.
         ENDIF.
         MODIFY tc-cols FROM tc_wa INDEX sy-tabix."    transporting screen-input
       ENDIF.
    ENDLOOP.
    ENDMODULE.                    "TC_GET_LINES OUTPUT

  • Visual attribute for current item

    How can i set the visual attribute of the current item in multi block form so that when user navigate through item in a form its background colour is changed and user can easily trace where the cursor is ?

    1- I have three list box on the form as well so whether post-text-item works over therei have no issues with this and it is working fine in my forms list box
    2- and i have 3 datablock among which 2nd and thid datablock is multirecord datablock where i set current record visual attribute so what is the behaviour @ run time either current record Visual attribute override current item VA or it works fine
    it is working perfectly in multi record also..you need to remember in post text trigger use the same visual attribute used for current record visual attribute

  • Is there a property for record count?

    I want to navigate to another block if the current record is the LAST record. I can get the value of the current record but can't figure out how to get the value of # of records returned. Surely there's a block property for this, but I can't find it!

    Hi,
    :system.last_record will have the value 'TRUE' if the cursor is on the last record of some block.
    /Michael

  • Changing current visual attribute property for the entire application

    Hi All.
    I want to change the current visual attribute color of my form at the application level, reason being i don't want to generate all the forms again from scratch.
    I know that we can change this using visual attributes but is there a way to change this through some form setting?(Oracle 10g)

    I know that we can change this using visual attributes but is there a way to change this through some form setting?(Oracle 10g) There are two settings in the formsweb.cfg that could help, but only if all of your foreground and background color settings are set to Undefined. The settings are: lookAndFeel=Oracle and colorScheme=<Choose Scheme> where "Choose Scheme is one of the following scheme's: Teal, Titanium, Red, Khaki, Blue, BLAF, SWAN, Olive, or Purple. The default is Teal.
    The fact that you are using a Visual Attribute for your Forms application color scheme tells me that you are not using the default "Undefined" color setting so changing the *colorScheme* setting will _not_ have the effect you want.
    Since you are using Visual Attributes (VA) to define colors, you will need to change the colors in your VA and then recompile your forms for the changes in the VA to be inherited in your forms. Sorry, that is just the way Forms works. Recompiling all of your forms due to this type of change is not that uncommon and is fairly painless if you have a shell script or batch file that compiles all of your forms for you. There are numerous posts in the forum about how to write a script that will do this, so if you don't have a script yet you can search forum for more details.
    The other option would be to build your own routine that would allow you to read an environment setting or pass the setting in the URL to select a color scheme. Then create a group of Visual Attributes used by these color schemes and apply them in each Form's Pre-Form or When-New-Form-Instance triggers. This is a lot of work, but it would give you the flexibility to change your application's color scheme without having to recompile your forms.
    Having said this, it begs the question - why not just use Oracle's predefined color scheme's or use the *lookAndFeel=Generic* setting so the user's desktop color scheme is inherited by your application.
    IMHO, Visual Attributes are best used to accent an application rather than define their _full_ color scheme. For example, I use VAs to highlight the current record and current item as well as highlight required items.
    As for using "JDAPI" as *WoMo* suggests is a design-time tool - not a runtime tool. Using JDAPI would require you to know Java and you will still have to recompile all of your forms using this tool.
    Craig...

  • How run the run the BI Publisher report for current/active/selected record

    Hi,
    I have one requirement to generate a BI Publisher report in Siebel, which will run on SR's List view. Report should fetch the active SR and its audit trial entities. I know this was achieved easily using Actuate (simply setting "current Recrod only" to true), but I need how to achieve this in BI publisher.
    This report we are creating is in Siebel-BI Publisher integrated environment, not connecting to database. Can body give share your valuble inputs.
    Thanks,
    Ravi

    In my experience with Siebel 8.1.1 and BI Publisher 10.1.3.4.0 when you generate a report from a Siebel View the report will show all data visible on the view. If you wish to have only a few particular records in the report you must query for them first in Siebel then generate the report again. There is useful article describing how to generate the report for the current record but it does require some config on the applet.
    [http://siebel-essentials.blogspot.com/2009/05/siebel-bi-publisher-integration.html]
    -Fred

Maybe you are looking for

  • Custom Sort (by date) in a DataGrid component

    So I've got a data grid component hooked up to a data provider like so: var weekData:XML=// some xml loaded in earlier.... var weekGrid:DataGrid=new DataGrid(); var dataProvider:DataProvider=new DataProvider(); for each(var entry:XML in weekData){   

  • IC WebClient startup error

    Hi all, When I launch IC webclient from SAP Standard roles after assigning to some users its working fine. But I created a new role and when i launch IC webclient form that role I am getting HTTP_COMMUNICATION_FAILURE error. Any authorization issue?

  • Problem with Itunes program

    Recently, my itunes simply will not open from any of the prgram location on my computer. If tried deleting the program and redownloading it but it still will not open. Also when I do click on the icon and then search to see if its operating the compu

  • Basic icons at the bottom of the phone

    My sons have gotten hold of my iPhone. Safari has disappeared from the basic four icons on the bottom.... how do I get it back on there? Thanks!

  • In the jspdynpage how to implements file download!!!!

    in the jspdynpage how to implements file download!!!! in the portal's view i need to implements download file like *.xls,i don't know how to do. and if servlet can be used in the portal application! Edited by: xuhuanjun on Apr 8, 2009 9:57 AM