RE:[sap-log-sd] Delivery with No Line Items

Posted by Typewriter
on Dec 8 at 11:40 PM
Hi Rubi,

In a delivery if user does NOT enter any Delivery quantity, in delivery item category 0vlp (zeroVLP) with field "Check quantity 0" settings to get warning message or error message can be done.
However I do not think the above setting works for delivery withOUT any line item. Please test this.

Another way could be via userexit. Check if you can use USEREXIT_SAVE_DOCUMENT_PREPARE in program MV50AFZ1.

With appropriate coding system shall check if any line items have been created in the delivery. If Yes then save & create delivery number or else doNOT create delivery number.

---------------Original Message---------------
From: rubitoncek
Sent: Wednesday, December 07, 2011 6:39 AM
Subject: Delivery with No Line Items

Hi Experts,

My client has an issue with deliveries being created even though the delivery has no line items (1 sales order had 1700 deliveries created by a batch job running every 10 minutes). How can we prevent the delivery from being created when there are no line items?

The reason behind no line items not being copied from the sales order is because the item category was incorrectly determined in the order (material substitution in BOMs). The item category determination was not set up for the combination and the setting in the item category checked for 0 quantity so the sales order line item was removed from delivery.

Thank you in advance,

Copyright © 2011 and message author. 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
SAP Logistics Sales and Distribution Helper

Posted helpful replies on 50 threads in a group to earn a Silver Achievement
Popular White Papers

In the Spotlight for iPhone & Android: Ask Questions & Get Answers Anywhere. Download the Free App