How to disable DELETE option in user exit MV45AFZB

Hi All,
Can u please suggest on this req,I  need to modify the user exit MV45AFZB form USEREXIT_CHECK_XVBAP_FOR_DELET   needs to be modified to not to allow an order item or an order for division (spart = 80) to be deleted.
Thanks,

Hi, malleshanthi.
Please, refer to this link:
[http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm]
User-Exits in program MV45AFZB
USEREXIT_CHECK_XVBAP_FOR_DELET
In this user exit, you can enter additional data for deletion of an item. If the criteria are met, the item is not deleted (unlike in the standard system).
You can also insert enhancement implementation:
FORM USEREXIT_CHECK_XVBAP_FOR_DELET USING US_ERROR
                                          US_EXIT.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(2) Form USEREXIT_CHECK_XVBAP_FOR_DELET, Start                                                                                A
* Example
* IF US_ERROR NE SPACE.
*   MESSAGE ......
* ENDIF.
* IF .......
*   US_EXIT = CHARX.
* ENDIF.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(3) Form USEREXIT_CHECK_XVBAP_FOR_DELET, End                                                                                A
ENDFORM.
Best regards,
George Shlyahov.

Similar Messages

  • 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

  • How to disable delete option or symbol in attachment control in infopath 2010

    Any have any idea how to disable the delete option or symbol near the attached file using attachment control in infopath 2010.
    I have created a custom list in sharepoint online 2013(Office 365) and customized it in  Infopath forms 2010 
    i want tht user can attach the files using attachment control but not to allow to delete other attached files.
    plzzzzzz help me out :( .

    Hello,
    As per my finding, you have to custom create event receiver to handle this situation. Use "ItemAttachmentDeleting" event to prevent user to delete attachment. Please refer below MSDN link to implement this:
    http://stackoverflow.com/questions/2023414/prevent-deletion-of-attachments-from-a-sharepoint-list-item
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to disable DELETE option in media center 7 extender?

    How to disable or remove option "delete" in Xbox360 extender connected to Windows 7 MC?
    After finishing watching a video, Media Center (windows 7) presents me with three options: "delete" "resume" "restart"
    Supposedly kids or someone mistakenly pres delete, ignore warning and ,,,,,,, YOUR VIDEO IS GONE !!!. I have tried changing permissions, but no luck.

    I was trying to solve the same problem tonight and couldn't find any solutions.  After a few tries, I ended up with a solution.  The key is taking away write access and setting the read-only attribute.
    Steps:
    Change security on movie folder
    Remove inherited permission and choose option to set all inherited permissions locally
    Change all user permissions to remove Write (That should remove Full Control and Modify also)
    Make sure your own account is left with full control
    Save security settings and replace the security settings on child folders/files
    Right click movie folder | Properties
    Check Read-Only so that it is checked and not blocked
    The changes have been made, now test
    Right click on a movie file | Verify read only and only your own user has access to write it.
    Make a copy of that movie file outside of the folder
    Attempt to delete the file through Media Center or an extender.  When it prompts to delete, it will mention it is a read-only file.  After clicking yes, it the delete will fail.  If your settings don't
    prohibit the delete, copy the file back and continue testing.
    Note:  Any new files copied into the movie folder will need the read-only attribute set.  

  • 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

  • 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

  • How to Disable edit option in Logon pad

    Hi,
    How to disable edit option in logon pad
    thanks

    Actually if you are looking to disable the "Edit" option so end users cannot change or modify the existing  Logon Pad options systems, you can.
    What version are you using for SAP GUI?
    7.10 has icons to the right which allow changes. (New, edit, etc)
    7.20 has icons across the toolbar at the top. (pencil, paper, trashcan)
    For both versions, Navigate to C:\Program Files\SAP\FrontEnd\SAPgui (Default location)
    In there you will find 2 executeables:
    saplgpad.exe
    saplogon.exe
    If you run the saplogon.exe it will allow edit, delete and modify
    If you run the saplgpad.exe:
    On the 7.10 version the buttons are gone.
    On the 7.20 version, the buttons are grayed out.
    Hope this is what you are looking for.
    Regards,
    Zecher

  • 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.

  • How to activate or deactivate a user-exit based a specific condition

    hi all,
    i want to activate or deactivate(make it trigger) a particular user-exit based in a condition.
    can i do that. if yes please tell me how.
    can we use COMMIT in user-exits or BADI's.
    Thanks & Regards,
    Saroja.

    Hello Saroja
    The solution provided by Rich should be used for testing purposes only in the the reverted sense:
    IF ( syst-uname ne '<specific user>' ).
      RETURN.
    ENDIF.
    " Execute user-exit for specific user
    However, for serious programming you should use a a better strategy. In principle, user-exits are either ON or OFF and, if they are ON, they are ON for <b>all </b>user which is usually not intended.
    The following example shows a (possible) strategy how to execute user-exits based on specific conditions.
    The SAP extension CATS0001 contains the component EXIT_SAPLCATS_001 with the following interface:
    FUNCTION EXIT_SAPLCATS_001.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(SAP_TCATS) LIKE  TCATS STRUCTURE  TCATS
    *"     VALUE(SAP_PERNR) LIKE  CATSFIELDS-PERNR
    *"     VALUE(SAP_DATELEFT) LIKE  CATSFIELDS-DATELEFT
    *"     VALUE(SAP_DATERIGHT) LIKE  CATSFIELDS-DATERIGHT
    *"     VALUE(SAP_DATEFROM) LIKE  CATSFIELDS-DATEFROM OPTIONAL
    *"     VALUE(SAP_DATETO) LIKE  CATSFIELDS-DATETO OPTIONAL
    *"  TABLES
    *"      SAP_ICATSW STRUCTURE  CATSW
    *"      SAP_ICATSW_FIX STRUCTURE  CATSW OPTIONAL
      INCLUDE ZXCATU01.
    ENDFUNCTION.
    The include ZXCATU01 contains only the following coding:
      CALL FUNCTION 'Z_EXIT_SAPLCATS_001'
        EXPORTING
          sap_tcats            = sap_tcats
          sap_pernr            = sap_pernr
          sap_dateleft         = sap_dateleft
          sap_dateright        = sap_dateright
          SAP_DATEFROM         = SAP_DATEFROM
          SAP_DATETO           = SAP_DATETO
        tables
          sap_icatsw           = sap_icatsw
          SAP_ICATSW_FIX       = SAP_ICATSW_FIX.
    This function module is just a copy of the exit function module in the customer namespace.
    Let us assume that your condition at which the user-exit should be executed is that the employee (SAP_PERNR) belongs to a specific controlling area. Thus, we make another copy of the original exit function module and call this fm within the "general" customer-specific exit function module:
    FUNCTION z_exit_saplcats_001.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(SAP_TCATS) LIKE  TCATS STRUCTURE  TCATS
    *"     VALUE(SAP_PERNR) LIKE  CATSFIELDS-PERNR
    *"     VALUE(SAP_DATELEFT) LIKE  CATSFIELDS-DATELEFT
    *"     VALUE(SAP_DATERIGHT) LIKE  CATSFIELDS-DATERIGHT
    *"     VALUE(SAP_DATEFROM) LIKE  CATSFIELDS-DATEFROM OPTIONAL
    *"     VALUE(SAP_DATETO) LIKE  CATSFIELDS-DATETO OPTIONAL
    *"  TABLES
    *"      SAP_ICATSW STRUCTURE  CATSW
    *"      SAP_ICATSW_FIX STRUCTURE  CATSW OPTIONAL
    " User-Exit specific for employees (SAP_PERNR)
    " belonging to controlling area 1000
      CALL FUNCTION 'Z_EXIT_SAPLCATS_001_1000'
        EXPORTING
          sap_tcats      = sap_tcats
          sap_pernr      = sap_pernr
          sap_dateleft   = sap_dateleft
          sap_dateright  = sap_dateright
          sap_datefrom   = sap_datefrom
          sap_dateto     = sap_dateto
        TABLES
          sap_icatsw     = sap_icatsw
          sap_icatsw_fix = sap_icatsw_fix.
    " User-Exit specific for employees (SAP_PERNR)
    " belonging to controlling area 2000
      CALL FUNCTION 'Z_EXIT_SAPLCATS_001_2000'
        EXPORTING
          sap_tcats      = sap_tcats
          sap_pernr      = sap_pernr
          sap_dateleft   = sap_dateleft
          sap_dateright  = sap_dateright
          sap_datefrom   = sap_datefrom
          sap_dateto     = sap_dateto
        TABLES
          sap_icatsw     = sap_icatsw
          sap_icatsw_fix = sap_icatsw_fix.
    ENDFUNCTION.
    Finally, within the specific exit function module we define the condition when the exit should be executed:
    FUNCTION z_exit_saplcats_001_1000.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(SAP_TCATS) LIKE  TCATS STRUCTURE  TCATS
    *"     VALUE(SAP_PERNR) LIKE  CATSFIELDS-PERNR
    *"     VALUE(SAP_DATELEFT) LIKE  CATSFIELDS-DATELEFT
    *"     VALUE(SAP_DATERIGHT) LIKE  CATSFIELDS-DATERIGHT
    *"     VALUE(SAP_DATEFROM) LIKE  CATSFIELDS-DATEFROM OPTIONAL
    *"     VALUE(SAP_DATETO) LIKE  CATSFIELDS-DATETO OPTIONAL
    *"  TABLES
    *"      SAP_ICATSW STRUCTURE  CATSW
    *"      SAP_ICATSW_FIX STRUCTURE  CATSW OPTIONAL
      IF ( <user BELONGS to CONTROLLING area 1000> ).
        "   execute user-exit
      ELSE.
        RETURN.
      ENDIF.
    ENDFUNCTION.
    The alternative would be to place the entire coding including the conditions in the include ZXCATU01. However, in this case you can test the user exit <b>only in the context of the transaction</b> in which the user-exit is passed.
    Using the strategy I have devised you are able to test the user-exit in general and the specific user-exits <b>independent </b>of the transaction. For example, if you are already working on 6.40 or higher then you could use ABAP Unit Testing for this purpose.
    The same logic can be applied for BAdI where we can have only a single active implementation.
    Finally, I hope to convince that it makes sense to spend some time into a reasonable strategy for implementing user-exits.
    Regards
      Uwe

  • How to block delete option in va01 , va02, va03

    hi,
    i like to know how to block delete option in va01 , va02, va03.  I need to block the delete option in the menu to delete the sales order by the user.
    Please reply ASAP.
    <removed_by_moderator>
    Please read the "Rules of Engagement"
    thanks in Advance,
    With best regards,
    sathies
    Edited by: Juan Reyes on Jul 29, 2008 1:05 PM

    Hi,
    Do a user trace in st01 for that transaction and find which auth object it is refering to and the auth value then maintain the values accordingly.
    Regards,
    Vamshi.

  • How to disable Internet Options using Group Policy Object?

    Dear everybody,
    Please tell me about how to disable Internet Options via group policy to Internet Options on Tool menu, Internet Options on Control Panel and Command control inetcpl.cpl?
    kea

    Hi,
    The location of this GPO in Windows Server 2008 should be:
    User Configuration\Administrative
    Templates\Windows Components\Internet Explorer\Browser menus
    Enable the Group Policy “Tools
    menu: Disable Internet Options… menu option”
    Hope that helps.
    Regards,
    Leo   Huang
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • I use migrate assistant to move files from my old pc to the new Mac , but it creates the user account. How can i delete the unwanted user account.

    i use migrate assistant to move files from my old pc to the new Mac , but it creates the user account. How can i delete the unwanted user account.

    Welcome to Apple Support Communities
    That's the classic behaviour after using Migration Assistant and that's normal.
    To transfer the data from the new user account to your old user account, you can follow some steps. Here is all the information you need to do this > https://discussions.apple.com/docs/DOC-5472

  • How can i delete my old user ID

    One month ago I change my Iphone4 for a new one Iphone6, a soon as I set up, I can not loading any new programs in to.

    Hi
    Do not work, appear my old ID and, that Account do not reconized my password
    Regards.
    Carlos
    Sourcing Specialist.
    Idex Corporation
    Phone: *******
    Enviado desde mi iPhone
    El 04/02/2015, a las 7:59, Apple Support Communities Updates <[email protected]<mailto:[email protected]>> escribió:
    http://www.apple.com/support/assets/images/external/emails/logo.gif
    You received a reply
    Briansyddall<https://discussions.apple.com/people/Briansyddall?ac_cid=op123456> has replied to your question. You can view the full discussion<https://discussions.apple.com/message/27606356?ac_cid=op123456#27606356> in Apple Support Communities.
    How can i delete my old user ID<https://discussions.apple.com/message/27606356?ac_cid=op123456#27606356>
    Hi  Did you use the same Apple ID toxset up new iPhone? Try a Reboot press & hold power button & menu button hold both down until you see Apple Logo. You may need to do this for upto 50 Seconds. Cheers Brian
    Correct Answer <https://discussions.apple.com/email/thread/6814340/correct/27606356> Helpful Answer <https://discussions.apple.com/email/thread/6814340/helpful/27606356>
    Use the buttons above to tell Briansyddall and the rest of the community if this reply solved your question or helped you get closer to finding a solution.
    To reply to Briansyddall, go to the discussion<https://discussions.apple.com/message/27606356?ac_cid=op123456#27606356> in Apple Support Communities.
    You are receiving this email from Apple Support Communities. You can change your email preferences in your Apple Support Communities Profile<https://discussions.apple.com/user-preferences!input.jspa>.
    TM and copyright © 2014 Apple Inc. 1 Infinite Loop, MS 96-DM. Cupertino, CA 95014.
    All Rights Reserved<http://www.apple.com/legal/> | Privacy Policy<http://www.apple.com/legal/privacy/> | Terms of Use<https://discussions.apple.com/docs/DOC-5952> | Apple Support<http://www.apple.com/support/>
    This e-mail is intended solely for the intended recipient or recipients. If this e-mail is addressed to you in error or you otherwise receive this e-mail in error, please advise the sender, do not read, print, forward or save this e-mail, and promptly delete and destroy all copies of this e-mail.
    This email may contain information that is confidential, proprietary or secret and should be treated as confidential by all recipients. This e-mail may also be a confidential attorney-client communication, contain attorney work product, or otherwise be privileged and exempt from disclosure. If there is a confidentiality or non-disclosure agreement or protective order covering any information contained in this e-mail, such information shall be treated as confidential and subject to restriction on disclosure and use in accordance with such agreement or order, and this notice shall constitute identification, labeling or marking of such information as confidential, proprietary or secret in accordance with such agreement or order.
    The term 'this e-mail' includes any and all attachments.
    <Personal Information Edited by Host>

  • How do I delete my old user completely?

    It's more complicated than just deleting a user.
    I've just upgraded my Mac to Yose mite and deleted my old User and created a new user.
    I went to preferences and Users & Groups and I've checked it, i only see my new user as Admin.
    Though when I shut down and turn my mac back on the first thing it opens is my old "deleted" user type in its password and wait a while for it to load then it goes to my new user and i have to log in with that to get to my Desktop Screen.
    I've even tried this website (http://support.apple.com /kb/TS3981) and went to where to told me and find my old user but it's not there. I've even went into my User folder and my old user isn't there.
    How do I delete my old User so when i turn on my mac and it goes straight to my new user and then i would type in the new users password etc and go into it skipping my old user?
    Please help! Thanks.

    Open the Sharing pane of System Preferences and change the computer's name.
    (23562)

  • How can i do a variable User exit that present the values before execute

    Hi Gurus,
    How can i do a variable User exit that present the values before execute, i need this:
    a variable that calculate SYS-DATUM until 30 days before (I got the code) but this  variable run automatic because is user exit, i want this variable but first present the values, not execute automatic, this is because the users want the report that automatic present the values , help

    Hi,
    Refer the below links,
    http://documentation.softwareag.com/natural/nat424mf/pdf/ops_mf/conf_usrex.pdf
    http://www.erpgenie.com/component/content/article/1097
    http://www.apentia-online.at/UP/Apentia/files/Article/SAP_BW_User_Exits_and_BAdIs.pdf
    Hope it helps you,
    Regards,
    Ravindra.

Maybe you are looking for

  • [SOLVED] Intel x3100 Laptop Video Card: which driver to use?

    I tried the xf86-video-intel package, but when I try to start X, it returns the "no screens found" error, with OR without a xorg.conf. Last edited by trusktr (2010-08-20 19:37:28)

  • Java6, tomcat6, ojdbc6.jar and hibernate 3.3

    We were running an application with Oracle 10g, tomcat5 and java5 with ojdbc5.jar and hibernate 3 without any issues. We recently upgraded to java6, tomcat6, ojdbc6.jar and hibernate 3.3. We created a new instance of the Oracle10g database. We are no

  • Adding fields

    HI experts, My task is i need include a vendor field in the FBL3N output. I have copied the standard program but i am no getting any idea how to add a vendor field. I already find the tables and logic the extract from the database table but i am not

  • What is Command/Import for?

    What does it import?

  • After updating iTunes and rebooting MacBook Pro does not reboot.

    So after installing the update of the new iTunes the system needed to reboot. Screen remains black, battery is full and even with connection to the power network. When pressing the power button you hear the system starts working but stops after unpre