Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MM03 - List attachment - Disabled button delete/create/modify

0 Likes
2,464

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.

9 REPLIES 9
Read only

Former Member
0 Likes
1,912

Try SHD0. You will have to copy the screens using this transaction and see if you can disable them.

Read only

Former Member
0 Likes
1,912

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

Read only

0 Likes
1,912

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!

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,912

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.

Read only

0 Likes
1,912

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!

Read only

0 Likes
1,912

Hi ,

It works fine for me, there might be some mistake in the way you implemented.

Read only

0 Likes
1,912

That should work fine, but you may have forgotten to forbid some codes, check in table sgosattr to identify codes to be disabled. (or forgotten to activate implementation ?)

Regards,

Raymond

Read only

0 Likes
1,912

How do you make it? Please explain.

Read only

0 Likes
1,912

Just execute SE16n on table sgosattr to get the whole list of options.

Regards,

Raymond