06-10-2010 10:27 AM
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
06-10-2010 11:17 AM
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
06-10-2010 11:17 AM
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
06-10-2010 1:10 PM
>
> Analyze the trace report, you will get the Authorization Object
there is no authorization object for shipping conditions
06-10-2010 1:09 PM
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
06-10-2010 2:10 PM
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
06-10-2010 2:26 PM
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
06-10-2010 6:58 PM
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
07-05-2010 1:23 PM
07-06-2010 6:03 AM
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
07-06-2010 8:20 AM
Hi
i used User-exit FORM USEREXIT_FIELD_MODIFICATION in includes MV45AFZZ to fix this issue
Regards
Sri