Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Security object for shipping conditions (T-Code VA02-sales order)

Former Member
0 Kudos

Hi

I need to gray out filed-VSBED (shipping conditions) in T-code VA02 (sales order change) for users, what could be the security object to be used for this requirement?

Regards

sri

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Sri,

You can check this with Trace ON in ST01. Assign the user VA02 & ask the user to perform the activity. Analyze the trace report, you will get the Authorization Object

9 REPLIES 9

Former Member
0 Kudos

Hi Sri,

You can check this with Trace ON in ST01. Assign the user VA02 & ask the user to perform the activity. Analyze the trace report, you will get the Authorization Object

0 Kudos

>

> Analyze the trace report, you will get the Authorization Object

there is no authorization object for shipping conditions

Former Member
0 Kudos

Can we know your requirement?

As such you cannot mask individual fields using authorization objects, it could be done via modifying the ABAP code - If you let us know what you want to avheive, maybe there could be some solution

0 Kudos

Hi

Requirement is to control few user access in change mode(VA02) for shipping conditions field. In VA02 shipping condition field should be in grayed out , i men it should be in display mode only for those certain users.

This control will apply only for few users and we can to control it though roles. ABAP code change will apply for all users .

Regards'

Sri

0 Kudos

The functional requirement till doesnt seem very clear to me , why would someone want to grey this field? (unless you have a strong case that you use different document types for normal orders, express deliveries, normal service, free of charge and a whole lot of possibilities)

Your SD consultant should guide and let you know that:

Shipping conditions are defined in customizing

you can eithe assign particular shipping conditions to particuar sales document types to make it as a default

(or) you can have the shipping conditions defined in the customer master

  • the ones set up in SPRO take a preference, but as you rightly noticed - if a use wishes to change the shipping conditions proposed by the system he would be able to do that, and this CANNOT be controlled with authorization objects

The only option you would have, is to find out if the users who are not suppposed to change the conditions beong to the same user group (or make a logical assesment on the common binding feature in the set of users)

then evaluate if you want to make the program changes such that the changes affect only the particular set of users

Note: Changes you make in ABAP do not necessarily apply to the complete user base - it depends on how well you analyse and plan the requirement

former_member275658
Contributor
0 Kudos

To add,

Go to tcode SU24 , put tcode VA02 and execute. It will give you a list of auth objects. Please see the auth objects which are checked as "yes" it will give you idea of which auth objects are checked by this tcode VA02

Former Member
0 Kudos

N/a

Former Member
0 Kudos

Hi Sujana

V-KOND_VEA could be the object which you are looking for maintain the values as per your requirement and test it

Please let us know the results

Regards

Santosh Varada

0 Kudos

Hi

i used User-exit FORM USEREXIT_FIELD_MODIFICATION in includes MV45AFZZ to fix this issue

Regards

Sri