Delete/disable delete button in PA30

Hi
I transaction PA30 we want to remove/disable delete button.
How it can be done??
Pls help
Regards

Hi
I have done it using transaction variant. If anybody has same requirement please contact us,  I will send a step-by-step document.
Regards

Similar Messages

  • Help on disabling person button in PA30

    Hello Abap gurus:
    I got a requirement to disable(hide or remove) the person button which appears when i navigate in below manner:
    In Pa30 enter a person number and select IT 212 COBRA plans overview then select any record and go to change mode which displays a Tab script with four tabs namely(plan cost, costs, Dependents, and additional data) so Under Dependents tab there is person button which i need to disable.
    Please help in solving this issue.
    Thanks and Regards,
    Sravanthi.

    Shravanthi ,
    Here is the way to find out user exits and screen exits, go to PA30 and get the development class.
    Goto SMOD, press F4 in Enhancement field and put develpment class there.
    You will get the list of all the exits there.Here see whether the relevent screen exit is present or not. For implementing it generally documentation is provideed in SMOD.
    If not then search in OSS notes for the enhancement.
    <<text removed by moderator>>
    Regards,
    Vishnu Reddy ..
    Edited by: Matt on Mar 31, 2009 3:27 PM - Please read the Rules of Engagement.  Do NOT ask for points.

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

  • Disable Delete Button

    Hi All,
    In the menu Shopping cart Status, I could able to see all the shopping cart.
    Now the requierment is , DELETE button should be disable if there is any corresponding PO for that SC.
    Please let me know how to do this. I tried with BADI BBP_UI_CONTROL_BADI. But this will hide alll the SC's irrespective of PO's.
    Please let me know any other way to do this?
    I am working on SRM 5
    Regards,
    Nikhil V.Kumar
    Edited by: Nikhil V Kumar on Aug 30, 2010 1:58 PM

    Hi
    It will be too complex(if at all possible) to implement a solution for enabling/disabling delete button depending on the follow on document of the cart.
    I will recommend you to put some code in Check BADI which could check the follow on documents for a Shopping cart on Action DELETE and throw an error if someone tries to delete such shopping carts.
    Regards
    Virender Singh

  • Disable delete button in PO Modify transaction

    Hi
    I am new to SAP. I want certain user to prevent deleting PO line item in ME22N transaction (either by disabling delete button). Please let me know how go about it. thanks

    Hi,
       You may create a transaction variant in SHD0 for ME22N transaction and maintain the deletion  button as invisible as shown below:
       Activate the variant, and check again in ME22N.
       You can activate the variant to specific users who are not supposed to delete the item. Refer the doc: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a070bfbb-d34a-2d10-b092-ecbe0b0d4a4c?QuickLink=index&…
    Regards,
    AKPT

  • Disable delete button in ALV grid

    Hi Experts,
    I have a functionality to disable some buttons in alv grid such as delete row,cut,print etc.
    I know how to exclude them by using it_toolbar_excluding , but I need to disable them.
    Can you please let me know how to handle this.
    I am displaying the ALV grid by calling the method set_table_for_first_display.
    Thanks in Advance
    Prasanth

    Hi,
    By using below code you can disable any button in ALV display
    data : tool_wa_exclude  type ui_func.
      tool_wa_exclude  = cl_gui_alv_grid=>mc_fc_loc_delete_row.
    append tool_wa_exclude  to tool_it_exclude .
      call method grid2->set_table_for_first_display
        exporting
          it_toolbar_excluding          = tool_it_exclude
        changing
          it_outtab                            = it_ekpo
          it_fieldcatalog                    = it_fcat
        exceptions
          invalid_parameter_combination = 1
          program_error                           = 2
          too_many_lines                         = 3
          others                                        = 4.
    U need to pass tool_it_exclude internal table to  method for displaying

  • Disable Delete Button in Administrator Tab of OIM 11g

    Hi All,
    When we open a user in Administration tab, there are buttons like Lock/Unloc Account , Enable/Disable ,Delete button.
    I want to disable the delete button for all Users. No user should be able to delete the user in OIM.
    Please suggest an appropriate way....if any one has already tried....
    Thanks!!
    Awaiting Respose,
    Regards,
    T

    once login OIM with normal user it want allow you to disable/delete operation.
    Else for better usage use authorization policy. create a group/role and provide certain privilege to that group using authorization policy.
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Disable delete button in Table Maintainance Generator

    Hello all,
      How to disable delete button in Table maintainance generator???

    Hi Maya,
    It is very interesting question. If you debug your table maintenance screen, the program of table maintenance screen will not have statically defined pf status. So you cannot exclude delete functionalities using the below statement.
    SET PF-STATUS <the GUI status> EXCLUDING 'DELE'.
    For viewing pf status SAP has programmed in dynamic manner using this FM VIEW_SET_PF_STATUS.
    Before calling above FM you need to exclude delete function. Follow the following step for achieving this
    Go to sm30. Put your table name and press on maintain push button. It will display table entries in maintenance screen.
    Go to system->status
    Click on program name.
    Go to your flow logic of you table maintenance screen number.
    It will have following code in flow logic
    PROCESS BEFORE OUTPUT.
    MODULE LISTE_INITIALISIEREN.
    LOOP AT EXTRACT WITH CONTROL
      TCTRL_ZMAINTAIN CURSOR NEXTLINE.
       MODULE LISTE_SHOW_LISTE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
    MODULE LISTE_BEFORE_LOOP.
    LOOP AT EXTRACT.
       MODULE LISTE_INIT_WORKAREA.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        FIELD ZMAINTAIN-KUNNR .
        FIELD ZMAINTAIN-LIFNR .
        MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
       ENDCHAIN.
       FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        MODULE LISTE_UPDATE_LISTE.
       ENDCHAIN.
    ENDLOOP.
    MODULE LISTE_AFTER_LOOP.
    Add new module in PBO for excluding delete function. ex  module set_pf.
    PROCESS BEFORE OUTPUT.
    ****here I added my own code for excluding delete function
    ****begin of addion
    module set_pf.
    ****end of addition
    MODULE LISTE_INITIALISIEREN.
    LOOP AT EXTRACT WITH CONTROL
      TCTRL_ZMAINTAIN CURSOR NEXTLINE.
       MODULE LISTE_SHOW_LISTE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
    MODULE LISTE_BEFORE_LOOP.
    LOOP AT EXTRACT.
       MODULE LISTE_INIT_WORKAREA.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        FIELD ZMAINTAIN-KUNNR .
        FIELD ZMAINTAIN-LIFNR .
        MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
       ENDCHAIN.
       FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        MODULE LISTE_UPDATE_LISTE.
       ENDCHAIN.
    ENDLOOP.
    MODULE LISTE_AFTER_LOOP.
    *****inclule one line of code for excluding delete fucion
    module set_pf output.
          MOVE 'DELE' TO excl_cua_funct-function. COLLECT excl_cua_funct.
    endmodule.
    Basically sap fetching status dynamically from program SAPLSVIM using FM VIEW_SET_PF_STATUS. Status name is EULG.
    Please donu2019t hardcode anything by using set pf status statment, you just add one line of code the PBO by creating new module.
    Let me know if you need any help .
    Cheers.
    Regards,
    Peranandam

  • Delete and Junk Buttons Disabled

    I noticed today that the "Delete" and "Junk" buttons in Mail's toolbar have become disabled ("grayed out"), even with a highlighted message in the message list pane. (I use a "three-pane" configuration, if that matters.) All the other buttons (Reply, Reply All, Forward, New Message, Get Mail, Note, and To Do) work fine.
    If I open a message into its own window, those buttons are active.
    All buttons work fine on another computer running the same OS version. I haven't installed any updates in the last few days.
    Does anyone have any ideas about what might be going on or how I could fix it? Thanks for any ideas.

    This is strange. With only a reboot (no updates applied), those buttons are now working again.

  • Disabling delete button in service object list fom VA03

    Hi all,
    i want to disable the delete and change button in attachment list of service object list (GOS) IN T CODE  VA03.
    I have found that it can be done by modifying the method  CHECK_STATUS of class CL_GOS_SRV_ATTACHMENT_LIST,
    and then calling it in t code  SGOS.
    i have copied this class to a Z CLASS but unable to modify the method it asks for access key.
    any help is highly appreciated with example.
    thanks,
    pankaj gupta

    Hello,
    The authorizations in GOS has nothing to do with the authorization in
    application level, e.g. in VA03. In standard you can use the new
    authorization object S_GOS_ATT from SAP note: 1293080.
    Otherwise:
    A possible workaround could be the following:
    Without an authorization the attachments are only deletable by the
    owners or by users with sapoffice administrator authorization. If you
    do not give users this sapoffice admin authorization, than only the
    owners are able to delete the attachments. See SAP note: 552127
    (point 3).
    OR due to a modification some functionalities can be restricted.
    For more information you can read the SAP note: 491271.
    Regards,
    David

  • Disable "Delete" button only at project definition level

    Dear Gurus,
    Is anybody have any idea regarding how to disable "delete" button at project definition level (and remain enabled for phases, tasks,...)?
    I tried it through Web dynpro application, but it got disabled for entire hierarchy.
    Regards,
    Ravindra

    >
    Niranjan Dandekar wrote:
    > Hi Ravi,
    > I dont think its possible.
    > Why dont you try User Status with Delete forbidden
    >
    > if you dont want to use complex one, this status can be very simple like
    >
    Proj execution
    >
    > As it is After Release of Project, you wont be able to delete Project.
    >
    > Niranjan
    > Let me know if it helps!!!
    Hi Niranjan,
    Thanks for your reply,but i want to disable delete option at project defination level not at phase & task level when status is Transfred set to assign
    Is there any idea?
    Regards
    Ravi

  • How To Disable Delete Button on AR Customer Search

    hi Guru,
    How to Disable the Delete Button of AR Customer Search Form.

    Hi;
    Duplicate post, please make post once
    How To Disable update Button on AR Customer
    Regard
    Helios

  • Delete/Disable  Print HTML/pdf Button

    Is there a Script that can be used to delete/disable print HTML/PDF button the dashboard page. I dont want to make changes in the OBIEE File as it will be reflecting for everybody. Can we use any script to disable it for a page and enable it on some other page.
    Thanks

    hi you can create a new css style sheet for portalcontent.css and inin the A:link modify like A:link { color:#2b7c92; text-decoration: underline;display: none}
    you can add this into whatever page you want using edit dashboard> page properties> styles.

  • Disable DELETE Button for TMG

    Dear All,
    I have a TMG for one of the Custom DBT.
    In the maintenance screen, I want to delete the DELETE Button.
    Is this posible ?
    If yes, any help is appreciated !
    Regards,
    Deepu.k

    Hello Guy,
    Yes, I did the same.
    I used the following :
    a. Go to the TMG
    b. Go to the Maintenance Screen.
    c. Double click on the screen number.
    d. In the PBO write amodule : module disable_delete.
    e. module disable_delete output.
           excl_cua_funct-function = 'DELE'. "(function code for delete)
           append excl_cua_funct.
       endmodule.                 " disable_delete  OUTPUT
    It worked fine !
    Thanks,
    Deepu.K

  • Fnd:ApplicationsTable disable delete icon

    Hi,
    I have a question specific to the Applications Table icons (Delete, Edit). I need to conditionally disable 'delete' and 'Edit' Icons when a row is clicked within the table, based on the status of a record. How do I go about doing that?
    I tried to implementing somethings similar to this blog: It doesn't work since in my case, it is not a button. Any help is appreciated!
    http://andrejusb.blogspot.com/2007/04/create-edit-and-delete-operations-in.html
    Thanks,

    User, please tell us your jdev version!
    I guess you are using fusion applications, in which case you are posting in the wrong forum.
    Timo

Maybe you are looking for

  • Error while trying to register Skype free trial

    Hello, few weeks ago I got an Email that offering me a 30 days free trial of Skype call service to mobile and landlines number. In order to use this free trial, I clicked on the "Claim your free month of calls" link which was shown in the Email I got

  • How do you get rid of yellow triangular with ! in middle that appear against some of my bookmarks on my bookmark toolbar?

    I have yellow triangles next to some of my icons in my bookmarks and bookmark toolbar. They have an exclamation mafrk in them. It probably happens when there is difficulty connecting to them. But they hang around. How do you get rid of them even when

  • Credit management in sales order.

    Hi Experts:     In my project, the credit check is set on sales order.  We use the automatic credit check.     We face a problem like that, if the customer's credit is 0.01$ and the credit exposure is 0.00%. Then we create the sales order with amount

  • Operations on Text File - Encrypt, Decrypt, Password Protected

    Dear Experts, My requirement is to upload a text file  and do some operations on it and then encrypt the content in it ans save it on application server with password protected. Later i want to decrypt it. Please help me for the following: How to enc

  • New iphone software, no docking compatibility

    I have a few ipod docks in the apartment I am renting. with the old iphone operating system, I was able to dock my iphone and play music. Now with the new software, my iphone will not even recognize that it is plugged into something. Is there a fix f