cancel
Showing results for 
Search instead for 
Did you mean: 

display parameter field in VA05

former_member363844
Participant
0 Kudos

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.

siva_vasireddy2
Active Contributor
0 Kudos

hi,

Apart from the variant created for VA05N you better need to restrict the sales offices and sales group at user authorization level i.e at User Id in Org elements.

Accepted Solutions (0)

Answers (3)

Answers (3)

Jelena
Active Contributor

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.

former_member363844
Participant
0 Kudos

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.

Jelena
Active Contributor
0 Kudos

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.

Lakshmipathi
Active Contributor

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

mantrishekar
Active Participant
0 Kudos

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.

Lakshmipathi
Active Contributor
0 Kudos

Check whether the user parameter SD_VARIANT_MAINTAIN is maintained in SU01 with value A or U

former_member363844
Participant
0 Kudos

Hi Lakshmipathi

SD_VARIANT_MAINTAIN is set, and i can create variant. the problem is that i cannot set created variant as "default variant" for all/some users.