cancel
Showing results for 
Search instead for 
Did you mean: 

Stopping Deliveries after some time

Former Member
0 Kudos

We have a scenario where the last delivery date is specified at the time of preparation of the sales order, which is an instruction to plant to not deliver material after this date. This is typically a 7 day period. Customers are required to pick the material within 7 days of placing the order and if they dont do it a new order has to be prepared. How do we implement this:?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

If it is specifically at Sales Document Type then in VOV8 ,enter Lead Time in Days as 7.Now when ever Sales Order is created , system will calculate 7 days from the creation date of the Sales Order.

Best Regards,

Ankur

Former Member
0 Kudos

Thanks Ankur, but lead time in VOV8 determines the first delivery date suggested by the system. What I want is that the first delivery date can be the date of booking the order, but the last date to which the delivery is allowed can only be the date 7 days from now.

Former Member
0 Kudos

Sorry , might be I didn't understand your point.

In this case , ask your ABAPer to make the Logic in the Sales Order User Exit that if VBEP - EDATU ( Schedule Line Date) can't be more than 7 days with VBAK - ERDAT ( creation Date of the Sales Order),it should show a warning.After this , it will help you to Block this Sales Order.

Best Regards,

Ankur