MCKH - Disable delete option for particular version

Dear SD Gurus,
Our client uses MCKH to view sales information.
In this, SD user has created a version F601V under the standard version S601, to view "Part Sales" information.
Now he wants to disable the delete option for this particular version F601V.
The idea is that any other user should not delete this version by mistake.
There is a particular variant attached to this version & we tried to achieve this by checking the protect variant option.
However, system still allows deletion.
How this can be achieved?
Regards
Prabhu

thanks for your answer Mr. Atkinson, that was excatly what I need. This is my code inside the event receiver:
public override void ListAdded(SPListEventProperties properties)
SPList list = properties.List;
list.AllowDeletion = false;
list.Update();
but the above code dont have any effect on the list, I have still the Item with DELETE THIS LIST in the listsettings.
do you know maybe why? or can I also debugg it?
thanks in advance
BR
Ahmad
SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

Similar Messages

  • Disable delete option for a list? But where ?

    hi all,
    via Console Application I can hide/disbale the Delete This List option:
    static void Main(string[] args)
    SPSite site = new SPSite("http://localhost");
    SPWeb web = site.OpenWeb();
    SPList list = web.Lists["DemoList"];
    list.AllowDeletion = false;
    list.Update();
    My question is, if I want do this in Empty SharePoint Project what I must to do ?
    if any one has a suggestion or ides please tell me.
    thanks in advance
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

    thanks for your answer Mr. Atkinson, that was excatly what I need. This is my code inside the event receiver:
    public override void ListAdded(SPListEventProperties properties)
    SPList list = properties.List;
    list.AllowDeletion = false;
    list.Update();
    but the above code dont have any effect on the list, I have still the Item with DELETE THIS LIST in the listsettings.
    do you know maybe why? or can I also debugg it?
    thanks in advance
    BR
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

  • The new itunes version won't give me a delete option for podcasts, AND it added back in podcasts from months ago.  Help!!

    The new version of itunes doesn't give me a "delete" option for my podcasts and it redownloaded previously deleted podcasts. Help!!

    I have the same issue.  Need Help, too!

  • LB02 screen- Disable delete option of TR

    Hi Friends,
    It is observed that some TRs are disappeared from the system & as such no log present in any database table (LTAK , LTBK , LTBP , LTBK).
      Manual deletion is possible using LB02 .
    I have a requirement to disable Deletion option which is available at Header level ( Delete icon)& Item level ( deletion flag checkbox).
    What is the way to do this?
    Regards,
    Sap.

    Hi All,
    I have tried implementing the BADI WM_ENHANCMENT which was called during TR deleteion, but unfortunately this BADI is for internal SAP use only.
    I could not find any relevant user exit also for this purpose.
    So is there no way by coding that we can achieve the requirement?
    Will authorization be done in any customizing. Kindly help.

  • Disable Delete Button for infotype 2001 subtype 0025

    I want to Disable Delete Button for infotype 2001 subtype 0025 only in PA30/61.
    Is there any EXIT available

    Hi
    Try it .
    Somebody already given this type of answers.
    Pls first use Search then post.
    Well FYI,
    <b>There is a standard User Exit for PA30 / 40 for PBO and PAI events.
    ZXPADU01 for PBO and
    ZXPADU02 for PAI events.
    By writing proper code in here for the IT2001, you can write your rules.
    PBAS0001 ( PA: Pers.Admin./Recruitment: Default values and checks ),</b>
    Manoj Shakya.

  • I do not have a delete option for files or folders in Adobe Creative Cloud

    I do not have a delete option for files or folders in Adobe Creative Cloud
    im looking and looking....
    im stumped.....
    4 weeks now....
    kai

    HOW TO DELETE FILES or FOLDERS or Assets from Adobe Creative Cloud Brouser/Web Portal By: Kai Buskirk rev:130626
    Adobe now burried deleting or trashing unwanted iteams files or folders in the Archive section of your creative cloud brouser/web portal.
    Note!! - No longeer is there a standard TrashCan icon or simple Delete button... its burried in the archive sector: but why i ask?
    An archive is an accumulation of historical records, or the physical place they are located.[1] Archives contain primary source documents that have accumulated over the course of an individual or organization's lifetime, and are kept to show the function of that person or organization. Professional archivists and historians generally understand archives to be records that have been naturally and necessarily generated as a product of regular legal, commercial, administrative or social activities.
    In general, archives consist of records that have been selected for permanent or long-term preservation on grounds of their enduring cultural, historical, or evidentiary value. Archival records are normally unpublished and almost always unique, unlike books or magazines for which many identical copies exist. This means that archives (the places) are quite distinct from libraries with regard to their functions and organization, although archival collections can often be found within library buildings
    A person who works in archives is called an archivist. The study and practice of organizing, preserving, and providing access to information and materials in archives is called archival science. The physical place of storage is sometimes referred to as an archive repository.
    To delete files folders or individual assests in the current incarnation of adobe creative cloud brouser/web portal rev:130626
    1 - Check mark the box on left and select files or folders you would like Deleted/Trashed and move them to the ARCHIVE folder location inside your adobe creative cloud brouser/web portal....Then navigate to the ARCHIVE SECTION
    2 - Once the files or folders you have check marked are moved to the ARCHIVE folder location you can select them for Permanant Deletion (Trash)
    ps: you can also restore them......if you so choose....
    3 - in case you missed this step after selecting/checking the files or folders in the ARCHIVE folder there is a small Triangle Selector drop down that will reviel the Permanently Delete option.... clicking that is the point of no return i think..... so do not be misled my the use of the term ARCHIVE.... DELETING PERMANANTLY IS DELETING YO!
    4 - OK DONE NOW YOU GOT IT .....
    Good Luck Happy House Cleaning.....
    Wamest Blessings,
    Kai Buskirk
    Message was edited by: [email protected] rev: 130626

  • Why there is no option for WRT54G Version 7??? the versin...

    Why there is no option for WRT54G Version 7??? the versin no. jump from 6 to 8??Which firm ware should  I download?

    For US no vesrion 7 is released. Might be in other countries.

  • How to set auto delete option for old messages

    Hi All,
    Can any one help me on how to set auto delete option for mails older than 15 days from my Z10.
    James Kurian

    There is no such option in BB 10.
    However, you can achieve a similar result by setting your email sync timeframe to 14 days (the closest option).
    If you are using an ActiveSync account (such as Hotmail, Outlook.com), go to Settings > Accounts > select the account. Tap advanced at the bottom of the screen. Scroll to the very bottom, tap Sync Timeframe and set to 14 days.
    If you are using an IMAP account (such as Gmail or GMX), you will have to delete, then re-add your account.  The Sync Time frame is only avaialble during setup for these accounts.  When adding, tap advanced at the bottom of the screen and set the Sync Timeframe.
    Hope this helps.

  • When i connect i5 to itunes .. i dont get "delete" option for songs upon right click .. can anyone help me with this plz?

    when i connect i5 to itunes .. i dont get "delete" option for songs upon right click .. can anyone help me with this plz?

    Yes, annoying. A couple of options:
    While it's playing the current A song, click on the H song to select it (but not double click to play it), when iTunes jumps to the second A song, press the down key and iTunes will remember that you had that H song selected and will move the selection to the second H song while the second A song is still playing. So, still jumps around, but easy to get back to where you were.
    Create a new playlist for your music, right click on it, select "New Window" and you can browse your music in a second list while the first window continues to play music. But if you then start playing music in that second window, you have to go back to the first window if you want to start browsing again. Not great if you're navigating around to play the next song.
    Play music from iTunes DJ, then as you're browsing around your library, you can add things to play next in DJ, and go back. You can combine this with previous suggestion, to keep DJ open in one window while you browser in the other window.
    None of these are great, but maybe one of these works better than your current workflow.

  • How to disable delete option in the receipt work bench thorugh formpersonal

    Hi Team,
    Please let me know, how to disable delete option in the receipt work bench through form personalization

    Hi.
    Condition
    Trigger Event: WHEN-NEW-ITEM-INSTANCE
    Trigger Object: RGW_FOLDER.M_PAYMENT_METHOD_DSP
    Actions
    Type: Property
    Object Type: Block
    Target Object: RGW_FOLDER
    Property Name: DELETE_ALLOWED
    Value: FALSE
    Note: The button will remain visible and if the user presses it, the system will ask if he/she want to delete the receipt. However, if the OK button is pressed the receipt will not be deleted and a message will be shown ("You cannot cannot delete this record")
    Hope this helps.
    Octavio

  • Disable Delete option but enable edit option for a content item?

    Hi,
    Appreciate your input on this. The portal version being used here is 3.0.9.8.2.
    I would like to have the following privileges setup for a content folder's items.
    - one group can edit and delete items
    - one group can edit but not delete items.
    However looking at the access types available at the folder level - there are only "view only" , "edit style", "manage items", "own folder","create with approval".
    The "manage" privilege is simply a catch all privilege. User can edit, checkin/out and also delete an item.
    How do I prevent a user/group from deleting an item ? (or atleast disable the rendering of the 'X' delete icon?)
    I did experiment with the audit option by enabling version control which is somewhat helpful in that I can preserve the older versions, but like above, I cannot enforce that.
    regards
    -Ananth

    thanks for your answer Mr. Atkinson, that was excatly what I need. This is my code inside the event receiver:
    public override void ListAdded(SPListEventProperties properties)
    SPList list = properties.List;
    list.AllowDeletion = false;
    list.Update();
    but the above code dont have any effect on the list, I have still the Item with DELETE THIS LIST in the listsettings.
    do you know maybe why? or can I also debugg it?
    thanks in advance
    BR
    Ahmad
    SP 2013 & SPD 2013 & VS 2013 & MSSQL 2012

  • How to disable forward button for particular workitem in SAP Enterprise portal 7.4

    HI Experts,
    We have recently upgraded our enterprise portal to 7.4 version. We have a requirement to disable the forward option for a particular shopping cart workitem coming from SRM system.
    I searched the help document and other threads and found that the FORWARD button can be removed from iview property:" LIST OF ACTIONS TO BE EXCLUDED"  But this disables the forward button for all the other workitem type also.
    Is there any way to disable the FORWARD BUTTON ONLY FOR SHOPPING CART ITEM THROUGH XML CONFIGURATIONS?
    I have attached the screen shot. Kindly revert with your suggestions.
    Best regards,
    Rahul

    Hi Gaurav,
    In you xml file , you can check forward action in<action>..</actions> tag . Also I am assuming , the shop cart workitem uses default view , so you can check default view in your xml and remove the actions from that view. For ex:.. you can create a custom view and make your task use that view and you can remove 'forward' action from that view.
    Hope this helps !
    Thanks & Regards
    Saikrishna

  • Disabling Delete Option in Context Menu

    Hi Experts,
    I have created a  KM Navigational iView for a BO Repositry Folder and  used 'BOBJELayout'  Layout set for it.
    Now in comtext menu i am getting all options like view , history , scheduling , Delete etc.
    For administrator it is ok , but  for end user, i want to remove or disable particular options like 'Delete'.
    How to do it ?
    Please help.............
    Regards,
    Ajay Singh

    Hi all,
    Thanks for your support
    problem is solved to some extent .In my scenario working with BO repository , i was unable to to control the context menu
    ( though i didn't try RS suggestion yet) from KM  but it can be controlled from BO itself.
    In context menu Delete option is getting displayed but its not working if user doesn't has sufficient authorization at BO side . So user will not be able to delete any report from his/her login which was the main concern. But How to hide or remove 'Delete'  option
    from Context menu is still a question.
    I am keeping this thread open so that i can revert back with some solution for it or for your's solution.
    Thanks & regards
    Ajay
    Edited by: Ajay Singh on Aug 21, 2009 3:48 PM

  • How to disable Details option for a Document in KM?

    Hi,
       I had created a Folder by enabling Versioning and Lifetime ,under public documents and i had uploaded a word file under that folder.I had given read permissions to the other user .He is able to open the document with read permission and is able to see the version of the document.Now for the user whom i have given read rights should be able to acess only current version document and he should not be able to see the previous versions(Details->Settings->Versions).
         I want to disable the "Details" option for a document for the user to whom i had given read Rights.if possible i want to deavtivate the "Down Arrow" mark which guides the user to see the options like (Details,feedback,rating,send to,create link etc)
        Please guide me in this issue.
    With regards
    Praveen

    Hi,
    Let's first create our custom layoutset:
    We will duplicate the ConsumerExplorer layoutset.
    goto System Administration -> System Configuration -> Knowledge Management -> Content Management.
    Select User Interface -> Settings -> Layout Set.
    Find ConsumerExplorer, check it and click Advanced Copy.
    Uncheck Collection Renderer Settings and Resource Renderer Settings leaving only UI Command Groups checked.
    select Group Levels to Copy: All, Add "my_" As Prefix and execute.
    You have created a new layout set called my_ConsumerExplorer.
    Now we need to copy the versions command.
    Navigate back to User Interface -> Commands -> UI Commands. find the command versions. Check it and click Duplicate. give it the name my_versions, leave the rest as is and add to the Roles with Visibility the roles you want to be able to see this command. for example: "pcd:portal_content/administrator/super_admin/super_admin_role" for super admin role. Save the new command.
    Now navigate to UI Command Groups, find my_DetailsSettingsSecondGroup and click edit. in the Command List find versions and change it to my_vesions and save.
    Now all you have left is to change the layoutset of the iView.
    goto Content Administration -> Portal Content. Navigate to your iView, open it, find the property Layout Set and change its value to my_ConsumerExplorer. Save.
    Now test it to see if it works.
    Best regards,
    Avishai Zamir

  • Screen Exit to disable Delete option in VL02N

    Does anyone know how to disable DELETE menu option in second screen of VL02N  <b> when the delivery are not PGID</b>??? Is there any screen exit or any way using which we can disable it.I guess transaction variant is one option other than screen but how to go about it ??? Can anyone pls help me out....

    Transaction Code - VL02N                    Change Outbound Delivery
    Exit Name           Description
    V02V0001            Sales area determination for stock transport order
    V02V0002            User exit for storage location determination
    V02V0003            User exit for gate + matl staging area determination (headr)
    V02V0004            User Exit for Staging Area Determination (Item)
    V50PSTAT            Delivery: Item Status Calculation
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields
    V50R0001            Collective processing for delivery creation
    V50R0002            Collective processing for delivery creation
    V50R0004            Calculation of Stock for POs for Shipping Due Date List
    V50S0001            User Exits for Delivery Processing
    V53C0001            Rough workload calculation in time per item
    V53C0002            W&S: RWE enhancement - shipping material type/time slot
    V53W0001            User exits for creating picking waves
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)
    No of Exits:         17
    Rewards if useful.................
    Minal

Maybe you are looking for