on 2019 Oct 22 11:33 AM
I need to set validation on attachments in GRC access control flow GRAC_UIBB_ACCESS_REQUEST. How can I access the attachments added by the user to validate a condition before submitting the request.
Hi Rathish,
Required code logic in BADI to restrict attachments for access requests is in SAP note 2058231. However, in the latest versions this whole logic was missing and only the latest logic which SAP released via SAP Note 2580634 is available. Raise this to SAP as the logic should already be there.
Regards,
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rathish,
Can you provide more details on validation you are planning to implement?
If it is file type validation then it is already available as part of standard configuration parameters (Parameter 2401) which you can maintain and will be validated during request submission
Regards,
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhu,
Yes, it is file type validation. For this, I have tried using parameter 2401 as well but for that, I am facing a problem that I have the control never goes to the standard badi code i.e. IF_GRFN_DOCUMENT_BADI~BEFORE_CREATE of the class cl_grac_document_badi. But when I created an implementation for it then the control goes onto the implementation whenever the user presses the ok button while adding a new file in the attachment tab, it doesn't trigger on submission of the request. I need to implement a logic that should trigger at the submittion of the request.
User | Count |
---|---|
7 | |
5 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.