文章来自http://www.sapsky.com/html/2006-09/143.htm
4. How to restrict users for not changing some fields in T-code va02?
这个与顾客主数据、物料主数据不同,需要通过单独的t-code来实现。
There are two ways to do this:
- Make a transaction variant thru SHD0 and assign it to your sales doc. While creating the variant you can place non-changeability ticks on specific fields. Next allow those users only to work with your transaction variant but not with the original transaction.
- You could make use of user-exit FORM USEREXIT_FIELD_MODIFICATION in include MV45AFZZ (via authorization objects, which you can assign in role customizing).
The latter is more flexible but it is not feasible if you want to place restrictions to a large amount of fields. *-- Sabir
5. How can we delete the Sales Orders?
How can an invoices be cancelled or deleted?
You can very well delete sales order using transaction VA02, but with a constraint that no subsequent document is created against it.
Invoice can be cancelled using T cose VF11 and then you can reverse the Goods Issue using VL09 and making the picking quantity zero in the deivery document and delete the delivery order using VL02n . You can then delete the sales order then.
*-- Vaibhav
You cannot delete an Invoice. You can only cancel it with (VF11) if the relevant accounting document is not been generated. Ask your FI guy to reverse the accounting doc. Only after the accounting doc is reversed and/or deleted, you can cancel your invoice. You also need to check if any TAX documents are generated with your Invoice. You need to reverse/delete those documents also. *-- Ganeshan.D