Skip to Content
avatar image
Former Member

Access to change WCD Approvals from WCT4 and/or WCT8

Hi ,

I don't know if this is correct forum for WCM related  queries.

If Yes,

I have requirement as Below:

Currently only those users who have change access to WCDs have access to update the approvals on a WCD.  The Business has requirement that would allow certain users who only have display access to WCDs to be able to update WCD approvals. 

Approvals can be accessed through the standard WCT7/8 t-codes or via a WCD list edit (WCL3/4).

WCT7/8 WCD Approvals:

WCM1 pic.

Selecting the approval for a WCD will display the approvals for that WCD:

WCM2 pic.

My Assumption:

Can we use this as a way to access the Approvals for a WCD in change when the user only has display access?  (Special authorization object or security profile?)

Please share your thought and way we can fulfil this requirement.

Thansk
Avnikant Singh

WCM2.png (19.9 kB)
WCM1.png (21.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Oct 29, 2015 at 04:11 PM

    Greetings Avnikant,

    Interesting query! There is no t-code for WCDs akin to IPM2 for us to use... In principle, if you want to change the Approvals on a WCD, then the user would have to have the access to Change the WCD. I feel it will not be possible to segregate this based off the standard.

    One possibility could be to try to record an SHD0 Transaction Variant of the t-code WCT7 and disable or hide all the fields and function codes, apart from the one relevant for the Approvals.

    Another possibility is to use BADI_WCM_WCMOBJ and see if you could use methods such as CHANGES_FORBIDDEN, FCODE_DEACTIVATE, FUNCTION_AUTHORIZATION_CHECK, SAVE_CHECK to prevent certain users from changing fields or accessing function codes. I expect a custom authorization object would also be required.

    PS. Thank you for the good word, Jogeswara Rao Kavala! 😊

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 23, 2015 at 04:21 PM

    Hello avnikant,

    You are in right forum for your query. You may wait for @Sebastian Lenartowiczwho I consider is the command on WCM related queries.

    Good luck

    KJogeswaraRao

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 30, 2015 at 02:03 PM

    Hi Avnikant,

    Another option can be SAP GuiXT which can help in such cases which requires Role specific user interface , in this case the approval screen 5100   GuiXT calls in the background to function BAPI_USER_GET_DETAIL and extract the current user role to be available to GuiXT so  you can   query in the GuiXT script on the user role   ,This solution works whether access the approval button from WCL3 or from WCT7


    //saplwcfg.5100.txt
    
    if not  Q[Role=SAP_WCD_APPROVE]        //replace this role with your approvers role
      noinput T[SAPLWCFG_TCTRL_5100]    //display all approval table
      del P[/11]                        //remove the save pushbutton in the toolbar
      del P[/30]                        //remove the issue pushbutton in the toolbar
    endif
    
    
    
    


    Before GuiXT:
    
    

    After GuiXT

    see more information about the above functionality in :Role specific user interface

    this functionality dose not requires InputAssistance license .


    Regards,

    Ziv


    Add comment
    10|10000 characters needed characters exceeded