Skip to Content
author's profile photo Former Member
Former Member

WS14000133 Shopping Cart approvers can be modified.

Hi SRM Gurus,

I'm currently working with SRM_SERVER 500(SAPKIBKS09) release, we are using Approval Shopping Cart n-Level (BADI) workflow. Today we discovered that the requester is able to change any approvers that are propose by system. How can we restrict this functionality !?

Cheers,

Raphaë

Add a comment
10|10000 characters needed characters exceeded

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2006 at 09:01 PM

    I worked with Monique and our solution was to modify the BADI SAP_CHNG_AGNT_ALLOW method AUTHORISE_FOR_CHANGE.

    METHOD if_ex_bbp_chng_agnt_allow~authorise_for_change.

    • ------------------------------------------------------------------- *

    • IV_OBJECT_ID TYPE CRMD_ORDERADM_H-OBJECT_ID OPTIONAL

    • IV_OBJECT_TYPE TYPE CRMD_ORDERADM_H-OBJECT_TYPE OPTIONAL

    • IV_GUID TYPE BBP_GUID_32 OPTIONAL

    • IV_WORKITEMID TYPE SWR_STRUCT-WORKITEMID OPTIONAL

    • IV_MODE TYPE CHAR1 OPTIONAL

    • IV_USER TYPE SYST-UNAME OPTIONAL

    • IV_SCENARIO TYPE BBP_SC_SCENARIO OPTIONAL

    • IV_TASK TYPE SWD_STEP_T OPTIONAL

    • IV_ACTIVITY TYPE SYUCOMM OPTIONAL

    • EV_ADD_BUTTONS_DISABLED TYPE CHAR1

    • ------------------------------------------------------------------- *

    *{ INSERT

    • To restrict user to change an approver during approval process.

    • In approval preview, if user clicks on approver's name,

    • user will get details of approver at the bottom of the screen with a 'Change' button.

    • We would like to disable this 'Change' button.

    EV_CHNG_BUTTONS_DISABLED = 'X'.

    *} INSERT

    ENDMETHOD.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      We did not disable the feature to add approvers/reviewers. We want users to be able to add approvers/reviewers, just not change them. We removed the ability for the users to change the approver. In the approval preview, if you click on the approver, it gives you more details below the preview section. There was a button "Change" there that allowed the users to change the approver.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2006 at 09:24 PM

    Rafi,

    You can restrict this authority by maintaining a High "1" or "4"...(i dont have a system in front of me)authorization level for all users in the personalization tab of their user profiles. Also you can take a look at the BBP_WFL_SECURITY BADI. I dont know the exact name but something like that, which might suit your requirement.

    Standard is to maintain the security level at the user profile level in the personalization tab.

    PLease assign points for usefull answers !!

    Sundeep

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2006 at 06:02 AM

    Hi,

    The BBP_WFL_SECURITY parameter controls whether the user can change the SC.But for changing the Approvers,you have the ADDAPRROVERS/REVIEWERS Buttons which you will have to disable /remove the ADD APPROVERS button in the Approval Preview screen if you wnat to resrtrict the user from changing the Approvers.For this you will have to modify the Approval preview template.

    BR,

    Disha.

    Pls reward points for helpful answers.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2006 at 06:52 AM

    Hi Disha, Sundeep,

    Thx for your helpful answers, I've checked BBP_WFL_SECURITY parameter on user level and currently it's set to '0-Not Defined' for all requesters.

    Mainly we want to authorize users to add additional approvers/reviewers if needed, but what we want to restrict is that enduser can modify/overwrite the approvers proposed by system.

    And right now in SRM application, when you edit details (by switching the Approval preview to 'Display as Table') from any approvers you are able to change it completely. That's dangerous !

    I think you're right the only way to restrict that is to change Approval preview template. I don't know if we can do this over screen variants ? Do you know in which template I can find this !?

    Cheers,

    Rafi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 27, 2006 at 01:18 PM

    Hi Monique,

    This sounds very interesting to me.

    Yes, please could send me this information.

    Many Thx

    Rafi

    Message was edited by: rafi jermann

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 02, 2006 at 09:46 AM

    Hi All,

    Many thanks for your help !!! Problem's solved.

    My request was very similar to Monique's description.

    Now with implementation of this BAdi BBP_CHNG_AGNT_ALLOW~AUTHORISE_FOR_CHANGE our workflow process is more secure ! Thanks again to Li for his technical description that help me a lot.

    Definitevely I like really this Forum ... you're great !

    Cheers,

    Raphaë

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.