Hi, You could also use USEREXIT_SAVE_DOCUMENT_PREPARE in program MV45AFZZ. With the relevant coding in the userexit, the system would check if the Pricing date is equal to the system date and ONLY then save the sales order. You could also have a popup, if Pricing date is not equal to the system date.
| | | ---------------Original Message--------------- From: Mike Kriley Sent: Thursday, December 08, 2011 12:38 PM Subject: How to Prevent Changes from 'Pricing Date' in the Creation of a Sales Order When creating a sales order I don't want customer service the ability to change the "price date". The "validity period" has to be when the sales order is created. For example: Today's date is 12/08/11 Validity periods 01/01/11 to 12/31/2011 $100/ 1 kg 01/01/12 to 12/31/9999 $110/ 1 kg Create a sales order today and the price shows $100 / 1 kg because the "price date" defaults to today's date. But if I change the the "price date" to 01/01/2012 the price becomes $110/ 1 kg. I would like the "price date" to still default to today's date but have it greyed out so the end user cannot change it. Thanks in advance for any help. Mike | | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | Typewriter SAP Logistics Sales and Distribution Helper
Posted helpful replies on 50 threads in a group to earn a Silver Achievement Popular White Papers In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |