cancel
Showing results for 
Search instead for 
Did you mean: 

How to access the Attachment tab in GRAC_UIBB_ACCESS_REQUEST component in GRC

rathish6
Explorer
0 Kudos
419

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.

View Entire Topic
madhusap
Active Contributor
0 Kudos

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

rathish6
Explorer
0 Kudos

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.