cancel
Showing results for 
Search instead for 
Did you mean: 

Set Mandatory / Restrict Past Date entry in Sales Order

former_member209707
Participant
0 Kudos

Hi Friends,

                Shipment Dates and Delivery Schedule are not mandatory fields at the time of creation of Sales Order. Also system accepts past dates for Shipment and delivery dates.

Requirement is

                      1) We need to make Shipment Dates and Delivery Schedule as mandatory fields at the time of creation of Sales Order. (At document Level the control is working for the delivery date via user exits, we need the same restriction at the line item level.)

                       2) Also system should not accept Shipment and Delivery dates as back dates.

                I am New to SAP ECC SD module.

Please Help.

Accepted Solutions (1)

Accepted Solutions (1)

jignesh_mehta3
Active Contributor
0 Kudos

Hello,

I will suggest you to speak to ABAPer & inset a ABAP code in User Exit - USEREXIT_MOVE_FIELD_TO_VBAP in program MV45AFZZ.

This ABAP code will check dates in relevant fields & will give a error message if the dates are in past.

Thanks,

Jignesh Mehta

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear Aslam,

Following links can help you out since the requirement is same. Thanks and have a good day.

http://scn.sap.com/thread/550703

http://scn.sap.com/thread/1847536

siva_vasireddy2
Active Contributor
0 Kudos

Hi,

   all the Relevant Dates are Calculated Automatically by the system Based on the Availability of the Stock and confirmed Quantitys,no need to Update Manually

If the Date is in the Past the system shows message ''date is in Past'' with message number VD 399

Change this warning Message to Error Message.

Shiva