2013 Jul 29 10:07 AM
Hi all,
I'm using the FM SRM_DOCUMENT_DISPLAY to display some documents, the problem is the user can remove the content of the document using the button Versions->Remove content.
Is there any way to deactivate this button or the option "Remove Content" ?
Thanks in advance.
Regards,
Pedro.
2013 Oct 01 4:08 PM
Hi all,
In the end we solved the problem creating an enhacement point at the end of method (IF_SRM_SP_BDV_SPECIAL~GET_SPECIAL_FUNCTION_LIST) in the class CL_SRM_SP_DOCVIEW_GE.
We put autorithy-check to validate if the user have autorization to remove content or not.
In the parameter VALUE( EX_FUNCTION_LIST ) there are all the available function codes, is you want to remove one of them you need to set the field Disabled to X.
Regards.
Hi all,
I'm using the FM SRM_DOCUMENT_DISPLAY to display some documents, the problem is the user can remove the content of the document using the button Versions->Remove content.
Is there any way to deactivate this button or the option "Remove Content" ?
Thanks in advance.
Regards,
Pedro.
2013 Oct 01 4:08 PM
Hi all,
In the end we solved the problem creating an enhacement point at the end of method (IF_SRM_SP_BDV_SPECIAL~GET_SPECIAL_FUNCTION_LIST) in the class CL_SRM_SP_DOCVIEW_GE.
We put autorithy-check to validate if the user have autorization to remove content or not.
In the parameter VALUE( EX_FUNCTION_LIST ) there are all the available function codes, is you want to remove one of them you need to set the field Disabled to X.
Regards.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |