Skip to Content
Author's profile photo Jatin Grover

Customizing Access request and approval screens in GRC Access Control

A common need for many companies is to customize access request and approval ABAP Web Dynpro screens of 10.0 and 10.1 based on the business requirements. Though the IMG customizing in SAP GRC access control provides some alternative to accomplish this, there is another Web Dynpro feature which can be utilized to do additional screen modifications without any additional coding effort for all the users.

Below steps would explain it for access request submission and approval screen:-

Access Request Submission

1. Go to Transaction SE80 and Open package GRAC_ACCESS_REQUEST.

step1.PNG

2.  Drill down to Web Dynpro->Web Dynpro Application

step2.PNG

3. Select the application GRAC_OIF_REQUEST_SUBMISSION and double click

step3.PNG

4. From the menu choose Web Dynpro Application-> Test -> In Browser – Admin Mode

/wp-content/uploads/2013/09/step4_273566.png

5. Hiding Field/Tab

       i. Place the cursor at the field or the tab that needs to be customized and right click and choose ‘Settings for Current Configuration’.

/wp-content/uploads/2013/09/step5_273568.png

ii. Change the Visibility property to ‘Invisible’. Save and Close.

    step6.PNG

step7.PNG

6. Customizing ALV

    

i. Place the cursor at the ALV to be customized e.g. ALV under User Access tab and right click and choose ‘Settings for Current Configuration’.

/wp-content/uploads/2013/09/step8_273600.png

ii. Add/Remove columns, change sequence etc. Save and Close

step9.PNG

8. Above steps can also be done for other UI elements present on pop ups that open through access request submission screen like: Existing Assignments etc.


7. Launch the access request submission through NWBC to see the effects

step10.PNG

Access Request Approval

Modifying access request approval screen is little tricky as it requires as GUID to be passed externally in the URL, apart from that the other steps are similar to access request submission explained above.

1. Go to Transaction SE16 and Enter table name as GRACREQ, enter any request number in REQNO field.

step11.PNG

2. Click execute button and copy the value of field REQ_ID


step12.PNG

3. Select the application GRAC_OIF_REQUEST_APPROVAL and double click

STEp13.PNG

4. From the menu choose Web Dynpro Application-> Test -> In Browser – Admin Mode

STEP14.png

5. Below dump screen will be launched initially.

STEp15.PNG

6. Append the string &OBJECT_ID=ACCREQ/<REQ_ID copied in step 2> e.g. &OBJECT_ID=ACCREQ/4CC001105B2A42DCE10000000A421B2B in the URL displayed in Step 5. Approval screen should be launched correctly after that.

step16.PNG


7. Customize the UI similar to how it was done for access request submission screen.

The above process can be done for any Web Dynpro application. To find the Web Dynpro application name, right click on any ABAP Web Dynpro screen and choose option More Field Help.

step17.PNG

Assigned Tags

      39 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Sue Cockrell
      Sue Cockrell

      Hello Jatin, 

      Can changes made in this fashion be made visible in the EUP Templates on GRC 10?

      Thank you,

      Sue

      Author's profile photo Jatin Grover
      Jatin Grover
      Blog Post Author

      Hi Sue,

      EUP templates work independently of webdynpro personalization.

      regards,

      Jatin

      Author's profile photo Former Member
      Former Member

      Dear all.

      I have already read this thread about how to perform a change at WebDynpro level for all the users:

      http://scn.sap.com/community/grc/blog/2013/09/04/customizing-access-request-and-approval-screens-in-grc-access-control

      I am really interested in how to modify the Approval screen not the Request Screen. And my requirement is modify Approval Screen for only certain users.

      What i want is when a user open their tasks the new pop-up window opened is the Z screen Approval.

      Captura.JPG

      So what i have done is i have created a new Z application for GRFN_POWL_INBOX and then i put this application into a Link for my Launchpad.

      ZAPPLICATION2.JPG

      I have also created a Z application for the Approval screen. The i have a Z screen for Work Inbox and another Z screen for Approval screen. The problem is i don't know how to link this new Approval screen with the Work Inbox screen. I want when i push the button over a task the Z window is called instead of the standar one as you can see into the image below:

      URL.JPG

      Kind regards and thank you.

      Sara.

      Author's profile photo Former Member
      Former Member

      Hi Sara,

      Refer this blog which might help you to enhance the screen.

      Thanks

      KH

      Author's profile photo Former Member
      Former Member

      Hi Katrice.

      Thanks for your indications.

      However i am not an expert over this topic and the only thing i would to do is when you push over a task into the Work Inbox then it should be open the Z application instead of the standar.

      How could i link this?

      Kind regards and thank you again.

      Sara.

      Author's profile photo Former Member
      Former Member

      Hi all.

      Any additional idea?

      Kind regards and thank you.

      Author's profile photo Former Member
      Former Member

      Hello Jatin,

      Any chance of getting "UserGroup" at Header level within the form?

      Author's profile photo Jatin Grover
      Jatin Grover
      Blog Post Author

      Hi Harinam, frankly it will not serve the purpose of new design which enables specifying user group for multiple system in single request.

      You can explore the option of User defaults if you have fixed set of user groups with some criteria for assigning them.

      Author's profile photo Former Member
      Former Member

      Hello Jatn,

      Is it possible to change Request For dropdown List i want to display only Self and Other.

      And how can i do that, i think there is not customization on that or where do i assign texts?

      Thanks

      Author's profile photo Former Member
      Former Member

      Hi Jatin,

      I followed the steps provided in your blog.And following is the issue which i'm facing,

      I appended &OBJECT_ID=ACCREQ/REQ_ID to the url and it opens me the approval screen,but it does not have submit button.But when i open the same from workinbox,it shows me all buttons.

      PFB the snapshot for reference.

      Screen opened by appending OBJECT_ID to URL.

      Capture.JPG

      Screen opened by click of link in workinbox.

      Capture1.JPG

      Pls help me to resolve the issue.

      Thanks

      Katrice

      Author's profile photo Jatin Grover
      Jatin Grover
      Blog Post Author

      Hi Katrice,

      if you check the last screen shot by me, it also doesn't shows the submit button as the request in this way is opened in display mode.

      Any specific reason why you want Submit button as the customizing of the screen will work without that as well.

      Regards, Jatin

      Author's profile photo Former Member
      Former Member

      Hi Jatin,

      I have a requirement where i have one custom webdynpro component in which i have button. On the click of that button, i need to open the approver screen(same screen opened by clicking the link in workinbox) so that the approver can approve the request.

      Thanks

      KH

      Author's profile photo Former Member
      Former Member

      Hi Jatin,

      From which table we will get workitem id for the particular request?

      Thanks

      Katrice

      Author's profile photo Neeraj Agarwal
      Neeraj Agarwal

      HI Katrice,

      You can find it in GRACREQ table.

      Regards,

      Neeraj Agarwal

      Author's profile photo Former Member
      Former Member

      Hi Jatin,

      My issue resolved.Solution is posted in this thread . Thank you very much for your prompt reply.

      Thanks

      KH

      Author's profile photo Former Member
      Former Member

      Hi Jatin

      This is excellent posting. Would you be able to provide the steps to un-hide the same field which was made hidden as per the blog.

      Thanks

      Snehal Pandya

      Author's profile photo Jatin Grover
      Jatin Grover
      Blog Post Author

      Hi Snehal,

      Follow the same steps till step 4 - ii and instead of Invisible select Not personalized option to make the field visible again.

      Regards, Jatin

      Author's profile photo Mamoon Rashid
      Mamoon Rashid

      Hello Experts,

      Can we hard code Role Type as Composite role in Role Search screen of access request submission page.

      Thanks,

      Mamoon

      Author's profile photo Former Member
      Former Member

      Hi Mamoon

      You need to implement SAP delivered BAdI -

       

      GRAC_ACCREQ_SEARCH_CRITERIA (System & Role Type defaulted)

      With this BAdI you can default Role type in your Access Request.

       

      Default values for search parameters appearing on Role search of Access Request

       

      Enhancement Spot:

      GRAC_ACCREQ_SEARCH_CRITERIA

       

      BAdI Definition:

      BADI_GRAC_ADDNL_SEARCH_CRIT

       

      Description: Implementing this BAdI allows the customization of default search

      parameters that appear on searching roles from access request. With this

      Access Request search can be made easier and faster for the user.

      All the parameters that are added via this implementation will appear as default

      search parameters on Role search Screen

       

      Just like any other ABAP object, you may need to transport this to Prod.

      This is the only solution to your requirement.

      Hope this helps.

      Thanks

      Snehal Pandya

      Author's profile photo Former Member
      Former Member

      Dear all.

      Is it possible to set this configurations per user and not for all of them?

      I mean (scenario):

      1. User A can see specific buttons
      2. User B can see another buttons

      If it is not possible with this tip, is it possible to set this configuirations witht the Launchpads? Can i create menu and modify event the buttons the users can see?

      Regards.

      Author's profile photo Former Member
      Former Member

      Hi Sara

      Applying BAdI is just going to enable some default values in search criteria. It has no impact on the buttons you mentioned. If you need user specific selection criteria, you may use variants.

      This may help you.

      Cheers!!

      Snehal Pandya

      Author's profile photo Former Member
      Former Member

      Jatin,

      No doubt this is good stuff...thanks for that...but when I browse on my system I only see these WD apps...any idea where I can find the Access Request form.

      I'm trying to hide tabs in my Access Request form.

      Capture.PNG

      Thanks

      Rajiv

      Author's profile photo Jatin Grover
      Jatin Grover
      Blog Post Author

      Hi Rajiv,

      Looks like your GRC system is on NW 731 or 740. Please check the node 'FPM Applications' instead of webdynpro applications.

      Let me know if you're still not able to find the application.

      Regards, Jatin

      Author's profile photo Former Member
      Former Member

      Yes Jatin...we're on NW 740 v1100 GRC 10.1 and I did locate it like you said...thanks a lot...let me work on hiding these tabs...will get back if I get stuck...regards rajiv

      Author's profile photo Former Member
      Former Member

      Jatin,

      Thanks I was able to hide the tabs...now I only have User Access tab & Attachment tab...but when I hit submit it asks me to enter Last Name & Email...and it should not because I don't have that user details tab.

      I've also created my own EUP a copy of SAP and made Last Name & Email as NOT mandatory.

      Do you know how to make the request NOT ask for Last name & Email id for the access request.

      Rajiv

      Author's profile photo Jatin Grover
      Jatin Grover
      Blog Post Author

      If you are using access request then by default it uses 999 EUP so you have to change the field property in 999 EUP.

      In case you are using template based request, then it might be possible that the custom EUP has some problem. To verify this, go to SE16 and enter table name as GRACEUPCONFIG and enter the EUP number. In the column CONTEXT_FNAME check whether there are any values or not, if not then implement note 1713880.

      Author's profile photo Former Member
      Former Member

      Jatin Im not using EUP999 I created my own EUP 111 and nothing is mandatory...except for a few things which are not causing the issue.

      Anyway the issue now is that when I select the drop down REQUEST FOR 'OTHER' it works fine but when I select 'SELF' it forces me to put the Last Name & Email even tough in EUP 111 the fields are NOT mandatory.

      Any thoughts.

      Author's profile photo Jatin Grover
      Jatin Grover
      Blog Post Author

      Hi Rajiv,

      I would recommend raising an OSS for the same as it needs to be debugged and checked in detail.

      Regards, Jatin

      Author's profile photo Former Member
      Former Member

      G'Day Jatin,

      Thank you for the amazing document Jatin. This has been bugging me for days and Thanks to Alessandro (who uploaded this document in his blog) and to you for creating it, I finally know how to customize AR Forms and a myriad of other things I'm yet to explore in SE80.

      To second 'Picho's' question earlier, I would appreciate it if you could explain how to restrict what gets shown in the drop down menus (Request Type, Request For etc) please. Is there an option just like the one you explained in this blog?

      Regards,

      Leo..

      Author's profile photo Jatin Grover
      Jatin Grover
      Blog Post Author

      Leo, you can check auth object GRAC_REQ.

      or you can handle it through code but UI customization for drop down value is not possible.

      Author's profile photo Former Member
      Former Member

      Thanks Jatin. Appreciate it.

      Cheers

      Leo..

      Author's profile photo Former Member
      Former Member

      Hello Jatin,

      thank you for this great document!

      I have a question, i wanna enhance the risk analysis report with fields from a diffrent source (diffrent table, Excel is also possible or a api Report).

      Thank you a lot for your help!

      Author's profile photo Former Member
      Former Member

      Dear all.

      i was following these recomendations however i cannot see the way to performa a change:

      I would like to change the name of the Role inside the button Add by another custom Name. Please see screenshot below:

      modificationRole.JPG

      Is this feasible thorugh NWBC or it requires programming changes?

      Any idea how to perform this?

      Regards and thank you.

      Author's profile photo Nihal Shetty
      Nihal Shetty

      Dear All,

      How do we remove the mandatory option for a field?

      I tried to hide this field , but while submitting the access request , the field pop out again marked as mandatory.

      Mandatory field.JPG

      Author's profile photo Alessandro Banzer
      Alessandro Banzer

      Nihal,

      you can do specify that in the End User Personalization in customizing (SPRO). Search for EUP and you will find tons of helpful material.

      Regards,

      Alessandro

      Author's profile photo Nihal Shetty
      Nihal Shetty

      Hi Allessandro,

      As far I know EUP can be specified for template based requests or for any paths triggered after submitting requests. Correct me if am wrong.

      Can you help me how can I specify a EUP for access request created through  Access request >> Access request creation

      Acces srequest creation.JPG

      Regards,

      Nihal Shetty

      Author's profile photo Alessandro Banzer
      Alessandro Banzer

      Dear Nihal,

      first of all this is a document and not a discussion thread. Please move your questions into a proper thread in the future.

      Anyways, Access Request Creation uses the EUP 999.

      Regards,

      Alessandro

      Author's profile photo Nihal Shetty
      Nihal Shetty

      Hi Alesandro,

      I will make sure my questions are raised on proper thread.

      Thanks for the suggestion, EUP 999 worked for me.

      Regards,

      Nihal Shetty

      Author's profile photo Former Member
      Former Member

      Hi

      Can any one help me how to increase the length of characters for Description maintained in Access request template.  Do we need customization or we can change through configuration settings in the application type GRAC_OIF_REQUEST_TEMPLATE.

      Thanks&Regards,

      keans