cancel
Showing results for 
Search instead for 
Did you mean: 

Delivery quantity should not be more than schedule quantity

Former Member
0 Kudos

Hi Friends,

I want to put a validation in delivery that delivery quantity should not be greater than open quantity of schedule line, Delivery is created against the scheduling agreement. However standard SAP gives warning message but I want the same to behave as error when I enter delivery quantity more than open quantity. In this regards I have found a user exist i.e. MV50AFZ1 wherein I can put this validation, I can get a field of delivery quantity in delivery but only the field of open quantity is not found.

Can anyone help me for getting the field-table of open quantity in delivery?

Regards,

Umesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Umesh,

use customizing:

[transaction 0VLP : SAP Customizing - Logistics Execution - Shipping - Deliveries - Define Item Categories for Deliveries]

For relevant item categories set Check overdelivery = B. This causes error message VL 363 (Delivery quantity is greater than target quantity)

if other message makes problem, try:

[transaction OVM1 : SAP Customizing - Logistics Execution - Shipping - System Modifications - Specify Characteristics for System Messages - Define the message types of system messages]

Best regards

Eduard

suman_sardar2
Active Contributor
0 Kudos

Hi Umesh,

I think you have trace the Order Qty from VBEP table.

Actually VBEP tables get populated when the Sales Order Schedule line gets confirmed.

So From LIPS-VGBEL (Reference Doc=Sales Order no) find the records in VBEP as VBEP-VBELN=LIPS-VGBEL.

Check the Confirm quantity = BMENG

Hope this will work.

Thanks,

Suman