2014 Feb 11 3:11 PM
Hi,
There is a requirement where I have to disable only the Delete button available in the attachment list window of transaction FTR_EDIT based on the authorization of the user. I have gone through couple of threads which discuss about disabling create, delete and edit buttons considered together in the window. Please share your ides/findings to disable only the delete button rather than the set of buttons.
Regards,
~Athreya
Hi,
There is a requirement where I have to disable only the Delete button available in the attachment list window of transaction FTR_EDIT based on the authorization of the user. I have gone through couple of threads which discuss about disabling create, delete and edit buttons considered together in the window. Please share your ides/findings to disable only the delete button rather than the set of buttons.
Regards,
~Athreya
2014 Feb 11 6:14 PM
Hi Athreya
Can you please attach screen shot of this attachment stuff..Is it the GOS icon..? If yes then a simple search of disabled GOS delete functionality will provide you the answer
Nabheet
2014 Feb 21 10:24 AM
Hi Nabheet,
My requirement is to disable only the delete button. I have attached the screen capture of what I could do so far.
Here the buttons New, edit and delete have been disabled but I need only delete button to be disabled in the screen.
Appreciate your help,
~Athreya
2014 Feb 12 6:41 AM
Hi Athreya Hegde,
Please follow the below link, I get help from the same and i did GOS document upload for a recruitment Module...
GOS Toolbar Part 8 : Disable Delete Function in SAP
Hope it useful for you...
Thanks,
Vijay SR
2014 Feb 21 11:53 AM
Hello Athreya,
Try to find the screen number of the pop up screen and go to the GUI of that screen.
In the screen flow logic, using the INSERT modification, do your authorization check and disable the delete button.
Regards,
Thanga
2014 Feb 21 12:07 PM
Hello Athreya,
May be you need to find BadI to achieve this functionality. we have similar requirement in PP Tcode and we have achieved with the help of BadI implementation.
Regards,
Deepti
2014 Mar 23 8:13 AM
Hi,
Thank you all for your useful inputs. Seems like it is not possible to disable only the delete button without having effects on insert and edit buttons. I went through the ABAP code for the pop up screen and it is a standard implementation to consider all these button together for enabling or disabling.
Appreciate your help,
~Athreya
2020 Jan 10 10:15 AM
Hello,
I have disable/hide "Create / Change / Delete " button to GOS popup screen toolbar.
Followed below step :
1. Implemented BAdi : GOS_SRV_SELECT ,Method : SELECT_SERVICES : Inside this method we need to write logic to disable/hide any GOS toolbar button.
Sample Code :
ls_exclude_option-sign = 'E'.
ls_exclude_option-option = 'EQ'.
ls_exclude_option-low = 'PCATTA_CREA'. "Create attachment... APPEND ls_exclude_option TO et_options.
2. "PCATTA_CREA" : Get these values from table : SGOSATTR.
Ref: https://help.sap.com/saphelp_46c/helpdata/en/be/3fe63659241157e10000009b38f889/frameset.htm
~Pappu~