‎2012 Oct 11 11:08 AM
Hi experts,
I want to disabled the buttons to create, modify or delete attachments, notes, ... in the transaction MM03.
It is possible?
thanks in advanced.
‎2012 Oct 11 12:01 PM
Try SHD0. You will have to copy the screens using this transaction and see if you can disable them.
‎2012 Oct 11 12:12 PM
Hi Lydia,
Please find the field name for that particular field then go to OMS9 and ctrl+F then chosse the hidd radio button i hope you can understand.
Regards
Sailesh
‎2012 Oct 11 12:31 PM
Hi,
Both options are not possible, because it's a list an not appear as a button or field that i can supress.
To create this list the system calls the method CL_GOS_SRV_ATTACHMENT_LIST.
Thanks anyway!
‎2012 Oct 11 1:13 PM
Use Badi GOS_SRV_SELECT.Place a check in method SELECT_SERVICES for the business object of material which is available in parameter IS_LPOR and append the functions to be hidden/disabled into ET_OPTIONS. The sample is available in class CL_EXM_IM_GOS_SRV_SELECT
DATA:ls_option TYPE sgos_sels.
if IS_LPOR-typeid = 'BUS1001006' and IS_LPOR-catid = 'BO'.
ls_option-sign = 'E'.
ls_option-option = 'EQ'.
ls_option-low = 'PCATTA_CREA'.
APPEND ls_option TO et_options.
endif.
Similarly for delete, display etc.
‎2012 Oct 11 2:37 PM
Hi Kesavadas,
I tried it, but it doesn't work. The system pass by this BADI and insert the new record in the internal table but I can create attachments, notes...
Thanks anyway!
‎2012 Oct 12 5:40 AM
Hi ,
It works fine for me, there might be some mistake in the way you implemented.
‎2012 Oct 12 7:25 AM
‎2012 Nov 08 2:20 PM
‎2012 Nov 09 2:44 PM