cancel
Showing results for 
Search instead for 
Did you mean: 

how is it possible if we want a single delivery for a single sales order

samjalees2000
Participant
0 Kudos

DEAR Gurus,

This is urgent!!

I want to know how is it possible if we want a single delivery for a sales order.That means the delivery will only be created if all the materials are available in the delivery for the sales order.How is this possible?I want an error and the delivery should not be created .In short one order ===> one delivery

Regards,

Sam Ahmed

Message was edited by: G Lakshmipathi

Please AVOID adding question marks in the subject

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member183879
Active Contributor
0 Kudos

The only way by which you can ensure complete delivery for the entire sales order is through the usage of delivery groups. You should assign all the items to a single delivery group and enable the settings at item category level in VOV7 by filling the proper entry for "Create Delivery Groups" fields.

Otherthan this, I dont think there is any other way.

former_member211462
Active Participant
0 Kudos

Dear Sameer J

If one sales order got to have only one delivery , well the best way is creating a routine so while copying takes places your requirement may be fulfilled . Even if you tick the indicator complete delivery you just get a warning message . If your Transportation group is different for each item you should have have split deliveries. Well its better for a Z-development like Jignesh Mehta conveyed in the previous box .

Regards

JNM

jignesh_mehta3
Active Contributor
0 Kudos

Hello,

I can think of one possibility of achieving your requirement in SAP Standard.

Firstly insert Delivery Groups in your Sales Order Items. This will ensure that all the Line Items are confirmed only on single date.

Secondly in Customer Master Data - Sales Area - Shipping Tab, put tick mark on Complete Delivery by Law & Under Partial delivery per item maintian B - Create only one delivery (also with quantity = 0).

The above setting will ensure that all the Line Items are confirmed only on a single date & also as you can only one Delivery, this Delivery will definitely be complete Delivery because all the LIne Item are confirmed on same date.

If the above is not working then you will have to go for Z-Development as suggested by others above.

Thanks,

Jignesh Mehta

0 Kudos

chk if the following thread can help : http://scn.sap.com/thread/1815521

Former Member
0 Kudos

Hi,

   It is very simple you can configure Incompletion log for Schedule line in Tcode - OVA2. Here select the table VBEP - BMENG field refers for Confirmed qty, so by assigning this if confirmed qty is not available system will not allow you to save if you have ticked the field Incomplet.messages in VOV8.

Hope this may assist you check and revert back

former_member182378
Active Contributor
0 Kudos

Srinivasan,

Including VBEP-BMENG in incompletion log shall check whether this field is filled (or blank). How would that "force" the system to create single delivery for a sales order?

Furthermore, e.g.

sales order with Delivery quantity = 10 = Confimed quantity,

still the user can create several deliveries for the above sales order.

Former Member
0 Kudos

Hi,

"Furthermore, e.g.

sales order with Delivery quantity = 10 = Confimed quantity,

still the user can create several deliveries for the above sales order".

These can be arrested by setting the completion rule in VOV7 for that item category

Check and  revert

former_member182378
Active Contributor
0 Kudos

Srinivasan,

Could you please elaborate the idea you have suggested?

Former Member
0 Kudos

Hi,

    Now the requirement is single order should be saved without any partial qty confirmation, also only one delivery should happen for one sales order.

For this incomepletion log will take care only for confirmed qty of VBEP-BMENG.

But for partial qty confirmation may happen for that we need to check VBEP-BMENG = VBEP-WMENG if not so should not allow to save through the user exit MV45AFZZ.

Then we have completion rule in VOV7 for item category if you set A only one can be created by referencing it.

AItem is completed with the first reference

But again here there may be chances for more line items for this we need to write a routine in Tcode VOFM and need to be assigned in Copy control Tcode VTLA

Shiva_Ram
Active Contributor
0 Kudos

Use the box complete delivery in sales order ->header ->shipping. This will fulfill your requirement. If you want to default this setting, then set the same in the customer master ->sales area data ->shipping with value C in the field Partial delivery per item and check the box Complete delivery required by law.

Regards,

samjalees2000
Participant
0 Kudos

Shiva First of all by checking the box "Complete Delivery " at the customer master just posts a warning message.

Secondly,the partial delivery check is just at the item level that means it checks wheter the item is been fully delivered or not .It doesn't consider the delivery as a whole so that means partial delveries for a sales order can be made .

Shiva_Ram
Active Contributor
0 Kudos

Then use the fields in the sales order as mentioned before and check.

Regards,

samjalees2000
Participant
0 Kudos

Done,no change.Behaving as before.

Shiva_Ram
Active Contributor
0 Kudos

If this does not fulfill, then create a new routine (by copying the existing one of Order requirement field) in t.code VOFM and add the new routine in the field Order requirements of the copy control settings from sales order -> delivery  using t.code VTLA. The new routine should carry logic to check whether all sales order item quantities are confirmed. If not it can provide hard error.

Note that whenever you make changes, you need to create new sales order to check the impact of the changes.

Regards,