cancel
Showing results for 
Search instead for 
Did you mean: 

First date update in user exit doesn't update schedule line shipping dates

Former Member
0 Kudos

Per user requirement, when copy from quote the req delivery date is blanked out, then user enters a date and vbak-vdatu is copied into vbep-edatu in MV45AFZZ. When this happens, the other shipping dates are not updated to reflect the new date, but show the current system date. Is there a user exit or logic that would trigger the re-determination of schedule line shipping dates?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Check Program RVV50R1A - This is meant for Schedule Lines due for Delivery.

Best Regards

Former Member
0 Kudos

Thank you, but I need a user exit in the sales order. By the time it is a delivery, it is too late and the shipping dates would then result in the delivery going out to early or late.

Former Member
0 Kudos

Hi,

Can you check in VOV8 if propose deliv date is checked?

This is proposing the current date as req deliverydate.

Thanks.

Former Member
0 Kudos

The delivery date is already known, it is the value the user enters. The system needs to determine the shipping dates. It normally does this except when the user exit blanks out the req del date and modifies the first date or schedule line delivery date then it does not determine shipping dates.

On a create without reference, the req delivery date is copied to first date and the schedule line delivery date via standard SAP and the shipping dates are determined correctly.

Former Member
0 Kudos

The user exit was actually causing the problem. By removing the user exit and using Standard SAP, the problem was resolved. Enter the Req Deliv Date on the create with reference to quote screen and the date populates the Req Deliv Date and the First date of all line items copied.

In addition, SE51 was altered for the screen so that the date was required so that it was not possible for users to not enter a date and have the quote date default into the order.

Thanks,

Answers (0)