on 09-07-2007 4:04 AM
HI,
System picks the delivery date in a sales order as todays date. However when if the user changes the date to a past date it is allowed.
I need to restrict creation of sales orders with past delivery dates. Can anyone advice on how this can be done?
Thanks
Keshi
Hi ,
delivery date will be proposed by the system depending on the availability check .
You can check it from the system and do the backward scheduling
these are the availability checks
1. Customer-Material Information
2. Ship-to party customer master record
3. Material master record
Sail
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since you want to restrict your user for chane in the date . you can use this exit as other option where you can use the logic of if the Date field is changed it will not allow the user to save the document or will give a warning message.
MV50AFZ1
USEREXIT_SAVE_DOCUMENT_PREPARE
Hope this helps
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you need a message make a user exit in mv45afzb:
FORM USEREXIT_CHECK_VBAK USING US_DIALOG. for header control
FORM USEREXIT_CHECK_VBAP USING US_DIALOG. for item control
also you can make some little customizing to avoid the backward scheduling at order level ( eg: no schedule lines in the past)
goto: SPRO: sales->basic function->delivery schedul.->define schedul. tp. for sales doc.
The third column flag disables/enables the backward scheduling. Read F1 documentation on the field.
Roberto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Keshini,
IN VOV8 check indicator -Propose delivery dates...
Also check other settings in this which defines delivery dates like lead time etc..
If not below are userexits used for delivery-
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
Of which I think V50S0001 User Exits for Delivery Processing will be appropriate for you...Speak to ur ABAPer regarding the usage..
REWARD Points If U finds this as useful...
Regds
MM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi..
I need to give an error when a user enters delivery date which is in the past. right now it gives just an information message,
Can we do anything in config to make it an error message?
Thanks
Keshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.