2012 May 16 10:47 AM
dear all,
is there any way so that we can restrict data eg. contract account, installation etc from edit option in CIC0 when we copy them in BD display. since on right click in BD display always edit option comes.
plz suggest.......
2012 May 16 12:04 PM
it is actually navigational area where BD display Exist,i want to remove edit option from there..........................
2012 May 28 9:03 AM
can we change component BD_DISPLAY which is used in the navigational area tab........
2012 May 28 5:32 PM
Hi Satyendra,
I had a look at the whole set up and call stacks and I think there is no direct customizing to control the EDIT functionality in the Context Menu. I am saying this because of the piece of code below in Class CL_CRM_CIC_BD_DISPLAY_WS and method HANDLE_CONTEXT_MENU_REQUEST.
People who have worked on CIC0 to a great extent might be able to help you with further work around but for me a simple usage BDT Authorisation objects.
GO to transaction BUS7 and Maintain another function module for the Event AUTH1. In this you can check for an Authorization Object and restrict the editing from the CIC0....
Hope this helps....
Regards,
Sitakant
2012 Sep 09 8:59 AM
Hi Sitakant,
Which FM need to be Maintained For the Event AUTH1.can u tell or any other way by which we can restrict Edit Option In BD display.
2012 Oct 09 10:40 AM
Hi Satyendra,
This will done with the help of ABAP. They have to create a custom enhancement at last in class CL_CTMENU and method ADD_FUNCTION and do the following code.
raise event changed.
* ...
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1) Class CL_CTMENU, Method ADD_FUNCTION, End A
*$*$-Start: (1)---------------------------------------------------------------------------------$*$*
ENHANCEMENT 1 ZCIC0_EDIT_MENU1. "active version
*
IF SY-TCODE = 'CIC0'.
DELETE ENTRYTAB WHERE FCODE = 'EDIT'.
ENDIF.
ENDENHANCEMENT.
*$*$-End: (1)---------------------------------------------------------------------------------$*$*
ENDMETHOD.
The issue will resolved.
Sandeep Jain