on 08-06-2018 1:47 PM
Hi All,
i want to make sales office and sales group in VA05 parameters, read-only for specific users.
but system does not let me to make a variant through SHD0.
the business requirement is that i need to seperate users access to VA05 based on sales office and sales group. so i want to fix sales office and sales group and make them read-only, so user can always get VA05 report in related sales office and sales group.
This is not VA05, this is VA05N, from what I see. Unlike VA05, VA05N is just a report (SD_SALES_ORDERS_VIEW). You don't need to use SHD0 for this as you can simply create a custom transaction in SE93 for the report and selection variant.
However, this is a rather lame protection as this won't prevent the users from changing the variant or just using a different variant as soon as they get to the transaction.
If you're really serious about this then I'd suggest to search for a user exit / BADI / enhancement option in VA05N where you could plug in your own authorization check. This would be a more secure option, as well as more helpful to your security admin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Jelena,
thanks for your response. this system is S/4HANA 1610 and in this system VA05 looks like VA05n in ECC.
you mentioned "this is a rather lame protection as this won't prevent the users from changing the variant or just using a different variant as soon as they get to the transaction.", and that's why i am looking for a solution not to let user to change variant or to assign variant to user.
Please make a note of the SAP version in the original question. This will allow to avoid a lot of confusion. S/4 is still not as wide-spread, at least among the SD forum visitors here, so most people (me including) will assume that the question is about ECC 6, unless noted otherwise.
If it's S/4 HANA then I guess another question would be why not use Fiori app or something where you could customize this?
In general, the second part of my answer is still valid for S/4HANA though. The right way to manage this is not by disabling the fields and creating a transaction code for each sales group (or any other org unit) but by adding an authorization check at the point where SAP allows you to make a custom enhancement. In S4 I'm just not sure where exactly that would be and I guess this would also depend on whether it's on-premise or cloud version.
You might want to add S/4HANA and ABAP tag to get different answers. This is not really an SD question.
As rightly pointed by Jelena, please use appropriate tag so that it will get the attention of right experts. I have included the HANA tag on your behalf
Hi Nava Agi,
In Standard Program in Change Mode at Top you can find Insert Button where you can go and add your Code.
and also after adding that code you can even make the input in Disable mode.
if it is really a critical requirement you can take ABAPer help to perform this activity.
Regards,
Shekar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check whether the user parameter SD_VARIANT_MAINTAIN is maintained in SU01 with value A or U
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.